struts-user mailing list archives

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


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 :)


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:   <>
> For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message