Return an object using html:select

2004-02-25 Thread Russell Healy
Is it possible to set an object in an action form to an object from a list using an html:select? My code is: struts-config: form-bean name=activityForm type=org.apache.struts.validator.DynaValidatorForm form-property name=activityType type=ActivityType/ form-property name=activityTypes

html:radio in logic:iterate

2004-01-19 Thread Russell Healy
Hello Is there an example somewhere of how to correctly use html:radio/ inside logic:iterate/ in Struts 1.1? If not, does anyone know how to use it? What are the following attributes used for: idName value property The tag library docs are very short and hard to understand. This is my code:

Global forward from anywhere in site when condition met

2003-11-05 Thread Russell Healy
Is there an elegant way to invoke a global-forward from anywhere in the site when any given condition is met? In my case, I want to invoke a global-forward when a certain attribute is missing from the HTTPSession. I want this rule to be applicable across the whole site, but I don't want to