okay,
u got to upgrade to struts1.1 to make that working.
struts1.0 does't any solution ur problem
 
-- nagi
 
-------Original Message-------
 
Date: Monday, September 01, 2003 06:22:50 PM
Subject: RE: bean:message in bean:define tag
 
Hi Nagendra,
If we use this then error occurs , message is:
javax.servlet.ServletException: Body is supposed to be empty for
bean:define

-----Original Message-----
From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 01, 2003 6:20 PM
To: [EMAIL PROTECTED]
Subject: Re: bean:message in bean:define tag


HI,

<bean :define id="runcapt">
<bean:message key=home.mouseover.runbutton.caption/>
</bean:define>


-------Original Message-------

From: Struts Users Mailing List
Date: Monday, September 01, 2003 06:04:31 PM
To: [EMAIL PROTECTED]
Subject: bean:message in bean:define tag

Hi All,
I am using the code snippet given below to define a variable for
which the
value is coming from property file by key
'home.mouseover.runbutton.caption'.
But when i try to display ths jsp containing this snippet , i get
java
script error as struts doesn't compile "<bean:message
key=home.mouseover.runbutton.caption/>" and assign this string
literal as it
is to the defined variable.

Please let me know what can be done to assign the actual value in
property
file to runcapt variable.

jsp page
=====
<bean :define id="runcapt" value="<bean:message
key=home.mouseover.runbutton.caption/>"/>
=======

property file
==========
home.mouseover.runbutton.caption = Run Search
=================

Thanks in advance
Shailesh Modi


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


.


____________________________________________________
IncrediMail - Email has finally evolved - Click Here

____________________________________________________
  IncrediMail - Email has finally evolved - Click Here

Reply via email to