Re: [MIIGRATE 1.5] Where is getSharedResources().putClassAlias(...)

2011-04-25 Thread Martin Grigorov
Please create a ticket. On Sun, Apr 24, 2011 at 12:36 PM, Alexandros Karypidis akary...@yahoo.gr wrote: Hello, Here's my next question regarding migration to 1.5. I used to publish dynamic image resources (retrieved from DB) as follows:        protected void init() {                

Specific redirect after session timeout

2011-04-25 Thread Peter Karich
Hi there, is it possible to grab the parameters (and the path) of the url and redirect the user automatically back to that page if he hits a session timeout? At the moment I'm using in my app.init() method getApplicationSettings().setPageExpiredErrorPage(SessionTimeout.class); and public

Re: [MIIGRATE 1.5] Where is getSharedResources().putClassAlias(...)

2011-04-25 Thread Alexandros Karypidis
Posted: https://issues.apache.org/jira/browse/WICKET-3640 for investigation. Is there really no alternative to this with Wicket 1.5? On Mon, 25 Apr 2011 09:19:02 +0300, Martin Grigorov mgrigo...@apache.org wrote: Please create a ticket. On Sun, Apr 24, 2011 at 12:36 PM,

Re: Nesting RepeatingView components: Possible attempt to embed component(s) error

2011-04-25 Thread Alexandros Karypidis
Hi, I actually managed to get around this by creating a component called DropDownMenu with the following HTML: html xmlns:wicket body wicket:panel span wicket:id=menu/span ul li

wicket-tree checkboxes managing

2011-04-25 Thread massimo_pugni
Hello all, I'm trying out the wicket-tree components by Sven Meier and, does anybody know if there is a way to get the root's 'checkboxes' hidden when using the 'CheckedSelectableFolderContent' content option? best regards massimo -- View this message in context:

Re: Specific redirect after session timeout

2011-04-25 Thread Clint Checketts
Have you tried a HybridUrlEncodingStrategy? That one is pretty resilient to session restarts. -Clint On Mon, Apr 25, 2011 at 2:51 AM, Peter Karich peat...@yahoo.de wrote: Hi there, is it possible to grab the parameters (and the path) of the url and redirect the user automatically back to

[osgi] package org.apache.wicket.request exported either from core and request packages

2011-04-25 Thread Daniele Dellafiore
Hi. Whe I try to start my wicket webapp from Karaf, I receive a NoClassFoundException agains Request. The problem is that my app imports the package org.apache.wicket.request from wicke.core bundle that have the package, but not the class. The fact that the same package is exported from two

Continue navigating while on submit button process stuff on the background

2011-04-25 Thread lucast
Dear Forum, I have a simple tabbed view object page with a notify button that when the user clicks on the button, it emails a long list of people with information about the concerning the object. Some objects have a list of 100+ email addresses and clicking on submit stops me from continuing

Re: Beginner problems with TabbedPanel

2011-04-25 Thread meduolis
Just tried Igor's solution with JavaScript disabled using AjaxFallbackButton Exception appears: java.lang.IllegalStateException: No Page found for component [MarkupContainer [Component id = xlsUploadForm]] Components tree: Page TabbedPanel Panel Form Button Any ideas how

Re: Continue navigating while on submit button process stuff on the background

2011-04-25 Thread MZemeck
Send your emails in a batch at a later time, or if you are using Spring you could use the new @Async annotation. From: lucast lucastol...@hotmail.com To: users@wicket.apache.org Date: 04/25/2011 08:32 AM Subject:Continue navigating while on submit button process stuff on the

Re: Continue navigating while on submit button process stuff on the background

2011-04-25 Thread MZemeck
or if you are not using Spring...use Java Futures... http://download.oracle.com/javase/6/docs/api/java/util/concurrent/Future.html From: lucast lucastol...@hotmail.com To: users@wicket.apache.org Date: 04/25/2011 08:32 AM Subject:Continue navigating while on submit button

Re: [osgi] package org.apache.wicket.request exported either from core and request packages

2011-04-25 Thread Daniele Dellafiore
I've solved this removing org.apache.wicket.request from Export-Package in wicket.core bundle jars. This works only because I'm not using request.ClientInfo class. Probablhy during runtime there will be other problems. From the OSGI perspective, having duplicate packages exported by different

Re: [osgi] package org.apache.wicket.request exported either from core and request packages

2011-04-25 Thread Daniele Dellafiore
Again, org.apache.wicket.IClusterable is in the -util bundle but the webapp looks for it in the -core bundle. There's not workaroiund for this. I think that the wicket package layout should be changed now that -util and -request bundles have been detached from -core. On Mon, Apr 25, 2011 at 2:51

Re: [osgi] package org.apache.wicket.request exported either from core and request packages

2011-04-25 Thread James Carman
On Mon, Apr 25, 2011 at 10:15 AM, Daniele Dellafiore ilde...@gmail.com wrote: I think that the wicket package layout should be changed now that -util and -request bundles have been detached from -core. From an OSGi perspective, we should probably try to make sure that packages don't span jar

Re: Could not resolve class: my.domain.favicon.ico

2011-04-25 Thread Rene Stolle
Hey Igor, this sounds logically, but what is the solution. One cannot create a class favicon.ico cause of the dot, and even if, how to place your own favicon in this case?? Rene PS: I am loving 1.5! On Wed, Apr 13, 2011 at 7:35 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: you mounted the

Re: [osgi] package org.apache.wicket.request exported either from core and request packages

2011-04-25 Thread Daniele Dellafiore
it is not. I'm hacking on the trunk to make that work. Maybe a quick solution is just change org.apache.wicket to org.apache.wicket.core in the -core bundle. Of course there are some default scope classes that works through different packages but I can just make them public for now. On Mon, Apr

Re: [osgi] package org.apache.wicket.request exported either from core and request packages

2011-04-25 Thread Daniele Dellafiore
I did it. Yes, the tough way but I did it. Now the 1.5RC3 quickstart app just started on my karaf 2.2 with the 1.5-SNAPSHOT I built. Basically I renamed the .util and .request packages in -core bundle to be .core.util and .core.request. I had to make a class public in another package under

Re: Is this a bug?

2011-04-25 Thread meduolis
input type=button value=next wicket:id=next/ Remove bolded quote :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Is-this-a-bug-tp3473469p3473539.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Is this a bug?

2011-04-25 Thread meduolis
Try to use character code #62; instead -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Is-this-a-bug-tp3473469p3473554.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: Is this a bug?

2011-04-25 Thread nimmy
no luck... since it is quoted it appears a string -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Is-this-a-bug-tp3473469p3473617.html Sent from the Users forum mailing list archive at Nabble.com. -

Re: Is this a bug?

2011-04-25 Thread Attila Király
Imho this is the issue mentioned in https://issues.apache.org/jira/browse/WICKET-3608 https://issues.apache.org/jira/browse/WICKET-3608Attila 2011/4/25 nimmy nim_sa...@hotmail.com no luck... since it is quoted it appears a string -- View this message in context:

Re: Could not resolve class: my.domain.favicon.ico

2011-04-25 Thread Alexandros Karypidis
Hello Rene, I understand that you probably currently DON'T have a favicon for your site and you are disturbed by the browser's attempt to fetch it. First of all, you should read http://en.wikipedia.org/wiki/Favicon to see what this is about. It's the icon that browser use to decorate the

Re: Is this a bug?

2011-04-25 Thread meduolis
Try this: input type=submit wicket:id=next wicket:message=value:yourLocalizedMessage / And write this 'yourLocalizedMessage' in your localization properties file like this: yourLocalizedMessage=Submit More info about localization:

Re: [osgi] package org.apache.wicket.request exported either from core and request packages

2011-04-25 Thread Martin Grigorov
Hi Daniele, Me and later Eike explained to you in the other thread you started few months ago how to solve exactly this problem. It seems you didn't read it at all. Please read again the part mentioning Wicket 1.5 RC1. On Mon, Apr 25, 2011 at 6:30 PM, Daniele Dellafiore dani...@dellafiore.net

Re: Is this a bug?

2011-04-25 Thread Martin Grigorov
Hi, On Mon, Apr 25, 2011 at 8:20 PM, meduolis meduol...@gmail.com wrote: Try this: input type=submit wicket:id=next wicket:message=value:yourLocalizedMessage / And write this 'yourLocalizedMessage' in your localization properties file like this: yourLocalizedMessage=Submit Yes, this is

Re: [osgi] package org.apache.wicket.request exported either from core and request packages

2011-04-25 Thread Daniele Dellafiore
Are you referring to this conversation? http://apache-wicket.1842946.n4.nabble.com/wicket-1-5-rc2-and-aggregate-jar-for-osgi-td3356667.html If so, I read it and answered that I'm not interested in any solution that involves the uber-jar. I do not see any advantage in that solution over a normal

Re: [osgi] package org.apache.wicket.request exported either from core and request packages

2011-04-25 Thread Martin Grigorov
It is the same conversation. You need uber-jar. At least one that combines -util, -request and -core. Everything else is optional, depending on your app needs. Can you describe what is the problem to use the uber-jar? Or what are the benefits to deploy these three jars separately in the OSGi

Re: [osgi] package org.apache.wicket.request exported either from core and request packages

2011-04-25 Thread Daniele Dellafiore
On Mon, Apr 25, 2011 at 7:20 PM, Martin Grigorov mgrigo...@apache.orgwrote: It is the same conversation. You need uber-jar. At least one that combines -util, -request and -core. Everything else is optional, depending on your app needs. Ok. As you see I read and answered to that. Can you

Re: [osgi] package org.apache.wicket.request exported either from core and request packages

2011-04-25 Thread Alexandros Karypidis
I would reverse the question and ask: why was wicket broken into multiple packages in the first place? I assume there are use cases where: - someone would need only the content of wicket-core and none of the extras - someone would need only wicket-core + wicket-request - someone would need

Re: [osgi] package org.apache.wicket.request exported either from core and request packages

2011-04-25 Thread Martin Grigorov
On Mon, Apr 25, 2011 at 9:29 PM, Daniele Dellafiore dani...@dellafiore.net wrote: On Mon, Apr 25, 2011 at 7:20 PM, Martin Grigorov mgrigo...@apache.orgwrote: It is the same conversation. You need uber-jar. At least one that combines -util, -request and -core. Everything else is optional,

Re: [osgi] package org.apache.wicket.request exported either from core and request packages

2011-04-25 Thread Daniele Dellafiore
On Mon, Apr 25, 2011 at 8:00 PM, Martin Grigorov mgrigo...@apache.orgwrote: On Mon, Apr 25, 2011 at 9:29 PM, Daniele Dellafiore dani...@dellafiore.net wrote: The idea of OSGi is to have interface and replaceable implementations. You can use this to replace Hibernate with EclipseLink as JPA

Re: wicket-tree checkboxes managing

2011-04-25 Thread Sven Meier
Hi Massimo, with wicket-tree you're in full control on what content to display for each node: tree = new NestedTreeFoo(tree, provider) { @Override protected Component newContentComponent(String id, IModelFoo model) { // you

Question on sessions

2011-04-25 Thread nimmy
Hi, I have a user who has a temporary session (i.e. is not logged in). I need to redirect him/her to an external page for to get an access token (e.g. Facebook/Flickr access token). Is there anyway to keep the same session? I find that the user has a different session after the redirection.

Re: Question on sessions

2011-04-25 Thread jcgarciam
just and idea, declare an anonymous role in your app. and effectively bind it to a real session, once the token is obtained elevate the users right. On Mon, Apr 25, 2011 at 6:35 PM, nimmy [via Apache Wicket] ml-node+3474193-959482693-65...@n4.nabble.com wrote: Hi, I have a user who has a

Re: Specific redirect after session timeout

2011-04-25 Thread Pedro Santos
Tracking the last visited page with a cookie would do the trick, but IMO the browser back button is enough. You can even use it with some JavaScript and move the user back to the last page. On Mon, Apr 25, 2011 at 4:51 AM, Peter Karich peat...@yahoo.de wrote: Hi there, is it possible to grab

Re: Specific redirect after session timeout

2011-04-25 Thread Martin Grigorov
With non-hybrid url strategy using back button will fail with PageExpiredException because there is no session where to find the page instance and the disk store already cleaned all data for this expired session. On Tue, Apr 26, 2011 at 3:35 AM, Pedro Santos pedros...@gmail.com wrote: Tracking