Re: [Wicket-user] proposal: internationalization project
For several *.properties or webPage, I'm ok for zh_TW (Tranditional Chinese at Taiwan)Beside Application_x.properties and wicket-examples, Is it possible including i18n for DataPicker ? I know this is not wicket's business. but it seems that jscalendar project has no activity now On 4/21/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Hi all,Thanks for the recent inputs of Application_x.properties. However, Inow realize that we need more than just a one time contribution.I think internationalization is a strong point for Wicket, and we should keep pushing to make this even stronger. It's cool to see thatpeople from all over the world use it. And I was hoping to leveragethat fact.What I propose is this:We start a seperate project in wicket-stuff (http://wicket-stuff.sf.net) specifically for internationalization.This project will have:- Standard messages for validators and maybe more (some of thecommon error messages?). These messages will be in that project so that they can be easily maintained by all the committers on thatproject, and I/ other core devs of Wicket will put them in the mainwicket project regularly.- An example that shows off the languages/ variants we have. Much like FormInput in wicket-examples now, but maybe more complete andfocussed on internationalisation.For every language that will be in that project, there should be one'owner'. The owner gets commit rights on wicket-stuff in case he/she didn't already have that.Who is interested in contributing to this project? What I have in mindis pretty small/ low maintenance; besides the initial contribution ofone or two web pages and one or two properties files, there will only be a fix now and then. We would use this list or wicket-dev to discussany topics that arise when working on it.If you are interested, please reply to this email (or send me anoffline message if you prefer that). If we have enough people that want to work on this, I'll take the lead and create that project inwicket-stuff.Cheers,Eelco---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?cmdlnkkid0709bid3057dat1642___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user-- Ingram ChenJava [EMAIL PROTECTED] Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen
Re: [Wicket-user] Setter for ListMultipleChoice not called
Thanks Johan, that did the trick. However, that behaviour did change since snapshot 20060302. More on a philosophic note though, for all components I have used sofar, when there is a Property-model backing those components, there are getters and setters called to set or retrieve values into the model. This even was the case for a ListMultipleChoice in snapshot 20060302 (okay, I will stop now ;)). No seriously, the ListMultipleChoice is now the only exception to the rule (that I know of), and when it comes to programming, I don't like Exceptions. Do you? Maybe it is possible to set the updated Collection through a setter back into the PropertyModel using the setter that accepts a Collection of the same type that was retrieved by the getter? You may argue that this is unnecessary work, but (1) you get uniform behaviour between the components that use PropertyModels and (2) as in my use-case, the property is a derived property and my getter and setter perform a conversion. Best regards, Dave Johan Compagner wrote: we don't set the values. We only do that when there is nothing returned in the get If a collection is returned by the get that collection is filled with the values. But as far as i know we always did that, there is some code changed i think but we couldn't just set a List in it. Because who is telling us that it is a list and not a set? johan On 4/20/06, *Dave* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I just upgraded wicket in my project from snapshot 20060302 to Release Candidate 2 and am currently testing it. I find that a ListMultipleChoice, which is accepting multiple selections, is no longer receiving the selections made by the user. The ListMultipleChoice is created with a PropertyModel that has a setter with a List as parameter, but it is never called when I submit the form. The getter is called just fine prior to showing the form to the user. Is this a bug introduced somewhere between snapshot 20060302 and Release Candidate 2 or do I have to change something as result of changed API? Thanks in advance and best regards, Dave --- 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] onLoad-event from Panel multiple times appended to WebPage's onLoad
In my project, I have a WebPage that is build from various Panels. During the lifetime of the user-session, Panels get replaced by others, but the WebPage is always the same Object. I now have a Panel that uses a third-party application (a fat javasript app) which needs to be initialized when the Panel is loaded, hence I set the onLoad-event in the Panel markup and the onLoad-event gets appended to the WebPage's onLoad-event. All nice and well, but when the Panel is replaced by another, the onLoad-event is not removed from the WebPage's onLoad-event. This leads to strange (and very, very undesirable) effects when the Panel is added to the WebPage a second time and the Panel's onLoad event gets appended to the WebPage's onLoad event that still has the previous onLoad event. Is this behaviour I could expect given the situation or is this a bug? What is the best way for me to clear the Panel's onLoad-event from the WebPage's onLoad-event when the Panel is removed from the Page? Thanks in advance and best regards, Dave --- 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] onLoad-event from Panel multiple times appended to WebPage's onLoad
I think you are right. Components which have been removed (because they have been replaced) should not contribute to onLoad anymore. Would you please open an RFE for that. Thanks Juergen On 4/21/06, Dave Schoorl [EMAIL PROTECTED] wrote: In my project, I have a WebPage that is build from various Panels. During the lifetime of the user-session, Panels get replaced by others, but the WebPage is always the same Object. I now have a Panel that uses a third-party application (a fat javasript app) which needs to be initialized when the Panel is loaded, hence I set the onLoad-event in the Panel markup and the onLoad-event gets appended to the WebPage's onLoad-event. All nice and well, but when the Panel is replaced by another, the onLoad-event is not removed from the WebPage's onLoad-event. This leads to strange (and very, very undesirable) effects when the Panel is added to the WebPage a second time and the Panel's onLoad event gets appended to the WebPage's onLoad event that still has the previous onLoad event. Is this behaviour I could expect given the situation or is this a bug? What is the best way for me to clear the Panel's onLoad-event from the WebPage's onLoad-event when the Panel is removed from the Page? Thanks in advance and best regards, Dave --- 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=lnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Setter for ListMultipleChoice not called
i could just get the collection/clear it/fill it and then set it back with the same instance.i guess that is fine.johanOn 4/21/06, Dave [EMAIL PROTECTED] wrote: Thanks Johan, that did the trick. However, that behaviour did changesince snapshot 20060302.More on a philosophic note though, for all components I have used sofar,when there is a Property-model backing those components, there are getters and setters called to set or retrieve values into the model.This even was the case for a ListMultipleChoice in snapshot 20060302(okay, I will stop now ;)). No seriously, the ListMultipleChoice is now the only exception to the rule (that I know of), and when it comes toprogramming, I don't like Exceptions. Do you?Maybe it is possible to set the updated Collection through a setter backinto the PropertyModelusing the setter that accepts a Collection of the same type that was retrieved by the getter? You may argue that thisis unnecessary work, but (1) you get uniform behaviour between thecomponents that use PropertyModels and (2) as in my use-case, theproperty is a derived property and my getter and setter perform a conversion.Best regards,DaveJohan Compagner wrote: we don't set the values. We only do that when there is nothing returned in the get If a collection is returned by the get that collection is filled with the values. But as far as i know we always did that, there is some code changed i think but we couldn't just set a List in it. Because who is telling us that it is a list and not a set? johan On 4/20/06, *Dave* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I just upgraded wicket in my project from snapshot 20060302 to Release Candidate 2 and am currently testing it. I find that a ListMultipleChoice, which is accepting multiple selections, is no longer receiving the selections made by the user. The ListMultipleChoice is created with a PropertyModel that has a setter with a List as parameter, but it is never called when I submit the form. The getter is called just fine prior to showing the form to the user. Is this a bug introduced somewhere between snapshot 20060302 and Release Candidate 2 or do I have to change something as result of changed API? Thanks in advance and best regards, Dave---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
Re: [Wicket-user] Setter for ListMultipleChoice not called
ahh now i rember what the problem was.ModelChanging/ModelChanged is called 2 times thenthis we do now: modelChanging(); selectedValues.clear(); selectedValues.addAll ((Collection)getConvertedInput()); modelChanged();i can't call setModelObject(selectedValues); after that or in between that. Because that will also call modelChanging()/Changed()I guess i have to copy what setModelObject() does then and remove the checks. johanOn 4/21/06, Johan Compagner [EMAIL PROTECTED] wrote: i could just get the collection/clear it/fill it and then set it back with the same instance.i guess that is fine.johan On 4/21/06, Dave [EMAIL PROTECTED] wrote: Thanks Johan, that did the trick. However, that behaviour did changesince snapshot 20060302.More on a philosophic note though, for all components I have used sofar,when there is a Property-model backing those components, there are getters and setters called to set or retrieve values into the model.This even was the case for a ListMultipleChoice in snapshot 20060302(okay, I will stop now ;)). No seriously, the ListMultipleChoice is now the only exception to the rule (that I know of), and when it comes toprogramming, I don't like Exceptions. Do you?Maybe it is possible to set the updated Collection through a setter backinto the PropertyModelusing the setter that accepts a Collection of the same type that was retrieved by the getter? You may argue that thisis unnecessary work, but (1) you get uniform behaviour between thecomponents that use PropertyModels and (2) as in my use-case, theproperty is a derived property and my getter and setter perform a conversion.Best regards,DaveJohan Compagner wrote: we don't set the values. We only do that when there is nothing returned in the get If a collection is returned by the get that collection is filled with the values. But as far as i know we always did that, there is some code changed i think but we couldn't just set a List in it. Because who is telling us that it is a list and not a set? johan On 4/20/06, *Dave* [EMAIL PROTECTED] mailto: [EMAIL PROTECTED] wrote: I just upgraded wicket in my project from snapshot 20060302 to Release Candidate 2 and am currently testing it. I find that a ListMultipleChoice, which is accepting multiple selections, is no longer receiving the selections made by the user. The ListMultipleChoice is created with a PropertyModel that has a setter with a List as parameter, but it is never called when I submit the form. The getter is called just fine prior to showing the form to the user. Is this a bug introduced somewhere between snapshot 20060302 and Release Candidate 2 or do I have to change something as result of changed API? Thanks in advance and best regards, Dave---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
Re: [Wicket-user] Setter for ListMultipleChoice not called
hmm that is not as easy is i thought it would be.Can you make a bug report for this?CheckGroup is also such a component that doesn't set the collection back.johan On 4/21/06, Johan Compagner [EMAIL PROTECTED] wrote: ahh now i rember what the problem was.ModelChanging/ModelChanged is called 2 times thenthis we do now: modelChanging(); selectedValues.clear(); selectedValues.addAll ((Collection)getConvertedInput()); modelChanged();i can't call setModelObject(selectedValues); after that or in between that. Because that will also call modelChanging()/Changed()I guess i have to copy what setModelObject() does then and remove the checks. johanOn 4/21/06, Johan Compagner [EMAIL PROTECTED] wrote: i could just get the collection/clear it/fill it and then set it back with the same instance.i guess that is fine.johan On 4/21/06, Dave [EMAIL PROTECTED] wrote: Thanks Johan, that did the trick. However, that behaviour did changesince snapshot 20060302.More on a philosophic note though, for all components I have used sofar,when there is a Property-model backing those components, there are getters and setters called to set or retrieve values into the model.This even was the case for a ListMultipleChoice in snapshot 20060302(okay, I will stop now ;)). No seriously, the ListMultipleChoice is now the only exception to the rule (that I know of), and when it comes toprogramming, I don't like Exceptions. Do you?Maybe it is possible to set the updated Collection through a setter backinto the PropertyModelusing the setter that accepts a Collection of the same type that was retrieved by the getter? You may argue that thisis unnecessary work, but (1) you get uniform behaviour between thecomponents that use PropertyModels and (2) as in my use-case, theproperty is a derived property and my getter and setter perform a conversion.Best regards,DaveJohan Compagner wrote: we don't set the values. We only do that when there is nothing returned in the get If a collection is returned by the get that collection is filled with the values. But as far as i know we always did that, there is some code changed i think but we couldn't just set a List in it. Because who is telling us that it is a list and not a set? johan On 4/20/06, *Dave* [EMAIL PROTECTED] mailto: [EMAIL PROTECTED] wrote: I just upgraded wicket in my project from snapshot 20060302 to Release Candidate 2 and am currently testing it. I find that a ListMultipleChoice, which is accepting multiple selections, is no longer receiving the selections made by the user. The ListMultipleChoice is created with a PropertyModel that has a setter with a List as parameter, but it is never called when I submit the form. The getter is called just fine prior to showing the form to the user. Is this a bug introduced somewhere between snapshot 20060302 and Release Candidate 2 or do I have to change something as result of changed API? Thanks in advance and best regards, Dave---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
Re: [Wicket-user] explicitly remove page
getPageMap().remove(page) is no longer work in 1.2rc2... I do not get expired error page when I back to explicitly removed page.Is recent pageMap refactoring broken this feature ? On 1/28/06, Ingram Chen [EMAIL PROTECTED] wrote: yeh, it works now !Thanks !On 1/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote: ok plugged that.-Igor On 1/27/06, Ingram Chen [EMAIL PROTECTED] wrote: I tried getPageMap().removePage(this) and found one critical problem:After I explicitly remove page, then navigate through 4~5 pages I got below exception:27-01-06 22:58:53,563 ERROR wicket.protocol.http.WebRequestCycle - java.lang.NullPointerException at wicket.PageMap.remove(PageMap.java:310) at wicket.session.pagemap.LeastRecentlyAccessedEvictionStrategy.evict(LeastRecentlyAccessedEvictionStrategy.java:83) at wicket.PageMap.put(PageMap.java:463) at wicket.Session.touch(Session.java:588) at wicket.Page.doRender(Page.java:367) at wicket.protocol.http.WebRequestCycle.redirectTo(WebRequestCycle.java:143) Can you help to check this ?On 1/27/06, Ingram Chen [EMAIL PROTECTED] wrote: I will check it when anonymous CVS ready !Thanks a lot !On 1/27/06, Igor Vaynberg [EMAIL PROTECTED] wrote:ok what i did is add PageMap.removePage(Page) which should be sufficient for your needs. you can do Session.getPageMap(name).removePage() or from within the page getPageMap().removePage(this) although i havent tried doing this one myself. let me know if it works for you. -Igor On 1/26/06, Igor Vaynberg [EMAIL PROTECTED] wrote: sounds reasonable to me. if you would like you can add an rfe for it, but i should be able to get to it tonight at some point. -Igor On 1/26/06, Ingram Chen [EMAIL PROTECTED] wrote: My usecase is to prevent the user back to the previous page to submit stale data: page A with form -- the user submits --- page B show success messageif the user navigate back to page A, and resumit page A again, he should get a expired page. On 1/27/06, Igor Vaynberg [EMAIL PROTECTED] wrote: we are not against adding that back, but we would love to hear the usecase first.the eviction strategy is much more flexible/poweful now and we were hoping it would be able to cope with most usecases. -Igor On 1/26/06, Ingram Chen [EMAIL PROTECTED] wrote: I upgrade to Latest 1.2 HEAD but found that session.remove() is removed... I used to use this method to explicitly remove page instance:getSession().remove(getPage())How do I do this now ? Any suggestion ? -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen
Re: [Wicket-user] onLoad-event from Panel multiple times appended to WebPage's onLoad
I created a bugreport for it with id 1474092 (http://sourceforge.net/tracker/index.php?func=detailaid=1474092group_id=119783atid=684975). Regards, Dave Johan Compagner wrote: please make a bug report for this. Somehow we need to rebuild the onload (and onunload) of the body tags completely on ever render i also bounced into this once but i could go around it by remembering that i already contributed to it. johan --- 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] explicitly remove page
no that call will still remove the page from the session and delete all entries out of the pagemap stack.Please add a bug report for this with a reproduceable case.johan On 4/21/06, Ingram Chen [EMAIL PROTECTED] wrote: getPageMap().remove(page) is no longer work in 1.2rc2... I do not get expired error page when I back to explicitly removed page.Is recent pageMap refactoring broken this feature ? On 1/28/06, Ingram Chen [EMAIL PROTECTED] wrote: yeh, it works now !Thanks !On 1/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote: ok plugged that.-Igor On 1/27/06, Ingram Chen [EMAIL PROTECTED] wrote: I tried getPageMap().removePage(this) and found one critical problem:After I explicitly remove page, then navigate through 4~5 pages I got below exception:27-01-06 22:58:53,563 ERROR wicket.protocol.http.WebRequestCycle - java.lang.NullPointerException at wicket.PageMap.remove(PageMap.java:310) at wicket.session.pagemap.LeastRecentlyAccessedEvictionStrategy.evict(LeastRecentlyAccessedEvictionStrategy.java:83) at wicket.PageMap.put(PageMap.java:463) at wicket.Session.touch(Session.java:588) at wicket.Page.doRender(Page.java:367) at wicket.protocol.http.WebRequestCycle.redirectTo(WebRequestCycle.java:143) Can you help to check this ?On 1/27/06, Ingram Chen [EMAIL PROTECTED] wrote: I will check it when anonymous CVS ready !Thanks a lot !On 1/27/06, Igor Vaynberg [EMAIL PROTECTED] wrote:ok what i did is add PageMap.removePage(Page) which should be sufficient for your needs. you can do Session.getPageMap(name).removePage() or from within the page getPageMap().removePage(this) although i havent tried doing this one myself. let me know if it works for you. -Igor On 1/26/06, Igor Vaynberg [EMAIL PROTECTED] wrote: sounds reasonable to me. if you would like you can add an rfe for it, but i should be able to get to it tonight at some point. -Igor On 1/26/06, Ingram Chen [EMAIL PROTECTED] wrote: My usecase is to prevent the user back to the previous page to submit stale data: page A with form -- the user submits --- page B show success messageif the user navigate back to page A, and resumit page A again, he should get a expired page. On 1/27/06, Igor Vaynberg [EMAIL PROTECTED] wrote: we are not against adding that back, but we would love to hear the usecase first.the eviction strategy is much more flexible/poweful now and we were hoping it would be able to cope with most usecases. -Igor On 1/26/06, Ingram Chen [EMAIL PROTECTED] wrote: I upgrade to Latest 1.2 HEAD but found that session.remove() is removed... I used to use this method to explicitly remove page instance:getSession().remove(getPage())How do I do this now ? Any suggestion ? -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen
Re: [Wicket-user] explicitly remove page
Strange... I could not reproduce this problem in QuickStart.anyway, I will continue investigating what's going on and file a bug reportif I can build a reproduceable case.thanks On 4/21/06, Johan Compagner [EMAIL PROTECTED] wrote: no that call will still remove the page from the session and delete all entries out of the pagemap stack.Please add a bug report for this with a reproduceable case. johan On 4/21/06, Ingram Chen [EMAIL PROTECTED] wrote: getPageMap().remove(page) is no longer work in 1.2rc2... I do not get expired error page when I back to explicitly removed page.Is recent pageMap refactoring broken this feature ? On 1/28/06, Ingram Chen [EMAIL PROTECTED] wrote: yeh, it works now !Thanks !On 1/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote: ok plugged that.-Igor On 1/27/06, Ingram Chen [EMAIL PROTECTED] wrote: I tried getPageMap().removePage(this) and found one critical problem:After I explicitly remove page, then navigate through 4~5 pages I got below exception:27-01-06 22:58:53,563 ERROR wicket.protocol.http.WebRequestCycle - java.lang.NullPointerException at wicket.PageMap.remove(PageMap.java:310) at wicket.session.pagemap.LeastRecentlyAccessedEvictionStrategy.evict(LeastRecentlyAccessedEvictionStrategy.java:83) at wicket.PageMap.put(PageMap.java:463) at wicket.Session.touch(Session.java:588) at wicket.Page.doRender(Page.java:367) at wicket.protocol.http.WebRequestCycle.redirectTo(WebRequestCycle.java:143) Can you help to check this ?On 1/27/06, Ingram Chen [EMAIL PROTECTED] wrote: I will check it when anonymous CVS ready !Thanks a lot !On 1/27/06, Igor Vaynberg [EMAIL PROTECTED] wrote:ok what i did is add PageMap.removePage(Page) which should be sufficient for your needs. you can do Session.getPageMap(name).removePage() or from within the page getPageMap().removePage(this) although i havent tried doing this one myself. let me know if it works for you. -Igor On 1/26/06, Igor Vaynberg [EMAIL PROTECTED] wrote: sounds reasonable to me. if you would like you can add an rfe for it, but i should be able to get to it tonight at some point. -Igor On 1/26/06, Ingram Chen [EMAIL PROTECTED] wrote: My usecase is to prevent the user back to the previous page to submit stale data: page A with form -- the user submits --- page B show success messageif the user navigate back to page A, and resumit page A again, he should get a expired page. On 1/27/06, Igor Vaynberg [EMAIL PROTECTED] wrote: we are not against adding that back, but we would love to hear the usecase first.the eviction strategy is much more flexible/poweful now and we were hoping it would be able to cope with most usecases. -Igor On 1/26/06, Ingram Chen [EMAIL PROTECTED] wrote: I upgrade to Latest 1.2 HEAD but found that session.remove() is removed... I used to use this method to explicitly remove page instance:getSession().remove(getPage())How do I do this now ? Any suggestion ? -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen
Re: [Wicket-user] RC2 - still have javascript errors
Oh, sorry, here's the whole thing. servlet servlet-nameProductCatalogApp/servlet-name servlet-classwicket.protocol.http.WicketServlet/servlet-class init-param param-nameapplicationClassName/param-name param-valuecom.myapp.ProductCatalogApp/param-value /init-param load-on-startup1/load-on-startup /servlet servlet-mapping servlet-nameProductCatalogApp/servlet-name url-pattern/products/url-pattern /servlet-mapping ...obviously I need to change it to /products/* ?? I guess I must have missed that in the transition doc, sorry! On 4/20/06, Eelco Hillenius [EMAIL PROTECTED] wrote: I think Igor meant what the servlet-mapping element looks like. E.g. phonebook has: servlet-mapping servlet-namephonebook/servlet-name url-pattern/app/*/url-pattern /servlet-mapping if that would be servlet-mapping servlet-namephonebook/servlet-name url-pattern/app//url-pattern /servlet-mapping (without the *), package resources won't work. Eelco On 4/20/06, Vincent Jenks [EMAIL PROTECTED] wrote: servlet-classwicket.protocol.http.WicketServlet/servlet-class On 4/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: what is the servlet mapping you use for the wicket servlet? -Igor On 4/20/06, Vincent Jenks [EMAIL PROTECTED] wrote: 404 not found On 4/20/06, Johan Compagner [EMAIL PROTECTED] wrote: and what does this link return? /MyApp/products/resources/wicket.markup.html.WebPage/cookies.js;jsessionid=8D5250BD41A597EBD63C695113E757DF johan On 4/20/06, Vincent Jenks [EMAIL PROTECTED] wrote: Yep, here's all the js stuff I see in the head: script type=text/javascript src=/MyApp/products/resources/wicket.markup.html.WebPage/cookies.js;jsessionid=8D5250BD41A597EBD63C695113E757DF/script script type=text/javascriptvar pagemapcookie = getWicketCookie('pm-null/MyAppProductCatalogApp'); if(!pagemapcookie pagemapcookie != '1'){setWicketCookie('pm-null/MyAppProductCatalogApp',1);} else {document.location.href = '/MyApp/products;jsessionid=8D5250BD41A597EBD63C695113E757DF?wicket:bookmarkablePage=wicket-0:com.myapp.ui.ProductCatalog';} /script ...and in the body tag: body onUnLoad=deleteWicketCookie('pm-null/MyAppProductCatalogApp'); On 4/20/06, Johan Compagner [EMAIL PROTECTED] wrote: how is that possible? don't you have a script like: script type=text/javascript src=/wicket/forminput/resources/wicket.markup.html.WebPage/cookies.js/script included in youre page? johan On 4/20/06, Vincent Jenks [EMAIL PROTECTED] wrote: Using Wicket 1.2RC2, I still get these javascript errors in both Firefox 1.5.0.2 and IE 6.0: deleteWicketCookie is not defined getWicketCookie is not defined --- 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?cmdlnkkid0709bid3057dat1642 ___ 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?cmdlnkkid0709bid3057dat1642 ___ 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?cmdlnkkid0709bid3057dat1642 ___ 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
[Wicket-user] migrating to 1.1
I migrated to Wicket 1.1 and found a problem with this method in Guest Book (the arrow point to the problematic line): public CommentForm(final String id) { // Construct form with no validation listener -- super(id, new CompoundPropertyModel(new Comment()), null); // Add text entry widget add(new TextArea(text)); } Does 1.1 come with updated samples? Or can I change the above somehow? Gj --- 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] Image upload
I am creating a form that will allow users to upload image files that will be displayed on other pages. How should I go about uploading the images so that they can be used in Wicket Image components on the other pages? The upload part is not problem, I just don't know where I should put them. On my view pages, I am using ThumbnailImageResource which takes a WebResource in it's contructor to find the image. Where should I save the images to make this work?Thanks.Steve
Re: [Wicket-user] on_NOT_submit() method?
if you want trully custom form processing then override form.process() and add any steps you want. by default we try to accomodate the 90% use case and leave the door open for the other 10%, i think this falls under that other 10%. -IgorOn 4/21/06, Frank Silbermann [EMAIL PROTECTED] wrote: Suppose I have a page with two forms.One form contains components thatall auto-postback immediately.The other form has components which donot update unless a submit button is pressed.I have some tasks that I want to do only when the submit button is clicked, but I have some other tasks I want to perform before that,whether or not the submit button is clicked.For the latter operations, into which method should I put them?Alternatively, is there some onSubmitNOT() method I could perform that would execute at the same point in the sequence that a button'sonSubmit() method would execute -- except it should be executed wheneverthe cause of the post-back was anything OTHER than this button?Or would I have to manually add this behavior to every single auto-postback component on my page?---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?cmdlnkkid0709bid3057dat1642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Dynamically updating a tree via Ajax?
I don't know but I'd like to see one too, along with drag and drop capabilities. There was someone on the list that was working on a DOJO based tree, but I haven't heard anything else since.I thought about trying to create it myself, but my Wicket skills and knowledge are not yet up to par. SteveOn 4/21/06, David Griffiths [EMAIL PROTECTED] wrote: Hi, how far away is Wicket from being able to do this:- create a tree object initially displaying only the root node- when you click to expand a node do it via a xmlhttprequest to the server- the server responds with just the children which are inserted into the DOM rather than the entire page or entire tree object being redrawnand as an optional nice-to-have:- preload the children as hidden elements and have an expand operationuse _javascript_ to make the children visible locally (no roundtrip delay) whilst meanwhile calling the server to add new hidden grandchildren inthe background.Thanks,Dave---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
Re: [Wicket-user] Dynamically updating a tree via Ajax?
there is as far as i know not a prebuild component for thisBut you could build it.johanOn 4/21/06, David Griffiths [EMAIL PROTECTED] wrote:Hi, how far away is Wicket from being able to do this: - create a tree object initially displaying only the root node- when you click to expand a node do it via a xmlhttprequest to the server- the server responds with just the children which are inserted into the DOM rather than the entire page or entire tree object being redrawnand as an optional nice-to-have:- preload the children as hidden elements and have an expand operationuse _javascript_ to make the children visible locally (no roundtrip delay) whilst meanwhile calling the server to add new hidden grandchildren inthe background.Thanks,Dave---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
Re: [Wicket-user] migrating to 1.1
migrating to 1.1? from where 1.0?For every release we have a 1-1 relation shipt with our examples or extentions (and most wicket-stuff things also)johanOn 4/21/06, Geertjan Wielenga [EMAIL PROTECTED] wrote: I migrated to Wicket 1.1 and found a problem with this method in GuestBook (the arrow point to the problematic line):public CommentForm(final String id) {// Construct form with no validation listener -- super(id, new CompoundPropertyModel(new Comment()),null);// Add text entry widgetadd(new TextArea(text));}Does 1.1 come with updated samples? Or can I change the above somehow? Gj---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
Re: [Wicket-user] Image upload
you could save those images to a DB or to a working dir on the server.Then have a DynamicByteArrayResource or the 1.2 one: WebDynamicResource to load the image from the location you stored the image.johan On 4/21/06, Steve Knight [EMAIL PROTECTED] wrote: I am creating a form that will allow users to upload image files that will be displayed on other pages. How should I go about uploading the images so that they can be used in Wicket Image components on the other pages? The upload part is not problem, I just don't know where I should put them. On my view pages, I am using ThumbnailImageResource which takes a WebResource in it's contructor to find the image. Where should I save the images to make this work?Thanks. Steve
Re: [Wicket-user] Dynamically updating a tree via Ajax?
yep, we dont have one built yet. its a shame, but we are all very busy right now as you can see :)if you want something quick you can do this:take the existing tree component and replace the links it generates with ajaxlink and redraw that whole node. i believe matej did something very similar if not the exact thing and said it worked very well.-IgorOn 4/21/06, Johan Compagner [EMAIL PROTECTED] wrote:there is as far as i know not a prebuild component for this But you could build it.johan On 4/21/06, David Griffiths [EMAIL PROTECTED] wrote: Hi, how far away is Wicket from being able to do this: - create a tree object initially displaying only the root node- when you click to expand a node do it via a xmlhttprequest to the server- the server responds with just the children which are inserted into the DOM rather than the entire page or entire tree object being redrawnand as an optional nice-to-have:- preload the children as hidden elements and have an expand operationuse _javascript_ to make the children visible locally (no roundtrip delay) whilst meanwhile calling the server to add new hidden grandchildren inthe background.Thanks,Dave---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
Re: [Wicket-user] RC2 - still have javascript errors
Finally got around to putting the /* in the mapping and t's all good now, thanks! On 4/21/06, Vincent Jenks [EMAIL PROTECTED] wrote: Oh, sorry, here's the whole thing. servlet servlet-nameProductCatalogApp/servlet-name servlet-classwicket.protocol.http.WicketServlet/servlet-class init-param param-nameapplicationClassName/param-name param-valuecom.myapp.ProductCatalogApp/param-value /init-param load-on-startup1/load-on-startup /servlet servlet-mapping servlet-nameProductCatalogApp/servlet-name url-pattern/products/url-pattern /servlet-mapping ...obviously I need to change it to /products/* ?? I guess I must have missed that in the transition doc, sorry! On 4/20/06, Eelco Hillenius [EMAIL PROTECTED] wrote: I think Igor meant what the servlet-mapping element looks like. E.g. phonebook has: servlet-mapping servlet-namephonebook/servlet-name url-pattern/app/*/url-pattern /servlet-mapping if that would be servlet-mapping servlet-namephonebook/servlet-name url-pattern/app//url-pattern /servlet-mapping (without the *), package resources won't work. Eelco On 4/20/06, Vincent Jenks [EMAIL PROTECTED] wrote: servlet-classwicket.protocol.http.WicketServlet/servlet-class On 4/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: what is the servlet mapping you use for the wicket servlet? -Igor On 4/20/06, Vincent Jenks [EMAIL PROTECTED] wrote: 404 not found On 4/20/06, Johan Compagner [EMAIL PROTECTED] wrote: and what does this link return? /MyApp/products/resources/wicket.markup.html.WebPage/cookies.js;jsessionid=8D5250BD41A597EBD63C695113E757DF johan On 4/20/06, Vincent Jenks [EMAIL PROTECTED] wrote: Yep, here's all the js stuff I see in the head: script type=text/javascript src=/MyApp/products/resources/wicket.markup.html.WebPage/cookies.js;jsessionid=8D5250BD41A597EBD63C695113E757DF/script script type=text/javascriptvar pagemapcookie = getWicketCookie('pm-null/MyAppProductCatalogApp'); if(!pagemapcookie pagemapcookie != '1'){setWicketCookie('pm-null/MyAppProductCatalogApp',1);} else {document.location.href = '/MyApp/products;jsessionid=8D5250BD41A597EBD63C695113E757DF?wicket:bookmarkablePage=wicket-0:com.myapp.ui.ProductCatalog';} /script ...and in the body tag: body onUnLoad=deleteWicketCookie('pm-null/MyAppProductCatalogApp'); On 4/20/06, Johan Compagner [EMAIL PROTECTED] wrote: how is that possible? don't you have a script like: script type=text/javascript src=/wicket/forminput/resources/wicket.markup.html.WebPage/cookies.js/script included in youre page? johan On 4/20/06, Vincent Jenks [EMAIL PROTECTED] wrote: Using Wicket 1.2RC2, I still get these javascript errors in both Firefox 1.5.0.2 and IE 6.0: deleteWicketCookie is not defined getWicketCookie is not defined --- 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?cmdlnkkid0709bid3057dat1642 ___ 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?cmdlnkkid0709bid3057dat1642 ___ 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list
Re: [Wicket-user] Dynamically updating a tree via Ajax?
didn't this end up getting created in the dojo components? I thought one of the interns started work on this... On 4/21/06, Igor Vaynberg [EMAIL PROTECTED] wrote: yep, we dont have one built yet. its a shame, but we are all very busy right now as you can see :) if you want something quick you can do this: take the existing tree component and replace the links it generates with ajaxlink and redraw that whole node. i believe matej did something very similar if not the exact thing and said it worked very well. -Igor On 4/21/06, Johan Compagner [EMAIL PROTECTED] wrote: there is as far as i know not a prebuild component for this But you could build it. johan On 4/21/06, David Griffiths [EMAIL PROTECTED] wrote: Hi, how far away is Wicket from being able to do this: - create a tree object initially displaying only the root node - when you click to expand a node do it via a xmlhttprequest to the server - the server responds with just the children which are inserted into the DOM rather than the entire page or entire tree object being redrawn and as an optional nice-to-have: - preload the children as hidden elements and have an expand operation use javascript to make the children visible locally (no roundtrip delay) whilst meanwhile calling the server to add new hidden grandchildren in the background. Thanks, Dave --- 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=lnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Dynamically updating a tree via Ajax?
Guess this won't be enough, you have to redraw also the node that was selected previously. What I did was that I redrawn the whole tree. It was a 10 minutes hack, I took wicket tree and changed all links to AjaxFailbackLink. I can say that even redrawing the whole tree was magnitudes better that refreshing whole page. -Matej Igor Vaynberg wrote: yep, we dont have one built yet. its a shame, but we are all very busy right now as you can see :) if you want something quick you can do this: take the existing tree component and replace the links it generates with ajaxlink and redraw that whole node. i believe matej did something very similar if not the exact thing and said it worked very well. -Igor On 4/21/06, *Johan Compagner* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: there is as far as i know not a prebuild component for this But you could build it. johan On 4/21/06, *David Griffiths* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, how far away is Wicket from being able to do this: - create a tree object initially displaying only the root node - when you click to expand a node do it via a xmlhttprequest to the server - the server responds with just the children which are inserted into the DOM rather than the entire page or entire tree object being redrawn and as an optional nice-to-have: - preload the children as hidden elements and have an expand operation use javascript to make the children visible locally (no roundtrip delay) whilst meanwhile calling the server to add new hidden grandchildren in the background. Thanks, Dave --- 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 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user 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
[Wicket-user] Re: Dynamically updating a tree via Ajax?
Johan Compagner wrote: there is as far as i know not a prebuild component for this But you could build it. Ok thanks. I've only just started looking at Wicket and it looks pretty cool but also quite daunting in terms of the learning curve as a developer. So how long do you think it would take to create such a component? (Let's assume for the estimate a competent programmer who is familiar with the code, i.e. no learning curve). Basically I'm trying to get a handle on whether to write something from scratch or learn/use Wicket. Do the requirements of such a dynamically updated Ajaxified tree fit well within the Wicket design or would it require structural changes? (Disclaimer: I don't know much about the servlet request/response model you run under... I know how to do it from scratch but I would probably use a modified form of Ahah (http://microformats.org/wiki/rest/ahah). Cheers, Dave --- 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] Re: Dynamically updating a tree via Ajax?
wicket abstracts all ajax stuf away from you so you dont have to bother with _javascript_ most of the time.have a look at wicket.ajax package to see whats there and also look at wicket-examples under ajax to see ajaxified components. -IgorOn 4/21/06, David Griffiths [EMAIL PROTECTED] wrote: Johan Compagner wrote: there is as far as i know not a prebuild component for this But you could build it.Ok thanks. I've only just started looking at Wicket and it looks prettycool but also quite daunting in terms of the learning curve as a developer. So how long do you think it would take to create such acomponent? (Let's assume for the estimate a competent programmer who isfamiliar with the code, i.e. no learning curve).Basically I'm trying to get a handle on whether to write something from scratch or learn/use Wicket.Do the requirements of such a dynamically updated Ajaxified tree fitwell within the Wicket design or would it require structural changes?(Disclaimer: I don't know much about the servlet request/response model you run under... I know how to do it from scratch but I would probablyuse a modified form of Ahah (http://microformats.org/wiki/rest/ahah).Cheers, Dave---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
Re: [Wicket-user] Image upload
I do this and save the files off to a working directory on the server, while the metadata is stored in the database. I didn't know about WebDynamicResource, so I wrote a simple servlet filter to handle it for me. On 4/21/06, Johan Compagner [EMAIL PROTECTED] wrote: you could save those images to a DB or to a working dir on the server.Then have a DynamicByteArrayResource or the 1.2 one: WebDynamicResource to load the image from the location you stored the image. johan On 4/21/06, Steve Knight [EMAIL PROTECTED] wrote: I am creating a form that will allow users to upload image files that will be displayed on other pages. How should I go about uploading the images so that they can be used in Wicket Image components on the other pages? The upload part is not problem, I just don't know where I should put them. On my view pages, I am using ThumbnailImageResource which takes a WebResource in it's contructor to find the image. Where should I save the images to make this work?Thanks. Steve
Re: [Wicket-user] migrating to 1.1
Yes, I had 1.0.3 samples and now, for the NetBeans support, I'd like to use the latest stable major version, which is 1.1. So I don't know what the difference was exactly, but I got the 1.1 samples and everything seems to be ok now. Gj Johan Compagner wrote: migrating to 1.1? from where 1.0? For every release we have a 1-1 relation shipt with our examples or extentions (and most wicket-stuff things also) johan On 4/21/06, Geertjan Wielenga [EMAIL PROTECTED] wrote: I migrated to Wicket 1.1 and found a problem with this method in Guest Book (the arrow point to the problematic line): public CommentForm(final String id) { // Construct form with no validation listener -- super(id, new CompoundPropertyModel(new Comment()), null); // Add text entry widget add(new TextArea("text")); } Does 1.1 come with updated samples? Or can I change the above somehow? Gj --- 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] Powerful wicket sample
Hi all, For the 'birds of a feather' session I'll be doing at JavaOne, I'd like to run through the Wicket support (that is continually being built as we speak) and in the process build a powerful Wicket application. I have a few ideas of my own but I'm not a Wicket expert. Can someone give me ideas for a (1) simplish, time wise, yet (2) effective (very high wow impact desirable) scenario that I could use? Gj --- 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] Powerful wicket sample
Geertjan Wielenga wrote: Hi all, For the 'birds of a feather' session I'll be doing at JavaOne, I'd like to run through the Wicket support (that is continually being built as we speak) in NetBeans IDE :-) and in the process build a powerful Wicket application. I have a few ideas of my own but I'm not a Wicket expert. Can someone give me ideas for a (1) simplish, time wise, yet (2) effective (very high wow impact desirable) scenario that I could use? Gj --- 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] migrating to 1.1
I'd almost say that you might want to consider just using 1.2 since it is now in RC mode and will be production-grade soon? Correct me if I'm wrong, but 1.1.1 will be obsolete soon. I'm using 1.2RC2 on a project that will go into productin in less than a month and so far I'm very happy w/ it. I just upgraded from 1.1.1 and so far, it's solid. On 4/21/06, Geertjan Wielenga [EMAIL PROTECTED] wrote: Yes, I had 1.0.3 samples and now, for the NetBeans support, I'd like to use the latest stable major version, which is 1.1. So I don't know what the difference was exactly, but I got the 1.1 samples and everything seems to be ok now. Gj Johan Compagner wrote: migrating to 1.1? from where 1.0? For every release we have a 1-1 relation shipt with our examples or extentions (and most wicket-stuff things also) johan On 4/21/06, Geertjan Wielenga [EMAIL PROTECTED] wrote: I migrated to Wicket 1.1 and found a problem with this method in Guest Book (the arrow point to the problematic line): public CommentForm(final String id) { // Construct form with no validation listener -- super(id, new CompoundPropertyModel(new Comment()), null); // Add text entry widget add(new TextArea(text)); } Does 1.1 come with updated samples? Or can I change the above somehow? Gj --- 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=lnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] migrating to 1.1
Well, I'm a bit fearful of doing that. I'm building all samples against 1.1 and integrating them into NetBeans at that level. After JavaOne, I'll come back to this and upgrade them to 1.2. -- Gj Vincent Jenks wrote: I'd almost say that you might want to consider just using 1.2 since it is now in RC mode and will be production-grade soon? Correct me if I'm wrong, but 1.1.1 will be obsolete soon. I'm using 1.2RC2 on a project that will go into productin in less than a month and so far I'm very happy w/ it. I just upgraded from 1.1.1 and so far, it's solid. On 4/21/06, Geertjan Wielenga [EMAIL PROTECTED] wrote: Yes, I had 1.0.3 samples and now, for the NetBeans support, I'd like to use the latest stable major version, which is 1.1. So I don't know what the difference was exactly, but I got the 1.1 samples and everything seems to be ok now. Gj Johan Compagner wrote: migrating to 1.1? from where 1.0? For every release we have a 1-1 relation shipt with our examples or extentions (and most wicket-stuff things also) johan On 4/21/06, Geertjan Wielenga [EMAIL PROTECTED] wrote: I migrated to Wicket 1.1 and found a problem with this method in Guest Book (the arrow point to the problematic line): public CommentForm(final String id) { // Construct form with no validation listener -- super(id, new CompoundPropertyModel(new Comment()), null); // Add text entry widget add(new TextArea("text")); } Does 1.1 come with updated samples? Or can I change the above somehow? Gj --- 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Index page not loading
Hi allI am currently writing a HelloWorld application using 1.2RC2.My problem is when I deploy the application I see the class that extends WebApplication being instantiated by Tomcat (I have a system.err.println there) but I can't make my index page appear. Internet Explorer keeps on spinning eternally and I see no activity on Tomcat's logs.Can anyone help me diagnose whats happening? I am using the latest edition of Tomcat and Java 5 as of this writing. -- Cumprimentos,Rui Pacheco
Re: [Wicket-user] Index page not loading
Post your code and the lines from web.xml where you've configured the Wicket servlet. On 4/21/06, Rui Pacheco [EMAIL PROTECTED] wrote: Hi all I am currently writing a HelloWorld application using 1.2RC2. My problem is when I deploy the application I see the class that extends WebApplication being instantiated by Tomcat (I have a system.err.println there) but I can't make my index page appear. Internet Explorer keeps on spinning eternally and I see no activity on Tomcat's logs. Can anyone help me diagnose whats happening? I am using the latest edition of Tomcat and Java 5 as of this writing. -- Cumprimentos, Rui Pacheco --- 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=lnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] VOTE: ListView.setUseOptimizedItemRemoval()
I vote in favor of renaming setUseOptimizedItemRemoval() to setReuseItems() because I feel it is more descriptive of what it actually does. What do the rest of you think? Thanks, Gili signature.asc Description: OpenPGP digital signature
Re: [Wicket-user] VOTE: ListView.setUseOptimizedItemRemoval()
+1we can deprecate the existing one and have it forward to the new one as not to break the api. then remove the deprecated method once 1.2 is out of the door.-Igor On 4/21/06, cowwoc [EMAIL PROTECTED] wrote: I vote in favor of renaming setUseOptimizedItemRemoval() tosetReuseItems() because I feel it is more descriptive of what itactually does. What do the rest of you think?Thanks,Gili
[Wicket-user] Licensing issues for including Wicket JARs
If we were to include the Wicket JARs (wicket-1.1.jar, commons-logging-1.0.4, log4j-1.2.11.jar, ognl-2.6.7.jar) in a NetBeans module (possibly to de distributed/packaged with NetBeans at some future date) would we have licensing issues to deal with in relation to Wicket? (I suspect that the latter 3 are not needed, but I'm not sure.) What procedures would we need to go through? Geertjan --- 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] migrating to 1.1
I'm using 1.2RC2 on a project that will go into productin in less than a month and so far I'm very happy w/ it. Same here. - Gustavo. --- 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] migrating to 1.1
And, if I'm not mistaken, the book will be based on 1.2, correct? On 4/21/06, Martijn Dashorst [EMAIL PROTECTED] wrote: we are going to release 1.2 pretty soon, I suppose somewhere in the next two weeks, preferrable before 1st of may. Wicket 1.2 has many improvements over 1.1 and will be our major release. I don't know how long a release cycle for the netbeans module will be, but you might want to wait for the 1.2 final release. Martijn On 4/21/06, Geertjan Wielenga [EMAIL PROTECTED] wrote: Yes, I had 1.0.3 samples and now, for the NetBeans support, I'd like to use the latest stable major version, which is 1.1. So I don't know what the difference was exactly, but I got the 1.1 samples and everything seems to be ok now. Gj Johan Compagner wrote: migrating to 1.1? from where 1.0? For every release we have a 1-1 relation shipt with our examples or extentions (and most wicket-stuff things also) johan On 4/21/06, Geertjan Wielenga [EMAIL PROTECTED] wrote: I migrated to Wicket 1.1 and found a problem with this method in Guest Book (the arrow point to the problematic line): public CommentForm(final String id) { // Construct form with no validation listener -- super(id, new CompoundPropertyModel(new Comment()), null); // Add text entry widget add(new TextArea(text)); } Does 1.1 come with updated samples? Or can I change the above somehow? Gj --- 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 1.2 is coming! 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=lnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Licensing issues for including Wicket JARs
According to my knowledge, OGNL is licensed under a modified Apache license (open symphony license). But I don't know that 100% sure. The Apache License is used for Wicket, commons-logging and log4j. Though Wicket is not affiliated with Apache, we do use the ASF license for our project as we think it provides the most freedom for our users. So to my knowlegde there is no dangerous license in the wicket packages. We have tried to keep the LGPL and GPL licenses out. One thing to note is that the Date picker component is LGPL licensed. The DatePicker is available in the wicket extensions project. I have yet to find out what LGPL means in the case of _javascript_, as you always distribute the source to the clients. IANAL, so if it is really a major concern, you might want to check whether ASF license is allowed. Is that the case, you are free to distribute Wicket 1.1. The open symphony license should also be checked for Wicket 1.1. Wicket 1.2 is fully ASF, and doesn't depend on OGNL anymore, only commons-logging. Log4j is an optional jar, but is also ASF licensed. Wicket-extensions 1.2 still contains the DatePicker which is LGPL licensed. So you might want to stay clear of that one. MartijnOn 4/21/06, Geertjan Wielenga [EMAIL PROTECTED] wrote: If we were to include the Wicket JARs (wicket-1.1.jar,commons-logging-1.0.4, log4j-1.2.11.jar, ognl-2.6.7.jar) in a NetBeansmodule (possibly to de distributed/packaged with NetBeans at some futuredate) would we have licensing issues to deal with in relation to Wicket? (I suspect that the latter 3 are not needed, but I'm not sure.) Whatprocedures would we need to go through?Geertjan---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-- Wicket 1.2 is coming! Write Ajax applications without touching _javascript_!-- http://wicketframework.org
Re: [Wicket-user] VOTE: ListView.setUseOptimizedItemRemoval()
+1On 4/21/06, Vincent Jenks [EMAIL PROTECTED] wrote: +1 - it's certainly easier on the eyes.On 4/21/06, Igor Vaynberg [EMAIL PROTECTED] wrote: +1 we can deprecate the existing one and have it forward to the new one as not to break the api. then remove the deprecated method once 1.2 is out of the door. -IgorOn 4/21/06, cowwoc [EMAIL PROTECTED] wrote: I vote in favor of renaming setUseOptimizedItemRemoval() to setReuseItems() because I feel it is more descriptive of what it actually does. What do the rest of you think? Thanks, Gili---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?cmdlnkkid0709bid3057dat1642___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user-- Wicket 1.2 is coming! Write Ajax applications without touching _javascript_! -- http://wicketframework.org
[Wicket-user] Re: Dynamically updating a tree via Ajax?
I implemented a tree using CSS/Javascript with the methodology outlined here: http://gethelp.devx.com/techtips/dhtml_pro/10min/10min0702/td072602-4.asp You could achieve what your are trying to do using that. To 'ajaxify' it, and load nodes on demand you could try adding a wicket AjaxLink around your branch div, and have that replace a target component in your Panel that holds all the div elements for tree nodes that have been loaded. Then the regular javascript call would make the nodes visible for the branch item just clicked. Question might be what order the calls are made - showbranch or load new divs, if showBranch comes first you'd need to workaround. -evan David Griffiths wrote: Hi, how far away is Wicket from being able to do this: - create a tree object initially displaying only the root node - when you click to expand a node do it via a xmlhttprequest to the server - the server responds with just the children which are inserted into the DOM rather than the entire page or entire tree object being redrawn and as an optional nice-to-have: - preload the children as hidden elements and have an expand operation use javascript to make the children visible locally (no roundtrip delay) whilst meanwhile calling the server to add new hidden grandchildren in the background. Thanks, Dave --- 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 --- 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] RC2 - still have javascript errors
Just as an aside, to the best of my knowledge, this isn't something that's new/changed in 1.2, hence nothing in any transition notes - this is been there right from the start, but maybe it's more apparent now there tends to be more to Wicket than the basic servlet, if you see what I mean. /Gwyn On 21/04/06, Vincent Jenks [EMAIL PROTECTED] wrote: Finally got around to putting the /* in the mapping and t's all good now, thanks! On 4/21/06, Vincent Jenks [EMAIL PROTECTED] wrote: Oh, sorry, here's the whole thing. servlet servlet-nameProductCatalogApp/servlet-name servlet-classwicket.protocol.http.WicketServlet/servlet-class init-param param-nameapplicationClassName/param-name param-valuecom.myapp.ProductCatalogApp/param-value /init-param load-on-startup1/load-on-startup /servlet servlet-mapping servlet-nameProductCatalogApp/servlet-name url-pattern/products/url-pattern /servlet-mapping ...obviously I need to change it to /products/* ?? I guess I must have missed that in the transition doc, sorry! --- 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=lnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Wicket simple DB components?
Just looking to see if we need to fill in any gaps in the docs/wiki with regards to DB interactions, which stills seems a bit unclear in places, to me at least (- that could just my not being experienced with Hibernate, though...) We've got the wicket-phonebook app (Spring/Hibernate) DataBinder (Hibernate/EJB3 Annotations) but what should we be recommending for the following 'introduction' cases? a) Something to display select * from table where there are less than a dozen items (i.e. no paging needed hibernate may be overkill) b) (a), but with a couple of dozen items, leading to needing paging. (Maybe here is where we do want to point to phonebook or databinder, or maybe there's a step between (a) Hibernate - Thoughts?) Anyone want to suggest which components we should point people towards - it doesn't have to be a full wiki article, just some comments would do! /Gwyn --- 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=lnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] RC2 - still have javascript errors
Interesting, I had never noticed it before and didn't get the error while using 1.1.1. I've only been using wicket for about 1.5 mo. so I'm still a greenhorn. On 4/21/06, Gwyn Evans [EMAIL PROTECTED] wrote: Just as an aside, to the best of my knowledge, this isn't something that's new/changed in 1.2, hence nothing in any transition notes - this is been there right from the start, but maybe it's more apparent now there tends to be more to Wicket than the basic servlet, if you see what I mean. /Gwyn On 21/04/06, Vincent Jenks [EMAIL PROTECTED] wrote: Finally got around to putting the /* in the mapping and t's all good now, thanks! On 4/21/06, Vincent Jenks [EMAIL PROTECTED] wrote: Oh, sorry, here's the whole thing. servlet servlet-nameProductCatalogApp/servlet-name servlet-classwicket.protocol.http.WicketServlet/servlet-class init-param param-nameapplicationClassName/param-name param-valuecom.myapp.ProductCatalogApp/param-value /init-param load-on-startup1/load-on-startup /servlet servlet-mapping servlet-nameProductCatalogApp/servlet-name url-pattern/products/url-pattern /servlet-mapping ...obviously I need to change it to /products/* ?? I guess I must have missed that in the transition doc, sorry! --- 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?cmdlnkkid0709bid3057dat1642 ___ 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=lnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user