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
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
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
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
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
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
--- 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.
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
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
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
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
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
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
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
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
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,
[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
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
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/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[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 !
-
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
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
:[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
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
:
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
: 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
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
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
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
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:
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
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
32 matches
Mail list logo