Re: [DISCUSS] Security Frameworks

2012-10-18 Thread Pointbreak
[X] I use Shiro Because it's simple in use and simple to integrate with Wicket or other frameworks, but still powerful enough for most security related tasks. And because I liked it more than Spring Security three years or so ago. I think Spring Security is more feature complete out of the box

update parent table model from modal window

2012-10-18 Thread steven.li
Hi all I have a listview, in the populate list Item with a link, whenever I click the link, it will pop up a modal window. when I close the modal window, I need refresh the listview's model. then when I click the save button on the page, it can load the detachable model of listview, to save

Re: update parent table model from modal window

2012-10-18 Thread Martin Grigorov
Hi, LoadableDetachableModel keeps just the primary key to be able to load the actual data from somewhere else. You need to store the new data in this somewhere else when closing the modal window to be able to reach it again later. On Thu, Oct 18, 2012 at 11:02 AM, steven.li

Re: [DISCUSS] Security Frameworks

2012-10-18 Thread Carl-Eric Menzel
[X] I use Shiro We use Shiro on our project (using wicketstuff's shiro integration and our own custom Shiro realm implementation). We use it because it gives us a permission-based approach (not just roles-based) and is more easily configured than e.g. SWARM/WASP. I also quite like the

UrlRenderer renders wrong HTTPS links

2012-10-18 Thread Dirk Forchel
First of all, sorry for messing up the Core Developer Forum with my question as well. By the way, have a look at issue https://issues.apache.org/jira/browse/WICKET-4776 first. I've adapted the solution to preserve the port and the protocol in the UrlRender in our UrlRender subclass and at the

Re: UrlRenderer renders wrong HTTPS links

2012-10-18 Thread Sven Meier
UrlRenderer is just preserving protocol and port now. If the port is wrong in the final URL, it seems HttpsMapper is requesting the wrong port. How do you set up your mappers? Regards Sven On 10/18/2012 02:01 PM, Dirk Forchel wrote: First of all, sorry for messing up the Core Developer

Re: [DISCUSS] Security Frameworks

2012-10-18 Thread Nick Pratt
[X] I use my own custom framework We rolled our own because it gave us the most flexibility (components are annotated and the permissions are kept separate from users and groups/roles). We can reconfigure the permissions on the fly (since everything is stored in the DB, cached in mem) and plug

Re: [DISCUSS] Security Frameworks

2012-10-18 Thread Jesse Long
We use an in house designed system very similar to Shiro. The security framework only works on permissions (not roles), but the permissions that a user has depends on the roles they belong to (implementation detail the framework does not care about). It also does not allow Shiro style string

Wicket 6 trees

2012-10-18 Thread Peter Diefenthaeler
Hallo, I would like to use the new wicket tree model to build a tree with different node and leaf objects. If I use an ITreeProvider I can only use one type for nodes and leaves. Is there a best practice to build a tree constisting of nodes (i.e. bag, sack) and leaves (i.e. apple, pear).

Re: Wicket 6 trees

2012-10-18 Thread Sven Meier
Hi Peter, just use the nearest common superclass. If there's no other, you'll have to use ITreeProviderObject. Sven On 10/18/2012 04:11 PM, Peter Diefenthaeler wrote: Hallo, I would like to use the new wicket tree model to build a tree with different node and leaf objects. If I use an

Netbeans + Wicket 6 + Atmosphere

2012-10-18 Thread Mats
I have installed the /NetBeans Wicket Plugin /and have tried to update the Wicket jars to 6.X.X (after creating a new web application using the Wicket framework). I'm deploying on the bundled Glassfish server. Has someone succeded in making a simple app using the Atmosphere framework like this?

Re: Editable drop down component

2012-10-18 Thread Pavel Savinov
http://www.pavelsavinov.info/2012/06/lista-desplegable-y-modificable-para.html Here you go, editable combo-box for Wicket. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Editable-drop-down-component-tp1873747p4653050.html Sent from the Users forum mailing list

RE: Wicket plugin architecture

2012-10-18 Thread Michal Wegrzyn
Thank you all for suggestions. Finally I have used Wicket's org.apache.wicket.IInitializer (as pointed Martin) together with org.apache.wicket.Application.setMetaData(MetaDataKeyT key, Object object) for configuration. Implementing more complex solution is not necessary unless you need

Re: Wicket plugin architecture

2012-10-18 Thread Martin Grigorov
On Thu, Oct 18, 2012 at 4:21 PM, Michal Wegrzyn michal.wegr...@onior.com wrote: Thank you all for suggestions. Finally I have used Wicket's org.apache.wicket.IInitializer (as pointed Martin) together with org.apache.wicket.Application.setMetaData(MetaDataKeyT key, Object object) for

RE: Wicket plugin architecture

2012-10-18 Thread Michal Wegrzyn
In Initializer implementation I do something like: PackageResourceReference logoReference = new PackageResourceReference( MyInitializer.class, img/custom_header_logo.png ); WebApplication.get().getSharedResources().add( img/custom_header_logo.png,

Re: Wicket plugin architecture

2012-10-18 Thread Bas Gooren
Michal, I wrote a mapper which mounts all resources in a package at a fixed url. This eliminates the need for a mapper per resource. See http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-alternative-to-1-4-shared-resources-class-aliases-td4652842.html Met vriendelijke groet, Kind

Adding Behavior to FormComponents

2012-10-18 Thread Nick Pratt
Im trying to automate the addition of some markup on my required FormComponents. Inside a Behavior, can I access any associated label elements of a form component so that I can attach some markup, or inject an additional span tag in between the label and the input elements? If this cant be done

Re: [DISCUSS] Security Frameworks

2012-10-18 Thread Sebastien
[x] I use my own custom framework We needed to have a group-based authentication: a relation between a secured-item (a bean, linked to a DB item) and some allowed-groups for that item. But the relation itself is quite complex to establish (because Items are in a graph), so we decided to implement

Re: Wicket 6 trees

2012-10-18 Thread tiffany
I'm new to Wicket and have created several pages and have a very rudimentary site up. I am now using version 6.1.1. Is there an example of how to implement the DefaultNestedTree and DefaultTableTree? I think if I saw code using those, I'd be off and running, but I am seriously stuck. -- View

Re: Adding Behavior to FormComponents

2012-10-18 Thread Martin Grigorov
Hi, Check org.apache.wicket.markup.html.border.BorderBehavior. On Thu, Oct 18, 2012 at 6:41 PM, Nick Pratt nbpr...@gmail.com wrote: Im trying to automate the addition of some markup on my required FormComponents. Inside a Behavior, can I access any associated label elements of a form

Integrate Reporting tools with Wicket

2012-10-18 Thread Paul Bors
Hey Wicket-ers, I would like to know what Reporting Framework would you suggest to integrate with Wicket. In the past we had our own custom reporting framework and we are now looking to replace it. Any ideas? Have any of you run into an ad-hock reporting requirement? What tools have you

Re: Integrate Reporting tools with Wicket

2012-10-18 Thread Decebal Suiu
Hi I prefer NextReports http://next-reports.com because is developed by me and a friend of mine :) The designer and engine are free. The server is a wicket application, very affordable, with support for scheduling, reports delivery via email, ftp, ssh..., real time dashboard, security and much

Behavior modifying component body

2012-10-18 Thread Jesse Long
Hi Wicket Community, I would like to modify the body of a Component from a Behavior. Specifically, I want to add: i class=icon icon-calendar/i To the beginning of the of the body of a link, eg: a href=#[here] Some other body/a I dont want to extend AbstractLink etc, I want to add this

RE: Wicket plugin architecture

2012-10-18 Thread Decebal Suiu
Hi Michal I will commit the initial version of my wicket-plugin https://github.com/decebals/wicket-plugin project in a few days (now i'm a little busy). This project is based on another project developed by me PF4J https://github.com/decebals/pf4j and is intended to add a little improvement

RE: [DISCUSS] Security Frameworks

2012-10-18 Thread Chris Colman
[ ] I use my own custom framework We rolled our own too because we needed multi-tenant support on steroids for our enterprise content management system. Eg, A group called admin can not give administer rights to all organizations in the system - only one specific organization. In other words

Re: UrlRenderer renders wrong HTTPS links

2012-10-18 Thread Dirk Forchel
Hallo Sven, I doubt it. I don't wanna blame the HttpsMapper as the mapping is done in the usual way as RootRequestMapper: Application#init() There is no magic and there were no changes at all. Since we upgraded our application from Wicket 1.5.5 to Wicket 1.5.8 and/or Wicket 6 (NOTE: we have the

show message to user when session about to expire

2012-10-18 Thread _kl_
Hi, I am working on a complex web application and one of its requirement is,when session is about to expire user should see a confirmation pop up asking him Your session is about to expire.Do you want to continue? if user click yes then the session should continue else he should be logged out.