Re: [Wicket-user] DatePicker with SimpleDateFormat
Did you check DateTextField wicket-extensions? On 8/14/06, kurt heston [EMAIL PROTECTED] wrote: Johan, Thanks for the help. Settled on this: final DateConverter conv = new DateConverter(); final SimpleDateFormat sdf = new SimpleDateFormat(MM/yy); conv.setDateFormat(Locale.getDefault(), sdf); TextField exp = new RequiredTextField(expiration) { public IConverter getConverter() { return new SimpleConverterAdapter() { public String toString(Object value) { return value != null ? sdf.format(value) : null; } public Object toObject(String value) { try { return sdf.parse(value.toString()); } catch (Exception e) { throw new ConversionException(' + value + ' is not a valid Date); } } }; } }; DatePicker picker = new DatePicker(expirationDatePicker, exp); picker.setDateConverter(conv); add(exp); add(picker); Johan Compagner wrote: That way it is only used to format the string to the screen. The dateformatter is used to get the format out and javascript dateformat is generated based on that That dateformatter should also be used by the textfield itself to handle the formatting both ways. So override the getConverter() of the exp textfield and return als your converter (that has to work 2 ways then!) johan On 8/11/06, *kurt heston * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I'm trying to create a field that allows filling in of a credit card expiration date using 1.2. What did I miss? Code: TextField exp = new RequiredTextField(expiration); DatePicker picker = new DatePicker(expirationDatePicker, exp); DateConverter conv = new DateConverter(); conv.setDateFormat(Locale.getDefault(),new SimpleDateFormat(MM/)); picker.setDateConverter(conv); add(exp); add(picker); Exception: wicket.util.convert.ConversionException: Cannot parse '03/2006' using format [EMAIL PROTECTED] at wicket.util.convert.converters.AbstractConverter.newConversionException (AbstractConverter.java:72) ... - 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 - 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 -- Regards, Ali - 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] Gmail style ajax loading indicator and disabled zone
Hi, DWR project build-in red loading indicator and disable full browser window while ajax loading (aka gmail style). This is a quite useful feature and implemetation is trivial. Is there any plan to add this feature in wicket-core or extension ? it would be better we can just configuring in WebApplication, say, getAjaxSetting().setLoadingIndicator(true) and setDisableWindowWhileLoading(true) etc.-- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen - 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] Gmail style ajax loading indicator and disabled zone
would you want that as a global setting for all ajax behaviours?just polling for example for new data i don't want to have the busy or loading indicator..If we had something like that then i guess it should be a property on the behaviour itself. johanOn 8/14/06, Ingram Chen [EMAIL PROTECTED] wrote: Hi, DWR project build-in red loading indicator and disable full browser window while ajax loading (aka gmail style). This is a quite useful feature and implemetation is trivial. Is there any plan to add this feature in wicket-core or extension ? it would be better we can just configuring in WebApplication, say, getAjaxSetting().setLoadingIndicator(true) and setDisableWindowWhileLoading(true) etc.-- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen -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.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] Buttons not responding in IE
Yes! The pages have many panels with forms in them. At a point, two forms where the one inside the other, with the second one appearing conditionally and that's why it didn't occur to me earlier! Thanx a lot Igor! /Kostas igor.vaynberg wrote: is the button inside a form? -Igor On 8/9/06, wicket21 [EMAIL PROTECTED] wrote: I 've tried it, but it doesn't work. To be more precise here is the code : --This code does NOT work with IE: Page1.html : ... td align=right input type=submit wicket:id=proceedButton class=mybuttonfree / /td ... Page1.java : ... String proceedLabel =Proceed; Button proceedButton = new Button(proceedButton, new CompoundPropertyModel(proceedLabel)){ protected void onSubmit() { ... this.setResponsePage(page10.class); } }; add(proceedButton); ... --This code (from other page in project) works fine(!) with IE: Page2.html : ... td align=right input type=submit wicket:id=finalButton class=mybuttonfree /td ... Page2.java : ... String proceedLabel =Finish; Button finalButton = new Button(finalButton,new CompoundPropertyModel(proceedLabel)) { protected void onSubmit() { ... this.setResponsePage(page10.class); } }; add(finalButton); ... /Kostas igor.vaynberg wrote: you have to use input type=submit input type=button and button tags do not submit the form - or at least should not according to spec i think. they are only supposed to invoke onclick handlers where javascript either submits the form or does something else. i noticed that ffox will still submit the form sometimes if there is no onclick handler - which is wrong imho. -Igor -- View this message in context: http://www.nabble.com/Buttons-not-responding-in-IE-tf2073453.html#a5722057 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/Buttons-not-responding-in-IE-tf2073453.html#a5792765 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] Gmail style ajax loading indicator and disabled zone
Yes, polling is a exception for busy indicator, but how many polling will be used in a web site ? I believe 'normal' ajax processing is more than polling, so it should be good to have a global setting, and let each behavior to overwrite global setting if required. On 8/14/06, Johan Compagner [EMAIL PROTECTED] wrote: would you want that as a global setting for all ajax behaviours?just polling for example for new data i don't want to have the busy or loading indicator..If we had something like that then i guess it should be a property on the behaviour itself. johanOn 8/14/06, Ingram Chen [EMAIL PROTECTED] wrote: Hi, DWR project build-in red loading indicator and disable full browser window while ajax loading (aka gmail style). This is a quite useful feature and implemetation is trivial. Is there any plan to add this feature in wicket-core or extension ? it would be better we can just configuring in WebApplication, say, getAjaxSetting().setLoadingIndicator(true) and setDisableWindowWhileLoading(true) etc.-- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen -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.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.nethttps://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 - 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] Palette component question
Hi everyone, I'm a new wicket user and curently trying out some examples. Stumbled upon the Palette component which i want to integrate in my project. Problem is i need to make it work a little different. For starters i would like just to have only the move , buttons, not the other two. I will actualy need to have a 3rd which is gonna behave diferently - would replace a selection with another. 1.So i tried to override public Component newUpComponent() { } but i just don't know what component to return. Null doesn't work for not showing the upComponent. 2. Can it be done so when i click on the move button i would submit the form or something so as to be able to modify the model on the available selections? -- View this message in context: http://www.nabble.com/Palette-component-question-tf2102732.html#a5794843 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] Palette component question
1 try an label that is not visible or something like that2 why would you submit everytime one move? I thought the pallete component was there for easy configuring the complete list and the submit.johan On 8/14/06, drakonis [EMAIL PROTECTED] wrote: Hi everyone, I'm a new wicket user and curently trying out some examples.Stumbled upon the Palette component which i want to integrate in my project.Problem is i need to make it work a little different.For starters i would like just to have only the move , buttons, not the other two. I will actualy need to have a 3rd which is gonna behavediferently - would replace a selection with another.1.So i tried to overridepublic Component newUpComponent() { }but i just don't know what component to return. Null doesn't work for not showing the upComponent.2. Can it be done so when i click on the move button i would submit theform or something so as to be able to modify the model on the availableselections?--View this message in context: http://www.nabble.com/Palette-component-question-tf2102732.html#a5794843Sent 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] beginners question: wicket and sessions
HI Joahn, Hi Igor, thx very much - emm, you dont how EJB sessions are working with wicket ? (do i have to tie the specific stateful bean to the session or does the container remember itself the bean to the session e.g.for a shopping cart...) Korbinian PS: you really should change the name from dirty() to snyc() or sth like that or even go a step further and use AOP to call this automatically whenever sth is touched Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Igor VaynbergGesendet: Sonntag, 13. August 2006 17:30An: wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] beginners question: wicket and sessions wicket's session object is stored inside http session. the getters and setters there are to make your code cleaner then using http session's map:object-object which is pretty ugly - so instead you use typesafe getters and setters. and as johan pointed out whenever you modify wicket's session object you have to call dirty() on it - this call triggers replication so the session is updated across the cluster if you have one. -Igor On 8/13/06, Johan Compagner [EMAIL PROTECTED] wrote: No you dont have to have getters and setters but that is just a nice approache.How else would you get your data?And it is better to have a setter if the data can be changed because in the set you can call: dirty() which is for us a trigger to reset our session object in the the http session object so that it knows that the session object is changed.johan On 8/13/06, Korbinian Bachl [EMAIL PROTECTED] wrote: Hi, i have a small problem in understanding the way sessions are used in wicket. Whenever i access any new wicket app (even HelloWorld) it gives me a SID, so i know i have a (http servlet) session. However, using the http.session is not the wicket way, and the wiki just tells: Custom Sessions The wicket way of storing objects in your session is by extending the wicket session. For example if you want to store some kind of user object in your session, you would create a getter and setter for it in your custom wicket session: public class MySession extends WebSession { public MySession(WebApplication application) { super(application); } private String myAttribute; // ... getters and setters }But why do i have to explicitly do the getters and setters for each thing i want to have remembered?? -or did i get sth. wrong here??? Best Regards,KorbinianPS: a little bit off-topic, but im also working myself into ejb3 a bit and i wondered, if i have a stateful sessionBean (e.g. a ShoppingCart) and i call the bean in any wicket page and set a product into it, how will be remembered to what session the Cart is attached to? - do i have to keep the connection to the specific bean open all the time or does the beancontainer take care for that ??? -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.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 Geronimohttp://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] Palette component question
10x for the answer, but 1. i actually tried returning a label before i posted got the error: Expected close tag for 'button type=button wicket:id=moveUpButton class button up' Possible attempt to embed component(s) ' up.gif ' in the body of this component which discards its body. I can't really understand what it requires. 2.Well the thing is the palette would contain some items, and the available items that the user can choose would depend of the items the user has already chosen. That's why i need to submit at every new inserted item, to present the new list of items the user is allowed to chose from. I guess it's not a quick fix and the answer would be to create my own component based on the sources of the palette. Johan Compagner wrote: 1 try an label that is not visible or something like that 2 why would you submit everytime one move? I thought the pallete component was there for easy configuring the complete list and the submit. johan On 8/14/06, drakonis [EMAIL PROTECTED] wrote: Hi everyone, I'm a new wicket user and curently trying out some examples. Stumbled upon the Palette component which i want to integrate in my project. Problem is i need to make it work a little different. For starters i would like just to have only the move , buttons, not the other two. I will actualy need to have a 3rd which is gonna behave diferently - would replace a selection with another. 1.So i tried to override public Component newUpComponent() { } but i just don't know what component to return. Null doesn't work for not showing the upComponent. 2. Can it be done so when i click on the move button i would submit the form or something so as to be able to modify the model on the available selections? -- View this message in context: http://www.nabble.com/Palette-component-question-tf2102732.html#a5794843 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/Palette-component-question-tf2102732.html#a5796562 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] open link in new window...
I think I already know what I did wrong. I put passed the Track to the page through the session object and then invoke setResponsePage(TrackMapPage.class). Instead I should construct a new TrackMapMage object with the track and call setResponsePage with that object. So: setResponsePage(new TrackMapPage(track)); From: Johan Compagner [EMAIL PROTECTED] Subject: Re: [Wicket-user] open link in new window... To: wicket-user@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 works fine for me as far as i can see the right click on the first show tracks on map opens: http://gpstracks.wamblee.org/gpstracks/app?wicket:bookmarkablePage=wicket-0:wicket.quickstart.TrackMapPage and that is with a redirect. So that is fine. But how do you get the state (which track to display) to that TrackMapPage? Because if i do a refresh of that above url.. What do you show? 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] Palette component question
ahh ok1 new WebMarkupContainer().setVisible(false)2 i get the idea that you just have to write your own component, this is not where pallete is build for (i think)johan On 8/14/06, drakonis [EMAIL PROTECTED] wrote: 10x for the answer, but1. i actually tried returning a label before i posted got the error:Expected close tag for 'button type=button wicket:id=moveUpButton classbutton up' Possible attempt to embed component(s) ' up.gif ' in the bodyof this component which discards its body.I can't really understand what it requires.2.Well the thing is the palette would contain some items, and the availableitems that the user can choose would depend of the items the user has already chosen. That's why i need to submit at every new inserted item, topresent the new list of items the user is allowed to chose from.I guess it's not a quick fix and the answer would be to create my own component based on the sources of the palette.Johan Compagner wrote: 1 try an label that is not visible or something like that 2 why would you submit everytime one move? I thought the pallete component was there for easy configuring the complete list and the submit. johan On 8/14/06, drakonis [EMAIL PROTECTED] wrote: Hi everyone, I'm a new wicket user and curently trying out some examples. Stumbled upon the Palette component which i want to integrate in my project. Problem is i need to make it work a little different. For starters i would like just to have only the move , buttons, not the other two. I will actualy need to have a 3rd which is gonna behave diferently - would replace a selection with another. 1.So i tried to override public Component newUpComponent() { } but i just don't know what component to return. Null doesn't work for not showing the upComponent. 2. Can it be done so when i click on the move button i would submit the form or something so as to be able to modify the model on the available selections? -- View this message in context: http://www.nabble.com/Palette-component-question-tf2102732.html#a5794843 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/Palette-component-question-tf2102732.html#a5796562 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
[Wicket-user] wicket-auth-roles-1.2.x
I am currently using wicket-1.2.1 which compiles under java 1.4... My question is why the same version of the wicket-auth-roles package is targeting java 1.5? Thank you! -- View this message in context: http://www.nabble.com/wicket-auth-roles-1.2.x-tf2103539.html#a5797285 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] Palette component question
Thanks. Tried like u said, but the html that is renderer still contains an input button even if it has no actions. No matter, found this super wicket-hack:) Browsing the sources turns out that the last parameter in the constructor is a boolean allowOrder. By setting this to false the last two buttons for ordering disapear. I will modify now the component to fit my needs. Thanks for answering. Johan Compagner wrote: ahh ok 1 new WebMarkupContainer().setVisible(false) 2 i get the idea that you just have to write your own component, this is not where pallete is build for (i think) johan On 8/14/06, drakonis [EMAIL PROTECTED] wrote: 10x for the answer, but 1. i actually tried returning a label before i posted got the error: Expected close tag for 'button type=button wicket:id=moveUpButton class button up' Possible attempt to embed component(s) ' up.gif ' in the body of this component which discards its body. I can't really understand what it requires. 2.Well the thing is the palette would contain some items, and the available items that the user can choose would depend of the items the user has already chosen. That's why i need to submit at every new inserted item, to present the new list of items the user is allowed to chose from. I guess it's not a quick fix and the answer would be to create my own component based on the sources of the palette. Johan Compagner wrote: 1 try an label that is not visible or something like that 2 why would you submit everytime one move? I thought the pallete component was there for easy configuring the complete list and the submit. johan On 8/14/06, drakonis [EMAIL PROTECTED] wrote: Hi everyone, I'm a new wicket user and curently trying out some examples. Stumbled upon the Palette component which i want to integrate in my project. Problem is i need to make it work a little different. For starters i would like just to have only the move , buttons, not the other two. I will actualy need to have a 3rd which is gonna behave diferently - would replace a selection with another. 1.So i tried to override public Component newUpComponent() { } but i just don't know what component to return. Null doesn't work for not showing the upComponent. 2. Can it be done so when i click on the move button i would submit the form or something so as to be able to modify the model on the available selections? -- View this message in context: http://www.nabble.com/Palette-component-question-tf2102732.html#a5794843 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/Palette-component-question-tf2102732.html#a5796562 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
Re: [Wicket-user] Gmail style ajax loading indicator and disabled zone
its not very (A)jaxy if you disable the browser while an ajax request is processing :) besides right now its trivial to do yourself - and that loading div to your basepage and a little bit of _javascript_ that hooks into wicket's global _javascript_ listeners and hides/shows it. -IgorOn 8/14/06, Ingram Chen [EMAIL PROTECTED] wrote: Yes, polling is a exception for busy indicator, but how many polling will be used in a web site ? I believe 'normal' ajax processing is more than polling, so it should be good to have a global setting, and let each behavior to overwrite global setting if required. On 8/14/06, Johan Compagner [EMAIL PROTECTED] wrote: would you want that as a global setting for all ajax behaviours?just polling for example for new data i don't want to have the busy or loading indicator..If we had something like that then i guess it should be a property on the behaviour itself. johanOn 8/14/06, Ingram Chen [EMAIL PROTECTED] wrote: Hi, DWR project build-in red loading indicator and disable full browser window while ajax loading (aka gmail style). This is a quite useful feature and implemetation is trivial. Is there any plan to add this feature in wicket-core or extension ? it would be better we can just configuring in WebApplication, say, getAjaxSetting().setLoadingIndicator(true) and setDisableWindowWhileLoading(true) etc.-- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen -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.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.nethttps://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 -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.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] beginners question: wicket and sessions
On 8/14/06, Korbinian Bachl [EMAIL PROTECTED] wrote: thx very much - emm, you dont how EJB sessions are working with wicket ? (do i have to tie the specific stateful bean to the session or does the container remember itself the bean to the session e.g.for a shopping cart...)you get a session bean and store the stub in wicket's session object and thats how you reference it. so instead of stuffing it into httpsession you stuff it into wicket's. vincent wrote an ejb3 wicket app so maybe he can give you more input or you can woogle [1] for ejb3 PS: you really should change the name from dirty() to snyc() or sth like that or even go a step further and use AOP to call this automatically whenever sth is touchedwe like dirty() and havent had any complaints so far save this one. you can always do: MySession { public void sync() { dirty(); } } :) aop sounds nice, if there was an intercepor for change to any field value in any object in this instance we might consider it. we are not aop wizs so maybe there is one and we dont know about it. [1] http://woogle.billen.dk/search-Igor - 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] Palette component question
reading javadoc helps :)/** * @param id * component id * @param model * model representing collection of user's selections * @param choicesModel * model representing collection of all available choices * @param choiceRenderer * render used to render choices * @param rows * number of choices to be visible on the screen with out * scrolling * @param allowOrder * allow user to move selections up and down */ public Palette(String id, IModel model, IModel choicesModel, IChoiceRenderer choiceRenderer, int rows, boolean allowOrder) -Igor - 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] beginners question: wicket and sessions
On 8/14/06, Korbinian Bachl [EMAIL PROTECTED] wrote: we like dirty() and havent had any complaints so far save this one. you can always do: MySession { public void sync() { dirty(); } } :) sure i can do this... i just meant u usuallydont think about snycronising whenseeing a dirty() - called functioni think dirty() is quiet standard. it tells the object that you changed it and now it needs to do whatever it needs to do to react to that. aop sounds nice, if there was an intercepor for change to any field value in any object in this instance we might consider it. we are not aop wizs so maybe there is one and we dont know about it. im neither,but you could call it everytime a page is processed?yes we could, but that would cause a ton of unnecessary replications and take away a lot of bandwidth inside the cluster. -Igor - 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] Form-question
Does this thread apply? (http://www.nabble.com/ajax-failed-to-update-a-component-%28wicket-1.2%29-tf1844050.html#a5033398) /Gwyn On 13/08/06, Mats Norén [EMAIL PROTECTED] wrote: What I want the following code to do is to iterate all propertyTypes and create or lookup the appropriate property on my Person-object and create a TextField for each one. I've defined a model for the propertyTypes and a model for a TeamPerson-object which contains my Person. Everything works fine except that the setObject(Component c, Object o) in PersonPropertyModel is never called. On screen the form renders and look fine but nothing gets written back. Would appreciate another pair of eyes on this. IModel propertyTypes = new LoadableDetachableModel() { protected Object load() { return userService.allPropertyTypes(); } }; ListView dynamicProperties = new ListView(dynamicProperties, propertyTypes) { protected void populateItem(ListItem item) { TextField valueField = new TextField(value); valueField.setOutputMarkupId(true); FormComponentFeedbackBorder feedbackBorder = new FormComponentFeedbackBorder(feedback); feedbackBorder.setRenderBodyOnly(true); feedbackBorder.add(valueField); item.add(feedbackBorder); Label label = new Label(propertyType.name); label.add(new AttributeModifier(for, true, new Model(valueField.getId(; item.add(label); } protected IModel getListItemModel(IModel listViewModel, int index) { PropertyType pt = (PropertyType) super.getListItemModel(listViewModel, index).getObject(null); return new CompoundPropertyModel(new PersonPropertyModel(EditTeamPersonPanel.this.getModel(), pt)); } }.setReuseItems(true); public class PersonPropertyModel extends AbstractModel { private final IModel teamPerson; private final PropertyType propertyType; public PersonPropertyModel(IModel teamPersonModel, PropertyType propertyType) { this.teamPerson = teamPersonModel; this.propertyType = propertyType; } public Object getObject(Component c) { logger.info(Calling getObject for component: + c.getId()); TeamPerson tp = (TeamPerson) teamPerson.getObject(c); Person person = tp.getPerson(); PersonProperty pp = person.getPropertyOfType(propertyType); if (pp == null) { logger.info(Adding new property); pp = new PersonProperty(); pp.setPerson(person); pp.setPropertyType(propertyType); } return pp; } public void setObject(Component c, Object o) { TeamPerson tp = (TeamPerson) teamPerson.getObject(c); Person person = tp.getPerson(); logger.info(Calling setObject for property: + ((PersonProperty) o).getPropertyType().getName()); person.setPropertyOfType((PersonProperty) o); } public void detach() { super.detach(); teamPerson.detach(); } } /Mats - 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] Woogle and Woogle
http://www.gujian.net/woogle/http://woogle.billen.dk/search:) - 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] AjaxEventBehavior + TR element + IE6
Igor Vaynberg wrote: also i tried wrapping tr and td in divs/spans and that did not help at all either. i wish you better luck, it would be great to have a solution for this but im not holding my breath. I have a work around, Its not quite as elegant as directly updating the TR element though. I used the dojo publish/subscribe event framework. I created a EventBehavior, somewhat similiar to the existing AjaxEventBehavior. It allows me to add a onClick() event to each TR element/Item of my table, that publishes a message using dojo.event.topic.publish(..,..,..) with the row number. I then extended AbstractDefaultAjaxBehavior to call dojo.event.topic.subscribe during the onload() event of the page. I register the getCallbackScript with the dojo subscribe method to update the component that I added the Behavior to. I also pass the row index from the publish message as a parameter in the callback url. Once the callback is made I first pull out the selected row index from the url parameter, and then update the table. It seems to work fine on Firefox and IE6, and solves the problem of having duplicate rows appearing to be selected, since all the TR elements are getting updated with the callback. Hopefully this is helpful to someone. -Lorin On 8/11/06, *Pierre-Yves Saumont* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Lorin, Quoting Igor : you cannot update tr/tbody/etc tags via outerhtml (see http://www.nabble.com/Ajax-Submit-default-to-Non-Ajax-Submit---tf2081101.html#a5751334 http://www.nabble.com/Ajax-Submit-default-to-Non-Ajax-Submit---tf2081101.html#a5751334) I had a similar problem with TBODY. Although it was supposed not to work, it worked in Firefox, but not in IE6 (which was quite confusing). For me, the solution was to use the whole table as a target or wrap it in another container and use that lat one as teh target. Perhaps you could wrap the row content in a container. (I do not know if this would cause problem in HTML) Alternatively, you could wrap each TD content in a SPAN or DIV and add each one to the target. I am working myself on such an example (a table where you can for example select a row, drag it between others to reorder and drag it on a dustbin icon to delete it, and so on, but I have not yet reach that point !) Pierre-Yves Lorin Metzger a écrit : Hi, I was trying to create a DataTable that allowed row selection, by adding a AjaxEventBehavior to the Item of a DataTable.This works fine with Firefox 1.5, but I'm having problems with IE6. The onEvent() method gets called when the user clicks a row in the table, but calling AjaxRequestTarget.addComponent(item); does not cause the table item to be updated to indicate that it has been selected in IE6. Similarly as a test calling AjaxRequestTarget.addJavascript(alert(\This is a javascript Alert\)); Does not get executed in IE6. This only seems to apply to the table Item or TR element, in IE6. I can add a AjaxEventBehavior to the table itself, and the table gets updated when addComponent() is called, and the addJavascript() gets executed as expected even in IE6. Does anybody know if this is a limitation with IE6? A crude example of what I'm trying do is shown below. Thanks for any help you can provide. int selected_row = -1; DataTable table = new DataTable(..., ..., ..., ...) { protected Item newRowItem(String id, final int index, IModel model) { final Item item = super.newRowItem(id, index, model); item.add(new AjaxEventBehavior(onclick) { protected void onEvent(AjaxRequestTarget target) { selected_row = index; target.addComponent(item); } }; item.add(new SimpleAttributeModifier(class, selected) { public boolean isEnabled() { return index == selected_index; } }; } }; -Lorin - 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
Re: [Wicket-user] Woogle and Woogle
Hehe, yeah I'm not very original. Perhaps we should vote for a different name? Any good surgestions?- FrankOn 8/14/06, Alexandre Bairos [EMAIL PROTECTED] wrote: http://www.gujian.nI'm not saying et/woogle/ http://woogle.billen.dk/search:) -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.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] Form-question
Not really, I'm not using any Ajax-stuff or anything like that. How do you mean? /Mats On 8/14/06, Gwyn Evans [EMAIL PROTECTED] wrote: Does this thread apply? (http://www.nabble.com/ajax-failed-to-update-a-component-%28wicket-1.2%29-tf1844050.html#a5033398) /Gwyn On 13/08/06, Mats Norén [EMAIL PROTECTED] wrote: What I want the following code to do is to iterate all propertyTypes and create or lookup the appropriate property on my Person-object and create a TextField for each one. I've defined a model for the propertyTypes and a model for a TeamPerson-object which contains my Person. Everything works fine except that the setObject(Component c, Object o) in PersonPropertyModel is never called. On screen the form renders and look fine but nothing gets written back. Would appreciate another pair of eyes on this. IModel propertyTypes = new LoadableDetachableModel() { protected Object load() { return userService.allPropertyTypes(); } }; ListView dynamicProperties = new ListView(dynamicProperties, propertyTypes) { protected void populateItem(ListItem item) { TextField valueField = new TextField(value); valueField.setOutputMarkupId(true); FormComponentFeedbackBorder feedbackBorder = new FormComponentFeedbackBorder(feedback); feedbackBorder.setRenderBodyOnly(true); feedbackBorder.add(valueField); item.add(feedbackBorder); Label label = new Label(propertyType.name); label.add(new AttributeModifier(for, true, new Model(valueField.getId(; item.add(label); } protected IModel getListItemModel(IModel listViewModel, int index) { PropertyType pt = (PropertyType) super.getListItemModel(listViewModel, index).getObject(null); return new CompoundPropertyModel(new PersonPropertyModel(EditTeamPersonPanel.this.getModel(), pt)); } }.setReuseItems(true); public class PersonPropertyModel extends AbstractModel { private final IModel teamPerson; private final PropertyType propertyType; public PersonPropertyModel(IModel teamPersonModel, PropertyType propertyType) { this.teamPerson = teamPersonModel; this.propertyType = propertyType; } public Object getObject(Component c) { logger.info(Calling getObject for component: + c.getId()); TeamPerson tp = (TeamPerson) teamPerson.getObject(c); Person person = tp.getPerson(); PersonProperty pp = person.getPropertyOfType(propertyType); if (pp == null) { logger.info(Adding new property); pp = new PersonProperty(); pp.setPerson(person); pp.setPropertyType(propertyType); } return pp; } public void setObject(Component c, Object o) { TeamPerson tp = (TeamPerson) teamPerson.getObject(c); Person person = tp.getPerson(); logger.info(Calling setObject for property: + ((PersonProperty) o).getPropertyType().getName()); person.setPropertyOfType((PersonProperty) o); } public void detach() { super.detach(); teamPerson.detach(); } } /Mats - 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 - Using Tomcat but need to do more? Need to support web services,
[Wicket-user] Voicetribe open beta
Voicetribe is in open beta. (Now you can finally figure out what it is.) http://www.voicetribe.com/ Sign up for an account, pop in a DVD, and record something. Don't worry, you can't possibly say, Testing, 1 ... 2 ... 3 any worse than I do. All the non-serious recordings will be scrapped when the beta is over. Or if you're ready to leave your mark in the history of film commentary, please, be our guest! What am I talking about? Go to the site and see for yourself. Yes, it's in Wicket. No, it's not a scooter! Nathan - 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] AbstractRequestTargetUrlCodingStrategy implementation
Hello all, What I would like to have is a sitewhere user-specific feature pages map to hierarchical URLs. For example:* /site/user/karl/blog/2006/08/14 maps to BlogViewer(bob, "2006", "08", "14")* /site/user/karl/content/BestEssayEver maps to ContentViewer(fred, "MyLifeStory")* /site/user/fred/content/BestEssayEver maps to ContentViewer(fred, "BestEssayEver") I could "cheat" and use Bookmarkable pages but this would leave the users also being passed as strings-- I'd rather resolve them ahead of time and pass the pages the real Actor instances. In order to do that, I thinkI'll have to write an implementation of AbstractRequestTargetUrlCodingStrategy that encodes and decodes the pages. Also, I will have to have a "guarantee" that each of the mounted pages has a constructor in the form of Constructor(user, string[] params). The AbstractRequestTargetUrlCodingStrategy shouldn't be all that hard to write, but I think the aforementioned "guarantee" will require an implementation of IRequestTarget similar to IBookmarkablePageRequestTarget that stores the request's parameters for the pages. From what I can see, this would also be simple to write as it seems to be mostly a data-storage class. However, I am unsure of how to "wire up" Wicket to use my new IRequestTarget implementation once I have completed it. Can anyone help me with that? I would also really appreciate any insight/links someone could provide on how Wicket's entire URLmapping scheme works-- I haven't been able to find any architecture documents or anything that explain this in a general sense. I'm used to using IIS and writing URL filters so this is pretty new territory for me. Thanks in advance, Karl - 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