Hi,
        Wild guess (not so wild, It happened to me more than
One time)

The fact that you declare your form (ticketForm I suppose) thru
Struts tag  <html:form > does not make it 
'visible' to scriptlet code

so, you would have do do

<% 
   DynaActionForm ticketForm =
(DynaActionForm)request.getAttribute("ticketForm");
String kosten = PropertyUtils.getSimpleProperty( ticketForm,
"kosten") .toString(); %>


probably by now u have solved the problem yourself :-)

regards
        marco



-----Original Message-----
From: Marc Tinnemeyer [mailto:[EMAIL PROTECTED] 
Sent: 02 May 2004 12:49
To: [EMAIL PROTECTED]
Subject: DynaValidatorForm Problem

Hi everybody,

I got a problem accessing a DynaValidator's attribute through a
scriptlet.
Here is the codesnippet:


<bean:message key="text.premium" arg0='<%= kosten %>'/>

While "kosten" is the bean's attribute and "ticketForm" is the
DynaValidatorForm itself.

The friendly message a receive is:
"cannot resolve symbol symbol : variable ticketForm"

Does somebody have an idea on this ?

Kind Regards,
Marc Tinnemeyer

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


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

Reply via email to