RE: dynamic input fields

2002-02-25 Thread Press, Michael
I could be mistaken, but isn't this basically what the recently added Dynamic Action Form does? What's the recently added Dynamic Action Form !? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 24, 2002 1:12 PM To: [EMAIL PROTECTED]

Anybody compiled the dynamic property code?

2002-02-25 Thread Press, Michael
I'm trying to test Kevin Wang's dynamic property code, but it won't compile with Struts 1.0, 1.0.1 or 1.0.2. Has anybody else gotten this code to compile with a particular Struts version? Or fixed it to compile? For reference, I got the code here (via husted.com's resources page) -

Token questions

2002-02-22 Thread Press, Michael
I see that a token can be set and queried by Action classes as a way of verifying that a certain flow from page A to page B has occurred. Can I have more than 1 token at a time for 1 user in an application? I might want to verify flow A-B and separately, C-D, but if there's only 1 token than

RE: dynamic input fields

2002-02-21 Thread Press, Michael
I just did this. I based my solution on the Dynamic Properties solution by Kevin Wang (http://www.mail-archive.com/struts-user@jakarta.apache.org/msg01374.html), but I needed to do it without modifying/extending Struts itself. I created a BaseActionForm that my ActionForms extend. The Base

Action with no forward?

2002-02-20 Thread Press, Michael
I would like to call an Action (with no validation), but remain on the current JSP. I know I could probably just forward back to the current JSP, but I'd prefer to have the Action class run with no forward at all (so no screen repaint). Is this possible in Struts? Thanks, Michael -- To

RE: Multiple struts-config.xml files?

2002-02-14 Thread Press, Michael
For the record, to create multiple ActionServlets, I just extended ActionServlet with an empty class body - basically creating an identical servlet with a different name, for each role. This is working fine with each ActionServlet reading a different struts-config file. Could there be some

Multiple struts-config.xml files?

2002-02-13 Thread Press, Michael
I want to have multiple workflows, with users mapped to a particular workflow based on their role. I know that Struts doesn't support this now. Is there an intent to support this in the future? In the meantime, I'm interested in suggestions on the best way to implement this. Right now, I've

Help! Struts website resource links bad

2002-02-12 Thread Press, Michael
Who should be contacted to report that many of the links on the Struts resources page are bad? Specifically, on the http://jakarta.apache.org/struts/userGuide/resources.html http://jakarta.apache.org/struts/userGuide/resources.html page, in the Contributor Extensions section, about half of the

How can I get Struts to re-read the config file?

2002-02-05 Thread Press, Michael
I would like for my webapp to be able to re-read struts-config.xml without having to bounce the servlet container (Tomcat 4.0.1) or bounce/reload my webapp. Is this possible? Thanks, Michael -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

RE: How can I get Struts to re-read the config file?

2002-02-05 Thread Press, Michael
the struts-config.xml and the ApplicationResources. Just include... action path=/admin/reload type=org.apache.struts.actions.ReloadAction/ in your struts config. To re-load, navigate your browser to app-path/admin/reload.do That should do it. -Rob -Original Message- From: Press, Michael

RE: How can I get Struts to re-read the config file?

2002-02-05 Thread Press, Michael
-nameno-cache/param-name param-valuetrue/param-value /init-param /servlet Now page flow changes dynamically as in the scenario below. Thanks! Michael -Original Message- From: Press, Michael [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05