Re: [Wicket-user] Several times the same panel on a page
It's just like in JFC Swing.You can't add the same JButton's instance into several JPanels... ;)[]'sOn 7/10/06, Johan Compagner < [EMAIL PROTECTED]> wrote:use a listview if you want repeating stuff But what do you mean exactly with the same panel?The same instance? That is not possible. A instance can only be used once in a page.You can add more instances of the panel to your page. But then also the wicket:id's don't have to be the same or something You can give the different names.johanOn 7/10/06, Alban Duval <[EMAIL PROTECTED]> wrote: Hi all,I'd like to know if there is a way to add several times the same panel on the same page ??It seems to be impossible because it means to add several times elementwith the same wicket:id... Considering this, I think the question couldbe : could we change dynamically the wicket:id of some elements ?? AD.-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user -- Bruno BorgesSumma Technologies Inc.www.summa-tech.com(11) 8565-7739 - (11) 3846-1622 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Several times the same panel on a page
use a listview if you want repeating stuffBut what do you mean exactly with the same panel?The same instance? That is not possible. A instance can only be used once in a page.You can add more instances of the panel to your page. But then also the wicket:id's don't have to be the same or something You can give the different names.johanOn 7/10/06, Alban Duval <[EMAIL PROTECTED]> wrote: Hi all,I'd like to know if there is a way to add several times the same panel on the same page ??It seems to be impossible because it means to add several times elementwith the same wicket:id... Considering this, I think the question couldbe : could we change dynamically the wicket:id of some elements ?? AD.-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Several times the same panel on a page
why??Just doand in your code: add(new MyPanel("panel1"));add(new MyPanel("panel2"));add(new MyPanel("panel3"));add(new MyPanel("panel4"));johanOn 7/10/06, Alban Duval <[EMAIL PROTECTED]> wrote: What I want to do is to use a panel containing a table, a text field and a button (allowing to add the content of the text field into the table using a listview). I would like to use such a panel four times on the same page. The purpose is to avoid coding four times all of those components by reusing the panel. It would work if I use the panel on different pages, but not on the same page because of the wicket:id of the components composing the panel. Nino Wael a écrit : Why dont you just use a listview? regards Nino -Original Message- From: [EMAIL PROTECTED] on behalf of Alban Duval Sent: Mon 10-07-2006 13:30 To: wicket-user@lists.sourceforge.net Cc: Subject: [Wicket-user] Several times the same panel on a page Hi all, I'd like to know if there is a way to add several times the same panel on the same page ?? It seems to be impossible because it means to add several times element with the same wicket:id... Considering this, I think the question could be : could we change dynamically the wicket:id of some elements ?? AD. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user __ NOD32 1.1651 (20060708) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 __ NOD32 1.1651 (20060708) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user __ NOD32 1.1651 (20060708) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Several times the same panel on a page
You can use the panel four times, but not the instance. As each component requires to have only 1 parent, you can add it only once. Also, the model (the state of the component) is bound to the panel, so setting the panel multiple times to the page will overwrite the state of previous usages. These are just 2 problems with this type of reuse. Either you should follow Nino's advise to create them into a listview, or add each new instance manually to your page Martijn On 7/10/06, Alban Duval <[EMAIL PROTECTED]> wrote: > > What I want to do is to use a panel containing a table, a text field and a > button (allowing to add the content of the text field into the table using a > listview). > I would like to use such a panel four times on the same page. > The purpose is to avoid coding four times all of those components by > reusing the panel. It would work if I use the panel on different pages, but > not on the same page because of the wicket:id of the components composing > the panel. > > Nino Wael a écrit : > > Why dont you just use a listview? regards Nino -Original Message- > From: [EMAIL PROTECTED] on behalf > of Alban Duval Sent: Mon 10-07-2006 13:30 To: > wicket-user@lists.sourceforge.net Cc: Subject: > [Wicket-user] Several times the same panel on a page Hi all, I'd like to > know if there is a way to add several times the same panel on the same page > ?? It seems to be impossible because it means to add several times element > with the same wicket:id... Considering this, I think the question could be : > could we change dynamically the wicket:id of some elements ?? AD. > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ Wicket-user > mailing list Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > __ NOD32 1.1651 (20060708) Information __ This message was > checked by NOD32 antivirus system. http://www.eset.com > > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > __ NOD32 1.1651 (20060708) Information __ This message was > checked by NOD32 antivirus system. http://www.eset.com > > > ___ > Wicket-user mailing list Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > __ NOD32 1.1651 (20060708) Information __ This message was > checked by NOD32 antivirus system. http://www.eset.com > > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > -- Download Wicket 1.2 now! Write Ajax applications without touching JavaScript! -- http://wicketframework.org - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Several times the same panel on a page
What I want to do is to use a panel containing a table, a text field and a button (allowing to add the content of the text field into the table using a listview). I would like to use such a panel four times on the same page. The purpose is to avoid coding four times all of those components by reusing the panel. It would work if I use the panel on different pages, but not on the same page because of the wicket:id of the components composing the panel. Nino Wael a écrit : Why dont you just use a listview? regards Nino -Original Message- From: [EMAIL PROTECTED] on behalf of Alban Duval Sent: Mon 10-07-2006 13:30 To: wicket-user@lists.sourceforge.net Cc: Subject: [Wicket-user] Several times the same panel on a page Hi all, I'd like to know if there is a way to add several times the same panel on the same page ?? It seems to be impossible because it means to add several times element with the same wicket:id... Considering this, I think the question could be : could we change dynamically the wicket:id of some elements ?? AD. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user __ NOD32 1.1651 (20060708) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 __ NOD32 1.1651 (20060708) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user __ NOD32 1.1651 (20060708) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Several times the same panel on a page
Why dont you just use a listview? regards Nino -Original Message- From: [EMAIL PROTECTED] on behalf of Alban Duval Sent: Mon 10-07-2006 13:30 To: wicket-user@lists.sourceforge.net Cc: Subject:[Wicket-user] Several times the same panel on a page Hi all, I'd like to know if there is a way to add several times the same panel on the same page ?? It seems to be impossible because it means to add several times element with the same wicket:id... Considering this, I think the question could be : could we change dynamically the wicket:id of some elements ?? AD. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user <> - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user