On a jsp page, I need to set the visibility of a div element based on
the value of a form attribute.  The div is inside an <html:form> element
for the form in question (editDeForm).  The fragment should look
something like:
 
<div style="visibility: ${editDeForm.initialPrecVisibility}"    ...>
 
but JSTL EL attribute tags don't work in non-JSTL tags.  I could go to
the trouble of doing a jsp:bean to grab the form bean, then call the
getter method explicitly to get the value, all inside <% %> in the attr
value, but that strikes me as being far clumsier than it should be using
the JSTL/Struts combo.  So, can someone please point me in the right
direction to handle this?
 
-- 
Craig Berry
x7546
 
 

Reply via email to