You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by he...@dnbnor.no on 2006/01/25 08:31:33 UTC

[Shale] JSCookMenu and full HTML Clay

Hi

I am trying to get JSCoockMenu to work in a full HTML Clay setting. So I first thought I would try to take sample from Tomahawk (simple) and create a full HTML Clay test. However it is not giving the expected result:

A reduced test looks like this:

<span jsfid="t:jscookMenu" layout="hbr" theme="ThemeOffice" stylelocation="css/jscookmenu"> 
	<span jsfid="t:navigationMenuItems" id="nav_0" value="#{navigationMenu.jsCookMenuNavigationItems}" />
	<span jsfid="t:navigationMenuItem" split="true"/> 
</span>

which renders to this:

<a href="#" onclick="clear_linkDummyForm();document.forms['linkDummyForm'].elements['linkDummyForm:_link_hidden_'].value='clayView:base:_id0:_id33:_id86:nav_0';if(document.forms['linkDummyForm'].onsubmit){var result=document.forms['linkDummyForm'].onsubmit(); if( (typeof result == 'undefined') || result ) {document.forms['linkDummyForm'].submit();}}else{document.forms['linkDummyForm'].submit();}return false;" id="clayView:base:_id0:_id33:_id86:nav_0"> [org.apache.myfaces.custom.navmenu.NavigationMenuItem@a40b6e] </a>

 	  
<input id="clayView:base:_id0:_id33:_id86:_id87" name="clayView:base:_id0:_id33:_id86:_id87" onclick="clear_linkDummyForm();" type="submit">


Which gives me a link with the text: [org.apache.myfaces.custom.navmenu.NavigationMenuItem@a40b6e],  and a submitbutton.

Anyone got JSCoockMenu to work in fullt HTML Clay?


Hermod






* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org