Re: Print property of a property using bean:write?

2007-03-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Laurie, Laurie Harper wrote: > Without thinking about it very much, I would expect that one or other of > these would work: > > > Regardless of the method of output, your code needs to both read and write the date in the same format. If the d

RE: Re: Print property of a property using bean:write?

2007-03-12 Thread Raghupathy, Gurumoorthy
March 2007 10:33 To: user@struts.apache.org Subject: Re: Print property of a property using bean:write? David Alves wrote: > Hi all, > > I have a User object which has a Country object attached to it, > representing the country that the user is from. If I do > > > >

Re: Print property of a property using bean:write?

2007-03-12 Thread Laurie Harper
David Alves wrote: Hi all, I have a User object which has a Country object attached to it, representing the country that the user is from. If I do then I get the output of Country.toString(). However, say I want to call one of the other methods in country, like population. Is there an ele

Print property of a property using bean:write?

2007-03-11 Thread David Alves
Hi all, I have a User object which has a Country object attached to it, representing the country that the user is from. If I do then I get the output of Country.toString(). However, say I want to call one of the other methods in country, like population. Is there an elegant way to do this?

Using bean:write

2006-06-23 Thread temp temp
I have a map with a string as key .The string contains some dots like “p.s.amemdment.type.sow”. In jsp I want display the value for key “p.s.amemdment.type.sow”. For this I should use but the bean tag assumes the key as nested property and I get error .Is there a

Re: Recursively using bean:write

2005-11-07 Thread Michael Jouravlev
On 11/7/05, Benjamin Lerman <[EMAIL PROTECTED]> wrote: > Hi all, > > I need to do something like that: > > )" /> > > But I get an error about an equal begin not in the right place. > > Right now, the only solution I found is to use scriplet to generate the > "bar(whatever)" strings, to put th

Recursively using bean:write

2005-11-07 Thread Benjamin Lerman
Hi all, I need to do something like that: )" /> But I get an error about an equal begin not in the right place. Right now, the only solution I found is to use scriplet to generate the "bar(whatever)" strings, to put that in a foobar variable and use : But I do not find that really ap

Re: How to convert line breaks to using bean:write

2005-05-26 Thread JM Tinghir
Hi Nils, Try this : It worked for me. Jean-Marie Tinghir 2005/5/26, Aladin Alaily <[EMAIL PROTECTED]>: > Hi Nils, > > I don't know if this is what you mean (or why you would want to do this > instead of just writing )... but you could have something like this: > > > > and in your properti

Re: How to convert line breaks to using bean:write

2005-05-26 Thread Aladin Alaily
Hi Nils, I don't know if this is what you mean (or why you would want to do this instead of just writing )... but you could have something like this: and in your properties file, you have the following: line.break= Good Luck! Aladin --

How to convert line breaks to using bean:write

2005-05-26 Thread Nils Liebelt
Hi all, is that possible? GreetZ Nils

How to convert line breaks to using bean:write

2005-05-26 Thread Nils Liebelt
Hi all, is that possible? GreetZ Nils

RE: using bean:write to write out html

2005-01-03 Thread Daniel Lipofsky
Set filter=false in the bean:write tag. RTFM for more info. > -Original Message- > From: kjc [mailto:[EMAIL PROTECTED] > Sent: Monday, January 03, 2005 5:58 PM > > I'm trying to use the struts bean:write tag to render an html page. > The html that I would like to display is generated

using bean:write to write out html

2005-01-03 Thread kjc
I'm trying to use the struts bean:write tag to render an html page. The html that I would like to display is generated dynamically based on a given parameter that is passed to my action. I place the generated html in a string that is contained in a form. When returning from the action. The HTML i

RE: title attrib equivalent using bean:write or c:out

2004-08-05 Thread Tom McCobb
Thanks, works like a charm. -Original Message- From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED] Sent: Thursday, August 05, 2004 11:04 AM To: 'Struts Users Mailing List' Subject: RE: title attrib equivalent using bean:write or c:out > I would like to display a mouseov

Re: title attrib equivalent using bean:write or c:out

2004-08-05 Thread Emmanouil Batsis
Slattery, Tim - BLS wrote: I would like to display a mouseover title on a data item displayed in the page with bean:write or c:out tags. There is no "title" attribute for either of these tags. What is the best way to do this, preferable without javascript? Try this: Works in Firefox a

RE: title attrib equivalent using bean:write or c:out

2004-08-05 Thread Slattery, Tim - BLS
> I would like to display a mouseover title on a data item > displayed in the page with bean:write or c:out tags. There > is no "title" attribute for either of these tags. What is > the best way to do this, preferable without javascript? Try this: Works in Firefox and IE. -- Tim Slatt

title attrib equivalent using bean:write or c:out

2004-08-05 Thread Tom McCobb
I would like to display a mouseover title on a data item displayed in the page with bean:write or c:out tags. There is no "title" attribute for either of these tags. What is the best way to do this, preferable without javascript? T. McCobb --

Re: Format Phone numbers using bean:write

2004-08-04 Thread Joe Germuska
At 6:15 PM -0300 8/3/04, Marcelo Epstein wrote: Its not working.. I don´t want to insert the code inside the getter method, because it is presentation not business. foneCom1 is a String. There's no straightforward way to do this because Java's MessageFormat classes are oriented towards replacing

Re: Format Phone numbers using bean:write

2004-08-03 Thread Nathan Maves
ugust 03, 2004 5:58 PM Subject: Re: Format Phone numbers using bean:write Did you try to put the () in '' as in just a guess.. :) On Aug 3, 2004, at 2:03 PM, Marcelo Epstein wrote: Hi, This is not working. foneCom1 is a String. Marcelo - Original Message - From: "Jim Ba

Re: Format Phone numbers using bean:write

2004-08-03 Thread Axel Stahlhut
t; <[EMAIL PROTECTED]> Sent: Tuesday, August 03, 2004 5:58 PM Subject: Re: Format Phone numbers using bean:write Did you try to put the () in '' as in just a guess.. :) On Aug 3, 2004, at 2:03 PM, Marcelo Epstein wrote: Hi, This is not working. foneCom1 is a String. Marcelo

Re: Format Phone numbers using bean:write

2004-08-03 Thread Marcelo Epstein
AIL PROTECTED]> Sent: Tuesday, August 03, 2004 5:58 PM Subject: Re: Format Phone numbers using bean:write > Did you try to put the () in '' as in > > ="'('###')'###'-'"/> > > just a gue

Re: Format Phone numbers using bean:write

2004-08-03 Thread Nathan Maves
List" <[EMAIL PROTECTED]> Sent: Tuesday, August 03, 2004 4:10 PM Subject: RE: Format Phone numbers using bean:write -Original Message- From: Marcelo Epstein [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 11:35 AM To: Struts Users Mailing List Subject: Format Phone numbers

Re: Format Phone numbers using bean:write

2004-08-03 Thread Marcelo Epstein
Hi, This is not working. foneCom1 is a String. Marcelo - Original Message - From: "Jim Barrows" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, August 03, 2004 4:10 PM Subject: RE: Format Phone numbers usin

RE: Format Phone numbers using bean:write

2004-08-03 Thread Jim Barrows
> -Original Message- > From: Marcelo Epstein [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 03, 2004 11:35 AM > To: Struts Users Mailing List > Subject: Format Phone numbers using bean:write > > > Hi all, > > Is it possible to format a phone number s

Format Phone numbers using bean:write

2004-08-03 Thread Marcelo Epstein
Hi all, Is it possible to format a phone number stored in a String using tag ? I can format dates, but not Strings. Thanks in advance, Marcelo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI