You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by dushyant agarwal <ag...@yahoo.co.in> on 2008/04/16 08:12:53 UTC

tr:commandNavigationItem does not provide navigation in frames

                     Hi,
I am using JDev 11g,JBoss 4.2.1, Trinidad 1.2.4.

In my project I have top,bottom & center frames. I have a page in the center frame that consists of a tr:commandNavigationItem component. I have provided the "destination" as another page(target.jsp) and "targetFrame" as bottom frame. However on clicking on it the navigation takes place to target.jsp in the same frame(center).

On the other hand on using a tr:goLink with the same attrinute values as above provides the navigation. But tr:goLink does not have an action attribute as tr:commandNavigationItem. 

I need to use tr:commandNavigationItem to navigate to another frame (as tr:goLink). How can I do it???                     

       
---------------------------------
 Best Jokes, Best Friends, Best Food. Get all this and more on  Best of Yahoo! Groups.

Re: tr:commandNavigationItem does not provide navigation in frames

Posted by Andrew Robinson <an...@gmail.com>.
I meant to use your IDE to debug into the MyFaces code. You may be
able to do it all client side with firebug to see as well. I don't
know how the target frame is implemented, so without debugging it
myself, I cannot help very much.

On Fri, Apr 18, 2008 at 12:08 AM, dushyant agarwal
<ag...@yahoo.co.in> wrote:
> Hi Andrew ,
> Does that mean that I need to send my code to the post specifically for
> debug ??(It would not be a problem if no other option's left !!)
>
> Dushyant
>
> Andrew Robinson <an...@gmail.com> wrote:
>  goLink is specifically made to not use an action. JSF actions are only
> on ActionEvent generating components (typically command*).
>
> could you use around your nav links?
>
>
> Really the best thing is to not find a work around but help us debug
> the targetFrame problem so we can fix it if indeed there is a bug.
>
> -Andrew
>
> On Thu, Apr 17, 2008 at 12:17 AM, dushyant agarwal
>  wrote:
> > Andrew,
> > If it is a big all the way, Hoe should I by pass it.
> >
> > Please tell me what should I do to get the following working:
> > Navigating to pages on the basis of selection in tr:breadCrumbs items.
> >
> > Can't I use button or link to provide navigation in frames??
> > Can't I use action with tr:goLink??
> >
> > Dushyant.
> >
> >
> > Andrew Robinson wrote:
> > sounds like a bug if the targetFrame attribute of
> > commandNavigationItem is not working
> >
> > On Wed, Apr 16, 2008 at 12:12 AM, dushyant agarwal
> > wrote:
> > > Hi,
> > > I am using JDev 11g,JBoss 4.2.1, Trinidad 1.2.4.
> > >
> > > In my project I have top,bottom & center frames. I have a page in the
> > center
> > > frame that consists of a tr:commandNavigationItem component. I have
> > provided
> > > the "destination" as another page(target.jsp) and "targetFrame" as
> bottom
> > > frame. However on clicking on it the navigation takes place to
> target.jsp
> > in
> > > the same frame(center).
> > >
> > > On the other hand on using a tr:goLink with the same attrinute values as
> > > above provides the navigation. But tr:goLink does not have an action
> > > attribute as tr:commandNavigationItem.
> > >
> > > I need to use tr:commandNavigationItem to navigate to another frame (as
> > > tr:goLink). How can I do it???
> > >
> > >
> > > ________________________________
> > > Best Jokes, Best Friends, Best Food. Get all this and more on Best of
> > > Yahoo! Groups.
> >
> >
> >
> > ________________________________
> > Meet people who discuss and share your passions. Join them now.
>
>
>
>  ________________________________
>  Did you know? You can CHAT without downloading messenger. Click here

Re: tr:commandNavigationItem does not provide navigation in frames

Posted by dushyant agarwal <ag...@yahoo.co.in>.
Hi Andrew , 
Does that mean that I need to send my code to the post specifically for debug ??(It would not be a problem if no other option's left !!)
Dushyant

Andrew Robinson <an...@gmail.com> wrote: goLink is specifically made to not use an action. JSF actions are only
on ActionEvent generating components (typically command*).

could you use  around your nav links?

Really the best thing is to not find a work around but help us debug
the targetFrame problem so we can fix it if indeed there is a bug.

-Andrew

On Thu, Apr 17, 2008 at 12:17 AM, dushyant agarwal
 wrote:
> Andrew,
> If it is a big all the way, Hoe should I by pass it.
>
> Please tell me what should I do to get the following working:
> Navigating to pages on the basis of selection in tr:breadCrumbs items.
>
> Can't I use button or link to provide navigation in frames??
> Can't I use action with tr:goLink??
>
> Dushyant.
>
>
> Andrew Robinson  wrote:
>  sounds like a bug if the targetFrame attribute of
> commandNavigationItem is not working
>
> On Wed, Apr 16, 2008 at 12:12 AM, dushyant agarwal
>  wrote:
> > Hi,
> > I am using JDev 11g,JBoss 4.2.1, Trinidad 1.2.4.
> >
> > In my project I have top,bottom & center frames. I have a page in the
> center
> > frame that consists of a tr:commandNavigationItem component. I have
> provided
> > the "destination" as another page(target.jsp) and "targetFrame" as bottom
> > frame. However on clicking on it the navigation takes place to target.jsp
> in
> > the same frame(center).
> >
> > On the other hand on using a tr:goLink with the same attrinute values as
> > above provides the navigation. But tr:goLink does not have an action
> > attribute as tr:commandNavigationItem.
> >
> > I need to use tr:commandNavigationItem to navigate to another frame (as
> > tr:goLink). How can I do it???
> >
> >
> > ________________________________
> > Best Jokes, Best Friends, Best Food. Get all this and more on Best of
> > Yahoo! Groups.
>
>
>
>  ________________________________
>  Meet people who discuss and share your passions. Join them now.


       
---------------------------------
 Did you know? You can CHAT without downloading messenger.  Click here

Re: tr:commandNavigationItem does not provide navigation in frames

Posted by Andrew Robinson <an...@gmail.com>.
goLink is specifically made to not use an action. JSF actions are only
on ActionEvent generating components (typically command*).

could you use <tr:form targetFrame="xyz"/> around your nav links?

Really the best thing is to not find a work around but help us debug
the targetFrame problem so we can fix it if indeed there is a bug.

-Andrew

On Thu, Apr 17, 2008 at 12:17 AM, dushyant agarwal
<ag...@yahoo.co.in> wrote:
> Andrew,
> If it is a big all the way, Hoe should I by pass it.
>
> Please tell me what should I do to get the following working:
> Navigating to pages on the basis of selection in tr:breadCrumbs items.
>
> Can't I use button or link to provide navigation in frames??
> Can't I use action with tr:goLink??
>
> Dushyant.
>
>
> Andrew Robinson <an...@gmail.com> wrote:
>  sounds like a bug if the targetFrame attribute of
> commandNavigationItem is not working
>
> On Wed, Apr 16, 2008 at 12:12 AM, dushyant agarwal
>  wrote:
> > Hi,
> > I am using JDev 11g,JBoss 4.2.1, Trinidad 1.2.4.
> >
> > In my project I have top,bottom & center frames. I have a page in the
> center
> > frame that consists of a tr:commandNavigationItem component. I have
> provided
> > the "destination" as another page(target.jsp) and "targetFrame" as bottom
> > frame. However on clicking on it the navigation takes place to target.jsp
> in
> > the same frame(center).
> >
> > On the other hand on using a tr:goLink with the same attrinute values as
> > above provides the navigation. But tr:goLink does not have an action
> > attribute as tr:commandNavigationItem.
> >
> > I need to use tr:commandNavigationItem to navigate to another frame (as
> > tr:goLink). How can I do it???
> >
> >
> > ________________________________
> > Best Jokes, Best Friends, Best Food. Get all this and more on Best of
> > Yahoo! Groups.
>
>
>
>  ________________________________
>  Meet people who discuss and share your passions. Join them now.

Re: tr:commandNavigationItem does not provide navigation in frames

Posted by dushyant agarwal <ag...@yahoo.co.in>.
Andrew,
If it is a big all the way, Hoe should I by pass it.

Please tell me what should I do to get the following working:
Navigating to pages on the basis of selection in tr:breadCrumbs items.

Can't I use button or link to provide navigation in frames??
Can't I use action with tr:goLink??

Dushyant.

Andrew Robinson <an...@gmail.com> wrote: sounds like a bug if the targetFrame attribute of
commandNavigationItem is not working

On Wed, Apr 16, 2008 at 12:12 AM, dushyant agarwal
 wrote:
>  Hi,
> I am using JDev 11g,JBoss 4.2.1, Trinidad 1.2.4.
>
> In my project I have top,bottom & center frames. I have a page in the center
> frame that consists of a tr:commandNavigationItem component. I have provided
> the "destination" as another page(target.jsp) and "targetFrame" as bottom
> frame. However on clicking on it the navigation takes place to target.jsp in
> the same frame(center).
>
> On the other hand on using a tr:goLink with the same attrinute values as
> above provides the navigation. But tr:goLink does not have an action
> attribute as tr:commandNavigationItem.
>
> I need to use tr:commandNavigationItem to navigate to another frame (as
> tr:goLink). How can I do it???
>
>
>  ________________________________
>  Best Jokes, Best Friends, Best Food. Get all this and more on Best of
> Yahoo! Groups.


       
---------------------------------
 Meet people who discuss and share your passions.  Join them now.

Re: tr:commandNavigationItem does not provide navigation in frames

Posted by Andrew Robinson <an...@gmail.com>.
sounds like a bug if the targetFrame attribute of
commandNavigationItem is not working

On Wed, Apr 16, 2008 at 12:12 AM, dushyant agarwal
<ag...@yahoo.co.in> wrote:
>  Hi,
> I am using JDev 11g,JBoss 4.2.1, Trinidad 1.2.4.
>
> In my project I have top,bottom & center frames. I have a page in the center
> frame that consists of a tr:commandNavigationItem component. I have provided
> the "destination" as another page(target.jsp) and "targetFrame" as bottom
> frame. However on clicking on it the navigation takes place to target.jsp in
> the same frame(center).
>
> On the other hand on using a tr:goLink with the same attrinute values as
> above provides the navigation. But tr:goLink does not have an action
> attribute as tr:commandNavigationItem.
>
> I need to use tr:commandNavigationItem to navigate to another frame (as
> tr:goLink). How can I do it???
>
>
>  ________________________________
>  Best Jokes, Best Friends, Best Food. Get all this and more on Best of
> Yahoo! Groups.