See here: http://wiki.apache.org/struts/StrutsWidgets
Make sure that SopForm.getAuthoriser() returns current authoriser
value when you render the page.
Michael.
On 2/15/06, Sony Thomas <[EMAIL PROTECTED]> wrote:
> Hi Friends,
>
> It will be greateful if anyone can help me out to solve this proble
>>> [EMAIL PROTECTED] 2/15/2006 9:20 AM >>>
>
>But still the default value is not set to "Paul".
>Do I need to change any settings of the dropdown list.
You need to set the value using the your Action that is loading your
jsp.
sopForm.setAuthoriser = somevalue;
Gary
Jeff Bischoff wrote:
> You
Hi Jeff and Thor,
Thanks for the reply. I am using same "SopForm" between actions. Only
thing is my "authriserList" contains PersonForms. I am having the same
value "Paul" in the authoriser. But still the default value is not set
to "Paul". Do I need to change any settings of the dropdown list
uts Users Mailing List
Subject: Drop Down List Problem - Bit Urgent
Hi Friends,
It will be greateful if anyone can help me out to solve this problem.
I have an ActionForm called SopForm. There is a property
called "authoriserList" . This list contains a list of
another ActionForm call
You don't need to change your JSP code to accomplish this. You just have
to ensure that your "SopForm" still has the selected value when the edit
page is displayed. Are you using the same form between actions, or are
you reseting it / letting it create a new form?
If users selects "Paul", then
[EMAIL PROTECTED]
> Sent: Wednesday, February 15, 2006 3:14 PM
> To: Struts Users Mailing List
> Subject: Drop Down List Problem - Bit Urgent
>
> Hi Friends,
>
> It will be greateful if anyone can help me out to solve this problem.
>
> I have an ActionForm called SopF
Sony Thomas wrote:
Hi Friends,
It will be greateful if anyone can help me out to solve this problem.
I have an ActionForm called SopForm. There is a property called
"authoriserList" . This list contains a list of another ActionForm
called PersonForm. I am displaying the name of the persons fr
Hi Friends,
It will be greateful if anyone can help me out to solve this problem.
I have an ActionForm called SopForm. There is a property called
"authoriserList" . This list contains a list of another ActionForm
called PersonForm. I am displaying the name of the persons from PersonForm.
The
8 matches
Mail list logo