You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by vk vk <vk...@hotmail.com> on 2002/08/08 14:30:33 UTC
Differentiating between to two actions
Hi,
I am using STRUTS 1.0.2. I have two List boxes on page. Which are used to
to query DB to bring some results. My problem is there anyway to distinguish
in action class which list box is used. my code looks like this. I am using
javascript to kick of an action on 'oncahnge'. But every time i do onchange
both list list box are called.
<td>
<html:select property="typesName"
onchange='document.forms[0].submit()'>
<html:options property="characteristicList"/>
</html:select>
</td>
<td>
<html:select property="group" width="5"
onchange='document.forms[0].submit()'>
<html:options property="groupsList"/>
</html:select>
</td>
thanks in advance.
Cheers
vkvk
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>