struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wes Wannemacher <w...@wantii.com>
Subject Re: adding parameters to a url - help please
Date Fri, 11 Sep 2009 15:13:11 GMT
You'll have to use javascript, the tags' output is rendered server
side, when the jsp page is rendered.

-Wes

On Fri, Sep 11, 2009 at 11:02 AM, Farshad Rabbani
<farshadrabbani@hotmail.com> wrote:
>
> Hi,
>
>
>
>      I would like to be able to add whatever is the currently selected option from
my selection box as a parameter to the url shown below.  I am able to attach the id as a
parameter but I cannot figure out how to do the same for the selection box.  I would greatly
appreciate any assistance in doing this.  Thanks.
>
>
>
> Regards,
>
> Farshad
>
>
>
>      <td><s:property value="id"/></td>
>      <td><s:property value="firstName"/></td>
>      <td><s:property value="lastName"/></td>
>      <td><s:property value="dob"/></td>
>      <td><s:property value="nationalityCD"/></td>
>      <td><s:select name="myEditSelections" emptyOption="false" list="editViewOptions"
theme="simple"/></td>
>      <td>
>          <s:url id="editUrl" value="Individual_edit.action">
>                     <s:param name="individualId" value="id"/>
>                     <s:param name="editViewOption" value=    />
>          </s:url>
>          <s:a href="%{editUrl}">Edit</s:a>
>      </td>
>
> _________________________________________________________________
> With Windows Live, you can organize, edit, and share your photos.
> http://www.windowslive.com/Desktop/PhotoGallery



-- 
Wes Wannemacher

Head Engineer, WanTii, Inc.
Need Training? Struts, Spring, Maven, Tomcat...
Ask me for a quote!

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


Mime
View raw message