RE: initialize java form bean

2007-03-15 Thread Lim Hock-Chai
param name=nameOfAttributeValue you want/param Make sure your action has the method that match accessors for the attribute. In the case above, you need public String setNameOfAttribute(String va){ } Hope this helps. Harring On 3/14/07, Lim Hock-Chai [EMAIL PROTECTED] wrote

EL expression in html:form action

2007-03-15 Thread Lim Hock-Chai
I'm getting the cannot retrieve mapping for action error when using EL expression in the action attribute of html:form tag. See below. AcctContact.jsp == html:form action=AcctContact${contactType}Action . . . /html:form struts-config.xml == action path=/AcctContactBILAction

RE: Re: EL expression in html:form action

2007-03-15 Thread Lim Hock-Chai
: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Thursday, March 15, 2007 12:00 PM To: user@struts.apache.org Subject: Re: EL expression in html:form action Lim Hock-Chai wrote: I'm getting the cannot retrieve mapping for action error when using EL expression in the action

initialize java form bean

2007-03-14 Thread Lim Hock-Chai
is there a way to set a property of a java form bean from struts-config.xml? I try to use set-property and it is not working.

path basic

2006-12-08 Thread Lim Hock-Chai
Assuming that i5 is set up to map to tomcat/webapps/i5 folder in tomcat, if my URL is http://localhost:8080/i5/home.do and all home.do does is forward the request to a tiles definition, can somebody enlighten me on what path each of these tiles' put tags are trying to reference? put name=title

debug in eclipse using tomcat plug-in

2006-12-05 Thread Lim Hock-Chai
When I try to debug my application by starting tomcat using tomcat eclipse plug-in, eclipse keeps telling me that it can not find the source. I'm not sure if there is a setting problem in eclipse, tomcat or struts. Can somebody give me some pointer? thanks.

RE: debug in eclipse using tomcat plug-in

2006-12-05 Thread Lim Hock-Chai
: Tuesday, December 05, 2006 11:25 AM To: Struts Users Mailing List Subject: Re: debug in eclipse using tomcat plug-in What version of everything are you using? On Dec 5, 2006, at 12:05 PM, Lim Hock-Chai wrote: When I try to debug my application by starting tomcat using tomcat eclipse plug-in, eclipse

Action DTD for struts-config.xml

2006-04-10 Thread Lim Hock-Chai
Anybody know where I can find a complete explanation of Action tag and all of its properties? I'm trying to see how the include property work. thanks.

dynamic property

2005-10-20 Thread Lim Hock-Chai
I have an application that I need to dynamically create fields/properties in the html. Does anybody know of any article that describe the best approach to do this in struts? Note: Number of fields/properties will be control by a database. There is no way to determine how many, however, it

RE: Re: using el to assign value of collection attribute in html:options

2005-09-27 Thread Lim Hock-Chai
optionsCollection works! Thanks. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Monday, September 26, 2005 2:35 PM To: Struts Users Mailing List Subject: Re: Re: using el to assign value of collection attribute in html:options clip The collection attribute is

using el to assign value of collection attribute in html:options

2005-09-26 Thread Lim Hock-Chai
is there a way to use el to assign value of collection attribute in html:options tag?

RE: Re: using el to assign value of collection attribute in html:options

2005-09-26 Thread Lim Hock-Chai
I'm not at a place that I can try this. Do you mean to get below to work: html:select property=color html:options collection=${jspHelper.attrList.attrColorDTOList} property=ID labelProperty=shortDesc/ /html:select I need to do this? html:select property=color html:optionsCollection

Change the query parm before forward

2005-09-23 Thread Lim Hock-Chai
is there a way to change the query parm in the request before forward it? In my struts config file, I've a initialization action. If say the order item sequence# is missing in the query parm, I need to change it to default to the next item sequence # before it forward to the actual form.

RE: Change the query parm before forward

2005-09-23 Thread Lim Hock-Chai
/request attribute might not work for me. Not sure. I'm new to web development. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005 2:39 PM To: Struts Users Mailing List Subject: Re: Change the query parm before forward From: Lim Hock-Chai