Thank you Wes.  I thought I could have gotten around it without Javascript.  
The problem is, I have no idea how to get that started.  Can anyone provide me 
with sample javascript that could potentially assist me in getting this done?  
I would like to have both the id and the value from the selection box added to 
the url.  Any help would be greatly appreciated.

 

-Farshad

 

 

> You'll have to use javascript, the tags' output is rendered server
> side, when the jsp page is rendered.
> 
> -Wes


> >
> >      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.


 

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


_________________________________________________________________
With Windows Live, you can organize, edit, and share your photos.
http://www.windowslive.com/Desktop/PhotoGallery

Reply via email to