So if I upgrade to the newest myFaces binaries (looks like it's 1.1.3), will I 
be able to hook up the af:form with the jscookmenu as you are describing out of 
the box, or will I still need some additional customizations that you've made?  
I'm currently using 1.1.1 version of myFaces and Tomahawk with no Trinidad.
Thanks for your help.
Simeon

-----Original Message-----
From: Cosma Colanicchia [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 27, 2006 7:19 PM
To: Leyzerzon, Simeon
Subject: Re: JSCookMenu with Frames


Well, my solution is build upon the Trinidad form component, as I
said, that allows to easily set a different target for the form.

I have not understand how you are redirecting actions on the iframe,
but if *all* the actions in your form need to be redirected in the
iframe, you can simply try to put a javascript somewhere that set the
form target attribute to the name of your iframe.

Cosma


2006/7/28, Leyzerzon, Simeon <[EMAIL PROTECTED]>:
>
> 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.
>
> 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
> ==============================================================================
>
>

==============================================================================
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