A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Frameworks
»
Struts
Author
how to make my label in multiple lines
harilal ithikkat
Ranch Hand
Joined: Oct 06, 2008
Posts: 221
posted
Feb 08, 2010 03:34:24
0
Hi ..
I am very new to
struts
2..
while i was trying to study some ui tags i came across a scenario..it is as explained below
<s:updownselect label="Select Technologies and put them in order <br>(Most comfortable with on the top)" labelposition="top" list="#{'Servlet':'Servlet', 'JSP':'JSP', 'Struts':'Struts', 'EJB':'EJB'}" name="technology" headerKey="-1" headerValue="----Select----" moveDownLabel="Down" moveUpLabel="Up" selectAllLabel="All"/>
here i am trying to break up my label
string
but unfortunately my html tag(< br >) is just get displayed in browser instead of line break.
please help me out to solve this
Thanks in advance
SCJP 1.5
"A candle looses nothing by lighting another candle"
itechmentors.com
Chinna Eranna
Ranch Hand
Joined: Dec 08, 2009
Posts: 174
I like...
posted
Feb 08, 2010 03:44:22
0
try with this...
order <br>(Most comfortable
- Chinna
harilal ithikkat
Ranch Hand
Joined: Oct 06, 2008
Posts: 221
posted
Feb 08, 2010 03:56:11
0
no it didnt work
order < ; br > ; (Most comfortable
this is what i got
Chinna Eranna
Ranch Hand
Joined: Dec 08, 2009
Posts: 174
I like...
posted
Feb 08, 2010 04:00:48
0
Try.. make sure there are no spaces...
order <br>(Most comfortable
harilal ithikkat
Ranch Hand
Joined: Oct 06, 2008
Posts: 221
posted
Feb 08, 2010 04:07:31
0
no dude..still same
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: how to make my label in multiple lines
Similar Threads
Overwriting deployment descriptor using PHP
Getting null while trying to get value of Multiple list
problem calling static method using OGNL
Can not Populate the form on combo box change
passing hidden forms problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter