I'm trying to get a horizontal toolbar working, and unfortunately, the
layout I've been given to work in requires it to sit inside an existing
table.
My code looks like this:
<t:div id="hNav_outer" styleClass="hNav_outer">
<t:panelNavigation id="portfolioNavigation" layout="list"
itemClass="off" activeItemClass="on" openItemClass="on" >
<t:commandNavigation value="In Progress"
action="inProgressProjects"/>
<t:commandNavigation value="Complete"
action="completeProjects"/>
</t:panelNavigation2>
</t:div>
When it's rendered it looks like this:
<div id="projectForm:hNav_outer" class="hNav_outer">
<table border="0">
<tr>
<td class="off">
<span class="off">
<a href="#"
onclick="clear_projectForm();document.forms['projectForm'].elements['autoScroll'].value=getScrolling();document.forms['projectForm'].elements['projectForm:_link_hidden_'].value='projectForm:_id68';if(document.forms['projectForm'].onsubmit){var
result=document.forms['projectForm'].onsubmit(); if( (typeof result ==
'undefined') || result )
{document.forms['projectForm'].submit();}}else{document.forms['projectForm'].submit();}return
false;" id="projectForm:_id68">In Progress</a>
</span>
</td>
</tr>
<tr>
<td class="off">
<span class="off">
<a href="#"
onclick="clear_projectForm();document.forms['projectForm'].elements['autoScroll'].value=getScrolling();document.forms['projectForm'].elements['projectForm:_link_hidden_'].value='projectForm:_id69';if(document.forms['projectForm'].onsubmit){var
result=document.forms['projectForm'].onsubmit(); if( (typeof result ==
'undefined') || result )
{document.forms['projectForm'].submit();}}else{document.forms['projectForm'].submit();}return
false;" id="projectForm:_id69">Complete</a>
</span>
</td>
</tr>
</table>
</div>
I'm using JSF RI 1.1.01 and Tomahawk 1.1.3
Is this normal? It seems to be ignoring the layout="list" attribute and
using layout="table" anyway. It seems like this is a "feature"?
-----------------------------------------------------
This message is intended for the addressee named and may contain
confidential/privileged information. If you are not the intended recipient,
please delete it and notify the sender.
Views expressed in this message are those of the individual sender, and are not
necessarily the views of the Department.
You should scan any attached files for viruses.
-----------------------------------------------------