show us all the relevant sources and markup, i cant really tell what exactly
is going on from your description.

one thing i can think of is maybe you are not creating the panel with the
right id

as in Panel ITab.getPanel(String panelId) {
 // make sure you are creating the tabpanel with the proper id that is
passed in
 return new MyPanel(panelId); }

-igor


On 4/16/07, pwillemann <[EMAIL PROTECTED]> wrote:


I have the following:

1.)  TabbedPanelPage.java panel page with 4 tabs (in my case PlayersTab)
2.)  PlayersTab.java file which will do a getPanel to return a
PlayersPanel.
PlayersPanel is derived from Panel.
3.)  PlayersPanel.java file which is the facade class to my MySQL
database.
I use a line like this

add(new ListView("rows",players) {  ... to attach the database data to the
wicket:id rows

4.)  PlayersPanel.html which is essentially just a wicket:panel wrapper
around a table of data
5.)  TabbledPanelPage.html whose main part is:
<wicket:extend>
            <p>
                <div wicket:id="tabs" class="tabpanel">[tabbed panel will
be
here]</div>
            </p>
</wicket:extend>

I expect the TabbedPanelPage to have 4 tabs - each tab being constructed
from the PlayersPanel etc,..
I believe all this is correct however when I navigate to the
TabbedPanelPage
html page it is unable to get access to rows

I get an error message that says basically this:

...but that you either did not add the component to your page at all, or
that the hierarchy does not match.

There is obviously a disconnect.  I don't believe TabbedPanelPage should
have to know about rows (the reason why I did the facade in the first
place.), however how can I get the TabbedPanelPage to let PlayersPanel do
the work?

Thanks

Phil






--
View this message in context:
http://www.nabble.com/Wicket-%281.2.4%29-TabbedPanel-Guidance-Question-tf3587043.html#a10028146
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to