Hi,

Struts is a server-based application-environment...

The functionality you describe is client-side...

So the only option is to use Javascript to get this dynamic behaviour.
This is live at the html-web-application programming side of live.

Without Javascript the only way you can do something is, when the user
sends a request to the server, cause only then your code can intervene.

hope this helps
Alexander Jesse

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 6. M�rz 2002 18:07
To: Struts Users Mailing List
Subject: Forcing a form-reload OR a select Options reload



Is  there a way to cause an html select control to "reload from a different
collection" -OR- to "update the collection and have the html select be
refreshed"?

If I have:
<html:select property="psdIndustryType" size="1">
     <html:options collection="psindustrytype" property="value"
     labelProperty="label"/>

Can I automatically repopulate the psindustrytype collection if the user
clicks on a checkbox on the form?    Is there a way to do this without
having to resubmit the form?     I am guessing not....

Another approach would be to have a javascript function (that gets called
when the user clicks on a checkbox) call an Action.   Is the best way to do
that in Javascript use use the "self.location=WhateverActionToCall"????

thanks,
Theron


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to