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-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to