Hi, I'm putting logic when I change my checkbox's state.
I have a checkbox that when it's check it will provide an extra field to
show and hides it if it's not check.
I have a "sent" property that has get() and set() with my form":
<----------------------------
<html:checkbox property="sent" onchange="submitEvent('checkSend')" />
<bean:parameter id="forDateSend" name="sent"/>
<logic:equal name="forDateSend" value="true">
Shows a date field
</logic:equal>
----------------------------->
my onchange=submitEvent(checkSend') fires this method in my ActionForm that
returns back to that screen.
<----------------------------------
public void checkSend(StrutsContext _context)
{
setForward(_context, "GoBack");
}
----------------------------------->
Am I doing it wrong? What's the best way to accomplish this. Thanks a lot.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>