Re: Wicket and OSGi

2011-06-23 Thread Harald Wellmann
Am 22.06.2011 22:00, schrieb Igor Vaynberg: If the page class in bundle A directly references the component class C from bundle B (and not just an interface or base class of B from another bundle X), then the bundle class loader of A can load class C by delegation. not sure if that is true.

How can I enable and track tab support?

2011-06-23 Thread César Alberto Barrera
Hello! How can I enable and track browser windows tabs support? I need to know what page have tab1 with the app, and tab2, and so on, and how many tabs opens has my user in session :) Wicket 1.5 rc4 Thank you in advance. From http://wicket.apache.org/meet/features.html Multi-tab and

need some advice

2011-06-23 Thread Decebal Suiu
Hello I have some trouble with my next wicket application. I want to create a new ecommerce application. I have the store and the admin parts. Initial, the store and admin parts are two distinct (maven) modules and two distinct application (war files) but I realize that it's hard to develop new

Xforms Controls within Wicket Application

2011-06-23 Thread sramay
Hi, Is there any means available for calling Xforms controls within wicket application for accepting and displaying the same. For displaying the same there is a means. I am finding it difficult to embed a xml input form inside a wicket application. If the question is childish please clarify

Re: wicket-auth-role LoggedIn cookie

2011-06-23 Thread kkee
Here is what I end up doing: getSecuritySettings().setAuthenticationStrategy(new DefaultAuthenticationStrategy(myLoggedIn) { private CookieUtils cookieUtils; @Override protected CookieUtils getCookieUtils() {

wicket-auth-role LoggedIn cookie

2011-06-23 Thread kkee
In 1.5-RC4.2, wicket-auth-role sign in procedure sets a cookie called LoggedIn that expires in a month. This seems to allow the user to be signed in to the application for a month even though the session has expired. How can i change this cookie's timeout or prevent it from being set? -- View

Re: CSS Change not being picked up when using TextTemplateResourceReference

2011-06-23 Thread Andrea Del Bene
Maybe is easier than this.try to override method newResource in TextTemplateResourceReference like this: @Override protected Resource newResource() { return new Resource() { private static final long serialVersionUID = 1L; @Override

Re: need some advice

2011-06-23 Thread Andrea Del Bene
HI Decebal, you should merge User and Customer classes into a single class, or you can create a common super class, for example an AbstractUser. Once you have a single class for user's authentication, you could do a single login page with a checkbox to tell apart Customer users from

Re: Wicket and OSGi

2011-06-23 Thread Igor Vaynberg
there is a jira issue with a patch. unfortunately someone has to build the classloader that can see all bundles. what is really needed here is someone taking the time to build a generic serialization mechanism for osgi. wicket's serialization is pluggable so it can be hooked into that. -igor

Re: Xforms Controls within Wicket Application

2011-06-23 Thread Igor Vaynberg
a concrete example would help here. i have no idea what you are talking about. -igor On Thu, Jun 23, 2011 at 1:26 AM, sramay nic.sr...@gmail.com wrote: Hi, Is there any means available for calling Xforms controls within wicket application for accepting and displaying the same.   For

Re: How can I enable and track tab support?

2011-06-23 Thread Igor Vaynberg
the page versioning changes in 1.5 allows this to Just Work without the developer having to know anything about it. if you want to track this you can create a simple ajax callback behavior that checks for window.tabid variable and if its not set sets it to something and callsback to the page

Re: Wicket and OSGi

2011-06-23 Thread Harald Wellmann
Am 23.06.2011 18:48, schrieb Igor Vaynberg: there is a jira issue with a patch. That's probably the one that Martin mentioned: https://issues.apache.org/jira/browse/WICKET-3737 unfortunately someone has to build the classloader that can see all bundles. what is really needed here is

Re: Wicket and OSGi

2011-06-23 Thread Martin Grigorov
Thank you, Harald! Not sure which version of Wicket you use but I'd be happy to support you for 1.5. On Thu, Jun 23, 2011 at 8:11 PM, Harald Wellmann harald.wellm...@gmx.de wrote: Am 23.06.2011 18:48, schrieb Igor Vaynberg: there is a jira issue with a patch. That's probably the one that

regarding wicketstuff push

2011-06-23 Thread vineet semwal
hellos ! i was just looking at wicketstuff push and i saw a lot of changes in api and other improvements are done ,thanks for all that ! :) as very new to the new push, could not understand the below channel creation call.. public EventType IPushChannelEventType createChannel(final EventType

Re: Wicket and OSGi

2011-06-23 Thread Brian Topping
On Jun 23, 2011, at 10:11 AM, Harald Wellmann wrote: what is really needed here is someone taking the time to build a generic serialization mechanism for osgi. wicket's serialization is pluggable so it can be hooked into that. I'll take a look at the patches, play around with the code

Re: regarding wicketstuff push

2011-06-23 Thread Sebastian
hi vineet, you are right. this is probably a left over from the refactoring we did. I just fixed it on github. regards, seb On 23.06.2011 22:58, vineet semwal wrote: hellos ! i was just looking at wicketstuff push and i saw a lot of changes in api and other improvements are done ,thanks

Re: Wicket and OSGi

2011-06-23 Thread Igor Vaynberg
something else to consider - where this gets even hairier :) user accesses a page that has a component from bundle A, the page is serialized. admin upgrades bundle A which has a new version of the component - that is not compatible serialization-wise user click back and the page needs to be

Re: Wicket and OSGi

2011-06-23 Thread Brian Topping
Good point. This could be handled by the serializer maintaining a WeakHashMap of the sessions that use a particular bundle and blocking in the bundle activator's stop method until the list is empty. But if a user was busy for an extended period, like some kind of automated scraper or

Re: Wicket and OSGi

2011-06-23 Thread Igor Vaynberg
i think the frameworks should track this. this way wicket can track what it is serializing and when it is letting it go. jetty can keep track of what it has in its http session. the serialization bundle should provide a way for bundles to tell it i am holding on to class A from bundle B and i no