| Author |
Spacing issue before h:commandLink
|
Chris Stewart
Ranch Hand
Joined: Sep 29, 2001
Posts: 124
|
|
So I'm running into a weird issue with spacing before a command link. Here's my code: It should render as "Home - Administration - Logout". However, it's actually rendering as "Home - Administration -Logout". Notice the missing space before Logout. Is there something I'm missing here?
|
 |
Darryl Nortje
Ranch Hand
Joined: Jun 11, 2002
Posts: 140
|
|
Howzit Chris, I just pasted this line into a test jsp, and it spaced correctly. Using MyFaces. What I was thinking a solution could be was to put the " - " into a <h utputText ../> tag, with escape set to false. Perhaps you can try that and let us know if it solved the problem.
|
 |
Venkat Sadasivam
Ranch Hand
Joined: May 10, 2008
Posts: 139
|
|
|
You can also use to provide space.
|
“Any fool can write code that a computer can understand. Good programmers write code that humans can understand. ”<br>
-Martin Fowler
|
 |
Venkat Sadasivam
Ranch Hand
Joined: May 10, 2008
Posts: 139
|
|
sorry, html character is not visible in my previous reply.
|
 |
Venkat Sadasivam
Ranch Hand
Joined: May 10, 2008
Posts: 139
|
|
Again the same problem. I think JavaRanch has to provide preview option for reply message. You can use   to provide space.
|
 |
 |
|
|
subject: Spacing issue before h:commandLink
|
|
|