Re: help with messages using bean on jsp

2005-06-05 Thread Tony Dahbura
.sun.com/jstl/fmt prefix="fmt"%> and now do your substitution.. where bundleToUse is ApplicationResources.properties In this way all of your strings will be assigned to locale specific properties file HTH, Martin- - Original Message - From: "Tony Dahbura" <[EM

help with a newbie topic-prepopulating a form

2005-07-05 Thread Tony Dahbura
Team: I am trying to pre-populate a form before letting the user enter/correct data in it. The only way I have seen to do this is to actually do this prefilling fields in the reset method of the actionform. I am not sure this is the place to do this. For instance I have a form that le

prepopulating the form again

2005-07-06 Thread Tony Dahbura
Ok: I have seen much dialog on this topic I originally asked. I read the docs... "This method is *not* the appropriate place to initialize form value for an "update" type page (this should be done in a setup Action). You mainly need to worry about setting checkbox values to false; most of the

further clarification on pre-populating form

2005-07-06 Thread Tony Dahbura
There is no way I could find to populate the editUserForm bean prior to it being called from the forwardAction. Note below in my struts config have a url to viewedituser.do which invokes the action below. This action needs to setup to display the form for the user to edit values. How do I ge

help with messages using bean on jsp

2005-06-01 Thread Tony Dahbura
I have a peculiar problem cropping up with Struts 1.2.7... When I add an actionError to using my form bean and then go to display it in the html jsp page I get the following: * ???en_US.userid is a required value.??? * ???en_US.password is a required value.??? My struts-config.xml file

Re: help with messages using bean on jsp

2005-06-02 Thread Tony Dahbura
, June 01, 2005 9:28 PM Subject: Re: help with messages using bean on jsp Do you have ApplicationMessageResources.properties property file, which is located in WEB-INF\classes\tonyapp ? On 6/1/05, Tony Dahbura <[EMAIL PROTECTED]> wrote: I have a peculiar problem cropping up with Struts

Assist with action handoff

2006-02-15 Thread Tony Dahbura
I have an action that needs to call another action and pass data to it. The first action has the data in a form action1form, but the second action uses a different form bean action2form. The first action has completed its work and needs to pass off to this second action as well as pass on some