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
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
: 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
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.
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
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.
: 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
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.
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
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
is there a way to use el to assign value of collection attribute in
html:options tag?
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
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.
/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
14 matches
Mail list logo