I have a collection of LabelValueBeans as a property of another bean (an Action), and 
I store this bean in session scope with "preparedData" as the key. But when I try and 
access it using html:option, I get the following error:

        "Cannot find bean preparedData in any scope"

Here's html:option related stuff:

        <html:select property="account">
            <bean:define id="viewOptions" name="preparedData" property="view" 
type="java.util.collection"/>
            <html:options collection="viewOptions" property='value" 
labelProperty="label"/>
        </html:select>
        

Here's how I save it in session scope:

        HttpSession session = request.getSession();
        session.setAttribute("preparedData", this);

(I know this code is working because a subsequent retrieval worked.)

Here's the attached code for the "preparedData" Action bean:

 <<PrepareAction.java>> 
Any help greatly appreciated!

jim

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

Reply via email to