Ref : msg71420
Hi,
I suppose the proble is very simple,
just add the following things to the web.xml and struts-config.xml
In Web.xml
init-param
param-nameapplication/param-name
param-valuecom.xyz.ApplicationResources/param-value
/init-param
add the above entry below
a onclick='returnData(bean:write name=xloc property=script /)'
bean:write name=xloc property=locCode/
/a
this a tag should output something like this
onclick = 'returnData(y-2342,234,home office, 10230 your street, nj,
union, 02932, 12fl)
but instead it does this
onclick =
use jsp:getProperty instead.
Adriano.
-Mensagem original-
De: sean [mailto:[EMAIL PROTECTED]
Enviada em: Wednesday, March 03, 2004 3:55 PM
Para: [EMAIL PROTECTED]
Assunto: bean:write problem
a onclick='returnData(bean:write name=xloc property=script /)'
bean:write name=xloc
sean sean.jones at ubs.com writes:
a onclick='returnData(bean:write name=xloc property=script /)'
bean:write name=xloc property=locCode/
/a
bean:write name=obj property=getter filter = true/
adding the filter=true did the trick
Hi All,
I am trying to display the content to the front end user which contains some HTML TAGS.
say i have into the database bHI I am bold tag
when i am tryiong to display the data using
bean:write name=something property=something format=true/
OR
bean:write name=something
u can try something like this :
bean:write name=something property=something filter=false/
Thanks,
Kulkarni
-Original Message-
From: Gurpreet Dhanoa [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 4:50 PM
To: Struts Users Mailing List
Subject: Bean:write \problem
Hi All
hi KulKarni
Thanks for it
It worked
Cheers
gary
- Original Message -
From: Ravi Kulkarni [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 4:54 PM
Subject: RE: Bean:write \problem
u can try something like this :
bean:write name
...
-Message d'origine-
De : David Jiao [mailto:[EMAIL PROTECTED]
Envoyé : mardi 8 juillet 2003 17:09
À : Struts Users Mailing List
Objet : RE: bean:write problem with struts 1.1
But I didn't specify any data-sources from my struts-config file. Do I
have to include it anyway
PROTECTED]
Subject: Re: bean:write problem with struts 1.1
I'm running Weblogic 6.1 and have experienced exactly the
same problem. It
goes away if you change the returntype of the getter to a
String instead of
whatever you are using. Not a solution to the problem though.
I sent
Hello,
I asked this question before. In my application, the bean:write doesn't
work with numeric types after I update struts to 1.1. It kept throwing a
message: org.apache.jasper.JasperException: Cannot find message
resources under key org.apache.struts.action.MESSAGE.
The whole exception
It kept throwing a
message: org.apache.jasper.JasperException: Cannot find message
resources under key org.apache.struts.action.MESSAGE.
It seems to be due to the the data-sources
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
But I didn't specify any data-sources from my struts-config file. Do I
have to include it anyway?
On Tue, 2003-07-08 at 09:59, Nicolas Seinlet wrote:
It kept throwing a
message: org.apache.jasper.JasperException: Cannot find message
resources under key org.apache.struts.action.MESSAGE.
It
: Struts Users Mailing List
Objet : RE: bean:write problem with struts 1.1
But I didn't specify any data-sources from my struts-config file. Do I
have to include it anyway?
On Tue, 2003-07-08 at 09:59, Nicolas Seinlet wrote:
It kept throwing a
message: org.apache.jasper.JasperException: Cannot find
and see...
-Message d'origine-
De : David Jiao [mailto:[EMAIL PROTECTED]
Envoy : mardi 8 juillet 2003 17:09
: Struts Users Mailing List
Objet : RE: bean:write problem with struts 1.1
But I didn't specify any data-sources from my struts-config file. Do I
have to include it anyway
I saw this problem was already posted earlier, but no solution was found.
I've got the same problem but I might be able to supply you with a bit more
information. This is my first ever attempt at using Struts so I can't say if
this problem occurs in 1.0.x since I started with 1.1 right off the
Hi,
I developed my application using struts 1.0.2. Today I updated it to
struts 1.1 and found the following error messages (listed the end of
this mail).
I found the problem is in here.
bean:write name=beanname property=propertyname/
When property is a long (maybe numeric) value, it throws the
-Original Message-
From: David Jiao [mailto:[EMAIL PROTECTED]
Sent: June 30, 2003 1:06 PM
To: [EMAIL PROTECTED]
Subject: Struts 1.1 bean:write problem
Hi,
I developed my application using struts 1.0.2. Today I updated it to
struts 1.1 and found the following error messages (listed
My initial guess was not because of the bean:write. But then I found out
the error only happens when I use the bean:write for a long type.
I checked the log file and the only message there are the same as listed
on the page.
I am sure that it's the bean:write problem or has something to do
List
Subject: RE: Struts 1.1 bean:write problem
My initial guess was not because of the bean:write. But then I found out
the error only happens when I use the bean:write for a long type.
I checked the log file and the only message there are the same as listed
on the page.
I am sure
Have we seen your web.xml and struts-config.xml file yet?
-Original Message-
From: Steve Raeburn [mailto:[EMAIL PROTECTED]
Sent: Monday, June 30, 2003 4:01 PM
To: Struts Users Mailing List
Subject: RE: Struts 1.1 bean:write problem
Could you post the code that's causing
Hello,
I have a problem displaying data with bean:write tag. I simply want to show
the list of users.
UserVO has property userCountry of type CountryVO.
I populate bean allUsers and put it into request.
On jsp page:
logic:iterate id=users name=allUsers scope=request
happens it isn't set right.
-Original Message-
From: Mykola Ostapchuk [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 4:49 PM
To: Struts Users Mailing List
Subject: bean:write Problem
Hello,
I have a problem displaying data with bean:write tag. I simply want to show
the list of users
- Original Message -
From: George Jacob [EMAIL PROTECTED]
To: Struts UserForm [EMAIL PROTECTED]
Sent: Thursday, February 06, 2003 10:00 AM
Subject: bean:write problem
Hi all.
How we can write a value in JspWriter using bean:write tag which is
embedded in an object that stored in a Vector
Hi all.
How we can write a value in JspWriter using bean:write tag which is embedded in an
object that stored in a Vector. The vector is iterated by a logic:iterate tag. Pls
help..
George
24 matches
Mail list logo