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

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: 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: 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: 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: 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: 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: 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: 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

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 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

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: 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: 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: 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: 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: wicket:enclosure and authorization

2007-11-02 Thread Maurice Marrink
On Nov 2, 2007 3:26 AM, Igor Vaynberg [EMAIL PROTECTED] wrote: if we rename it then we should also rename Component.RENDER action to Component.VISIBLE Perhaps something for after 1.3 is released? Maurice - To unsubscribe,

Re: Problem with wicket authentication

2007-11-06 Thread Maurice Marrink
You are using the wrong authorization framework! :) No seriously now. I don't know what is wrong with your code, although the authenticate method might give some useful debugging info. There is however a second authorization framework for wicket called Swarm. you might want to check it out.

Re: Problem with wicket authentication

2007-11-07 Thread Maurice Marrink
Swarm is designed to be plain and simple. In short this is what you need to do: 1 implement Principal (i could see about a reasonable default implementation , but my guess is you want to store this in a database anyway and i am not sure i want a dependency on jpa) 2 create policy files 3 implement

Re: Popup parent comunication

2007-11-07 Thread Maurice Marrink
Are you using the ModalWindow? in that case you need to set the PageCreator to return your page, don't use panels. Second you need to set a callbackhandler for the windowclose event. There you must update your combo. Maurice On Nov 7, 2007 12:09 PM, serban.balamaci [EMAIL PROTECTED] wrote:

Re: Popup parent comunication

2007-11-07 Thread Maurice Marrink
if your modal dialog contains ajax tabs it should work, but all your user interaction from withing the dialog must be ajax. Maurice On Nov 7, 2007 1:50 PM, serban.balamaci [EMAIL PROTECTED] wrote: I cannot use the modal windows. They are plain popups. I do not know if there is a difference

Re: Popup parent comunication

2007-11-07 Thread Maurice Marrink
Not entirely sure about this, but i think this is because wicket is smart enough to figure out it has already sent the header, so it won't send it again. If you want to invoke that script again you should trigger it from your ajax call with target.appendJavaScript(). Maurice On Nov 7, 2007 6:11

Re: Popup parent comunication

2007-11-08 Thread Maurice Marrink
Ok, this is where i have to step aside and let the real wicket folks take over :) I have absolutely no clue as to what is going on here. Maurice On Nov 8, 2007 9:24 AM, serban.balamaci [EMAIL PROTECTED] wrote: I forgot to look in the ajax console. Here is what it says: INFO: Initiating Ajax

Re: Examples of using detachable models?

2007-11-12 Thread Maurice Marrink
The trick is to let the models do the reloading by id part for you. If you take a look at LoadableDetachableModel you see it has an abstract load() method. A very common implementation would be this: public Object load() { return myDao.get(Movie.class,movieId); } of course you have to make the

Re: Search Form and Search List on one page

2007-11-12 Thread Maurice Marrink
In general you don't let the filterbar provide the list of results but have it update a filter bean. This filter is then used inside your dataprovider to get the list of results. Maurice On Nov 13, 2007 4:16 AM, Joshua Jackson [EMAIL PROTECTED] wrote: Dear all, Is it possible to have a Page

Re: Submit form and close Modal Window

2007-11-16 Thread Maurice Marrink
Nope, don't think so. But you can always use an AjaxSubmitLink or AjaxSubmitButton to submit the form. On a more general note: all activity inside the modaldialog should be ajax. Maurice On Nov 15, 2007 5:03 PM, Marco Aurélio Silva [EMAIL PROTECTED] wrote: Hi I'm having problems to close a

Re: Swarm and Acegi

2007-11-17 Thread Maurice Marrink
On Nov 16, 2007 5:26 PM, Johan Compagner [EMAIL PROTECTED] wrote: and does it really work? Why wouldn't it work? For our projects we can store our users in our own database and do our own authentication, so i don't really have a need for it (yet :)). But i can certainly see people having to

Re: Changing the model of a ListView item to use CompoundPropertyModel

2007-11-17 Thread Maurice Marrink
Personally i prefer overriding protected IModel getListItemModel(final IModel listViewModel, final int index) which has the same effect but allows you to create a reusable subclass from listview which always uses a compoundpropertymodel. you can simply do return new

Wicket-security 0.1-beta1 released

2007-11-19 Thread Maurice Marrink
Beta1 has just been released for the following projects. Wasp Swarm and the accompanying Examples. The files are available on the wicketstuff maven repository http://wicketstuff.org/maven/repository/ And on sourceforge http://sourceforge.net/project/showfiles.php?group_id=134391 The live examples

Re: Wicket-security 0.1-beta1 released

2007-11-19 Thread Maurice Marrink
, James. On Nov 19, 2007 11:25 AM, Maurice Marrink [EMAIL PROTECTED] wrote: Beta1 has just been released for the following projects. Wasp Swarm and the accompanying Examples. The files are available on the wicketstuff maven repository http://wicketstuff.org/maven/repository

Re: Add Form components

2007-11-20 Thread Maurice Marrink
This happens because you gave your form a compoundpropertymodel. which by default is used by any child component of the form unless it has its own model explicitly set. the solution is thus to give the confirmpassword field another model. this can be a very simple model like new Model(); Then you

Re: Wicket Iolite, maven guru wanted

2008-07-01 Thread Maurice Marrink
I wouldn't presume calling myself a maven guru :) but i recently build an archetype myself too. I wonder why you have to use resource in your archetype. i get that your archetype is a maven multiproject but i don't see how using resource is better then using source. I am just guessing here but

Re: Set attributes on option in a DropDownChoice

2008-07-02 Thread Maurice Marrink
Use Select and SelectOption components http://jweekend.co.uk/dev/ArticlesPage/ Maurice On Wed, Jul 2, 2008 at 3:08 PM, Søren Andersen [EMAIL PROTECTED] wrote: This is my first post to this mailing-list, so I hope it's not too stupid. :-) I'm working on an application using DropDownChoice.

Re: Enable / Disable Container using AJAX

2008-07-03 Thread Maurice Marrink
AFAIK there is no is such thing as isEnabledInHierarchy like there is for visibility. You can however use an IVisitor to quickly traverse all child components of the container and set them to enabled / disabled. If you do this in the onBeforeRender of the container you get pretty much the behavior

Re: PropertyModel implementing IComponentInheritedModel

2008-07-07 Thread Maurice Marrink
Have you seen BoundCompoundPropertyModel? It sounds like you are looking for that behavior. Maurice On Sun, Jul 6, 2008 at 9:42 AM, Thomas Kappler [EMAIL PROTECTED] wrote: Thanks, Johan. Perhaps I wasn't clear enough about the motivation. On Sun, Jul 6, 2008 at 6:51 AM, Johan Compagner

Re: modal CloseButtonCallback returning old value

2008-07-08 Thread Maurice Marrink
If you have a quickstart someone could take a look at it. Maurice On Mon, Jul 7, 2008 at 9:43 PM, taygolf [EMAIL PROTECTED] wrote: Still having this issue. Can anyone tell me what it might be. I think it is a cache issue but I am really not sure Thanks T taygolf wrote: hey guys. I

Re: Binding property of a component

2008-07-08 Thread Maurice Marrink
Sorry, there is nothing currently in wicket that does what you want. PropertyModel might get you there partially but you would still need to hack a lot to get it working the way you want. Maybe there is an external library that does what you want, i don't know. But whatever solution you eventually

Re: modalWindow disable drag drop

2008-07-13 Thread Maurice Marrink
Not at the moment AFAIK. You could file an RFE. Maurice On Sat, Jul 12, 2008 at 9:38 PM, Beyonder Unknown [EMAIL PROTECTED] wrote: Hi Users, Is there a way to make the modalWindow unmovable? (disable the drag and drop?). Thanks, Allan -- The only constant in life is change.

Re: Changing the DatePattern in DataTable

2008-07-16 Thread Maurice Marrink
Extend one of the defaultcolumns, like propertycolumn, and override onpopulateitem. Something like this: public void populateItem(Item item, String componentId, IModel model) { item.add(new Label(componentId, createLabelModel(model)) {

Re: swarm/wasp - using guest auto login

2008-07-18 Thread Maurice Marrink
Hmm, usually there is no need to change the guest permissions on the fly. In that case you can just implement ISecurePage on every page that needs to be secure and not on the guest pages. On Fri, Jul 18, 2008 at 10:14 AM, Gabriel Bucher [EMAIL PROTECTED] wrote: hi all, I did some test to

Re: Field level Authorization strategy suggestions?

2008-07-19 Thread Maurice Marrink
Well, there are a couple directions you can take. 1 If the number of admin fields is relatively small you could try grouping those fields together in a panel for each page that has these admin fields and then simply apply your security to the panel instead of to the individual fields. (Works best

Re: modal window navigation?

2008-07-20 Thread Maurice Marrink
For extra credit... what is the easiest way to make the modal window background darker? Do I need to extend the modal window and include a different CSS file? what is the best practice for this kind of thing? thanks! ryan Making the background darker is a bit tricky but it can be done in

Re: How to create a Popup Window with a submit Link (Or at least get the similiar functionality)?

2008-07-21 Thread Maurice Marrink
Try an AjaxSubmitLink. And make sure that page2 is using the models that page 1 uses to store the dates in. If you want to o back and forth between those 2 pages it is a good idea to pass a page reference between them so when they are serialized they don't get out of sync with each other. Maurice

Re: How to create a Popup Window with a submit Link (Or at least get the similiar functionality)?

2008-07-22 Thread Maurice Marrink
On Tue, Jul 22, 2008 at 7:51 PM, srizmi [EMAIL PROTECTED] wrote: Got a couple of questions: 1. BookmarkablePageLink - shouldn't events be exposed so that the target page [ page 2 in Joe's example ] is bookmarkable and still the user inputs could be passed as pageParameters?

Re: Having problem in modal window.setWindowClosedCallback

2008-07-27 Thread Maurice Marrink
There are some things not entirely clear from your code, that and the fact that i have never worked with radio or radiogroup before makes any answer i can give an estimated guess at most, but here goes :). What i gather from the code in radiogroup i would say that the value is automatically set

Re: Page specific authorization

2008-07-27 Thread Maurice Marrink
On Sun, Jul 27, 2008 at 4:30 PM, Benny Weingarten [EMAIL PROTECTED] wrote: Hello. First let me congratulate this forum - I have always gotten wonderful responses. In my application I have a bookmarkable picture viewing page. That page should only be viewed by users who have permission. The

Re: Getting User from Session

2008-07-28 Thread Maurice Marrink
Yes, one of the ideas behind wicket is that you create your own custom wicketsession to access your session objects in a typesafe way. Using a propertymodel like Jeremy showed is a very elegant way of getting back that information. Maurice On Mon, Jul 28, 2008 at 9:39 PM, Jeremy Thomerson

Re: Page specific authorization

2008-07-28 Thread Maurice Marrink
Nope, no other info then class is available at that time since the component is not yet fully constructed it is to dangerous to pass that around even though we could. So use a custom check in the constructor of your subclass, that way you have access to all the information you need. Maurice On

Re: Ajax File Download with Form Process and Result Refresh

2007-11-22 Thread Maurice Marrink
A regular form and an ajaxbutton should get you a long way. Assuming you have a feedbackpanel on your page. The onSubmit of your button should do something like: onSubmit(AjaxRequestTarget target) { //do calculation target.addComponent(getForm()); //somehow create and or upload pdf }

Re: TabbedPanel + authorization strategy

2007-11-27 Thread Maurice Marrink
Not sure if it is of help to you, but Swarm has an example on how to do this: http://wicketstuff.org/wicketsecurity/tabs/ You probably want the hide tabs option. Source is available at https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-security-examples Maurice On Nov 27,

Re: Single sign on

2007-11-28 Thread Maurice Marrink
Not sure if you will be able to use acegi with .net and php. But if that works i see no reason why you could not use it as single sign on. As for cas i have no experience with that. Main thing you need to take care of is that whatever framework you use for single sign on. You have to take into

Re: Single sign on

2007-11-28 Thread Maurice Marrink
the requests and authenticate or that some other thing perhaps CAS should intercept requests pass them onto wicket if not authenticated etc... I'll give some feedback of what I find out.. regards Nino Maurice Marrink wrote: Not sure if you will be able to use acegi with .net and php

Re: having problem using wicket wizard in a modal window

2007-11-29 Thread Maurice Marrink
That is because you are using normal links / form submits. If you use ajax and stay on the same page (do some panel replacement) you won't get that message. Alternatively i do believe there is a setting to turn that message off, somewhere. Maurice On Nov 29, 2007 12:51 AM, narup [EMAIL

Re: parameters in Form set to null after coming back from RestartResponseAtInterceptPageException

2007-12-07 Thread Maurice Marrink
No mistake. Wicket does not remember any params when storing an url to later return to. I had the same problem a while back and after asking johan about it and finding out it was not possible we worked around the problem by not doing it. Something that might work for you is storing the request

Re: Wish list for 1.4

2007-12-12 Thread Maurice Marrink
Make Swarm (or at least Wasp) part of wicket core. Hey, its a wish list, right? :) Maurice On Dec 12, 2007 11:56 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: add that to the wishlist with a description of what it is johan -igor On Dec 12, 2007 12:41 PM, Johan Compagner [EMAIL PROTECTED]

Re: Where to apply a general security policy

2007-12-13 Thread Maurice Marrink
Actually wicket already does that for you. It does so by delegating to the IAuthorizationStrategy. The default one just allows everything. Maurice On Dec 13, 2007 1:36 PM, Christopher Hlubek [EMAIL PROTECTED] wrote: AFAIK you could use a custom WebRequestCycle that checks your security policy

Re: Where to apply a general security policy

2007-12-13 Thread Maurice Marrink
you could take a look at the IAuthorizationStrategy but that would basically mean building your own security framework from scratch. A better solution would be to use either Wicket-Auth-Roles or Swarm as your security framework. Neither is centralized, both are geared towards securing individual

Re: Two home pages?

2007-12-16 Thread Maurice Marrink
Or create a single page used by both user as an entry point and have different menu options visible depending on the user. Hint: a security framework like swarm can easily do this. :D ;) http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Security Maurice On Dec 16, 2007 5:02 PM, Martijn

Re: Two wicket applications in one spring context

2007-12-22 Thread Maurice Marrink
As the other members suggested, use one app and have your security handle the logic for deciding what to show. There are currently 2 security frameworks (that i know of) for wicket to choose from. Take a look at this site to see which security framework suits your needs better.

Re: Eclipse Hot Swap Issue?

2007-12-24 Thread Maurice Marrink
Are you by any chance running on vista? If so, try running eclipse as an administrator. Maurice On Dec 24, 2007 2:08 PM, oliverw [EMAIL PROTECTED] wrote: Happens with the latest JDK too and only with Wicket Applications. Johan Compagner wrote: This is a prety serious error, try

Re: Eclipse Hot Swap Issue?

2007-12-24 Thread Maurice Marrink
Have you checked your memory? When i had a few segments of bad ram i was getting similar vm crash dumps. Maurice On Dec 24, 2007 6:15 PM, oliverw [EMAIL PROTECTED] wrote: Nope I'm running Windows XP. And strangely projects using Struts or GWT do not seem to suffer from the same problem.

Re: getPage() throws IllegalStateException: No Page found for component

2007-12-25 Thread Maurice Marrink
Usually this happens when you try to use getPage in the constructor of you panel, however in that case i find the stacktrace with the bookmarkablepagerequesttarget a bit odd. Is the panel at the time of invocation attached to a page at all? Usually you should be able to use getPage in the event

Re: OutOfMemoryError: Java heap space - AppendingStringBuffer

2007-12-28 Thread Maurice Marrink
Did you try starting your app container with extra memory, by default java does not allocate that much, a common webapp is likely to run out of memory with the default settings. Maurice On Dec 28, 2007 1:20 PM, Uwe Schäfer [EMAIL PROTECTED] wrote: Hi Artur, I suppose it isn´t the

Re: OutOfMemoryError: Java heap space - AppendingStringBuffer

2007-12-29 Thread Maurice Marrink
the permgen space param = -XX:MaxPermSize=256m Just in case. Maurice On Dec 29, 2007 3:09 PM, Artur W. [EMAIL PROTECTED] wrote: Eelco Hillenius wrote: Yes, use a profiler. Everyone who is working on a production system should regularly use a profiler and load testing tool to ensure

Re: @AuthorizeInstanciation and several roles

2008-01-02 Thread Maurice Marrink
Hi, I'm wondering what exactly about swarm you find difficult or too complex. Perhaps we can make some improvements. preventing pages in swarm to be constructed is as complex as extending SecureWebPage. Off course you need to create a policy for those 3 types of users, containing you're secure

Re: @AuthorizeInstanciation and several roles

2008-01-02 Thread Maurice Marrink
Thanks for responding, we always try to improve. On Jan 2, 2008 11:20 AM, Sébastien Piller [EMAIL PROTECTED] wrote: Well, with swarm I do need to define the policy files, which isn't trivial for me (I never saw this kind of syntax before). True, policy file is not a trivial task especially

Re: [wicket-security] LDAP integration?

2008-01-04 Thread Maurice Marrink
Yes and not exactly. wicket-security is build with plugability in mind, meaning if it does not yet exist you can build it yourself quite easily. Regarding LDAP, i myself have never worked with it but there are a couple of options you can try -use swarm and map ldap permissions to swarm principals

Re: [wicket-security] LDAP integration?

2008-01-04 Thread Maurice Marrink
may have to look for another route. Do you have a roadmap/timeline on a release date for wicket-security? -Original Message- From: Maurice Marrink [mailto:[EMAIL PROTECTED] Sent: Friday, January 04, 2008 8:36 AM To: users@wicket.apache.org Subject: Re: [wicket-security] LDAP

Re: [wicket-security] LDAP integration?

2008-01-05 Thread Maurice Marrink
= application.getStrategyFactory().newStrategy(); // throws npe } -Original Message- From: Maurice Marrink [mailto:[EMAIL PROTECTED] Sent: Friday, January 04, 2008 11:16 AM To: users@wicket.apache.org Subject: Re: [wicket-security] LDAP integration? I think there will be one more beta before we

[Announcement] Wicket Security Release Candidate has been released

2008-01-06 Thread Maurice Marrink
A release candidate has been made available on sourceforge and the wicketstuff maven repository. We did however made a little jump in the version number, the current release is version 1.3.0-rc1. There have been several questions / request about the version number and by following the wicket

Re: PagingNavigation and submit to save state

2008-01-07 Thread Maurice Marrink
I would also like to see the method return type change to AbstractLink, that way both can be used. Maurice On Jan 7, 2008 12:20 PM, Alan Romaniuc [EMAIL PROTECTED] wrote: Hi all, I have a tipical scenario with pagination, combobox in a dataview and submit buttons. I would like to save the

Re: [wicket-security] LDAP integration?

2008-01-07 Thread Maurice Marrink
to get it working properly ;o) -Original Message- From: Maurice Marrink [mailto:[EMAIL PROTECTED] Sent: Saturday, January 05, 2008 12:16 PM To: users@wicket.apache.org Subject: Re: [wicket-security] LDAP integration? You could do LoginPage extends AbstractBasePage MySecurePage

Re: [wicket-security] LDAP integration?

2008-01-07 Thread Maurice Marrink
. Thanks for your help! I will let you know how thinks turn out with ldap :o) -Original Message- From: Maurice Marrink [mailto:[EMAIL PROTECTED] Sent: Monday, January 07, 2008 11:06 AM To: users@wicket.apache.org Subject: Re: [wicket-security] LDAP integration? Do you mean that little

Re: How do you do this in wicket?

2008-01-13 Thread Maurice Marrink
Try using a normal Link instead of PageLink and do the setResponsePage stuff in the onClick. Maurice On Jan 13, 2008 9:41 PM, Martijn Dashorst [EMAIL PROTECTED] wrote: For the record: I can't smell or magically see what you do in your call to super(). I tried it in an application here, and I

Re: how I write a new component? - Wicket Authentication

2008-01-16 Thread Maurice Marrink
Or you could use one of the security frameworks for wicket. They will save you a lot of boilerplate coding and allow you to fix on what is really important: your login page and your authentication mechanism. The whole redirecting when a user is not logged in, checking for sufficient permissions

Re: Wicket blog software

2008-01-17 Thread Maurice Marrink
On Jan 17, 2008 5:12 PM, Nick Heudecker [EMAIL PROTECTED] wrote: This is something I've wanted to write as well. I have a collection of features I want it to support including: - Support for multiple roles (editor, author) Sounds like someone needs Swarm. ;) Maurice

Re: a rolling display label component

2008-01-18 Thread Maurice Marrink
I Don't there there already is such a component, but if you are interested in creating one you could extend label, override onComponentTagBody like this @Override protected void onComponentTagBody(MarkupStream markupStream, ComponentTag openTag) { replaceComponentTagBody(markupStream,

Re: WicketTester and continueToOriginalDestination

2008-01-18 Thread Maurice Marrink
Piispanen +358 45 630 2546 Senior Product Architect Conmio Ltd http://www.conmio.com Maurice Marrink wrote: I believe there is indeed a problem with continueTo... I have talked with Johan about it a long time ago, i don't recall what the problem was but ever since i am using the following

Re: WicketTester and continueToOriginalDestination

2008-01-18 Thread Maurice Marrink
I believe there is indeed a problem with continueTo... I have talked with Johan about it a long time ago, i don't recall what the problem was but ever since i am using the following work around to test continueTo behavior. // continueToOriginaldestination does not work if there is no url

Re: Dynamic Link Generation

2008-01-26 Thread Maurice Marrink
You always add all the links and then decide for each link if it should display or not. You can do this manually by having the isVisible method of your link check for an admin user or you can defer this to your security framework, swarm for instance automatically hides secure links.

Re: Wicket Security - runtime ACLs and Groups help plz

2008-01-27 Thread Maurice Marrink
There is no example application (that i know of) showing what you want. Let me recap what i think you want: You have an application (probably with a basic set of roles) You want to add plugins (probably containing several pages each requiring there own special permissions to do stuff) The extra

Re: Dynamic Link Generation

2008-01-27 Thread Maurice Marrink
I'm guessing you want an alternative to display those reports because of the problems hiding an item? Why not put some logic in your model and have it decide which items to pass to your dropdownchoice, or adjust your query that fills the model. Maurice On Jan 27, 2008 6:30 PM, mgiedt [EMAIL

Re: Dynamic Link Generation

2008-01-27 Thread Maurice Marrink
Guess i misunderstood you the first time. For a layout as you described here i recommend the following: Hard code the top level menu items and either use swarm to hide the items or use the isVisible technique i told you about. use swarm to hide tabs (http://wicketstuff.org/wicketsecurity/tabs/) or

Re: Filter data with wicket

2008-01-27 Thread Maurice Marrink
Depending on the component you use to display the list there are a few differences in putting it all together but generally you should create a bean containing all your filter options. you can then pass the bean to your query and adjust it accordingly. If you use a ListView or DataView you have to

Re: Wicket Security - runtime ACLs and Roles help plz

2008-01-28 Thread Maurice Marrink
Would you mind elaborating on what did not cut it? It probably is not going to help you but i would like to know what you felt you could not solve with swarm, maybe i can point others with a similar problem in the right direction or make some changes so future versions will be able to do that.

Re: Wicket MarkupException

2008-02-07 Thread Maurice Marrink
That is odd, it works for our component project. On tomcat that is. Either as compiled directory or as a jar. Can you give more details on what you are doing, maybe even show us the poms for your projects. Maurice On Feb 7, 2008 11:21 AM, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: I just

Re: PageExpired while ordering DataTable

2008-02-08 Thread Maurice Marrink
If I recall correctly we had a similar problem a little while ago. As it turned out the page was requested twice but only the first was rendered. The reason the page was requested twice was because we had something like this on our page img src / For some reason the absence of a valid source tag

Re: wicket-security, everybodyprincipal and only securepages

2008-02-11 Thread Maurice Marrink
also the first page a user hits after logging in (usually the home page) is a candidate. Sorry this is not correct, usually that page (the home page) is a secure page to trigger the automatic login. I was trying to find more examples of pages typically not secure but i guess besides public pages

Re: wicket-security, everybodyprincipal and only securepages

2008-02-11 Thread Maurice Marrink
I was wondering if it is possible to add an EverybodyPrincipal to the current session on session instantiation. After reading your mail again, trying to recreate the stackoverflow, i realize you said the EveryBodyPrincipal, the whole time i was reading is as AllPermissions. :-s The

Re: wicket-security, everybodyprincipal and only securepages

2008-02-11 Thread Maurice Marrink
First off i would like to see your code as it should not be possible to create a StackOverFlow. Second i am not entirely sure why you would want EVERY page to be a secure page. For instance the login page should not be a secure page, also the first page a user hits after logging in (usually the

Re: wicket-security, everybodyprincipal and only securepages

2008-02-12 Thread Maurice Marrink
On Feb 12, 2008 9:24 AM, Michael Sparer [EMAIL PROTECTED] wrote: hi maurice, thanks for your answers. The reason why I want to avoid to have two basepages (one implementing ISecurePage) is that if I wanted to change something, such as markup, in the basepage I'd have to change it at two

Re: wicket-security, everybodyprincipal and only securepages

2008-02-12 Thread Maurice Marrink
If i add an extra method isUserAuthenticated to my WaspAuthorizationStrategy, then yeah i probably could let wasp handle everything in the WaspSession class. I need to know if a user is logged in before i force the session to bind. Thnx Johan. Maurice On Feb 12, 2008 10:13 AM, Johan Compagner

Re: wicket-security, everybodyprincipal and only securepages

2008-02-12 Thread Maurice Marrink
basepage because they would not have to extend SecureWebPage -Original Message- From: Maurice Marrink [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 12, 2008 4:24 AM To: users@wicket.apache.org Subject: Re: wicket-security, everybodyprincipal and only securepages If i add an extra

Re: Harnessing Data From Components

2008-02-12 Thread Maurice Marrink
Data in wicket components is wrapped in models. You can ask a component for its model: getModel() and then ask the model for its data: getObject(). Or you can use the shortcut getModelObject() on a component. Setting data is done in a similar way. Maurice On Feb 12, 2008 3:11 PM, carloc [EMAIL

  1   2   3   4   5   >