struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krishnakumar N <krishnakuma...@ctp.ilabsgroup.com>
Subject RE: Get request property value into Hidden field?
Date Fri, 13 Jun 2003 10:27:13 GMT
request does not have a getProperty as far as I can see, so do you mean
getParameter()?

In that case, the easy way to handle this is to get the value into the
action form (which happens automatically if the action form has a matching
property) and then populate the html:hidden from the action form (which is
also automatic, if you are on the same form).

	<html:hidden property="myproperty"/>

Cheers,
Krishna 

> -----Original Message-----
> From: Alen Ribic [mailto:alenr@mweb.co.za]
> Sent: Friday, June 13, 2003 1:14 PM
> To: Struts Users Mailing List
> Subject: Get request property value into Hidden field?
> 
> 
> Hi Everyone,
> 
> How do I get a request property value into Hidden field 
> without writing any
> java code.
> (no <%=request.getProperty("Id")%>)
> I tried using <bean:parameter /> with combination of 
> <html:hidden /> with no
> success. (maybe I was doing it wrong or something)
> 
> How do I accomplish this task?
> 
> Thanks
> --Alen
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message