Cosma,

I have a situation very similar to what you've described.  There's an 
JSCookMenu along with other menu tabs sitting in a table.  The rest of the tabs 
are more straitforward as they have an onClick javascript handler redirecting 
them to another iframe.  JSCookMenu has a lot of items and a click on each of 
them should redirect to the same iframe as well.  Doing it via the action 
attribute on the navigationitmes and <from-action> navigation cases in the 
faces-config doesn't seem to work.  
The menu is populated dynamically via a bean configured in the faces-config.xml 
file.  
Could you please provide more details of your solution, or the source if 
possible, or maybe some suggestion if there's an easier way to achieve this.  
I'm on myFacess 1.1.1 version as of now.

Also, has anyone used the 'target' member of the NavigatoinMenuItem, what is it 
for, are there any examples?

Thank you very much in advance.
Simeon

-----Original Message-----
From: Cosma Colanicchia [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 18, 2006 5:14 PM
To: MyFaces Discussion
Subject: Re: JSCookMenu with Frames


I'm using JSCookMenu and frames, but it is possible thanks to the
Trinidad af:form. The Trinidad form has a "targetFrame" attribute that
allows actions results to be loaded in a window/frame different from
itself, so it will be only required to put the JSCookMenu in such a
form.

Note that I have patched the JSCookMenu component to make it work with
Trinidad, because the current implementation has some problems with it
(see https://issues.apache.org/jira/browse/TOMAHAWK-516 to have an
idea about those problems). My patch hasn't found a way into SVN, but
part of the problems it fixes have already been solved by another
commit (the other part is still under discussion in another thread).

Regards
Cosma


2006/7/18, Leyzerzon, Simeon <[EMAIL PROTECTED]>:
>
>
> Are there any examples of using the JSCookMenu with frames?  Is it possible
> to deal with an issue of the menu not displaying onto another frame?
> Thank you,
> Simeon
>
> -----Original Message-----
> From: arti [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 15, 2006 12:09 PM
> To: [email protected]
> Subject: JSCookMenu with Frames
>
>
> Hi,
>
> Can JSCookMenu (versin 1.4.4) be used with Frames? If yes, how? Where should
> the target frame be specified?
>
> Although the documentation for <t:NavigationMenuItem> tag shows "target" as
> an attribute, at run time it throws an exception saying this attibute is not
> supported.
>
> Has anybody used frames with JSCookMenu before?
>
> Thanks
> Arti
>
> ==============================================================================
> Please access the attached hyperlink for an important electronic
> communications disclaimer:
>
> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
> ==============================================================================
>
>
>
>

==============================================================================
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================

Reply via email to