On 6/13/06, Pankaj Gupta <[EMAIL PROTECTED]> wrote:
Hi,
Please suggest how can I specify which value(s) to be displayed as
selected by default in html:select tag, when specified through
collection attribute.
http://wiki.apache.org/struts/StrutsWidgets
-
Too bad something simple like this the struts tags doesn't have a nice
solution for like a defaultValue property.
On 6/19/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
Pankaj Gupta wrote:
> Hi,
>
> Please suggest how can I specify which value(s) to be displayed as
> selected by default in html:se
Pankaj Gupta wrote:
Hi,
Please suggest how can I specify which value(s) to be displayed as
selected by default in html:select tag, when specified through
collection attribute.
I think it's best to set this up in your Action 'before' you forward to
the JSP, or if you know what will always be
You can specify in body onload as follows
You can specify any index that you want to set as default selection.
-Original Message-
From: Pankaj Gupta [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 13, 2006 4:13 PM
To: Struts Users Mailing List
Subject: How to specify default displayed v
4 matches
Mail list logo