xforms:output text/html does not update with instance

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

xforms:output text/html does not update with instance

Henrik Pettersen
All,

I am attempting to render some html using xforms:output with mediatype="text/html", getting part of the content from an instance. Here is my code:

<xforms:output value="concat('&lt;applet code=', '&#34;', ' org.cruk.aspic.editor.api.applet.Jung.class', '&#34; archive=', '&#34;', 'jar/applet.jar,jar/colt.jar,jar/commons-collections-3.2.jar,jar/engine.jar,jar/jaxen-1.1-beta-10.jar,jar/jdom.jar,jar/jung-1.7.4.jar,jar/commons- cli-1.0.jar', '&#34; width=', '&#34;', '600', '&#34; code=', '&#34;', 'org.cruk.aspic.editor.api.applet.Jung.class', '&#34; height=', '&#34;', '600', '&#34;&gt;&lt;param name=', '&#34;', 'query', '&#34; value=', '&#34;', instance('test-expression')/aspic:input/aspic:expression, '&#34;/&gt;&lt;param name=', '&#34;', 'knowledgebase', '&#34; value=', '&#34;', instance('knowledgebase')/aspic:serialized, '&#34;/&gt;&lt;/applet&gt;')" mediatype="text/html"/>

The 'knowledgebase' instance is updated asynchronosly on the page.

My problem is that as the 'knowledgebase' instance gets updated, the xforms:output element seems not to be. Am I doing something wrong here?


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: xforms:output text/html does not update with instance

Erik Bruchez
Administrator
Henrik Pettersen wrote:

> All,
>
> I am attempting to render some html using xforms:output with
> mediatype="text/html", getting part of the content from an instance.
> Here is my code:
>
> <xforms:output value="concat('&lt;applet code=', '&#34;', '
> org.cruk.aspic.editor.api.applet.Jung.class', '&#34; archive=', '&#34;',
> 'jar/applet.jar,jar/colt.jar,jar/commons-collections-3.2.jar,jar/engine.jar,jar/jaxen-1.1-beta-10.jar,jar/jdom.jar,jar/jung-1.7.4.jar,jar/commons-
> cli-1.0.jar', '&#34; width=', '&#34;', '600', '&#34; code=', '&#34;',
> 'org.cruk.aspic.editor.api.applet.Jung.class', '&#34; height=', '&#34;',
> '600', '&#34;&gt;&lt;param name=', '&#34;', 'query', '&#34; value=',
> '&#34;', instance('test-expression')/aspic:input/aspic:expression,
> '&#34;/&gt;&lt;param name=', '&#34;', 'knowledgebase', '&#34; value=',
> '&#34;', instance('knowledgebase')/aspic:serialized,
> '&#34;/&gt;&lt;/applet&gt;')" mediatype="text/html"/>
>
> The 'knowledgebase' instance is updated asynchronosly on the page.
>
> My problem is that as the 'knowledgebase' instance gets updated, the
> xforms:output element seems not to be. Am I doing something wrong here?
This is meant to work and has been known to work. Can you build a
reproducible case for the sandbox?

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws