dynamic change of html text-content possible?

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

dynamic change of html text-content possible?

masjab-2
Hey all, 

With Florians help I was at least able to change the language of my app...
Now my labels are changed into the chosen language after the user does a "language-selection"...
My resources-instance holds the texts I want.

But how about the text in my <xforms:help>  or other text in the page. If I have all the text in a resources file, is it possible to refere to it, too?

<xforms:input ref="lemma">
    <xforms:label model="resources-model" ref="instance('resources-instance')/labels/lemma" class="books-label"/>
       <xforms:help>
               <div>
                    <p> This is text that I also have in my resources file..Is it possible to load it from there? </p>
                </div>
        </xforms:help>
</xforms:input>

THX


--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: dynamic change of html text-content possible?

fl.schmitt(ops-users)
hi Masen,

> But how about the text in my <xforms:help>  or other text in the page.
> If I have all the text in a resources file, is it possible to refere to
> it, too?

yes, this should be no big problem, there are some examples in the docs:

http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-label-alert-help-hint


HTH
florian



--
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
OW2 mailing lists service home page: http://www.ow2.org/wws