dumbQuestionsAsker _ wrote:
Hi everybody,
I got a little problem using Struts with Javascript.
Im trying to generate an HTML form which has to be submitted as a String.
In my form I got an input which has to contain a bean property which doesn't comes from the current bean but from the one who will focus on the form.
So I have a

Cannot find bean searchFormBean in any scope error.

the current bean is deployFormBean this is where the problem is (into a javascript):

<input type='hidden' name='typeDep' value='<bean:write name="searchFormBean" property="dbbAttribut(TYPE_DEPLOIEMENT)"/>'>"

I'm not sure what you mean by a form that 'has to be submitted as a String', but the problem being reported is that searchFormBean is not defined. How do you set that up? Is it populated by an action before the JSP is displayed?

L.


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

Reply via email to