Re: [Wicket-user] Pro Wicket beta book available
Hi and thanks for info. Which version of Wicket does it cover? 1.2? Jan Per Ejeklint [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Just want to inform that Apress have had problems with their downloadable beta books, but it's fixed. I just bought and downloaded Pro Wicket http://www.apress.com/book/bookDisplay.html? bID=10189, there are 9 chapters + appendix and intro available. Looks very nice and will definitely be worth US$20 for me. So now I will make a nice brew (tea) and dig in. Per - 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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] How are properties files loaded in wicket
Hello, Iam getting used to Wicket, going through the docs available for the past few days, I would like to know how are properties files loaded by wicket.. with reference to the Forminput example given in the list of wicket examples, when i run this example on my eclipse, i c that on selection or change of the locale, the .properties file of that locale is being loaded as displayed in the eclipse console, but i dont c where the code is writtem to load these locale specific properties files? And i tried to follow this example for signin exampel but i cud not load the properties file here.. i dont understand how and where is the path being set to load the properties file? Please help Thanks in advance Sathya -- View this message in context: http://www.nabble.com/How-are-properties-files-loaded-in-wicket-tf2113575.html#a5827453 Sent from the Wicket - User forum at Nabble.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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How are properties files loaded in wicket
the properties are not loaded explicitly - when you change the locale in that dropdown it calls session.setlocale(locale) - the next time wicket renders it will look for property bundles with that locale and load them. -IgorOn 8/15/06, sathya81 [EMAIL PROTECTED] wrote: Hello,Iam getting used to Wicket, going through the docs available for the pastfew days, I would like to know how are properties files loaded by wicket..with reference to the Forminput example given in the list of wicket examples, when i run this example on my eclipse, i c that on selection orchange of the locale, the .properties file of that locale is being loaded asdisplayed in the eclipse console, but i dont c where the code is writtem to load these locale specific properties files? And i tried to follow thisexample for signin exampel but i cud not load the properties file here.. idont understand how and where is the path being set to load the properties file?Please helpThanks in advanceSathya--View this message in context: http://www.nabble.com/How-are-properties-files-loaded-in-wicket-tf2113575.html#a5827453 Sent from the Wicket - User forum at Nabble.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 easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How are properties files loaded in wicket
well thanq Igor,if its possible, can u explain how can i do the same for the signin example, i created a properties file with the username and password keys and i saved this file in the same folder containing the src java files. but wicket is searching for thisfile in some other jar file instead of this folder. I have put the default locale as English-US. Iam getting this displayed in the console: INFO - PropertiesFactory - Loading properties files from jar:file:/E:/eclipse/workspace/wicketExample/lib/wicket-1.2.1.jar!/wicket/Application.properties Y is wicket searching fro properties file at this location instead of the src folder? igor.vaynberg wrote: the properties are not loaded explicitly - when you change the locale in that dropdown it calls session.setlocale(locale) - the next time wicket renders it will look for property bundles with that locale and load them. -Igor On 8/15/06, sathya81 [EMAIL PROTECTED] wrote: Hello, Iam getting used to Wicket, going through the docs available for the past few days, I would like to know how are properties files loaded by wicket.. with reference to the Forminput example given in the list of wicket examples, when i run this example on my eclipse, i c that on selection or change of the locale, the .properties file of that locale is being loaded as displayed in the eclipse console, but i dont c where the code is writtem to load these locale specific properties files? And i tried to follow this example for signin exampel but i cud not load the properties file here.. i dont understand how and where is the path being set to load the properties file? Please help Thanks in advance Sathya -- View this message in context: http://www.nabble.com/How-are-properties-files-loaded-in-wicket-tf2113575.html#a5827453 Sent from the Wicket - User forum at Nabble.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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/How-are-properties-files-loaded-in-wicket-tf2113575.html#a5827718 Sent from the Wicket - User forum at Nabble.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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How are properties files loaded in wicket
wicket searches for property files basedon class hierarchy and their nestinglets say you have:page A - panel B - panel Cwicket will then search like thisA.propertiesB.properties C.propertiesthen it searches the application class hierarchy:yourpackage.YourApplication.propertieswicket.protocol.http.WebApplication.propertieswicket.Application.properties -- which is what you see in the log. so perhaps the problem is you misnamed your properties file.-IgorOn 8/16/06, sathya81 [EMAIL PROTECTED] wrote:well thanq Igor,if its possible, can u explain how can i do the same for the signin example, i created a properties file with the username and passwordkeys and i saved this file in the same folder containing the src java files.but wicket is searching for thisfile in some other jar file instead of this folder.I have put the default locale as English-US.Iam getting this displayed in the console:INFO- PropertiesFactory- Loading properties files fromjar:file:/E:/eclipse/workspace/wicketExample/lib/wicket- 1.2.1.jar!/wicket/Application.propertiesY is wicket searching fro properties file at this location instead of thesrc folder?igor.vaynberg wrote: the properties are not loaded explicitly - when you change the locale in that dropdown it calls session.setlocale(locale) - the next time wicket renders it will look for property bundles with that locale and load them. -Igor On 8/15/06, sathya81 [EMAIL PROTECTED] wrote: Hello, Iam getting used to Wicket, going through the docs available for the past few days, I would like to know how are properties files loaded by wicket.. with reference to the Forminput example given in the list of wicket examples, when i run this example on my eclipse, i c that on selection or change of the locale, the .properties file of that locale is being loaded as displayed in the eclipse console, but i dont c where the code is writtem to load these locale specific properties files? And i tried to follow this example for signin exampel but i cud not load the properties file here.. i dont understand how and where is the path being set to load the properties file? Please help Thanks in advance Sathya -- View this message in context: http://www.nabble.com/How-are-properties-files-loaded-in-wicket-tf2113575.html#a5827453 Sent from the Wicket - User forum at Nabble.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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user--View this message in context: http://www.nabble.com/How-are-properties-files-loaded-in-wicket-tf2113575.html#a5827718Sent from the Wicket - User forum at Nabble.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 Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How are properties files loaded in wicket
and yeah...package names are not part of the file name, they are just there for clarity.-IgorOn 8/16/06, Igor Vaynberg [EMAIL PROTECTED] wrote:wicket searches for property files basedon class hierarchy and their nesting lets say you have:page A - panel B - panel Cwicket will then search like thisA.propertiesB.properties C.propertiesthen it searches the application class hierarchy:yourpackage.YourApplication.propertieswicket.protocol.http.WebApplication.propertieswicket.Application.properties -- which is what you see in the log. so perhaps the problem is you misnamed your properties file.-IgorOn 8/16/06, sathya81 [EMAIL PROTECTED] wrote:well thanq Igor,if its possible, can u explain how can i do the same for the signin example, i created a properties file with the username and passwordkeys and i saved this file in the same folder containing the src java files.but wicket is searching for thisfile in some other jar file instead of this folder.I have put the default locale as English-US.Iam getting this displayed in the console:INFO- PropertiesFactory- Loading properties files fromjar:file:/E:/eclipse/workspace/wicketExample/lib/wicket- 1.2.1.jar!/wicket/Application.propertiesY is wicket searching fro properties file at this location instead of thesrc folder?igor.vaynberg wrote: the properties are not loaded explicitly - when you change the locale in that dropdown it calls session.setlocale(locale) - the next time wicket renders it will look for property bundles with that locale and load them. -Igor On 8/15/06, sathya81 [EMAIL PROTECTED] wrote: Hello, Iam getting used to Wicket, going through the docs available for the past few days, I would like to know how are properties files loaded by wicket.. with reference to the Forminput example given in the list of wicket examples, when i run this example on my eclipse, i c that on selection or change of the locale, the .properties file of that locale is being loaded as displayed in the eclipse console, but i dont c where the code is writtem to load these locale specific properties files? And i tried to follow this example for signin exampel but i cud not load the properties file here.. i dont understand how and where is the path being set to load the properties file? Please help Thanks in advance Sathya -- View this message in context: http://www.nabble.com/How-are-properties-files-loaded-in-wicket-tf2113575.html#a5827453 Sent from the Wicket - User forum at Nabble.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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --View this message in context: http://www.nabble.com/How-are-properties-files-loaded-in-wicket-tf2113575.html#a5827718 Sent from the Wicket - User forum at Nabble.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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Stop component rendering
sorry what is the question? How does the output look like? Juergen On 8/15/06, wired [EMAIL PROTECTED] wrote: Hi All With the following markup on a webpage: wicket:link Login.html Login /wicket:link is it possible to programmatically stop the anchor tag from being rendered? Many thanks -- View this message in context: http://www.nabble.com/Stop-component-rendering-tf2111480.html#a5821885 Sent from the Wicket - User forum at Nabble.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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How are properties files loaded in wicket
Thanq very much Igor, its working now, i misplaced the file in my dir structure. -Sathya igor.vaynberg wrote: wicket searches for property files basedon class hierarchy and their nesting lets say you have: page A - panel B - panel C wicket will then search like this A.properties B.properties C.properties then it searches the application class hierarchy: yourpackage.YourApplication.properties wicket.protocol.http.WebApplication.properties wicket.Application.properties -- which is what you see in the log. so perhaps the problem is you misnamed your properties file. -Igor On 8/16/06, sathya81 [EMAIL PROTECTED] wrote: well thanq Igor,if its possible, can u explain how can i do the same for the signin example, i created a properties file with the username and password keys and i saved this file in the same folder containing the src java files. but wicket is searching for thisfile in some other jar file instead of this folder. I have put the default locale as English-US. Iam getting this displayed in the console: INFO - PropertiesFactory - Loading properties files from jar:file:/E:/eclipse/workspace/wicketExample/lib/wicket- 1.2.1.jar!/wicket/Application.properties Y is wicket searching fro properties file at this location instead of the src folder? igor.vaynberg wrote: the properties are not loaded explicitly - when you change the locale in that dropdown it calls session.setlocale(locale) - the next time wicket renders it will look for property bundles with that locale and load them. -Igor On 8/15/06, sathya81 [EMAIL PROTECTED] wrote: Hello, Iam getting used to Wicket, going through the docs available for the past few days, I would like to know how are properties files loaded by wicket.. with reference to the Forminput example given in the list of wicket examples, when i run this example on my eclipse, i c that on selection or change of the locale, the .properties file of that locale is being loaded as displayed in the eclipse console, but i dont c where the code is writtem to load these locale specific properties files? And i tried to follow this example for signin exampel but i cud not load the properties file here.. i dont understand how and where is the path being set to load the properties file? Please help Thanks in advance Sathya -- View this message in context: http://www.nabble.com/How-are-properties-files-loaded-in-wicket-tf2113575.html#a5827453 Sent from the Wicket - User forum at Nabble.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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/How-are-properties-files-loaded-in-wicket-tf2113575.html#a5827718 Sent from the Wicket - User forum at Nabble.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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Stop component rendering
don't use wicket link but just a normal componentthen you can set the visibility.johanOn 8/15/06, wired [EMAIL PROTECTED] wrote:Hi AllWith the following markup on a webpage: wicket:link Login.html Login /wicket:linkis it possible to programmatically stop the anchor tag from being rendered?Many thanks--View this message in context: http://www.nabble.com/Stop-component-rendering-tf2111480.html#a5821885Sent from the Wicket - User forum at Nabble.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 easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing listWicket-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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Stop component rendering
Thanks Johan. I did just that and used a BookmarkablePageLink component. Johan Compagner wrote: don't use wicket link but just a normal component then you can set the visibility. johan On 8/15/06, wired [EMAIL PROTECTED] wrote: Hi All With the following markup on a webpage: wicket:link Login.html Login /wicket:link is it possible to programmatically stop the anchor tag from being rendered? Many thanks -- View this message in context: http://www.nabble.com/Stop-component-rendering-tf2111480.html#a5821885 Sent from the Wicket - User forum at Nabble.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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/Stop-component-rendering-tf2111480.html#a5833095 Sent from the Wicket - User forum at Nabble.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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] A problem with BookmarkablePageLink
Thats is in your web.xml mapping of your wicket servletit is now /* and it should be something like /app/*johanOn 8/16/06, itsliang [EMAIL PROTECTED] wrote:Hi Johan,Could you please tell me how to specify the path of wicket servlet? Regards,Chih-liang ChangJohan Compagner wrote: Hmm when you specify the root AND the wicket servlet mapped to /*then yes something goes wrong. I fixed this for 1.2.2 but this is not really the recommended approache You can run in the root just fine but don't specify the wicket servlet to /* That is only the best way for 2.0 where we have a filter. johan On 8/12/06, itsliang [EMAIL PROTECTED] wrote: Hi there, I've got a problem when I using BookmarkablePageLink. I wrote a very simple example to try out BookmarkablePageLink. In exmaple, you can find three web pages. In each web page, there are two links that can be used to link to the other two pages. And I only mount my second page as a BookmarkablePage. When I deploy the example to the root of my tomcat 5.5 (by extracting the war file to $TOMCAT$/webapps/ROOT/), which means I can access my app from http://localhost:8080/, the link in my second web page didn't work properly. However, if I not deploy the example to the root of my tomcat, let's say http://localhost:8080/TestBookmarkable/ for example, then everything works well without any problem. Is this a bug of wicket? or did I implement my example in the wrong way? The war file and source code of my example can be found here: http://www.nabble.com/user-files/280/TestBookmarkable.war TestBookmarkable.war http://www.nabble.com/user-files/281/TestBookmarkable.zip TestBookmarkable.zip Best regards, Chih-liang Chang For people who don't want to download these files, here is the source code: TestApplication.java package test; import test.page.FirstPage; import test.page.SecondPage; import wicket.protocol.http.WebApplication; public class TestApplication extends WebApplication { @Override public Class getHomePage() { return FirstPage.class; } @Override protected void init() { super.mountBookmarkablePage(/second, SecondPage.class); super.getMarkupSettings().setStripWicketTags(true); super.getMarkupSettings ().setStripXmlDeclarationFromOutput(true); super.init(); } } FirstPage.java package test.page; import wicket.markup.html.WebPage; import wicket.markup.html.link.BookmarkablePageLink; import wicket.markup.html.link.PageLink; public class FirstPage extends WebPage { private static final long serialVersionUID = 1L; public FirstPage() { super.add(new BookmarkablePageLink(second, SecondPage.class)); super.add(new PageLink(third, ThirdPage.class)); } } SecondPage.java package test.page; import wicket.markup.html.WebPage; import wicket.markup.html.link.PageLink; public class SecondPage extends WebPage { private static final long serialVersionUID = 1L; public SecondPage() { super.add(new PageLink(first, FirstPage.class )); super.add(new PageLink(third, ThirdPage.class)); } } ThirdPage.java package test.page; import wicket.markup.html.WebPage; import wicket.markup.html.link.BookmarkablePageLink; import wicket.markup.html.link.PageLink ; public class ThirdPage extends WebPage { private static final long serialVersionUID = 1L; public ThirdPage() { super.add(new PageLink(first, FirstPage.class)); super.add(new BookmarkablePageLink(second, SecondPage.class)); } } FirstPage.html ?xml version=1.0 encoding=BIG5 ? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html xmlns=http://www.w3.org/1999/xhtml xmlns:wicket=http://wicket.sourceforge.net head meta http-equiv=Content-Type content=text/html; charset=BIG5 / titleInsert title here/title /head body pThis is the font size=+3first page/font./p p # second page /p p # third page /p /body /html SecondPage.html ?xml version= 1.0 encoding=BIG5 ? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html xmlns=http://www.w3.org/1999/xhtml xmlns:wicket= http://wicket.sourceforge.net head meta http-equiv=Content-Type content=text/html; charset=BIG5 / titleInsert title here/title /head body pThis is the font size=+3second page/font./p p # first page /p p # third page /p /body /html ThirdPage.html ?xml version= 1.0 encoding=BIG5 ? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
[Wicket-user] Local inner class
I would like to do something like this: Border border = new Border( border ) { { BoxBorder nb = new BoxBorder( navigationBorder ); nb.add( new PageLink( newClient,Insert.class )); nb.add( new PageLink( home,Home.class )); nb.add( new PageLink( signout,Signout.class )); add( nb ); add( new BoxBorder( bodyBorder )); add( new BoxBorder( attributeBorder )); } }; ... border.add(...); The resulting class file for this local inner class is Name$1.class. How do I structure the html for this? Thanks -- Michael Welter Telecom Matters Corp. Denver, Colorado US +1.303.414.4980 [EMAIL PROTECTED] www.TelecomMatters.net - 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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Local inner class
Name$1.html Juergen On 8/16/06, Michael Welter [EMAIL PROTECTED] wrote: I would like to do something like this: Border border = new Border( border ) { { BoxBorder nb = new BoxBorder( navigationBorder ); nb.add( new PageLink( newClient,Insert.class )); nb.add( new PageLink( home,Home.class )); nb.add( new PageLink( signout,Signout.class )); add( nb ); add( new BoxBorder( bodyBorder )); add( new BoxBorder( attributeBorder )); } }; ... border.add(...); The resulting class file for this local inner class is Name$1.class. How do I structure the html for this? Thanks -- Michael Welter Telecom Matters Corp. Denver, Colorado US +1.303.414.4980 [EMAIL PROTECTED] www.TelecomMatters.net - 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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Local inner class
Which is why I like to use named inner classes instead of anonymous ones if I'm going to tie html to them. The whole foo$1.html, foo$2.html just feels a bit too fragile to me. On 8/16/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: Name$1.html Juergen On 8/16/06, Michael Welter [EMAIL PROTECTED] wrote: I would like to do something like this: Border border = new Border( border ) { { BoxBorder nb = new BoxBorder( navigationBorder ); nb.add( new PageLink( newClient,Insert.class )); nb.add( new PageLink( home,Home.class )); nb.add( new PageLink( signout,Signout.class )); add( nb ); add( new BoxBorder( bodyBorder )); add( new BoxBorder( attributeBorder )); } }; ... border.add(...); The resulting class file for this local inner class is Name$1.class. How do I structure the html for this? Thanks -- Michael Welter Telecom Matters Corp. Denver, Colorado US +1.303.414.4980 [EMAIL PROTECTED] www.TelecomMatters.net - 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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Scott Swank reformed mathematician - 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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Local inner class
Yes, it is fragile. But it's quite unusual to make components that need own markup as anonymous classes. Usually anonymous classes are used only if you need to override methods like onClick or isVisible. -Matej Scott Swank wrote: Which is why I like to use named inner classes instead of anonymous ones if I'm going to tie html to them. The whole foo$1.html, foo$2.html just feels a bit too fragile to me. On 8/16/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: Name$1.html Juergen On 8/16/06, Michael Welter [EMAIL PROTECTED] wrote: I would like to do something like this: Border border = new Border( border ) { { BoxBorder nb = new BoxBorder( navigationBorder ); nb.add( new PageLink( newClient,Insert.class )); nb.add( new PageLink( home,Home.class )); nb.add( new PageLink( signout,Signout.class )); add( nb ); add( new BoxBorder( bodyBorder )); add( new BoxBorder( attributeBorder )); } }; ... border.add(...); The resulting class file for this local inner class is Name$1.class. How do I structure the html for this? Thanks -- Michael Welter Telecom Matters Corp. Denver, Colorado US +1.303.414.4980 [EMAIL PROTECTED] www.TelecomMatters.net - 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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Local inner class
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 May Gosling have mercy on you if you change your class such that those anonymous inner classes are ordered differently. Debugging that should loads of fun. For some value of fun. Matej Knopp wrote: Yes, it is fragile. But it's quite unusual to make components that need own markup as anonymous classes. Usually anonymous classes are used only if you need to override methods like onClick or isVisible. -Matej Scott Swank wrote: Which is why I like to use named inner classes instead of anonymous ones if I'm going to tie html to them. The whole foo$1.html, foo$2.html just feels a bit too fragile to me. On 8/16/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: Name$1.html Juergen On 8/16/06, Michael Welter [EMAIL PROTECTED] wrote: I would like to do something like this: Border border = new Border( border ) { { BoxBorder nb = new BoxBorder( navigationBorder ); nb.add( new PageLink( newClient,Insert.class )); nb.add( new PageLink( home,Home.class )); nb.add( new PageLink( signout,Signout.class )); add( nb ); add( new BoxBorder( bodyBorder )); add( new BoxBorder( attributeBorder )); } }; ... border.add(...); The resulting class file for this local inner class is Name$1.class. How do I structure the html for this? Thanks -- Michael Welter Telecom Matters Corp. Denver, Colorado US +1.303.414.4980 [EMAIL PROTECTED] www.TelecomMatters.net - 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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - -- Justin Lee http://www.antwerkz.com AIM : evan chooly Skype : evanchooly -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) iD8DBQFE44Q+JnQfEGuJ90MRAyJrAJ4w1MZwTE2noM6o4tpUq/0cIorLYgCgzyIN +1Xr6cTH7V1GWd99tFbTFHs= =t3bg -END PGP SIGNATURE- - 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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] A wicket Problem?
I use the following CSS code to center a page in a browser wrap{ color:#404040; width:970px; margin:10px auto; padding:0; } Using it a simple html page, the code works with Firefox 1.5.0.6, Internet Explorer 6.0.2 and Opera 9.01 Now when I use the code in a wicket application the page renders correctly with Firefox and Opera but not Internet Explorer. IE cannot center the page. This is strange for it works in a simple test html page with IE. Is wicket to blame? Is it generating extra html markup that is causing IE to act strangely? (yet I cannot see anything odd upon examining the source code) Any help would be greatly appreciated! -- View this message in context: http://www.nabble.com/A-wicket-Problem--tf2118026.html#a5841261 Sent from the Wicket - User forum at Nabble.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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Maven2 archetypes
Nice - Have added to wicket-stuff SVN will have to have a look at adding to the Wicket repo! /Gwyn On 15/08/06, Martin Funk [EMAIL PROTECTED] wrote: Hi, I've been playing arround with maven archetypes as described in http://maven.apache.org/guides/mini/guide-creating-archetypes.html Things went faster as expected and at the end I came up with a maven archetype for wicket. The archetype creates a project that looks very much the same as a project createt using wicket-template from wicket-stuff. If anyone is interested you can check out the patch file I attached to a feature proposal for wicket-stuff. [ 1540913 ] wicket-archetypes Maven2 archetypes for wicket https://sourceforge.net/tracker/?func=detailatid=730671aid=1540913group_id=134391 Usage should be pretty straight foreward. Once the patch is applied change into the subfolder of wicket-archetypes. So far only one archetype is present :-) - mvn install should install the archetype locally. After this it might be used like: - mvn archetype:create -DarchetypeGroupId=archetypeGroupId -DarchetypeArtifactId=archetypeArtifactId \ -DarchetypeVersion=archetypeVersion -DgroupId=groupId -DartifactId=artifactId e.g.: - mvn archetype:create -DarchetypeGroupId=wicket -DarchetypeArtifactId=wicket-archetype-template \ -DarchetypeVersion=1.0-SNAPSHOT -DgroupId=de.mywicket.app -DartifactId=wicket-template Have fun, Martin - 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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Download Wicket 1.2.1 now! - 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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] A wicket Problem?
Different DTD's in your examples in the Wicket pages? /Gwyn On 16/08/06, wired [EMAIL PROTECTED] wrote: I use the following CSS code to center a page in a browser wrap{ color:#404040; width:970px; margin:10px auto; padding:0; } Using it a simple html page, the code works with Firefox 1.5.0.6, Internet Explorer 6.0.2 and Opera 9.01 Now when I use the code in a wicket application the page renders correctly with Firefox and Opera but not Internet Explorer. IE cannot center the page. This is strange for it works in a simple test html page with IE. Is wicket to blame? Is it generating extra html markup that is causing IE to act strangely? (yet I cannot see anything odd upon examining the source code) Any help would be greatly appreciated! -- View this message in context: http://www.nabble.com/A-wicket-Problem--tf2118026.html#a5841261 Sent from the Wicket - User forum at Nabble.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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Download Wicket 1.2.1 now! - 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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] body onload contributors
Hi, I have attached a AjaxSelfUpdatingTimerBehavior to one of the page components and discovered that when I navigate from on link to the other then the AjaxSelfUpdatingTimerBehavior adds another similar JS statement to html body onload and onunload attributes. all Links (ExternalLink) point to same page with different parameters. Is there anything I can do to stop this behavior? Thanks, Tomer - 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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user