redirect problem

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

redirect problem

Laxmi Narayana-3
Hi,
iam  new for xforms.plz help me.
change form.xpl:

<p:param type="input" name="instance"/>

   <p:processor name="oxf:xslt-2.0">
        <p:input name="data" href="#instance"/>
        <p:input name="config">
            <query xsl:version=" 2.0">  
  <formname><xsl:value-of select="//seqno_tab"/></formname>
            </query>
        </p:input>
        <p:output name="abc" id="query"/>
    </p:processor>

 <p:choose href="#query"> 
 <p:when test="//formname = '/TestConfig2'">
   <p:processor name="oxf:redirect">
   <p:input name="data">
   <redirect-url>
   <path-info>/TestConfig2</path-info>
   </redirect-url>
   </p:input>
   
  </p:processor>
        </p:when>
        <p:otherwise>   
  <p:processor name="oxf:redirect">
   <p:input name="data">
   <redirect-url>
   <path-info>/</path-info>
   </redirect-url>
   </p:input>
  </p:processor>
 </p:otherwise>   
    </p:choose>
</p:config>
I want to send formname value to list-records-action.xpl.


    <p:param type="input" name="instance"/>
    <p:param name="data" type="output"/>

 <p:processor name="oxf:xslt-2.0">
        <p:input name="data" href="#instance"/>
        <p:input name="config">
           <value xsl:version=" 2.0">  
  <formname>here I want to get formname value</formname>
  
     </value>
        </p:input>
        <p:output name="data" id="query"/>
    </p:processor>
   
    <p:processor name="oxf:pipeline">
  <p:input name="config" href="list-records.xpl"/>
  <p:input name="query"  href="aggregate('result',#query)"/>
  <p:output name="data"  ref="data"/>
 </p:processor>

</p:config>



--
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