Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

2.14.1 Web Application Modules (WAMs)

 
 
 
A Web Application Module (WAM) consists of one or more Webroutines. Each Webroutine will have at least one and maybe more than one Web Design. For the purpose of a Web Design, refer to The Presentation Layer in the Web Application Module Guide.

...

You enter and edit the RDMLX WAM code in the Source Tab. 



And create the Web Design in the Design tab:


 

The Design tab contains three tabs, the Web Page tab, the XSL tab, and the XML tab.

  • The Web Page tab shows the Web Design for a WebRoutine. This is where fields, lists, weblets, and so on are dropped to create a design for the webroutine.
  • The XSL tab allows text editing of the Web design's XSL source. We don't recommend that you work using this tab as errors and unexpected behavior can occur if you are not experienced in XSL and XPath.
  • The XML tab displays a sample of the XML output by the Webroutine. This XML provides the input for the XSL transformation that produces the final HTML output. You can edit this XML to change the sample data displayed in the design. Note that changed sample data will only be saved in the repository if the Save Webroutine Field and List sample data set setting is turned on. Also, note that the fields and list sections in the XML are generated by LANSA at runtime.

The name of the webroutine, the current Technology Service Provider, and the current language are shown in the upper right area of the Design tab. If there is a language specified after the Technology Service Provider then the design is for that language, otherwise, it is for the partition's default language. In the example above the webroutine name is WR1, the Technology Service Provider is LANSA XHTML and the language is the partition's default language.

2. Editing Objects