logo

New Response

« Return to the blog entry

You are replying to:

  1. @Bob M,

    Here is a bit more detail on how I implemented Jerrys example, so that I didn't need to code HTML into WQO Agents

    I combined XHTML and the built in SAX parser with my own application tags code. I used a WQO and set of classes to translates my tags into xhtml and spit the whole lot out as a completed page. In the example below I used cde to distinguish the tag I wanted to translate.

    <p class="greetings">Welcome, <cde:username /></p>

    In the WQO the code is pretty much this, but with the error and logging parts omitted.

    Dim scmParser As New RenderFactory(session)

    Call scmParser.initialise(xml_in, xml_out)

    scmParser.Process

    note.real_html=scmParser.getOutputText+scmParser.getException

    @Jake,

    not only have you written a class, but you have also used the Facade design pattern - and there are more that apply to LotusScript.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: