Are you using the .jspx or .jsp extension to your page?

Try this:
      <tr:panelPage>
        <tr:panelGroupLayout>
        <tr:outputText escape="false" value="Please login
"/><tr:commandLink text=" here" action="login" />
        <tr:outputText value="."/>
        </tr:panelGroupLayout>
      </tr:panelPage>

It works in my .jspx page

I don't think that you can have text in your page that aren't in a jsf
tag b/c of the difference in when the tags are evaluated from when the
page is evaluated.

-Richard

On Wed, Jul 9, 2008 at 1:31 AM, Guy Bashan <[EMAIL PROTECTED]> wrote:
> This behavior is probably due to the nature of your page. Other elements
> also want space so the text is being wrapped.
>
> Have you tried <nobr> tag?
>
>
>
> <tr:panelPage>
>
> <p><nobr>Please login <tr:commandLink text="here" action="login"
> />.</nobr<</p>
>
> </tr:panelPage>
>
>
>
> Guy.
>
>
>
> From: Henry Chang [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 09, 2008 5:26 AM
> To: MyFaces Discussion
> Subject: How to layout the page with commandLink?
>
>
>
> Hi, I have a very simple question since it is my first time to use Trinidad
> components.
>
>
>
> I would like to have a <tr:commandLink> and other text messages to appear on
> the same line of a page. I use the following:
>
>
>
> <tr:panelPage>
>
> <p>Please login <tr:commandLink text="here" action="login" />.</p>
>
> </tr:panelPage>
>
>
>
> However, the effect of this is that the link appear on the second line which
> looks very odd. Could anybody help to fix this? Thanks.
>
>
>
> Best Regards,
>
> Henry Chang

Reply via email to