Don't use c:set, use bean:define

<bean:define id="empForm" property="employeeForm"/>


P.S. Don't ask why


-- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx

----- Original Message ----- From: "struts lover" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 07, 2004 10:56 AM
Subject: jstl and struts tag problem



Hello Everyone,

I have this problem related to tags.

I am using <c:set> to set the ActionForm to some
variable, and dont ask why :).

And now I want to access a collection on the form for
the drop down list. How do I do this?

I am doing as follows :

<c:set var="empForm" value="${employeeForm}"/>

Now further in my JSP, I am doing this for my drop
down:

<html:options collection="empForm.salaryList"
property="salaryValue" labelProperty="salaryLabel"/>

Why is it not working??
Any help would be appreciated.

Thanks




__________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do?
http://my.yahoo.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to