Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

override select's headerValue from action

nauke.

2008-09-15

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi all,

I have a select box in my JSP page like:

                  <s:select name="Employee"
                        id="employee"
                        theme="simple"
                        size="1"
                        list="employeeList"
                        cssClass="mystyle"
                        headerKey=""

headerValue="%{getText('global.please.select')}" />

I want to be able to set the headerValue from my Action.
For example, I might want to set it to "John Smith" dynamically.

Is this possible?

Thanks,
nic
©2008 gg3721.com - Jax Systems, LLC, U.S.A.