Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
highlight search pattern
Hubert Pernegger
Ranch Hand
Posts: 49
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi,
I'm trying to highlight my the search
pattern
in my
jsp
page, it works, if I'm trying to do it like that:
<high:highlighter text="RSL" style="color:yellow;background:blue"> <td><bean:write name="proPep" property="peptide_seq" /></td> </high:highlighter>
but if I do it that way,it doesn't work:
<high:highlighter text="<%=request.getAttribute("seqToSearch")%>" style="color:yellow;background:blue"> <td><bean:write name="proPep" property="peptide_seq" /></td> </high:highlighter>
Timothy Sam
Ranch Hand
Posts: 751
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hmmm... I haven't heard of this feature being available with
struts
... Anyway... Have you tried using EL? Like this...?
<high:highlighter text="${seqToSearch}" style="color:yellow;background:blue"> <td><bean:write name="proPep" property="peptide_seq" /></td> </high:highlighter>
I'm not sure if it'll work...
SCJP 1.5
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
nested iterate-help
Struts and Hibernate how to display in jsp file
how to count entries in logic:iterate and display
logic:iterate display entries
ServletException: BeanUtils.populate
More...