OK let me explain another way.
I got a JSP "A" which contain a javascript that put into a text input a
string which represent a dynamically generated form to be stored into a
database.
In this form I defined an input text input which has to be red by a JSP
"B".This input text has a default value <bean:write......
A has a different bean than B.
So when I submit my String containing my "bean:write" tag from "A", it is
parsed, and it seems that the application is trying to read the Bean of "B"
which is not loaded.
Is is better explained ?
Thanx in advance for your help.
From: Laurie Harper <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
To: user@struts.apache.org
Subject: Re: form generation
Date: Tue, 04 Oct 2005 14:44:03 -0400
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]
_________________________________________________________________
Apprenez à lutter contre le spam !
http://go.msn.fr/10-channel/80-security/spam/default.asp
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]