Re: [Wicket-user] Wicket (1.2.4) TabbedPanel Guidance Question

2007-04-17 Thread pwillemann
No I never get a stack trace. Everything seems fine until the rows issue. I get the error listed in my last post and a copy of the html with the rows line in red. I have used the quickstart and the Apress Wicket book as guides in my wicket learning.If I want you to debug it in

Re: [Wicket-user] Wicket (1.2.4) TabbedPanel Guidance Question

2007-04-17 Thread Igor Vaynberg
isolate the problem for me. i dont want any of the hibernate stuff, just create a simple mock that returns some data. then post quickstart without the libs in an attachment. what wicket version are you using btw? -igor On 4/17/07, pwillemann [EMAIL PROTECTED] wrote: No I never get a stack

Re: [Wicket-user] Wicket (1.2.4) TabbedPanel Guidance Question

2007-04-17 Thread pwillemann
I was using wicket 1.2.4. I downloaded the quickstart 1.2.5 bin and extracted to my machine. I stripped out hibernate and all irrelevant parts. The only significant change I had to make was to the TabbedPanelPage.html file. I had to get rid of the wicket:extend reference. You will see a

Re: [Wicket-user] Wicket (1.2.4) TabbedPanel Guidance Question

2007-04-17 Thread Igor Vaynberg
the example works just fine remove the try catch block in PlaysersPanel and run it you will see that you get an NPE on PlayersPanel:46 maybe that try catch block was hiding the exception and you missed it change List players=null; to List players=new ArrayList(); run the example and see it

Re: [Wicket-user] Wicket (1.2.4) TabbedPanel Guidance Question

2007-04-16 Thread Igor Vaynberg
make the thing that presents the result a panel then just class MyTab extends AbstractTab { private final char start,end; public MyTab(char start, char end) { this.start=start;this.end=end; super(new Model(start+-+end)); } public Panel getPanel(String id) { return new

Re: [Wicket-user] Wicket (1.2.4) TabbedPanel Guidance Question

2007-04-16 Thread pwillemann
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

Re: [Wicket-user] Wicket (1.2.4) TabbedPanel Guidance Question

2007-04-16 Thread Igor Vaynberg
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

Re: [Wicket-user] Wicket (1.2.4) TabbedPanel Guidance Question

2007-04-16 Thread pwillemann
Here is the code from the relevant java and html files. TabbedPanelPage.java as follows: public class TabbedPanelPage extends BasePage { public TabbedPanelPage() { setModel(new Model(tabpanel)); // A-G, H-N, O-S, T-Z

Re: [Wicket-user] Wicket (1.2.4) TabbedPanel Guidance Question

2007-04-16 Thread Igor Vaynberg
you never reference the labels you add to the listviewitem in the markup. -igor On 4/16/07, pwillemann [EMAIL PROTECTED] wrote: Here is the code from the relevant java and html files. TabbedPanelPage.java as follows: public class TabbedPanelPage

Re: [Wicket-user] Wicket (1.2.4) TabbedPanel Guidance Question

2007-04-16 Thread pwillemann
I posted the correct file however the forum is having problems with the span command. I changed span to sspan so you could see what I was doing: wicket:panel table frame=box thead tr thID/th thFirst Name /th thLast Name/th

Re: [Wicket-user] Wicket (1.2.4) TabbedPanel Guidance Question

2007-04-16 Thread Igor Vaynberg
then all looks good to the naked eye. maybe the problem is elsewhere. that error page should tell you which component did not render, no? -igor On 4/16/07, pwillemann [EMAIL PROTECTED] wrote: I posted the correct file however the forum is having problems with the span command. I changed