aspose file tools*
The moose likes Struts and the fly likes html-el:select Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html-el:select" Watch "html-el:select" New topic
Author

html-el:select

madhuri rajan
Greenhorn

Joined: May 07, 2007
Posts: 28
Hi,

I am using the following code to generate a dropdown wherein the selected value will be in the form variable selectedReason. I am presetting this form variable in my action class. I see that the dropdown is displayed with the preset reason automatically and disabled as expected. But by the time control reaches the method 'shopCart' in my action class, the form variable selectedReason is coming in as null. Can someone please tell me why this form variable is not getting set.



Thanks in advance,
Madhuri.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

What library are you using (html-el)?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
madhuri rajan
Greenhorn

Joined: May 07, 2007
Posts: 28
<%@ taglib uri="/tags/struts-html-el" prefix="html-el"%>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: html-el:select