Re: Tree and TabbedPanel components

2009-07-30 Thread Zhubin Salehi
)
                {
                                SMTabPoolPanel panel4 = new
 SMTabPoolPanel(panelId, nodeDef);
                                panel4.setOutputMarkupId(true);
                        return panel4;
                }
            }));

            tabs.add(new PanelCachingTab(new AbstractTab(new
 StringResourceModel(tab.nicprops, DetailTabbedPanel.this, null)) {
                /**
                         *
                         */
                        private static final long serialVersionUID = 1L;

                        public Panel getPanel(String panelId) {

                                SMTabNicPanel panel5 = new
 SMTabNicPanel(panelId, nodeDef);
                                panel5.setOutputMarkupId(true);
                        return panel5;
                        }
            }));

            ajaxTabbedPanel = new AjaxTabbedPanel(tabbedId, tabs);
            ajaxTabbedPanel.setOutputMarkupId(true);
            add(ajaxTabbedPanel);

    }

 }

 -



 igor.vaynberg wrote:

 are you using ajax? cause this sounds very strange.

 -igor

 On Mon, Jul 27, 2009 at 7:02 AM, Raj Kaushikraj.kaus...@route1.com
 wrote:
 I am using a wicket tree component in the left column of a table and a
 panel (here in details are replaced as you select the nodes of the
 tree)
 in the right column.

 One of the displayed panels is the TabbedPanel. In one TabPanel, I
 have a
 DropDownChoice box that makes a Form visible on selecting a choice.

 The problem arises when you select another node of the tree; the Right
 hand side panel is replaced by the desired panel but some components
 of
 the TabPanel (of the previously selected node) remain visible down
 under,
 like DropDownChoice box and Form. The undesired components belong to
 the
 last selected tab of the TabbedPanel

 How can I ensure that no components from the previous selected node
 remain visible pertaining to the last selected Tab of the TabbedPanel.

 Any suggestions will be highly appreciated.

 Raj Kaushik
 rajv...@yahoo.com

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context:
 http://www.nabble.com/Tree-and-TabbedPanel-components-tp24681775p24704874.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Tree-and-TabbedPanel-components-tp24681775p24738750.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Tree and TabbedPanel components

2009-07-28 Thread rajkaushik
(tabbedId, tabs);
ajaxTabbedPanel.setOutputMarkupId(true);
add(ajaxTabbedPanel);

}
  
}

-



igor.vaynberg wrote:
 
 are you using ajax? cause this sounds very strange.
 
 -igor
 
 On Mon, Jul 27, 2009 at 7:02 AM, Raj Kaushikraj.kaus...@route1.com
 wrote:
 I am using a wicket tree component in the left column of a table and a
 panel (here in details are replaced as you select the nodes of the tree)
 in the right column.

 One of the displayed panels is the TabbedPanel. In one TabPanel, I have a
 DropDownChoice box that makes a Form visible on selecting a choice.

 The problem arises when you select another node of the tree; the Right
 hand side panel is replaced by the desired panel but some components of
 the TabPanel (of the previously selected node) remain visible down under,
 like DropDownChoice box and Form. The undesired components belong to the
 last selected tab of the TabbedPanel

 How can I ensure that no components from the previous selected node
 remain visible pertaining to the last selected Tab of the TabbedPanel.

 Any suggestions will be highly appreciated.

 Raj Kaushik
 rajv...@yahoo.com

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Tree-and-TabbedPanel-components-tp24681775p24704874.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Tree and TabbedPanel components

2009-07-28 Thread Igor Vaynberg
(ajaxTabbedPanel);

    }

 }

 -



 igor.vaynberg wrote:

 are you using ajax? cause this sounds very strange.

 -igor

 On Mon, Jul 27, 2009 at 7:02 AM, Raj Kaushikraj.kaus...@route1.com
 wrote:
 I am using a wicket tree component in the left column of a table and a
 panel (here in details are replaced as you select the nodes of the tree)
 in the right column.

 One of the displayed panels is the TabbedPanel. In one TabPanel, I have a
 DropDownChoice box that makes a Form visible on selecting a choice.

 The problem arises when you select another node of the tree; the Right
 hand side panel is replaced by the desired panel but some components of
 the TabPanel (of the previously selected node) remain visible down under,
 like DropDownChoice box and Form. The undesired components belong to the
 last selected tab of the TabbedPanel

 How can I ensure that no components from the previous selected node
 remain visible pertaining to the last selected Tab of the TabbedPanel.

 Any suggestions will be highly appreciated.

 Raj Kaushik
 rajv...@yahoo.com

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context: 
 http://www.nabble.com/Tree-and-TabbedPanel-components-tp24681775p24704874.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Tree and TabbedPanel components

2009-07-28 Thread rajkaushik
 final long serialVersionUID = 1L;

                        public Panel getPanel(String panelId) {

                                SMTabNicPanel panel5 = new
 SMTabNicPanel(panelId, nodeDef);
                                panel5.setOutputMarkupId(true);
                        return panel5;
                        }
            }));

            ajaxTabbedPanel = new AjaxTabbedPanel(tabbedId, tabs);
            ajaxTabbedPanel.setOutputMarkupId(true);
            add(ajaxTabbedPanel);

    }

 }

 -



 igor.vaynberg wrote:

 are you using ajax? cause this sounds very strange.

 -igor

 On Mon, Jul 27, 2009 at 7:02 AM, Raj Kaushikraj.kaus...@route1.com
 wrote:
 I am using a wicket tree component in the left column of a table and a
 panel (here in details are replaced as you select the nodes of the
 tree)
 in the right column.

 One of the displayed panels is the TabbedPanel. In one TabPanel, I have
 a
 DropDownChoice box that makes a Form visible on selecting a choice.

 The problem arises when you select another node of the tree; the Right
 hand side panel is replaced by the desired panel but some components of
 the TabPanel (of the previously selected node) remain visible down
 under,
 like DropDownChoice box and Form. The undesired components belong to
 the
 last selected tab of the TabbedPanel

 How can I ensure that no components from the previous selected node
 remain visible pertaining to the last selected Tab of the TabbedPanel.

 Any suggestions will be highly appreciated.

 Raj Kaushik
 rajv...@yahoo.com

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context:
 http://www.nabble.com/Tree-and-TabbedPanel-components-tp24681775p24704874.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Tree-and-TabbedPanel-components-tp24681775p24706682.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Tree and TabbedPanel components

2009-07-27 Thread Raj Kaushik
I am using a wicket tree component in the left column of a table and a panel 
(here in details are replaced as you select the nodes of the tree) in the right 
column.

One of the displayed panels is the TabbedPanel. In one TabPanel, I have a 
DropDownChoice box that makes a Form visible on selecting a choice.

The problem arises when you select another node of the tree; the Right hand 
side panel is replaced by the desired panel but some components of the TabPanel 
(of the previously selected node) remain visible down under, like 
DropDownChoice box and Form. The undesired components belong to the last 
selected tab of the TabbedPanel

How can I ensure that no components from the previous selected node remain 
visible pertaining to the last selected Tab of the TabbedPanel.

Any suggestions will be highly appreciated.

Raj Kaushik
rajv...@yahoo.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Tree and TabbedPanel components

2009-07-27 Thread Igor Vaynberg
are you using ajax? cause this sounds very strange.

-igor

On Mon, Jul 27, 2009 at 7:02 AM, Raj Kaushikraj.kaus...@route1.com wrote:
 I am using a wicket tree component in the left column of a table and a panel 
 (here in details are replaced as you select the nodes of the tree) in the 
 right column.

 One of the displayed panels is the TabbedPanel. In one TabPanel, I have a 
 DropDownChoice box that makes a Form visible on selecting a choice.

 The problem arises when you select another node of the tree; the Right hand 
 side panel is replaced by the desired panel but some components of the 
 TabPanel (of the previously selected node) remain visible down under, like 
 DropDownChoice box and Form. The undesired components belong to the last 
 selected tab of the TabbedPanel

 How can I ensure that no components from the previous selected node remain 
 visible pertaining to the last selected Tab of the TabbedPanel.

 Any suggestions will be highly appreciated.

 Raj Kaushik
 rajv...@yahoo.com

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org