Re: Changing IDEs to eclipse

2007-10-26 Thread Maurice Marrink
We use this plugin to run our apps with tomcat. http://www.eclipsetotale.com/tomcatPlugin.html No hassle with deploying a war, automatic class reloading, no special main class required, its really quite nice. Maurice On 10/26/07, Ballist1c [EMAIL PROTECTED] wrote: Yeah i have had a look, and

Re: AccessControlException whenstarting Wicket1.3

2007-10-25 Thread Maurice Marrink
Looks like tomcat is running under a securitymanager. according to the wiki you might need to add a few permissions, however they did not mention anything about mbeans. http://cwiki.apache.org/WICKET/java-security-permissions.html Anybody else been here before? Maurice On 10/25/07, Peter

Re: Accessing PageMap ?

2007-10-24 Thread Maurice Marrink
What johan means is that you don't have to call getUser in the onbeginrequest because your pages will already call getUser. hence the user will be lazily loaded and possibly not on every request, just when you need to. As opposed to calling getUser in the onbeginrequest where it will be loaded

Re: Double intercept

2007-10-19 Thread Maurice Marrink
Not sure why you would want the double redirect . but here goes. Use either Swarm, Auth-roles or a custom security implementation to redirect you to a login page. After sign-in use setResponsePage to redirect the user to your other page. In that page you can then return the user to the

Re: IAuthorizationStrategy and DropDownChoice

2007-10-17 Thread Maurice Marrink
Did you notice this method in AbstractChoice? protected boolean isDisabled(final Object object, int index, String selected) It is designed to do exactly what you want. In Wicket 1.3 only, in wicket 1.2 you need to override protected void appendOptionHtml(AppendingStringBuffer buffer, Object

Re: authorize - hasAny / hasAll ?

2007-10-17 Thread Maurice Marrink
Can't you create a role that implies all the other roles and then specifically check for that role? Maurice On 10/17/07, Eelco Hillenius [EMAIL PROTECTED] wrote: The wicket-auth project is intended more like an example then a full fledged project. Best thing you can do is just copy the things

Re: Wicket 1.3 - JVM 1.4

2007-10-11 Thread Maurice Marrink
Indeed, wasp and swarm are compiled against jdk 1.4. However, as much i like you to use swarm, swarm is not a drop in replacement for auth-roles. So you might want to consider the pro's and con's before you do that. More info about swarm can be found here

wicket-contrib-tinymce problem with multiple editors

2007-10-08 Thread Maurice Marrink
Hi, I would like to use wicket-contrib-tinymce in our project but am having a bit of a problem. I am using the 1.0 version from sourceforge in our wicket 1.2.x project. The problem is that in the html the id of the textarea is set to the markupid from the component, where TinyMCESettings expects

Re: wicket-contrib-tinymce problem with multiple editors

2007-10-08 Thread Maurice Marrink
Costan [EMAIL PROTECTED] wrote: Maurice, the issue was fixed in 1.3 only, i'll take a look and fix it in 1.2 branch as well. /iulian On 10/8/07, Maurice Marrink [EMAIL PROTECTED] wrote: Hi, I would like to use wicket-contrib-tinymce in our project but am having a bit of a problem. I

Re: Wicket Meetup Amsterdam: a proposal

2007-10-05 Thread Maurice Marrink
I Like that idea, especially for all those wicket stuff projects out there. If anyone has any questions / problems about / with wasp or swarm they can not / will not ask on the mailing list, they are free to ask me on the conference and I'll do my best assist them. If they bring there projects

Re: hot redeploy of java classes

2007-10-05 Thread Maurice Marrink
Hot reloading of classes is already supported in the jvm. it just requires a debug connection if i understand it all correctly. for instance we use the sysdeo tomcat plugin in eclipse which starts tomcat in debug mode every time we change some code tomcat automatically uses the new class. Well up

Re: Adding a Link for a Whole ListItem

2007-10-03 Thread Maurice Marrink
Yes you can, The trick is to extend ListItem and have it implement ILinkListener you can then add the onclick behavior through an attributemodifier or override oncomponenttag. To prevent having to make a subclass per page you should make the onLinkClicked method in your listitem redirect to a

Re: Context-sensitive roles

2007-09-19 Thread Maurice Marrink
in our own application to determine for what departments a user has certain rights. Maurice On 9/19/07, Maurice Marrink [EMAIL PROTECTED] wrote: Swarm will work just fine for what you want. You should create a new ISecurityCheck that will wrap another build in check (probably

Re: Wasp/Swarm Questions was Re: Component parent null after replace

2007-09-11 Thread Maurice Marrink
fragments based on security is even more elegant then id's, but try getting time to refactor that ;) Maurice -Anthony On Sep 9, 2007, at 6:12 PM, Maurice Marrink wrote: Allow me to hijack this topic because my eye sees the magic word ISecureComponent :D Glad to come across another user

Re: Wasp/Swarm Questions was Re: Component parent null after replace

2007-09-11 Thread Maurice Marrink
Martijn, you are absolutely right, i forgot we moved the user from the session to the requestcycle. Just keep the id for your user in the session and keep the actual user for this request in the requestcycle. This way each thread will have its own instance of the user. Maurice On 9/11/07,

Re: Wasp/Swarm Questions was Re: Component parent null after replace

2007-09-11 Thread Maurice Marrink
on the requestcycle? It's not obvious from the javadocs. Is there a wicket way? -Anthony On Sep 11, 2007, at 10:05 AM, Maurice Marrink wrote: Martijn, you are absolutely right, i forgot we moved the user from the session to the requestcycle. Just keep the id for your user

Re: Page Redirection (Login)

2007-09-09 Thread Maurice Marrink
What you are describing only makes sense if the loginpanel is located on the loginpage. Typically the redirectToInterceptPage works by storing the current page in the session before going to the new page, the stored page is retrieved and set as the new destination when

Re: Component parent null after replace

2007-09-09 Thread Maurice Marrink
Allow me to hijack this topic because my eye sees the magic word ISecureComponent :D Glad to come across another user of Wasp and Swarm. Any comments / questions about them? Maurice On 9/9/07, Igor Vaynberg [EMAIL PROTECTED] wrote: heh, seems a lot of people run into it. the short is that you

Re: Wicket Acegi Integration.

2007-08-23 Thread Maurice Marrink
There is no reason why Acegi should not be able to integrate with swarm as long as you just use it for authentication (like wicket-auth-roles does). In fact i think that by following the auth-roles tutorial and replacing the auth-roles components with there swarm counterpart you should be getting

Re: copy from one IModel to another

2007-08-17 Thread Maurice Marrink
The Form already does this, is there some other place you need to do this? There is no other nice / wicket way to do this, so if you need this to work when setting the value programatically i'm afraid you will have to do some serious model coding yourself. and i don't think compoundpropertymodel

Re: nuke the sourceforge lists!

2007-08-14 Thread Maurice Marrink
Please remove the users, or at least me from the sourceforge lists :) Maurice On 8/13/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Hey Martijn, others, Can we go ahead and remove all users from the sourceforge lists and make sure no-one can every subscribe again? Or is there a better way?

Re: Authentication in Webapp and Wicket documentation...

2007-08-09 Thread Maurice Marrink
I'll let one of the developers go into more detail about the documentation issue :) Regarding security there are several sub projects for you to choose. and i would like to refer to this page for an overview of the differences

<    1   2   3   4   5