Re: [Wicket-user] set focus on TextField
On 8/23/06, Mats Norén [EMAIL PROTECTED] wrote: Hi, I've got a panel for adding dates with an add link, when the link is clicked I replace it with a small form with a single TextField (input type=text..). What I would like to do is to set focus on the textfield when I switch panels. Is there an easy solution for this? I guess I could add an onLoadEvent but that would imply that my panel would add an onLoad-script to the page, which seems complicated. Maybe it seems complicated, but to me that looks like the nicest solution. You could have that select JavaScript right after the component as well of course. But a body onload handler combined with the component's markup id (don't forget setOutputMarkupId(true)) looks nice enough imo. Alternatively, as you are using a link, you might want to take a look at anchors. Look at Link#get/setAnchor and maybe appendAnchor. I think link.setAnchor(textfield) should work. 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 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 1.2.2
Hi all, How can I download 1.2.2 ? I found no link in wicket download page. Thanks Nili - 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] wicket 1.2.2
1.2.2 is not out yet. It will be out soon, maybe this weekend. Eelco On 8/23/06, Nili Adoram [EMAIL PROTECTED] wrote: Hi all, How can I download 1.2.2 ? I found no link in wicket download page. Thanks Nili - 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
[Wicket-user] user is logged in although not through authenticated (jsessionid)
I have an authenticated session extending DefaultAuthenticatedSession. This session authenticates the user against LDAP or DB. My SignIn page does not persist the username and password. This should imply a sign-in page displayed per session. Indeed, if the browser is closed or SignOut page invalidates the session a sign-in page is displayed. However, if I restart Tomcat and the Browser remains open, no sign-in page is displayed but instead my home page is displayed. How does DefaultAuthenticatedSession know that the user is authenticated? Thanks, Nili - 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] user is logged in although not through authenticated (jsessionid)
Tomcat serializes the session to disk when it is shut down properly. When tomcat restarts, it deserializes previously running sessions and has them available for continued use, so a restart of tomcat doesn't invalidate the session. Congratulations! You have created a restartable web application, without loosing currently active users! Martijn On 8/24/06, Nili Adoram [EMAIL PROTECTED] wrote: I have an authenticated session extending DefaultAuthenticatedSession. This session authenticates the user against LDAP or DB. My SignIn page does not persist the username and password. This should imply a sign-in page displayed per session. Indeed, if the browser is closed or SignOut page invalidates the session a sign-in page is displayed. However, if I restart Tomcat and the Browser remains open, no sign-in page is displayed but instead my home page is displayed. How does DefaultAuthenticatedSession know that the user is authenticated? Thanks, Nili - 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! Embed Wicket components in your portals! -- http://wicketframework.org - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] user is logged in although not through authenticated (jsessionid)
Congratulations! You have created a restartable web application,without loosing currently active users! :))Better then most wicket developers here. How many serialization errors i already have fixed i can't count it anymore... ;)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
[Wicket-user] Wicket 2.0, when?
There's a project that I would like to start but I like to use Wicket 2.0 for this. May I know when will the team release the first beta of Wicket 2.0? So that I can decide whether to wait for the version 2.0 or just start my project using 1.x. - 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] Wicket 2.0, when?
when will your product be released?wicket 2.0 will change here and there. But not to much i think.So if you start a new project and can live with some api changes on the road and you don't have to release within 2 or 3 months then wicket 2.0 will be a right choice.johanOn 8/24/06, Otan [EMAIL PROTECTED] wrote: There's a project that I would like to start but I like to use Wicket 2.0 for this. May I know when will the team release the first beta of Wicket 2.0? So that I can decide whether to wait for the version 2.0 or just start my project using 1.x. -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] Wicket 2.0, when?
I think 2.0 will still be out for a month or 3-4. It depends on what features we find missing, what works and not, and how many bugs need to be solved from the moment we hit beta. It would be a drag for 2.0 to be half baked so to speak, requiring another API overhaul in a couple of months. The API will change constantly, but not dramatically. i.e. I seriously doubt that *all* components will have to change again. But some minor things are bound to change. It is a matter of time and willingness to change your application to the latest and greatest: is your project due in 1 year or in 4 months? We would love it when people are going to build their applications based on 2.0 code (i.e. what is currently in svn/trunk). This way we get feedback on the api and will be able to fix it, and make the api more mature, making changes to the api in later versions less likely and intrusive. Martijn On 8/24/06, Otan [EMAIL PROTECTED] wrote: There's a project that I would like to start but I like to use Wicket 2.0 for this. May I know when will the team release the first beta of Wicket 2.0? So that I can decide whether to wait for the version 2.0 or just start my project using 1.x. - 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! Embed Wicket components in your portals! -- http://wicketframework.org - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] user is logged in although not through authenticated (jsessionid)
maybe we create those on purpose to torture you? think about it-IgorOn 8/24/06, Johan Compagner [EMAIL PROTECTED] wrote: Congratulations! You have created a restartable web application,without loosing currently active users! :))Better then most wicket developers here. How many serialization errors i already have fixed i can't count it anymore... ;)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.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] TableModels
Is there any way of building tables in wicket that models somethings exactly like its done in Swing Tables where i can code close to this: public MyTableModel(TabularObject t) { } public int getRowCount() { } public int getColumnCount() { } public String getColumnName(int column) { } public Class? getColumnClass(int columnIndex) { return String.class; } public boolean isCellEditable(int rowIndex, int columnIndex) { return false; } public Object getValueAt(int rowIndex, int columnIndex) { } DataTable is the closest Class to Tables i have seen-- It takes insanity to drive in sanity - Me Aladejebi Ayodeji A., DabarObjects SolutionsEmail: [EMAIL PROTECTED]Mobile: +234 803 589 1780Web: www.dabarobjects.com Community:www.cowblock.net - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] TableModels
this interface describes more of a data-grid/matrix type data. it can be easily created by a listview/repeater embedded in a listview/repeater much like gridview/datatables do now. just a different itnerface. -Igor On 8/24/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: Is there any way of building tables in wicket that models somethings exactly like its done in Swing Tables where i can code close to this: public MyTableModel(TabularObject t) { } public int getRowCount() { } public int getColumnCount() { } public String getColumnName(int column) { } public Class? getColumnClass(int columnIndex) { return String.class; } public boolean isCellEditable(int rowIndex, int columnIndex) { return false; } public Object getValueAt(int rowIndex, int columnIndex) { } DataTable is the closest Class to Tables i have seen-- It takes insanity to drive in sanity - Me Aladejebi Ayodeji A., DabarObjects SolutionsEmail: [EMAIL PROTECTED]Mobile: +234 803 589 1780 Web: www.dabarobjects.com Community:www.cowblock.net -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.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] J2EE declarative security and wicket...
Hi, I have seen some examples of how to write a wicket login page, but these examples do not use J2EE declarative security. Is it possible to use J2EE declarative security with wicket? Does the wicket-auth framework support this? Cheers Erik - 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] Wicket 2.0, when?
Martijn Dashorst wrote: The API will change constantly, but not dramatically. i.e. I seriously doubt that *all* components will have to change again. But some minor things are bound to change. I hope the changes will be mostly compatible, if not fully. API changes is what drove me away from Tapestry. The change from version 3 to 4 was so big that it is simply easier to learn and use wicket. Can't wicket use the approach followed by SUN which is never to change an interface in a downward incompatible way but instead to add new APIs and make old ones deprecated or extend them? I believe SUN would have been completely out of business by now if they would have changed fundamental Java APIs. - 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] Wicket 2.0, when?
it also explains why java gets its feature improvements at such a snail pace, and why generics/autoboxing are so horribly half baked (imho of course). if you are looking for stability then dont cross the major version threshold. eg we will never horribly break api between 1.2 and 1.3. our primary concern is to innovate and improve the framework - sometimes that means taking a step back and radically rethinking some concepts - which leads to huge api breaks. we save these for major versions. -IgorOn 8/24/06, Erik Brakkee [EMAIL PROTECTED] wrote: Martijn Dashorst wrote: The API will change constantly, but not dramatically. i.e. I seriously doubt that *all* components will have to change again. But some minor things are bound to change. I hope the changes will be mostly compatible, if not fully. API changesis what drove me away from Tapestry. The change from version 3 to 4 wasso big that it is simply easier to learn and use wicket. Can't wicket use the approach followed by SUN which is never to changean interface in a downward incompatible way but instead to add new APIsand make old ones deprecated or extend them? I believe SUN would have been completely out of business by now if they would have changedfundamental Java APIs.-Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket 2.0, when?
On Thu, 2006-08-24 at 20:15 +0200, Erik Brakkee wrote: Can't wicket use the approach followed by SUN which is never to change an interface in a downward incompatible way but instead to add new APIs and make old ones deprecated or extend them? I believe SUN would have been completely out of business by now if they would have changed fundamental Java APIs. Oh, please no! At some point, wicket may mature to the point where the API is stable enough for such a thing. It is still very new however, and the maintainers are constantly finding newer better ways to make wicket usable. There are so many things in the Java API that a) needs to be refactored, but can't and b) has been depreciated for years now and never removed. I really don't want to use a framework with that same kind of baggage. I think that they are doing their best by trying to keep the 1.2 branch as API stable as possible and only changing the api in trunk (2.0 branch). This makes sense as older mission critical projects that where written using wicket 1.x can continue to get updates. Hopefully, by the time you go production with your 2.0 code, 2.0's API will have been branched and stabilized and we'll be looking at 3.0 for bleeding edge. :-) -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP signature.asc Description: This is a digitally signed message part - 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] Wicket 2.0, when?
Igor Vaynberg wrote: it also explains why java gets its feature improvements at such a snail pace, and why generics/autoboxing are so horribly half baked (imho of course). if you are looking for stability then dont cross the major version threshold. eg we will never horribly break api between 1.2 and 1.3. our primary concern is to innovate and improve the framework - sometimes that means taking a step back and radically rethinking some concepts - which leads to huge api breaks. we save these for major versions. It is quite normal to have API changes with major versions, but still then it is also good practice to keep old APIs alive for some time to allow users to migrate. Hibernate for instance did it in a good way. They also made some major changes going from version 2 to 3 but did it in such a way that the old APIs were still available (classic package) and that the new APIs were practically the same, with good documentation describing how to migrate. If major redesign would be required for applications using wicket at every major release then this would be a serious obstacle for using it for commercial applications. In that case, it is probably best to stick to the standards (JSP, JSF) with really heavy home-baked frameworks on top of them (even though this approach sucks). Anyway, wicket is on a good track I think. As long as changes to existing components are minor and as long as you keep it simple. -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] J2EE declarative security and wicket...
Should be easy to do: implement a custom IRoleCheckingStrategy and use ((WebRequestCycle)RequestCycle()).getHttpServletRequest.isUserInRole. Eelco On 8/24/06, Erik Brakkee [EMAIL PROTECTED] wrote: Hi, I have seen some examples of how to write a wicket login page, but these examples do not use J2EE declarative security. Is it possible to use J2EE declarative security with wicket? Does the wicket-auth framework support this? Cheers Erik - 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] J2EE declarative security and wicket...
Like this: public class JEERolesStrategy implements IRoleCheckingStrategy { public boolean hasAnyRole(Roles roles) { HttpServletRequest request = WebRequestCycle.get().getWebRequest().getHttpServletRequest(); for (String role : roles) { if (request.isUserInRole(role)) { return true; } } return false; } } Eelco On 8/24/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Should be easy to do: implement a custom IRoleCheckingStrategy and use ((WebRequestCycle)RequestCycle()).getHttpServletRequest.isUserInRole. Eelco On 8/24/06, Erik Brakkee [EMAIL PROTECTED] wrote: Hi, I have seen some examples of how to write a wicket login page, but these examples do not use J2EE declarative security. Is it possible to use J2EE declarative security with wicket? Does the wicket-auth framework support this? Cheers Erik - 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] J2EE declarative security and wicket...
couldnt help yourself could you? :)-IgorOn 8/24/06, Eelco Hillenius [EMAIL PROTECTED] wrote:Like this:public class JEERolesStrategy implements IRoleCheckingStrategy { public boolean hasAnyRole(Roles roles) {HttpServletRequest request =WebRequestCycle.get().getWebRequest().getHttpServletRequest();for (String role : roles) { if (request.isUserInRole(role)) {return true;}}return false;}}Eelco On 8/24/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Should be easy to do: implement a custom IRoleCheckingStrategy and use ((WebRequestCycle)RequestCycle()).getHttpServletRequest.isUserInRole. Eelco On 8/24/06, Erik Brakkee [EMAIL PROTECTED] wrote: Hi,I have seen some examples of how to write a wicket login page, but these examples do not use J2EE declarative security. Is it possible to use J2EE declarative security with wicket? Does the wicket-auth framework support this? Cheers Erik - 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 easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] J2EE declarative security and wicket...
We could consider adding it as a default implementation. But then someone would have to make an example too... Eelco On 8/24/06, Igor Vaynberg [EMAIL PROTECTED] wrote: couldnt help yourself could you? :) -Igor On 8/24/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Like this: public class JEERolesStrategy implements IRoleCheckingStrategy { public boolean hasAnyRole(Roles roles) { HttpServletRequest request = WebRequestCycle.get().getWebRequest().getHttpServletRequest(); for (String role : roles) { if (request.isUserInRole(role)) { return true; } } return false; } } Eelco On 8/24/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Should be easy to do: implement a custom IRoleCheckingStrategy and use ((WebRequestCycle)RequestCycle()).getHttpServletRequest.isUserInRole. Eelco On 8/24/06, Erik Brakkee [EMAIL PROTECTED] wrote: Hi, I have seen some examples of how to write a wicket login page, but these examples do not use J2EE declarative security. Is it possible to use J2EE declarative security with wicket? Does the wicket-auth framework support this? Cheers Erik - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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] Server Push (COMET / Reverse Ajax)
Hi, I was searching the mailing lists and noticed a few comments about Reverse Ajax and COMET. Mainly jokes about who would ask about it first :) . Has anybody made any serious attempts to add DWR like reverse-ajax support to wicket? If not does anybody have any suggestions on what the best/*right* way would be to add this type of feature to wicket's framework? Thanks for any advice you can give. -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 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Override RatingPanel Property
in MyApplication.propertiesOn 8/23/06, Eelco Hillenius [EMAIL PROTECTED] wrote: In which properties file did you set that? MyRatingPanel.properties orsomething like that? EelcoOn 8/22/06, Joe Toth [EMAIL PROTECTED] wrote: I can't seem override the resource value in the RatingPanel component. Addedrating.simple=Please Rateto my properties file, but its not picking it up.Is there something else I have to do? Thanks - 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 easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Server Push (COMET / Reverse Ajax)
Hi, COMET is not implemented as a core feature at this time. I think there is a feature request open for such support with a specific implementation for Jetty. And maybe some users have created something COMET like. Do you have a specific use case where you would like to use it for? That might be a good start to investigate the options. Eelco On 8/24/06, Lorin Metzger [EMAIL PROTECTED] wrote: Hi, I was searching the mailing lists and noticed a few comments about Reverse Ajax and COMET. Mainly jokes about who would ask about it first :) . Has anybody made any serious attempts to add DWR like reverse-ajax support to wicket? If not does anybody have any suggestions on what the best/*right* way would be to add this type of feature to wicket's framework? Thanks for any advice you can give. -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 ___ 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