cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Ikeda <anthony.ik...@proxima-tech.com>
Subject RE: Starting with wml...
Date Wed, 06 Dec 2000 01:46:27 GMT
Thanks, this was the problem - the "()"'s.

Cheers,
Anthony Ikeda,
Web Application Developer,
Proxima Technology,

Level 13,
181 Miller Street,
North Sydney
Australia


PH: +612-9458-1718
Mob: 041 624 5143


> -----Original Message-----
> From: Joel Jimenez [mailto:jjjimenez@yahoo.com]
> Sent: Wednesday, 6 December 2000 12:10 PM
> To: cocoon-users@xml.apache.org
> Subject: Re: Starting with wml...
> 
> 
> Hi!
> 
> 	I'm not sure why you are getting the string 
> "username&passwd=$passwd" on the
> WAP tooltik.
> But you can try two different ways:
> 
> 1. <go 
> href="wap_login.jsp?username=$(username)&amp;passwd=$(passwd)"/>
> 
> Variable names should be between  "()". This will avoid the 
> thinking that the
> variable name is "username&passwd=$passwd"
> 
> 2. <go href="wap_login.jsp>
> <postfield name="username" value="$(username)"/>
> <postfield name="passwd" value="$(passwd)"/>
> 	</go>
> 
> 	This will avoid any problem related to the "&" 
> character in the URL
> 
> I hope this helps!
> 
> Saludos / Joel
> 
> Jaime Joel Jiménez Sánchez 
> Wireless Internet Applications 
> Engineer
> Software Development		
> 
> Torreon, Coahuila, MEXICO
> Mobile: +52 84551980	
> 
> --- Anthony Ikeda <anthony.ikeda@proxima-tech.com> wrote:
> > Okay, I'm used to XML, HTML, and similar technologies but 
> I'm still getting
> > used to WML.
> > 
> > I have a card set up as follows:
> > 17|	<card id="LoginCard" newcontext="true">
> > 18|		<do type="accept" label="Login">
> > 19|			<go
> > href="wap_login.jsp?username=$username&amp;passwd=$passwd"/>
> > 20|		</do>
> > 21|		<p align="center">
> > 22|			<b>Please enter Username and Password:</b><br/>
> > 23|		</p>
> > 24|
> > 25|		<p align="left">
> > 26|			<b>User name:</b><br/>
> > 27|			<input name="username" type="text" 
> format="10m" />
> > 28|			<br/><b>Password:</b><br/>
> > 29|			<input name="passwd" type="password" 
> format="10m" />
> > 30|		</p>
> > 31|	</card>
> > 
> > When I run this through the nokia WAP toolkit 1.2 I get the error:
> > WMLCompilerException converting to WML binary: Error: 
> Element starting at
> > Line 19 - Invalid variable syntax username&passwd=$passwd
> > 
> > Is this just the emulator or my code? How do I set the 
> syntax for a href in
> > "<go../>"?
> > 
> > Cheers,
> > Anthony Ikeda,
> > Web Application Developer,
> > Proxima Technology,
> > 
> > Level 13,
> > 181 Miller Street,
> > North Sydney
> > Australia
> > 
> > 
> > PH: +612-9458-1718
> > Mob: 041 624 5143
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.
> http://shopping.yahoo.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
> 

Mime
View raw message