Thanks Robert,w ill try this now..
Has anyone also used graphing software (jfree) with struts...
looking for a open source implemntation on the same...
Thanks!
Robert Taylor <[EMAIL PROTECTED]> wrote:
Try using the following with JSTL:
or you can try the following using
If you are still
Try using the following with JSTL:
or you can try the following using
If you are still getting a error make sure you are
using proper JavaBean naming conventions. You can find this in
the JavaBean specification.
robert
> -Original Message-
> From: as as [mailto:[EMAIL PROTECTED]
>
Greg the answer to your question is yes, jstl has a
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, January 30, 2004 2:54 PM
Subject: Re: bean:write
>
> On Jan 30, 2004, "David Erickson" <[EMAIL PROTECTED]> wrote:
>
> |What type
On Jan 30, 2004, "David Erickson" <[EMAIL PROTECTED]> wrote:
|What type of formatting are you looking to do?
We are formatting dates, currency, and numbers.
I think we will extend the bean:write in a custom tag and just check for null
ourselves - very minimal code change this way (which is im
What type of formatting are you looking to do?
-David
- Original Message -
From: "Gregory F. March" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, January 30, 2004 1:42 PM
Subject: Re: bean:write
>
> On
On Jan 30, 2004, "David Erickson" <[EMAIL PROTECTED]> wrote:
|Greg: you could alternatively use the JSTL Core tags, if the bean is null it
|doesn't write anything I believe. The format is
|
|otherwise if you really want to use bean:write you could enclose it in a
| or
|just
David,
Tha
Greg: you could alternatively use the JSTL Core tags, if the bean is null it
doesn't write anything I believe. The format is
otherwise if you really want to use bean:write you could enclose it in a
or
just
HTH
-David
- Original Message -
From: "Gregory F. March" <[EMAIL PROTECTED]>
T
> To: Struts Users Mailing List
> Subject: Re: bean:write question
>
>
> how about wrapping your content inside the tag?
>
>
> On Jan 24, 2004, at 11:37 AM, Allen Jordan wrote:
>
> > Hello all,
> > I am trying to display a file name and the contents of the
how about wrapping your content inside the tag?
On Jan 24, 2004, at 11:37 AM, Allen Jordan wrote:
Hello all,
I am trying to display a file name and the contents of the file in a
jsp. My formbean object contains 2 Strings (filename and contents).
The problem I am having is the file contents are
uote prematurely ends the string I
am trying to pass to the Javascript method, which
causes a Javascript exception.
Thanks,
Dan
> -Original Message-
> From: Yee, Richard K,,DMDCWEST [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 22, 2004 4:39 PM
> To: 'Struts Users Ma
Dan,
Try using the filter="false" attribute of the bean:write tag. That will
disable the encoding of characters that are sensitive to HTML.
-Richard
-Original Message-
From: Daniel Lipofsky [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 4:18 PM
To: [EMAIL PROTECTED]
Subject:
sorry kris, i think i misunderstood the original question, but i get
what you saying with the delim character needing to be a character not
a string. I think our man wants
filter="false" anyhow ..
On 14 Jan 2004, at 14:57, Kris Schneider wrote:
The "delims" attribute of works just like the "d
The "delims" attribute of works just like the "delim" argument to
a StringTokenizer constructor. For example, if you do:
StringTokenizer st = new StringTokenizer("line1line2", "", true);
Then st.countTokens() will return 6, not 3. In other words, the "delims"
attribute should be thought of as a
does it work with instead of
because I have things working exactly as you would have with ...
filter="false" does the trick for me - only difference is my line breaks are
instead of
not sure if that changes things for you
- Original Message -
From: "Otto, Frank" <[EMAIL PROTECTED]>
So you want to replace for \n or similar.
...
This might work.
On 14 Jan 2004, at 14:30, Otto, Frank wrote:
Hello,
I want to write a string like "line1line2".
If I use , I will get
line1
line2.
If I use , I will get line1line2.
But I want to write:
line1
line2
How can I do th
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 :
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,
I am trying to display the content to the front end user wh
is Schneider [mailto:[EMAIL PROTECTED]
> > > Enviado el: miércoles, 15 de octubre de 2003 4:25
> > > Para: Struts Users Mailing List
> > > Asunto: Re: Bean:write to c:out conversion for something in
> > > .properties file
> > >
> > >
> > >
rces for each module.
Quoting Carlos Sánchez <[EMAIL PROTECTED]>:
> Could you post your JSTLSwitchAction ?
>
> > -Mensaje original-
> > De: Kris Schneider [mailto:[EMAIL PROTECTED]
> > Enviado el: miércoles, 15 de octubre de 2003 4:25
> > Para: Strut
Could you post your JSTLSwitchAction ?
> -Mensaje original-
> De: Kris Schneider [mailto:[EMAIL PROTECTED]
> Enviado el: miércoles, 15 de octubre de 2003 4:25
> Para: Struts Users Mailing List
> Asunto: Re: Bean:write to c:out conversion for something in
> .properties
Wendy Smoak wrote:
Okay, apparently I can't read. It was a tag, not a
tag! Since WAS ported to Struts-EL, I
assume that there is something you can do with that you
cannot do with . What would that be?
The biggest difference is that is hooked into the
internals of Struts. I'm guessing this
pp will *never* need to be displayed in other than English.
--
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM
-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 4:36 PM
To: Struts Users Mailing List
Subjec
Put the following in web.xml:
javax.servlet.jsp.jstl.fmt.localizationContext
ApplicationResources
and then use:
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"; %>
Wendy Smoak wrote:
The struts-example webapp has the following in logon.jsp:
:
The message comes from Applica
hi,
i really did't get ur Q.
but if u want to avoid using name attribute,u can use nested tags
that takes the action form binded with the html:form
-- nagi
---Original Message---
From: Struts Users Mailing
9, 2003 5:08 AM
> To: [EMAIL 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
01:20:36 PM
>
> Please respond to "Struts Users Mailing List"
><[EMAIL PROTECTED]>
>
> To:Struts Users Mailing List <[EMAIL PROTECTED]>
> cc:
>
> Subject:RE: bean:write and c:out only takes proper javabeans?
>
> You could use refl
PM
>
> Please respond to "Struts Users Mailing List"
><[EMAIL PROTECTED]>
>
> To:"'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> cc:
>
> Subject:RE: bean:write and c:out only takes proper javabeans?
>
> The only w
'll look to some Corba message boards for insight to what people
> usually does.
>
> -Henrik Bentel
>
>
>
>
>
>
> Stephen Brown <[EMAIL PROTECTED]> on 07/09/2003 12:05:15 PM
>
> Please respond to "Struts Users Mailing List"
&g
espond to "Struts Users Mailing List"
<[EMAIL PROTECTED]>
To:"'Struts Users Mailing List'" <[EMAIL PROTECTED]>
cc:
Subject:RE: bean:write and c:out only takes proper javabeans?
The only way to do this is the use getter and setter methods w
The only way to do this is the use getter and setter methods with JavaBean
naming conventions. This should in no way interfere with a Corba backend,
Corba can be used pretty much just like EJB. The tags use reflection, but
just to find appropriately named getter methods - the Java conventions say
to solve the problem.
>
> I will try with another Server, like jboss 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 strut
problem.
>
> I will try with another Server, like jboss 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
>
>
juillet 2003 17:09
À : Struts Users Mailing List
Objet : RE: bean:write problem with struts 1.1
But I didn't specify any 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.jasp
But I didn't specify any 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 seems
>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
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Maybe the setter or getter for userCountry object is messed up.
Or possibly the getter or setter for users.getUsersCountry() or
users.setUsersCountry() is messed up.
Messed up meaning setCountry(String county){ this.country = country; } like
a misspelling or something. So when the update happens
Use this:
This will go through a list of Strings and print out each one. This also
works for lists of non-string objects. Let me know if you need help with
that modification.
Keith Kamholz
Programming and Architecture
Moog Inc.
Phone: (716) 687-7001
-Original Message-
F
-
From: Bradley M. Handy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 1:01 PM
To: 'Struts Users Mailing List'
Subject: RE: Bean:write in a html:textarea value property...?
Change you tags to be:
Tags within properties are not inte
Change you tags to be:
Tags within properties are not interpreted.
Brad Handy
-
Bradley M. Handy| Office: 517 750 6675
Programmer/Analyst | Email: [EMAIL PROTECTED]
Spring Arbor University |
---
If can use the jstl, you can:
It automagically encodes, as well.
> -Original Message-
> From: Rob King [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 04, 2003 2:28 PM
> To: Struts Users Mailing List
> Subject: bean:write / HashMap
>
>
> Hi,
> I have checked struts documentation, incl
That can be elegantly handled with JSTL as
Sri
-Original Message-
From: teknokrat [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 10:35 AM
To: [EMAIL PROTECTED]
Subject: Re: bean:write question
[EMAIL PROTECTED] wrote:
>>hello
>>
>>>i have a class
[EMAIL PROTECTED] wrote:
hello
i have a class wich contains another class
like class "user" which contains a class "adress" in a
response.
i'd like to write the properties in a jsp
hth,
Tib
thanks
couldn't have been more simple !
-
SPECIAL ADSL
L'ADSL à partir de 15,95 EUR/moi
>
Again, with struts-el
Dan
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Daniel Allen, <[EMAIL PROTECTED]>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"Personally, I'm not finding Windows
to be less expensive to administe
>hello
>>
>>i have a class wich contains another class
>>like class "user" which contains a class "adress" in a
response.
>>i'd like to write the properties in a jsp
>>
>>
>
>hth,
>Tib
thanks
couldn't have been more simple !
-
SPECIAL ADSL
L'ADSL à partir de 15,95 EUR/mois et le m
[EMAIL PROTECTED] írta:
hello
i have a class wich contains another class
like class "user" which contains a class "adress" in a response.
i'd like to write the properties in a jsp
hth,
Tib
-
To unsubscribe, e-mail: [EMAI
Read up on logic:equal/notEqual
or use JSTL c:choose
-Tim
-Original Message-
From: John Towell [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 1:14 PM
To: [EMAIL PROTECTED]
Subject: Re: bean:write , boolean, and yes or no
anyone anyone... something doo economics
>
anyone anyone... something doo economics
> Is there a simple way to display a yes or no instead of true or false
> when writing a boolean from bean:write? I was thinking of creating a
> custom tag for this, but this has to have come up before no? What is
> the best solution?
>
> -John
>
>
>
TECTED]>
> >
> > Show us where you're putting "queuesName" into request scope.
>
> > -Original Message-
> > From: Jason Vinson [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, February 25, 2003 10:12 AM
> > To: Struts Users Mailing List
&g
o:[EMAIL PROTECTED]
> Sent: Tuesday, February 25, 2003 12:35 PM
> To: Struts Users Mailing List
> Subject: Re: RE: RE: bean:write issues... or a better solution
>
>
> It's in my action class. theForm is the ActionForm that gets
> passed in.
>
> QueueListing[] theQ
AIL PROTECTED]>
Sent: 02/25/03 01:34 PM
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: Re: RE: RE: bean:write issues... or a better solution
>
> It's in my action class. theForm is the ActionForm that gets passed in.
QueueListing[] theQueues = new QueueListing [cboQueue.ge
:29 PM
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: RE: RE: bean:write issues... or a better solution
>
> Show us where you're putting "queuesName" into request scope.
> -Original Message-
> From: Jason Vinson [mailto:[EMAIL PROTECTED]
> Sen
Show us where you're putting "queuesName" into request scope.
> -Original Message-
> From: Jason Vinson [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 25, 2003 10:12 AM
> To: Struts Users Mailing List
> Subject: Re: RE: bean:write issues... or a better
]
queuesName is a request level collection, with getters and setters for objid and title
elements.
any ideas?
Jason
---Original Message---
From: Ray Madigan <[EMAIL PROTECTED]>
Sent: 02/24/03 11:54 AM
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: RE: bean:
Have you tried this syntax:
statusLookup is my Collection (in request scope), each element has getName()
and getValue() methods...
you're not going to be able to accomplish this by nesting jsp tags, as that
is 'illegal'...
--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.
> -Or
If queuesName is a session or request level attribute then
the options tag should be
given that the collection elements implement the getter getObjid ( ).
Hope this helps!
-Original Message-
From: Jason Vinson [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 8:37 AM
To: Struts
Did that jsp code come through? my webmail removed it from my side...
---Original Message---
From: Jason Vinson <[EMAIL PROTECTED]>
Sent: 02/24/03 11:37 AM
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: bean:write issues... or a better solution
>
> Hi folks,
I am using a
The below example is worked by using Hastable and logic:iterate combination.
I think it is usefull for you Let me know..
<%
java.util.Hashtable bunchList = new java.util.Hashtable();
com.km.struts.tutorial.TestBean test1 = new
com.km.struts.tutorial.TestBean();
bunchList.put("0",test1
OTECTED]>; "''Struts Users Mailing List' '"
<[EMAIL PROTECTED]>
Sent: Thursday, January 16, 2003 12:54 PM
Subject: RE: bean:write - No getter method for property
> Can we see the class, what happens is that bean:write will call
> employee.getEmpname so if you
Can we see the class, what happens is that bean:write will call
employee.getEmpname so if you don't have the getEmpname function is your
bean class, that explains it.
Ilya
-Original Message-
From: TK
To: 'Struts Users Mailing List'
Sent: 1/16/03 10:22 AM
Subject: bean:write - No getter m
Good point
Regards,
PQ
"This Guy Thinks He Knows Everything"
"This Guy Thinks He Knows What He Is Doing"
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Sent: January 15, 2003 2:26 PM
To: Struts Users Mailing List
Subject: RE: bean:write a
Have you tried setting the filter attribute of to false?
Sri
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 2:23 PM
To: [EMAIL PROTECTED]
Subject: bean:write and embedded html tag
My ActionForm is
public class MyActionForm ext
Thank you!!!
Now looking at the javadocs, I found the filter option. It would be nice thought to
have this mentioned in the description part of the the javadocs for bean output
section. I missed it earlier, cause I assumed the format for bean documentation would
be the same as for html and lo
Sash,
- Eric
- Original Message -
From: "Sash Sash" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 29, 2002 11:04 AM
Subject: bean:write html stuff, how
>
> Hello and Happy Holidays to you all!!!
>
> Got a quick question. I'm trying to use to output HTML code.
> "Victor" == Victor Batista <[EMAIL PROTECTED]> writes:
Victor> Hello!
Victor> How can I print the value of a property (in one iteration) whose value
is a
Victor> key to a message stored on the application MessageResources.
Victor>
Victor>
Victo
Oleg,
See below ...
On 10/31/2002 01:08:59 PM oleg.morenkov wrote:
> hi,
>
> the problem is mentioned here
>
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=struts-user@;jakarta.apache.o
> rg&msgId=366811
> to which I don't see a clean solution.
>
> eg., imagine a form bean was populated
See the taglibs project's string taglib for another solution ...
You may want to search the taglibs-user list for "
[EMAIL PROTECTED] wrote:
If someone knows a better solution to this, please let me know.
+ just realised one could also use .
Oleg
--
Eddie Bush
--
To unsubscribe, e-m
9/23/2002 04:05:09 PM
Please respond to "Struts Users Mailing List"
<[EMAIL PROTECTED]>
To:Struts Users Mailing List <[EMAIL PROTECTED]>
cc:
Subject:Re: bean:write and Date format
Jeff:
I am using struts1.1. I tried use formatKey as you discribed, but the who
Jeff:
I am using struts1.1. I tried use formatKey as you discribed, but the whole page
becomes balnk. So I guess I need to "put Date or Timestamp to my page".
How can I put date ot Timestamp in my page. Sorry for the simple question. I am new to
java and jsp.
Thanks
[EMAIL PROTECTED] wrot
If you are using Struts 1.1 then you can use the formatKey attribute of the
tag
formatKey="format.date.long"
with a key in you properties file as such: format.date.long= d,
** I think this only works if you are putting Date or Timestamp to the page.
If not 1.1 then I guess you c
bean:message
--- Graham Lounder <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> I can't seem to find much documentation on the
> format option of the
> bean:write tag. I've search the mail archive and
> couldn't find anything.
>
> I was able to format numbers by using ###.##0.00 in
> the format opt
The bean write format option does work for dates. I was playing with it
yesterday and things like "mm/dd/" worked fine.
Pat
-Original Message-
From: gnanaseelan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 6:39 AM
To: Struts Users Mailing List
S
Hi
The best way to format date is using SimpleDateFormat class .but i think
its better to go traditional way of vaildation
hope this could be helpful
Gnan
- Original Message -
From: "Graham Lounder" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday,
02 9:20 AM
> To: 'Struts Users Mailing List'
> Subject: RE: bean:write
>
>
> Don't allow inflexible adherence to a design pattern blind you to the
> rational application of practical solutions. A "pattern," after all, is
> simply a guide, not a rule.
>
LOL! :-)~
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 9:24 AM
To: Struts Users Mailing List
Subject: RE: bean:write
What!
Oh great. NOW he tells us.
doh!
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent
What!
Oh great. NOW he tells us.
doh!
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 21:20
To: 'Struts Users Mailing List'
Subject: RE: bean:write
Don't allow inflexible adherence to a design pattern blind you
5, 2002 5:25 AM
but isn't this a bad design then?
Mixing up Struts tags and standard JSP.
-Ursprüngliche Nachricht-
Von: Jonathan Fuerth [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 3. Juni 2002 16:53
An: Struts Users Mailing List
Betreff: Re: bean:write
On Mon, Jun 03, 2002 at 02:5
On Mon, Jun 03, 2002 at 02:58:45PM +0200, [EMAIL PROTECTED] wrote:
> Is there a possibility to write some values from the session to the
> jsp, without having a bean for this value?
Yes, with standard JSP:
<%= session.getAttribute("mySessionAttr") %>
See http://java.sun.com/products/jsp/tags/11
Yes, that's the idea, Jeff.
[EMAIL PROTECTED] wrote:
>
> I have been looking for more documentation on the new format attribute in the
> bean write tag.
>
> I have found very little doc's. Could point me to or let me know if I am on
> the right track.
>
> It seems I can send the bean write
Yes Thinh I think thats the way to go
Regards,
Taati
> -Original Message-
> From: Thinh Doan [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 4:44 PM
> To: Struts Users Mailing List
> Subject: RE: bean:write returning null
>
> Can you use logic
Exactly right on.
-Original Message-
From: Bartley, Chris P [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 10, 2002 6:42 PM
To: '[EMAIL PROTECTED]'
Subject: RE: bean:write returning null
> Couln't you use the ignore=true flag instead?
Well, it depends. I guess i a
""
Time to go home...yay for Friday.
thanks,
chris
> -Original Message-
> From: Pedone, Tim [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 5:12 PM
> To: 'Struts Users Mailing List'
> Subject: RE: bean:write returning null
>
>
> Cou
Chris' suggestion works (thanks!); just for grins I'll try ignore as well.
Mark
-Original Message-
From: Pedone, Tim [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 10, 2002 6:12 PM
To: 'Struts Users Mailing List'
Subject: RE: bean:write returning null
Couln'
ED]]
Sent: Friday, May 10, 2002 1:56 PM
To: 'Struts Users Mailing List'
Subject: RE: bean:write returning null
Have you tried doing a first, and then checking for null with
?
For example, say that you were doing this:
But you want to make sure that it isn't null first...so, t
ps.
chris
> -Original Message-
> From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 3:37 PM
> To: 'Struts Users Mailing List'
> Subject: RE: bean:write returning null
>
>
> I tried logic:isEmpty without success.
>
> -Origi
Not at all..
Just a newbie! in struts
Regards,
Taati
> -Original Message-
> From: James Mitchell [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 4:49 PM
> To: Struts Users Mailing List
> Subject: RE: bean:write returning null
>
> You're not a l
You're not a lawyer too are you?
JM
> -Original Message-
> From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 4:40 PM
> To: Struts Users Mailing List
> Subject: RE: bean:write returning null
>
>
> Great!
> I am becoming a wo
Great!
I am becoming a worthy(??) disciple if not a guru!
Keep Going Guys!
Regards,
Taati
> -Original Message-
> From: James Mitchell [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 4:42 PM
> To: Struts Users Mailing List
> Subject: RE: bean:write
Yes you are
http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg30390.html
JM
> -Original Message-
> From: Mannem, Taati [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 4:34 PM
> To: Struts Users Mailing List
> Subject: RE: bean:write
I tried logic:isEmpty without success.
-Original Message-
From: Thinh Doan [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 10, 2002 4:44 PM
To: Struts Users Mailing List
Subject: RE: bean:write returning null
Can you use logic:present ?
Thinh
-Original Message-
From: Galbreath
Can you use logic:present ?
Thinh
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 10, 2002 3:30 PM
To: Struts (E-mail)
Subject: bean:write returning null
How are you guys testing for this in JSP?
Mark
"De recta non tolerandum sunt."
--
To unsub
By using Present tag I believe,,,
Leo and Jim helped me with this y'day
Am I correct Jim and Leo
Regards,
Taati
> -Original Message-
> From: Galbreath, Mark [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 4:30 PM
> To: Struts (E-mail)
> Subject: bean:write returning null
>
>
I think the class has to match. I had problems with a date that got
converted to the String class as well. If you use String, I think it gets
converted from a Date to a String once and for all. After that, the
formatKey attribute won't work because it relies on the format method of
SimpleDateForma
The ApplyXSL Tag has a bodycontent of JSP so it should
be able to expand the contents of the bean:write and
then use that to create my HTML(using hte stylesheet).
Why isnt it doing this? If I just use the
tag,it prints thewhole XML onto the
screen. So when i put it as a child tag inside
ApplyXS
"Struts Newsgroup (@Basebeans.com)" wrote:
> Subject: bean:write format
> From: "Brian K. Buckley" <[EMAIL PROTECTED]>
> ===
> Hello,
>
> I am getting the error "Attribute format invalid according to the specified
> TLD" when I say
>
>
>
> Is this the result of my using of struts 1.0.1? Do I
Mike,
The bean write tag defaults to filtering String for sensitive HTML chars.
You must set filter="false" to stop the filtering, e.g.
Should do the trick.
Chris.
-Original Message-
From: Mike Dewhirst [mailto:[EMAIL PROTECTED]]
Sent: 18 February 2002 14:54
To: 'Struts Users Mailing
"Matt Read" <[EMAIL PROTECTED]> writes:
> Could anyone tell me what the struts equivalent of this scriplet should be?
>
> <%
> if (request.getAttribute("messages") != null) {
> out.println((String) request.getAttribute("messages"));
> }
> %>
--
To unsubscribe, e-mai
Paul,
How about ?
Not very pretty though.
--
John
At 06:52 pm 22-10-2001 +1000, you wrote:
I am displaying the properties of a
bean on a JSP page using the bean:write
tag. The bean being displayed has a byte property for status.
How can I
resolve this byte status code to it's String descriptio
David,
Thanks for the info. I do have the setters. Too lazy to include them in
my actual mail.
cheers,
Amar..
-Original Message-
From: David Winterfeldt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 2:18 PM
To: [EMAIL PROTECTED]
Subject: Re: bean:write Tag and
Struts uses reflection. So if the method is there, it
will find it. You will need a setter though for the
key method or it will generate errors.
Here is an excerpt from the PropertyUtils
documentation.
Utility methods for using Java Reflection APIs to
facilitate generic property getter and set
The tag accesses a property of an existing bean. In the case
you quoted, it is looking for the 'data' property of the 'pagedata' bean.
The error that you are seeing suggests that you do not have an object named
'pagedata' in the request scope. You'll need to create an object of your
Pagedata cla
100 matches
Mail list logo