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