Hi Erik,
i'll do that, but as long as the theme-widgets is the only possibility to get xforms-controls automatic on every page, and i'm sure, i won't be the only person who will appreciate that this "request" information will be reachable there too by default! Don't you think? And for those who don't need that information, it won't make a differece at all! Thanks, Marcus ----- Original Message ----- From: "Erik Bruchez" <[hidden email]> To: <[hidden email]> Sent: Sunday, May 13, 2007 9:42 PM Subject: Re: [ops-users] XForms:Select1 and Language-Option in Epilogue/Theme-portal? > Marcus wrote: >> Hi Erik, >> thanks for that explicit detaild information. >> I desided to tranfoer the hole Header with the menu to the >> theme-widgets.xsl and that works just fine for me! >> >> The only thing i miss there is the possibility of access the >> doc("input:request") so that i can't disable the menu-point from the >> actual page. >> I couldn't find a way to use this part :-( >> >> <!-- Current application id --> >> <xsl:variable name="current-application-id" >> select="tokenize(doc('input:request')/*/request-path, '/')[2]" >> as="xs:string"/> >> >> <xsl:for-each select="$applications/*/section"> >> | >> <xsl:for-each select="application"> >> <xsl:variable name="selected" as="xs:boolean" select="@id = >> $current-application-id"/> >> <xsl:choose> >> <xsl:when test="$selected"> >> <xsl:value-of select="@label"/> >> </xsl:when> >> <xsl:otherwise> >> <xhtml:a href="/{@id}/"> >> <xsl:value-of select="@label"/> >> </xhtml:a> >> </xsl:otherwise> >> </xsl:choose> >> </xsl:for-each> >> </xsl:for-each> >> >> That does not work in the theme-widgets :-( Or is there a way to get >> that information there too? > > It is not there by default. > > You could modify xforms-epilogue.xpl and connect #request-info to the > oxf:xslt which calls up xforms-widgets.xsl with: > > <p:input name="request" href="#request-info"/> > > Do do this however you have to extract xforms-epilogue.xpl from > op-resources-private.jar, and put it in your own resources under > RESOURCES/ops/pfc/. > > -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 > -- 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 |
Free forum by Nabble | Edit this page |