RE: Bean:write

2004-03-21 Thread as as
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

RE: Bean:write

2004-03-21 Thread Robert Taylor
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] >

Re: bean:write

2004-01-30 Thread David Erickson
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

Re: bean:write

2004-01-30 Thread Gregory F. March
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

Re: bean:write

2004-01-30 Thread David Erickson
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

Re: bean:write

2004-01-30 Thread Gregory F. March
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

Re: bean:write

2004-01-30 Thread David Erickson
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

RE: bean:write question

2004-01-26 Thread Daniel Lipofsky
> 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

Re: bean:write question

2004-01-24 Thread Hien Q Nguyen
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

RE: bean:write and apostrophes

2004-01-22 Thread Daniel Lipofsky
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

RE: bean:write and apostrophes

2004-01-22 Thread Yee, Richard K,,DMDCWEST
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:

Re: bean:write

2004-01-14 Thread Mark Lowe
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

Re: bean:write

2004-01-14 Thread Kris Schneider
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

Re: bean:write

2004-01-14 Thread Mike Deegan
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]>

Re: bean:write

2004-01-14 Thread Mark Lowe
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

Re: Bean:write \problem

2003-12-02 Thread Gurpreet Dhanoa
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

RE: Bean:write \problem

2003-12-02 Thread Ravi Kulkarni
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

RE: Bean:write to c:out conversion for something in .properties file

2003-10-15 Thread Kris Schneider
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 > > > > > > > > >

RE: Bean:write to c:out conversion for something in .properties file

2003-10-15 Thread Kris Schneider
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

RE: Bean:write to c:out conversion for something in .properties file

2003-10-15 Thread Carlos Sánchez
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

Re: Bean:write to c:out conversion for something in .properties file

2003-10-14 Thread Kris Schneider
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

RE: Bean:write to c:out conversion for something in .properties file

2003-10-14 Thread Wendy Smoak
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

Re: Bean:write to c:out conversion for something in .properties file

2003-10-14 Thread Kris Schneider
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

Re: bean:write usage

2003-08-27 Thread Nagendra Kumar O V S
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

RE: bean:write problem with struts 1.1

2003-07-09 Thread Stephen Brown
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

RE: bean:write and c:out only takes proper javabeans?

2003-07-09 Thread Kris Schneider
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

RE: bean:write and c:out only takes proper javabeans?

2003-07-09 Thread henrik . bentel
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

RE: bean:write and c:out only takes proper javabeans?

2003-07-09 Thread Kris Schneider
'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

RE: bean:write and c:out only takes proper javabeans?

2003-07-09 Thread henrik . bentel
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

RE: bean:write and c:out only takes proper javabeans?

2003-07-09 Thread Stephen Brown
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

Re: bean:write problem with struts 1.1

2003-07-09 Thread Linus Nikander
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

RE: bean:write problem with struts 1.1

2003-07-08 Thread David Jiao
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 > >

RE: bean:write problem with struts 1.1

2003-07-08 Thread Nicolas Seinlet
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

RE: bean:write problem with struts 1.1

2003-07-08 Thread David Jiao
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

RE: bean:write problem with struts 1.1

2003-07-08 Thread Nicolas Seinlet
>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

RE: bean:write Problem

2003-06-26 Thread Bailey, Shane C.
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

RE: bean:write with in logic:iterate

2003-06-16 Thread Kamholz, Keith (corp-staff) USX
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

RE: Bean:write in a html:textarea value property...?

2003-06-04 Thread Haytham Samad
- 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

RE: Bean:write in a html:textarea value property...?

2003-06-04 Thread Bradley M. Handy
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 | ---

RE: bean:write / HashMap

2003-04-04 Thread Derek Richardson
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

RE: bean:write question

2003-03-19 Thread Sri Sankaran
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

Re: bean:write question

2003-03-19 Thread teknokrat
[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

Re: bean:write question

2003-03-19 Thread Dan Allen
> 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

Re: bean:write question

2003-03-19 Thread [EMAIL PROTECTED]
>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

Re: bean:write question

2003-03-19 Thread Gemes Tibor
[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

RE: bean:write , boolean, and yes or no

2003-03-06 Thread Chen, Gin
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 >

Re: bean:write , boolean, and yes or no

2003-03-06 Thread John Towell
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 > > >

RE: RE: RE: bean:write issues... or a better solution

2003-02-25 Thread Karr, David
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

RE: RE: RE: bean:write issues... or a better solution

2003-02-25 Thread Jarnot Voytek Contr AU HQ/SC
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

Re: Re: RE: RE: bean:write issues... or a better solution

2003-02-25 Thread Jason Vinson
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

Re: RE: RE: bean:write issues... or a better solution

2003-02-25 Thread Jason Vinson
: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

RE: RE: bean:write issues... or a better solution

2003-02-25 Thread Karr, David
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

Re: RE: bean:write issues... or a better solution

2003-02-25 Thread Jason Vinson
] 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:

RE: bean:write issues... or a better solution

2003-02-24 Thread Jarnot Voytek Contr AU HQ/SC
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

RE: bean:write issues... or a better solution

2003-02-24 Thread Ray Madigan
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

Re: bean:write issues... or a better solution

2003-02-24 Thread Jason Vinson
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

Re: bean:write problem

2003-02-06 Thread ashokd
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

Re: bean:write - No getter method for property

2003-01-16 Thread TK
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

RE: bean:write - No getter method for property

2003-01-16 Thread Sterin, Ilya
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

RE: bean:write and embedded html tag

2003-01-15 Thread pqin
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

RE: bean:write and embedded html tag

2003-01-15 Thread Sri Sankaran
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

Re: bean:write html stuff, how

2002-12-30 Thread Sash Sash
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

Re: bean:write html stuff, how

2002-12-29 Thread Eric C. Hein
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.

Re: bean:write and MessageResources

2002-11-24 Thread David M. Karr
> "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

Re: bean:write filtering and newlines

2002-11-01 Thread Susan Bradeen
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

Re: bean:write filtering and newlines

2002-10-31 Thread Eddie Bush
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

Re: bean:write and Date format

2002-09-23 Thread Jeff_Mychasiw
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

Re: bean:write and Date format

2002-09-23 Thread Cathy Osekizoglu
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

Re: bean:write and Date format

2002-09-23 Thread Jeff_Mychasiw
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

Re: bean:write format

2002-06-26 Thread Sandeep Takhar
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

RE: bean:write format

2002-06-25 Thread Regan, Patrick
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

Re: bean:write format

2002-06-25 Thread gnanaseelan
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,

RE: bean:write

2002-06-05 Thread James Mitchell
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. >

RE: bean:write

2002-06-05 Thread Galbreath, Mark
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

RE: bean:write

2002-06-05 Thread Andrew Hill
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

RE: bean:write

2002-06-05 Thread Galbreath, Mark
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

Re: bean:write

2002-06-03 Thread Jonathan Fuerth
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

Re: bean:write .. format=XXX

2002-05-27 Thread Ted Husted
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

RE: bean:write returning null

2002-05-13 Thread Mannem, Taati
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

RE: bean:write returning null

2002-05-10 Thread Galbreath, Mark
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

RE: bean:write returning null

2002-05-10 Thread Bartley, Chris P
"" 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

RE: bean:write returning null

2002-05-10 Thread Galbreath, Mark
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'

RE: bean:write returning null

2002-05-10 Thread Pedone, Tim
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

RE: bean:write returning null

2002-05-10 Thread Bartley, Chris P
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

RE: bean:write returning null

2002-05-10 Thread Mannem, Taati
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

RE: bean:write returning null

2002-05-10 Thread James Mitchell
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

RE: bean:write returning null

2002-05-10 Thread Mannem, Taati
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

RE: bean:write returning null

2002-05-10 Thread James Mitchell
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

RE: bean:write returning null

2002-05-10 Thread Galbreath, Mark
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

RE: bean:write returning null

2002-05-10 Thread Thinh Doan
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

RE: bean:write returning null

2002-05-10 Thread Mannem, Taati
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 > >

RE: bean:write and date formatting - doesn't work for me

2002-04-09 Thread Wellie W. Chao
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

Re: bean:write and XSLT Coldjava taglib

2002-03-08 Thread Rajagopal V
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

Re: bean:write format

2002-02-26 Thread Louis Leung
"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

RE: bean:write

2002-02-18 Thread Chris Birch
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

Re: bean:write ?

2002-02-06 Thread Jim Crossley
"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

Re: bean:write with map lookup?

2001-10-22 Thread John Yu
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

RE: bean:write Tag and polymorphic behavior

2001-06-06 Thread Nanduri, Amarnath
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

Re: bean:write Tag and polymorphic behavior

2001-06-06 Thread David Winterfeldt
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

Re: bean:write

2001-03-07 Thread Martin Cooper
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

  1   2   >