struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bugra Cakir <bugra.ca...@linux.org.tr>
Subject Re: Form population does not work
Date Sat, 20 Jul 2002 06:40:15 GMT

Hi,

I think you have missed very very big important tag
attribute. :)

<html:text property="action" name="myformbean" size="50"/>

So you must write your form bean's name :)

BUGRA CAKIR

On Fri, 19 Jul 2002, Christian Pich wrote:

> Hi,
>
> I created an account page which I would like to user for
> creating and editing purposes. Both links go through
> a corresponding struts form and action class.
> I have a variable called 'action' that decides if it
> is in edit mode or create mode. With the logic classes
> I can set the title correspondingly (it knows the value of
> the action variable), but the form fields do not
> seem to be populated with the values I am setting the form object
> in the action class.
> How does the page know which form to use?
> Even if I use
> <html:text property="action" size="50"/>
> on the page the variable 'action' is not set correctly.
> I assume something simple is wrong.
> Any help or guess?
>
> Christian
>
>
> --
> To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message