struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: Separate Java Bean Class for Getter/Setter method.
Date Thu, 12 May 2011 18:02:54 GMT
On Thu, May 12, 2011 at 11:59 AM, arin_12 wrote:
> I am passing three parameters via URL from one page to another.
> I only see one available on the second page; don't know why.
>
> Page one
>
> <s:url action="doEditAllergy" id="url">
>     <s:param name="alDescription" value="%{#view.alDescription}" />
>     <s:param name="alId" value="%{#view.alID}" />
>     <s:param name="alName" value="%{#view.alName}" />
> </s:url>
>
> Page two
>
> <s:textfield id="alDescription" name="alDescription" value="%{#parameters.alDescription}"/>
> <s:checkbox id="alEnabled" name="alEnabled" value="true" />
> <s:hidden name="alID" value="%{#parameters.alId}"/>
>
> Any feed back ?

Sure.

* Is it "al", or "all"? You show both. IMO that's a bad idea--too
similar if they're supposed to be different.
* You say you pass three, get one. Which one?
* You say you pass three, get one; I only see two references to parameters.
* Is the URL being constructed properly? Check the HTML source.

Dave

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


Mime
View raw message