Hi,
I'm must refresh images on an xsl page when an xforms:select1 change of value. I have a look at the examples with flags (selection of a country that trigger a submission updating the value of an xforms:instance and of the xforms:output displaying the images) but in my case it seems that the xpl updating the instance is never called... Any trick would be welcome. Here are some piece of my code : The page-flow (page-flow.xml) <page id="image" path-info="/is/image" model="get-image-name.xpl" /> <page id="image" path-info="/is/finance" model="model.xpl" view=" view.xsl"/> The view (view.xsl) <xsl:stylesheet ...> <p:config xmlns:...> <!-- from the flag example --> <p:processor name="oxf:xhtml-rewrite"> <p:input name="rewrite-in"><xhtml:a href="/finance/images/"/></p:input> <p:output name="rewrite-out" id="link-to-image"/> </p:processor> <p:processor name="oxf:xslt"> <p:input name="data"> <br/> </p:input> <p:input name="link-to-image" href="#link-to-image"/> <p:input name="config"> <xsl:stylesheet version="2.0"> <xsl:template match="/"> <root> <snoopy> &nb sp; <xsl:text><img src="</xsl:text> <xsl:value-of select="doc('input:link-to-image')/xhtml:a/@href"/> <xsl:text>file.jpg"/></xsl:text> & lt;/snoopy> </root> </xsl:template> </xsl:stylesheet> </p:input> <p:output name="data" id="xml-response"/> </p:processor> Why the instance isn't updated? I'v try to write it textually but it's the same... I don't see my error ----------------------------------------------------- -- 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 |