Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spacing issue before h:commandLink

 
Chris Stewart
Ranch Hand
Posts: 124
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 140
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 <hutputText ../> tag, with escape set to false. Perhaps you can try that and let us know if it solved the problem.
 
Venkat Sadasivam
Ranch Hand
Posts: 139
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can also use   to provide space.
 
Venkat Sadasivam
Ranch Hand
Posts: 139
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry, html character is not visible in my previous reply.

 
Venkat Sadasivam
Ranch Hand
Posts: 139
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Again the same problem. I think JavaRanch has to provide preview option for reply message.

You can use &#160; to provide space.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic