As far as the CSS not being applied, try setting forceId="true" on the t:div tags. Most of the css in the "simple" example application relies on the ids of the div tags.

ldr wrote:
Hi all

I have added a dynamic created panelnavigation2, just like the tomahawk
myfaces examples, but when I place it inside a t:div the actionlistener
doesn't get activated. see code below:

<t:div id="divSettingsMenu" binding="#{MpSubscriberProxy.divSettingsMenu}"
rendered="false">
                                <f:verbatim>
                                <table width="100%">
                                <tr>
                                <td valign="top" width="260">
                                </f:verbatim>
                                                <t:div id="subnavigation_outer">
                                            <t:div id="subnavigation">
                                            <t:panelNavigation2 id="nav1" layout="list" 
itemClass="mypage"
activeItemClass="selected">
                                                <t:navigationMenuItems 
id="navitems"
value="#{MpSubscriberProxy.panelNavigationItems}" />
                                            </t:panelNavigation2>
                                            </t:div>
                                            </t:div>
                                
                                <f:verbatim>
                                </td>
                                <td valign="top">
                                </f:verbatim>
....
...
</t:div>

I have had some problems with panelnavigation2, when I use it inside a form,
the style doesn't get reflected??? but for now I hope someone can see what
Im doing wrong, since the actionlistener doesn't work..

thanks chris


Reply via email to