Adding/Modifying parameters in the Request object

2002-01-24 Thread Freek Segers
Hi, Does anyone know how you can add a parameter to the Request object in an Action? I can find no interface for it in HTTPServletRequest or ServletRequest. What I want to do is forward a request in one Action to another Action (by returning an ActionForward that's configured in struts-config),

Re: Accessing ActionForm in JSP page?

2002-01-09 Thread Freek Segers
Hi, Struts stores the Form bean into request or session scope depending on the attribute 'scope' in the Action tag in struts-config.xml The name under which it is stores is the value of the 'name' attribute of the Action tag. However, you should avoid hardcoding the scope of the Form bean in you

Re: scope for form beans

2002-01-08 Thread Freek Segers
Hi, I'm using a session scope Form bean in a wizard like interface. Because the Form has session scope the user can go back to any step in the wizard and find his previously filled in values. Greetings, Freek Segers on 08-01-2002 14:28 you wrote: > Hi, > > what are the m

Re: Simple HTML form tag issue related to NAME attribute

2002-01-08 Thread Freek Segers
Hi Dennis, What I tried to point out was that if you use the tag library will generate So you can use 'myProperty' as the name of the field, you just specify is with the property attribbute in Struts. Freek. on 08-01-2002 14:02 you wrote: > Thanks for responding. The problem is

Re: Simple HTML form tag issue related to NAME attribute

2002-01-07 Thread Freek Segers
Hi, If you want Struts to handle the field and populate and store its value in some Form bean, you can use the property attribute: This tells Struts that it should store and retrieve the value of the text field using the property 'myProperty' in the Form bean. Because you leave out the n

Re: Cannot find ActionMappings or ActionFormBeans collectionPROBLEM.

2002-01-07 Thread Freek Segers
Hi, As you can see in the Root Cause exception the form tag is being processed when the exception occurs. So there's probably some typo in one of your form tag attributes. Freek on 03-01-2002 21:40 you wrote: > Root Cause: > javax.servlet.jsp.JspException: Cannot find ActionMappings or > Acti

Re: Dynamic properties in ActionForms with custom tag

2002-01-03 Thread Freek Segers
called. Do I need a new struts release that uses the common-beanutils package. If so, which build has support for this. Thanks again, Freek Segers on 03-01-2002 08:51 you wrote: > First, I've created a custom tag that creates different types of HTML form > fields. > The number of f

Dynamic properties in ActionForms with custom tag

2002-01-02 Thread Freek Segers
ed item. I've recompiled the select-tag with some debugging output and put it in my own taglib, but the I get the Exception I expected: there is no form bean under the default name used in the select-tag in pageContext. I'm really at a loss and I hope you can help me with this. Thanks in advance, Freek Segers