RE: bean:write question

2004-01-26 Thread Daniel Lipofsky
List Subject: Re: bean:write question how about wrapping your content inside the PRE/PRE 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

bean:write question

2004-01-24 Thread Allen Jordan
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 displayed in one continues string, without line breaks. Is there anyway to do this without using

Re: bean:write question

2004-01-24 Thread Hien Q Nguyen
how about wrapping your content inside the PRE/PRE 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

bean:write question

2004-01-19 Thread Sng Wee Jim
Hi, Is there an elegant way to get the bean:write tag to encode space to nbsp; ? I tried setting the attribute filter=true but it doesn't encode space to nbsp; I need to get this working, as consecutive spaces will be collapsed into one in HTML and I need to ensure that doesn't happen for

bean:write question

2004-01-19 Thread Sng Wee Jim
Hi, Is there an elegant way to get the bean:write tag to encode space to nbsp; ? I tried setting the attribute filter=true but it doesn't encode space to nbsp; I need to get this working, as consecutive spaces will be collapsed into one in HTML and I need to ensure that doesn't happen for

bean:message key=bean:write question

2003-07-29 Thread Brian McSweeney
Hi all, I have parameters in a form bean and I want to use it as the key for an associated value in a resource bundle. I was considering using bean:message key=bean:write name=myForm property=myProperty/ is this valid syntax? Thanks, Brian

Re: bean:message key=bean:write question

2003-07-29 Thread David Graham
--- Brian McSweeney [EMAIL PROTECTED] wrote: Hi all, I have parameters in a form bean and I want to use it as the key for an associated value in a resource bundle. I was considering using bean:message key=bean:write name=myForm property=myProperty/ is this valid syntax? No.

RE: bean:message key=bean:write question

2003-07-29 Thread Brian McSweeney
2003 16:04 To: Struts Users Mailing List Subject: Re: bean:message key=bean:write question --- Brian McSweeney [EMAIL PROTECTED] wrote: Hi all, I have parameters in a form bean and I want to use it as the key for an associated value in a resource bundle. I was considering using

RE: bean:message key=bean:write question

2003-07-29 Thread David Graham
it working :-) Thanks for your help Brian -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: 29 July 2003 16:04 To: Struts Users Mailing List Subject: Re: bean:message key=bean:write question --- Brian McSweeney [EMAIL PROTECTED] wrote: Hi all, I

RE: bean:message key=bean:write question

2003-07-29 Thread Paul McCulloch
To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Subject: RE: bean:message key=bean:write question Hi David, Thanks for the quick reply. I know that JSTL might be the best way, but for the moment I'd really prefer to just get it working with the struts tags first because it's an entire app using

RE: bean:message key=bean:write question

2003-07-29 Thread Brian McSweeney
: RE: bean:message key=bean:write question You could expose the actual message (rather than it's key) via your form - getMyPropertyMessage(). To render this you'd just need: bean:write name=myForm property=myPropertyMessage/ Paul -Original Message- From: Brian McSweeney [mailto:[EMAIL

RE: bean:message key=bean:write question

2003-07-29 Thread Brian McSweeney
it working :-) Thanks for your help Brian -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: 29 July 2003 16:04 To: Struts Users Mailing List Subject: Re: bean:message key=bean:write question --- Brian McSweeney [EMAIL PROTECTED] wrote: Hi all, I

RE: bean:message key=bean:write question

2003-07-29 Thread Paul McCulloch
That's right (though I have no idea how hard it would to implement the method!). Paul -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: 29 July 2003 16:35 To: 'Struts Users Mailing List' Subject: RE: bean:message key=bean:write question Not sure what you mean

Re: bean:message key=bean:write question

2003-07-29 Thread Thomas Cornet
The simpliest way to do it is : bean:message name=myForm property=myProperty / Thomas At 17:01 29/07/2003, you wrote: Hi all, I have parameters in a form bean and I want to use it as the key for an associated value in a resource bundle. I was considering using bean:message key=bean:write

RE: bean:message key=bean:write question

2003-07-29 Thread Brian McSweeney
List Subject: Re: bean:message key=bean:write question The simpliest way to do it is : bean:message name=myForm property=myProperty / Thomas At 17:01 29/07/2003, you wrote: Hi all, I have parameters in a form bean and I want to use it as the key for an associated value in a resource bundle. I

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 it morks well for the property of user with bean:write, but the property adress write the reference (call .toString()). that's what i waited,

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 bean:write name=user property=address.city / hth, Tib

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 bean:write name=user property=address.city / hth, Tib thanks couldn't have been more simple ! - SPECIAL ADSL L'ADSL à partir

Re: bean:write question

2003-03-19 Thread Dan Allen
bean:write name=user property=address.city / Again, with struts-el c:out value=${user.address.city}/ Dan -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Daniel Allen, [EMAIL PROTECTED] http://www.mojavelinux.com/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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 bean:write name=user property=address.city / hth, Tib thanks couldn't have been more simple ! -

RE: bean:write question

2003-03-19 Thread Sri Sankaran
That can be elegantly handled with JSTL as c:out value=${user.address.city} default=help!/ 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

RE: value=bean:write../ question

2003-01-10 Thread Mouratidis, Georg
tiles:put name=topleftbean:write name=ac property=section.name/./tiles:put But this code doesn't work: html:hidden property=sectionName value=bean:write name=ac property=section.name/ / of course not. bean:write writes an output in the http-stream. but you want to give the attribute value a

RE: value=bean:write../ question

2003-01-08 Thread Siggelkow, Bill
:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 8:15 PM To: 'Struts Users Mailing List' Subject: value=bean:write../ question Hi, This code works: tiles:put name=topleftbean:write name=ac property=section.name/./tiles:put But this code doesn't work: html:hidden property=sectionName value

Re: value=bean:write../ question

2003-01-08 Thread Sander Hofstee
You could use: bean:define name=myBean property=myProperty id=myId type=String/ ... value=%= myId% .. -Original Message- From: Vijay Balakrishnan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 8:15 PM To: 'Struts Users Mailing List' Subject: value=bean:write

RE: value=bean:write../ question

2003-01-08 Thread Vijay Balakrishnan
: bean:define name=myBean property=myProperty id=myId type=String/ ... value=%= myId% .. -Original Message- From: Siggelkow, Bill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 5:36 AM To: 'Struts Users Mailing List' Subject: RE: value=bean:write../ question You cannot use

Re: value=bean:write../ question

2003-01-08 Thread Paul Linden
: Wednesday, January 08, 2003 5:36 AM To: 'Struts Users Mailing List' Subject: RE: value=bean:write../ question You cannot use a tag as a value of an attribute in a tag -- you need to use a Runtime Expression (or expression language if you are using JSTL) as in the following: html:hidden property

RE: value=bean:write../ question

2003-01-08 Thread Siggelkow, Bill
PROTECTED]] Sent: Wednesday, January 08, 2003 3:01 PM To: Struts Users Mailing List Subject: Re: value=bean:write../ question input type=hidden name=sectionName value=bean:write name=ac property=section.name/ / is just text with a custom tag in the middle. There's nothing special about input

RE: value=bean:write../ question

2003-01-08 Thread pqin
PROTECTED]] Sent: Wednesday, January 08, 2003 3:01 PM To: Struts Users Mailing List Subject: Re: value=bean:write../ question input type=hidden name=sectionName value=bean:write name=ac property=section.name/ / is just text with a custom tag in the middle. There's nothing special about input

RE: value=bean:write../ question

2003-01-08 Thread Siggelkow, Bill
PROTECTED]] Sent: Wednesday, January 08, 2003 3:59 PM To: [EMAIL PROTECTED] Subject: RE: value=bean:write../ question No, it will still be set. Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Siggelkow, Bill [mailto

value=bean:write../ question

2003-01-07 Thread Vijay Balakrishnan
Hi, This code works: tiles:put name=topleftbean:write name=ac property=section.name/./tiles:put But this code doesn't work: html:hidden property=sectionName value=bean:write name=ac property=section.name/ / Can someone explain what I need to do ? Thanks, Vijay -- To unsubscribe, e-mail:

Javascript bean:write question?

2001-04-02 Thread Josh
We are using Stuts 1.0 b1, and deploying in both Weblogic 5.1 sp8, and Orion 1.4.5. One difference that I don't understand is that in Weblogic we embedded bean:write in our javascript, and it worked just fine, however that approach does not work in Orion. I was wondering if anyone had an

Re: Javascript bean:write question?

2001-04-02 Thread Maya Muchnik
I am not sure, that it is help. Try single quotation symbol after "abc=" as : var abc = 'bean:write name = "formbean" property="abcde"'; Josh wrote: We are using Stuts 1.0 b1, and deploying in both Weblogic 5.1 sp8, and Orion 1.4.5. One difference that I don't understand is that in Weblogic