Take a look at
http://jsftutorials.net/htmLib/
for a simple method of creating various html tags using
jsf.
Lance
De: CD [mailto:[EMAIL PROTECTED]
Envoyé: mercredi 21 juin 2006 22:41À: MyFaces
DiscussionObjet: Re: Something Simple
Troy,
Another thought is to use components like
tags using jsf.
Lance
De: CD [mailto:[EMAIL PROTECTED]] Envoyé: mercredi 21 juin 2006 22:41
À: MyFaces DiscussionObjet: Re: Something Simple
Troy,
Another thought is to use components like panelGrids and whatnot that give you such an ability by virtue of what they do and how they do it. Keep
Greetings:
I have an attribute in a backing bean and I want to display it in a jsp
inline. I tried to use OutputText and it doesn't seem to work
correctly.
Here is what I want to do:
f:verbatim
h2Welcome #{authedUser.firstName}/h2
/f:verbatim
This doesn't work. So I tried
f:verbatim
Try
h:outputText value=#{Welcome authedUser.firstName}/
-Original Message-
From: Troy Bull [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 3:07 PM
To: users@myfaces.apache.org
Subject: Something Simple
Greetings:
I have an attribute in a backing bean and I want to display
f:verbatim
h2
/f:verbatim
af:outputText value=Welcome#{authedUser.firstName}/
f:verbatim
/h2
/f:verbatim
On 6/21/06, Troy Bull [EMAIL PROTECTED]
wrote:
Greetings:I have an attribute in a backing bean and I want to display it in a jspinline.I tried to use OutputText and it doesn't seem to work
Julian Ray wrote:
Try
h:outputText value=#{Welcome authedUser.firstName}/
-Original Message-
From: Troy Bull [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 3:07 PM
To: users@myfaces.apache.org
Subject: Something Simple
Greetings:
I have an attribute in a backing bean
Of course its always best to
useCSSso
h:outputTextstyleClass="myHeaderClass"
value="Welcome#{authedUser.firstName}"/
From: CD [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 3:10 PMTo: MyFaces
DiscussionSubject: Re: Something Simple
f:verbatim
h2
/f:ve
Thanks for the quick and correct answers!
troy
CD said the following on 6/21/2006 2:10 PM:
f:verbatim
h2
/f:verbatim
af:outputText value=Welcome #{authedUser.firstName}/
f:verbatim
/h2
/f:verbatim
On 6/21/06, *Troy Bull* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Greetings:
af:outputTextstyleClass="my-own-h2-from-my-css"
value="Welcome#{authedUser.firstName}"/
From: CD [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 3:10 PMTo: MyFaces
DiscussionSubject: Re: Something Simple
f:verbatim
h2
/f:verbatim
af:outpu
Hello,
I use
h:outputText value=Welcome #{authedUser.firstName} /
and it works fine.
Best regards
Ondrej Svetlik
And for the h2 tag, I have the best experience with
t:htmlTag value=h2 /
(t: for tomahawk)
So your example would be:
t:htmlTag value=h2
h:outputText value=Welcome
Troy,
this article [1] has a lot's a information about your problem ;)
-Matthias
[1] http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html
On 6/21/06, Troy Bull [EMAIL PROTECTED] wrote:
Thanks for the quick and correct answers!
troy
CD said the following on 6/21/2006 2:10 PM:
f:verbatim
[mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 21, 2006 3:10 PM
To: MyFaces DiscussionSubject: Re: Something Simple
f:verbatim
h2
/f:verbatim
af:outputText value=Welcome#{authedUser.firstName}/
f:verbatim
/h2
/f:verbatim
On 6/21/06, Troy Bull [EMAIL PROTECTED]
wrote:
Greetings:I have
:[EMAIL PROTECTED]]
*Sent:* Wednesday, June 21, 2006 3:10 PM
*To:* MyFaces Discussion
*Subject:* Re: Something Simple
f:verbatim
h2
/f:verbatim
af:outputText value=Welcome #{authedUser.firstName}/
f:verbatim
/h2
/f:verbatim
On 6/21/06, *Troy
If you are using tomahawx then t:htmlTag value=br / will work. Otherwise
use f:verbatimbr//f:verbatim
-Original Message-
From: Troy Bull [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 4:33 PM
To: MyFaces Discussion
Subject: Re: Something Simple
Ok, in the vein of avoiding
}/
*From:* CD [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]] *Sent:* Wednesday, June 21, 2006 3:10 PM
*To:* MyFaces Discussion *Subject:* Re: Something Simple f:verbatim h2 /f:verbatim af:outputText value=Welcome
-Original Message-From: Troy Bull [mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 21, 2006 4:33 PMTo: MyFaces DiscussionSubject: Re: Something Simple
Ok, in the vein of avoiding HTML all together how do i do a /BR withouthtml?ThankstroyCD said the following on 6/21/2006 2:17 PM: I also would recommend
[EMAIL PROTECTED] wrote:
If you are using tomahawx then t:htmlTag value=br / will work.
Otherwise
use f:verbatimbr//f:verbatim
-Original Message-
From: Troy Bull [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 4:33 PM
To: MyFaces Discussion
Subject: Re: Something Simple
Ok
17 matches
Mail list logo