Hi, i am not sure but try:
<page> .... <p><request:get-parameter name="username"/></p> .... </page> HTH Max > -----Original Message----- > From: Stanley Ho [mailto:[EMAIL PROTECTED]] > Sent: Donnerstag, 10. Januar 2002 02:28 > To: [EMAIL PROTECTED] > Subject: Problem with my XSP page interact with WML > > > I have a problem to get the "request-parameter > postfield" in my WML code for my XSP page. I use > cocoon 1.8.2. But i can able to get the parameter in > my stylesheet as a <xsl:param name="username"/> > WHY? I test under HTML, it's OK. I hope u can help > me.. > > This is the code: > <?xml version="1.0"?> > <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" > "http://www.wapforum.org/DTD/wml_1.1.xml"> > > <wml> > <card> > <do type="accept"> > <go > href="http://localhost:8080/cocoon/TGV/test.xml?search=1" > method="post"> > <postfield name="username" value="$(var)"/> > </go> > </do> > <p> > Enter CustID > <input name="var" /> > </p> > > </card> > </wml> > > In my xsp page i write: > <?xml version="1.0"?> > > > <?cocoon-process type="xslt"?> > <?xml-stylesheet href="stylesheet/wap/test-wml.xsl" > type="text/xsl" media="wap"?> > > <xsp:page > language="java" > xmlns:xsp="http://www.apache.org/1999/XSP/Core" > xmlns:esql="http://apache.org/cocoon/SQL/v2" > > xmlns:request="http://www.apache.org/1999/XSP/Request" > > > > ....... > > <page> > .... > <p><request:get-parameter-values > name="username"/></p> > .... > </page> > > > __________________________________________________ > Do You Yahoo!? > Send FREE video emails in Yahoo! Mail! > http://promo.yahoo.com/videomail/ > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>