Making a column 'Sortable' in inmethod datagrids

2011-11-01 Thread Chris Colman
Does anyone know how to make a column sortable in an inmethod datagrid.
 
I saw a method called 'setReorderable' but calling that will true
doesn't seem to produce the up/down arrow in the column header that I
would expect.
 
Any suggestions?
 
Yours sincerely,
 
Chris Colman
 
Pagebloom Team Leader,
Step Ahead Software

 
pagebloom - your business  your website growing together
 
Sydney: (+61 2) 9656 1278 Canberra: (+61 2) 6100 2120 
Email: chr...@stepahead.com.au mailto://chr...@stepahead.com.au 
Website:
http://www.pagebloom.com blocked::http://www.pagebloom.com/ 
http://develop.stepaheadsoftware.com
blocked::http://develop.stepaheadsoftware.com/ 
 
 


Re: HTML5

2011-11-01 Thread Martijn Dashorst
Read the release notes for 1.5.0. HTML 5 support was one of the main points.

Martijn

/me thinks the website should really be getting some priority from me.

On Mon, Oct 31, 2011 at 9:21 PM, anantasthana anant.a...@gmail.com wrote:
 Hi,
 I was looking at a lot of new features of HTML5. I did see HTML 5 support
 was one of the things in the wicket wish list. Does any one have an idea of
 when and if wicket plans to support HTML5 ? It would be great if it did
 provide HTML5 support soon.

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/HTML5-tp3961486p3961486.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wrong path for resources on redirected login page

2011-11-01 Thread Martin Grigorov
On Tue, Nov 1, 2011 at 2:20 AM, bjolletz daniel.akerl...@pagero.com wrote:
 Hi!

 I saw that you made a commit to trunk to fix the WICKET-4138 issue, so I
 tried running my project with the snapshot version of wicket-core, and now
 it seems to work as it should! Good job and a big thank you!

Good!


 I guess you dont need me to create a quickstart now?

No.
Thanks!


 Also, I didn't realize that the page is actually not rendered the second
 time, after the redirect. Thanks for explaining.

 Cheers and good night!



 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Wrong-path-for-resources-on-redirected-login-page-tp3920038p3962137.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Getting the html output of a wicket panel

2011-11-01 Thread Martin Grigorov
I'll extend the examples with this use case soon

On Tue, Nov 1, 2011 at 3:58 AM, mango-object
heidi.t...@objectconsulting.com.au wrote:
 we are trying to get the rendered output of a wicket panel (inside the
 current page) into a string variable so that it can be embedded into a email
 or let the user edit it in an editor such as TinyMCE.

 I found this post that is really helpful, but we only need the output of a
 panel, not the current page.

 http://apache-wicket.1842946.n4.nabble.com/WebPage-geting-string-tt2993717.html

 first thought would be to get the output from the whole page and parse and
 extract the panel content, but is there a better way?

 thanks for any help

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Getting-the-html-output-of-a-wicket-panel-tp3962290p3962290.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Making a column 'Sortable' in inmethod datagrids

2011-11-01 Thread Martin Grigorov
IIRC you just need to pass 'sortProperty' parameter.

On Tue, Nov 1, 2011 at 8:58 AM, Chris Colman
chr...@stepaheadsoftware.comwrote:

 ** **

 Does anyone know how to make a column sortable in an inmethod datagrid.***
 *

 ** **

 I saw a method called ‘setReorderable’ but calling that will true doesn’tseem 
 to produce the up/down arrow in the column header that I would expect.
 

 ** **

 Any suggestions?

 ** **

 Yours sincerely,

 ** **

 Chris Colman

  

 Pagebloom Team Leader,

 Step Ahead Software

 

 pagebloom - your business  your website growing together

 ** **

 **Sydney**: (+61 2) 9656 1278 Canberra: (+61 2) 6100 2120
 

 Email: chr...@stepahead.com.au //chr...@stepahead.com.au

 Website:

 http://www.pagebloom.com

 http://develop.stepaheadsoftware.com

  

 ** **




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com http://jweekend.com/


Re: Making a column 'Sortable' in inmethod datagrids

2011-11-01 Thread Attila Király
You have to set the sortProperty in the column constructor.
You have to double click it to sort by it. The arrow is only visible for
that column where the sorting is actually in effect.

Check out the examples:
live: http://wicketstuff.org/grid-examples/data-grid/simple
source:
https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/inmethod-grid-parent/inmethod-grid-examples/src/main/java/com/inmethod/grid/examples/pages/datagrid

Attila

2011/11/1 Chris Colman chr...@stepaheadsoftware.com

 ** **

 Does anyone know how to make a column sortable in an inmethod datagrid.***
 *

 ** **

 I saw a method called ‘setReorderable’ but calling that will true doesn’tseem 
 to produce the up/down arrow in the column header that I would expect.
 

 ** **

 Any suggestions?

 ** **

 Yours sincerely,

 ** **

 Chris Colman

  

 Pagebloom Team Leader,

 Step Ahead Software

 

 pagebloom - your business  your website growing together

 ** **

 **Sydney**: (+61 2) 9656 1278 Canberra: (+61 2) 6100 2120
 

 Email: chr...@stepahead.com.au //chr...@stepahead.com.au

 Website:

 http://www.pagebloom.com

 http://develop.stepaheadsoftware.com

  

 ** **



abort loading lazy components

2011-11-01 Thread Michal Wegrzyn
Hello,

In application which I am developing AjaxLazyLoadPanel is used for several 
components.
Wicket creates queue of synchronous Ajax requests for every lazy component.

I saw several discussions about the way how Wicket loads the components
(and AFAIK Wicket can do it only synchronously), but I could not find anything 
about
canceling these requests.

Now, even if user triggers new request, he still has to wait to load all lazy 
components.
Then Wicket continues with request which was triggered during loading lazy 
components.

Is there any way to cancel loading of the lazy components and handle new 
request immediately?

Yours sincerely,

Michal Wegrzyn


Re: abort loading lazy components

2011-11-01 Thread Martin Grigorov
On Tue, Nov 1, 2011 at 10:36 AM, Michal Wegrzyn
michal.wegr...@onior.com wrote:
 Hello,

 In application which I am developing AjaxLazyLoadPanel is used for several 
 components.
 Wicket creates queue of synchronous Ajax requests for every lazy component.

 I saw several discussions about the way how Wicket loads the components
 (and AFAIK Wicket can do it only synchronously), but I could not find 
 anything about
 canceling these requests.

 Now, even if user triggers new request, he still has to wait to load all lazy 
 components.
 Then Wicket continues with request which was triggered during loading lazy 
 components.

Even when the new request is issued by BookmarkablePageLink ?

I can see how requests to the same page instance are queued but
request to new page should be possible.


 Is there any way to cancel loading of the lazy components and handle new 
 request immediately?

 Yours sincerely,

 Michal Wegrzyn




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Error with tree component with 1.5.2

2011-11-01 Thread PDiefent
@Martin: It's on FireFox also.

I don't thimk it's an serialization issue because it works fine with an
older Wicket release. The error occurs on expanding and collapsing single
nodes in the tree (inside the updateTree(target) method). 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Error-with-tree-component-with-1-5-2-tp3956513p3963083.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: Making a column 'Sortable' in inmethod datagrids

2011-11-01 Thread Chris Colman
You have to set the sortProperty in the column constructor.
You have to double click it to sort by it. The arrow is only visible
for
that column where the sorting is actually in effect.

It seems like a single click works - it's just that the response is very
slow so you may have thought it required a double click. There must be a
lot of records in the sample and the sorting algorithm used in the data
source must not be very ifficient.


Check out the examples:
live: http://wicketstuff.org/grid-examples/data-grid/simple
source:
https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/inmethod
-
grid-parent/inmethod-grid-
examples/src/main/java/com/inmethod/grid/examples/pages/datagrid

Attila

2011/11/1 Chris Colman chr...@stepaheadsoftware.com

 ** **

 Does anyone know how to make a column sortable in an inmethod
datagrid.***
 *

 ** **

 I saw a method called 'setReorderable' but calling that will true
doesn'tseem to produce the up/down arrow in the column header that I
would
expect.
 

 ** **

 Any suggestions?

 ** **

 Yours sincerely,

 ** **

 Chris Colman

  

 Pagebloom Team Leader,

 Step Ahead Software

 

 pagebloom - your business  your website growing together

 ** **

 **Sydney**: (+61 2) 9656 1278 Canberra: (+61 2) 6100 2120
 

 Email: chr...@stepahead.com.au //chr...@stepahead.com.au

 Website:

 http://www.pagebloom.com

 http://develop.stepaheadsoftware.com

  

 ** **


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: abort loading lazy components

2011-11-01 Thread Michal Wegrzyn
Thanks for reply Martin.

Using BookmarkablePageLink indeed cancels other lazy ajax requests, 
but then page is created from the scratch (as BookmarkablePageLink
extends normal Link).

At the moment only AjaxLinks are used (so they create just another ajax 
requests that are queued after ajax lazy requests) and one page, so 
I would like to do it without reloading whole page.

Best regards,
Michal Wegrzyn

-Original Message-
From: Martin Grigorov [mailto:mgrigo...@apache.org] 
Sent: Tuesday, November 01, 2011 11:05
To: users@wicket.apache.org
Subject: Re: abort loading lazy components

On Tue, Nov 1, 2011 at 10:36 AM, Michal Wegrzyn
michal.wegr...@onior.com wrote:
 Hello,

 In application which I am developing AjaxLazyLoadPanel is used for several 
 components.
 Wicket creates queue of synchronous Ajax requests for every lazy component.

 I saw several discussions about the way how Wicket loads the components
 (and AFAIK Wicket can do it only synchronously), but I could not find 
 anything about
 canceling these requests.

 Now, even if user triggers new request, he still has to wait to load all lazy 
 components.
 Then Wicket continues with request which was triggered during loading lazy 
 components.

Even when the new request is issued by BookmarkablePageLink ?

I can see how requests to the same page instance are queued but
request to new page should be possible.


 Is there any way to cancel loading of the lazy components and handle new 
 request immediately?

 Yours sincerely,

 Michal Wegrzyn




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: abort loading lazy components

2011-11-01 Thread Martin Grigorov
See org.apache.wicket.ajax.AjaxChannel.Type.DROP
You'll have to override AjaxLink#getChannel() to return DROP if you
want clicking on this AjaxLink to remove all scheduled ajax calls at
the client side.
But even with this improvement you'll still have to wait for the
currently being executed Ajax call (the first lazy loading component).

On Tue, Nov 1, 2011 at 1:03 PM, Michal Wegrzyn michal.wegr...@onior.com wrote:
 Thanks for reply Martin.

 Using BookmarkablePageLink indeed cancels other lazy ajax requests,
 but then page is created from the scratch (as BookmarkablePageLink
 extends normal Link).

 At the moment only AjaxLinks are used (so they create just another ajax
 requests that are queued after ajax lazy requests) and one page, so
 I would like to do it without reloading whole page.

 Best regards,
 Michal Wegrzyn

 -Original Message-
 From: Martin Grigorov [mailto:mgrigo...@apache.org]
 Sent: Tuesday, November 01, 2011 11:05
 To: users@wicket.apache.org
 Subject: Re: abort loading lazy components

 On Tue, Nov 1, 2011 at 10:36 AM, Michal Wegrzyn
 michal.wegr...@onior.com wrote:
 Hello,

 In application which I am developing AjaxLazyLoadPanel is used for several 
 components.
 Wicket creates queue of synchronous Ajax requests for every lazy component.

 I saw several discussions about the way how Wicket loads the components
 (and AFAIK Wicket can do it only synchronously), but I could not find 
 anything about
 canceling these requests.

 Now, even if user triggers new request, he still has to wait to load all 
 lazy components.
 Then Wicket continues with request which was triggered during loading lazy 
 components.

 Even when the new request is issued by BookmarkablePageLink ?

 I can see how requests to the same page instance are queued but
 request to new page should be possible.


 Is there any way to cancel loading of the lazy components and handle new 
 request immediately?

 Yours sincerely,

 Michal Wegrzyn




 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



maven repository for JQWicket

2011-11-01 Thread Decebal Suiu
Hello

Do you know a public maven repository for JQWicket?

Thanks,
Decebal

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/maven-repository-for-JQWicket-tp3963213p3963213.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: maven repository for JQWicket

2011-11-01 Thread Decebal Suiu
Ignore. I found it.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/maven-repository-for-JQWicket-tp3963213p3963258.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: abort loading lazy components

2011-11-01 Thread Michal Wegrzyn
It seems that this is what I was looking for.

Unfortunately I get ComponentNotFoundException already 
during handling my new ajax request. It seems that 
request handler tries to render component which does not 
exist anymore (from page's previous state):

org.apache.wicket.request.handler.ComponentNotFoundException: Could not find 
component 
'path:to:my:lazy:component' on page 'class package.MyPage'
 at 
org.apache.wicket.request.handler.PageAndComponentProvider.getComponent(PageAndComponentProvider.java:167)
 at 
org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.getComponent(ListenerInterfaceRequestHandler.java:81)
 at 
org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:150)
 at 
org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:712)
 at 
org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:63)
 at 
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:208)
 at 
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:251)
 at 
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162)
 at 
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218) 

Best regards,
Michal Wegrzyn

-Original Message-
From: Martin Grigorov [mailto:mgrigo...@apache.org] 
Sent: Tuesday, November 01, 2011 12:09
To: users@wicket.apache.org
Subject: Re: abort loading lazy components

See org.apache.wicket.ajax.AjaxChannel.Type.DROP
You'll have to override AjaxLink#getChannel() to return DROP if you
want clicking on this AjaxLink to remove all scheduled ajax calls at
the client side.
But even with this improvement you'll still have to wait for the
currently being executed Ajax call (the first lazy loading component).

On Tue, Nov 1, 2011 at 1:03 PM, Michal Wegrzyn michal.wegr...@onior.com wrote:
 Thanks for reply Martin.

 Using BookmarkablePageLink indeed cancels other lazy ajax requests,
 but then page is created from the scratch (as BookmarkablePageLink
 extends normal Link).

 At the moment only AjaxLinks are used (so they create just another ajax
 requests that are queued after ajax lazy requests) and one page, so
 I would like to do it without reloading whole page.

 Best regards,
 Michal Wegrzyn

 -Original Message-
 From: Martin Grigorov [mailto:mgrigo...@apache.org]
 Sent: Tuesday, November 01, 2011 11:05
 To: users@wicket.apache.org
 Subject: Re: abort loading lazy components

 On Tue, Nov 1, 2011 at 10:36 AM, Michal Wegrzyn
 michal.wegr...@onior.com wrote:
 Hello,

 In application which I am developing AjaxLazyLoadPanel is used for several 
 components.
 Wicket creates queue of synchronous Ajax requests for every lazy component.

 I saw several discussions about the way how Wicket loads the components
 (and AFAIK Wicket can do it only synchronously), but I could not find 
 anything about
 canceling these requests.

 Now, even if user triggers new request, he still has to wait to load all 
 lazy components.
 Then Wicket continues with request which was triggered during loading lazy 
 components.

 Even when the new request is issued by BookmarkablePageLink ?

 I can see how requests to the same page instance are queued but
 request to new page should be possible.


 Is there any way to cancel loading of the lazy components and handle new 
 request immediately?

 Yours sincerely,

 Michal Wegrzyn




 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: maven repository for JQWicket

2011-11-01 Thread Martin Grigorov
tell us

On Tue, Nov 1, 2011 at 1:56 PM, Decebal Suiu decebal.s...@asf.ro wrote:
 Ignore. I found it.

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/maven-repository-for-JQWicket-tp3963213p3963258.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: maven repository for JQWicket

2011-11-01 Thread Martin Grigorov
On Tue, Nov 1, 2011 at 2:02 PM, Martin Grigorov mgrigo...@apache.org wrote:
 tell us

let us know it too


 On Tue, Nov 1, 2011 at 1:56 PM, Decebal Suiu decebal.s...@asf.ro wrote:
 Ignore. I found it.

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/maven-repository-for-JQWicket-tp3963213p3963258.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: maven repository for JQWicket

2011-11-01 Thread Decebal Suiu
See http://code.google.com/p/jqwicket/#Quickstart_for_maven_users

repository 
   idgooglecode/id 
   urlhttp://jqwicket.googlecode.com/svn/m2-repo/releases//url 
/repository 

dependency 
   groupIdcom.google.code.jqwicket/groupId 
   artifactIdjqwicket/artifactId 
   version0.7/version 
/dependency


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/maven-repository-for-JQWicket-tp3963213p3963288.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: request parameters

2011-11-01 Thread kamiseq
I understand you mean something like this

final StringValue val1 = parameters.get(val1);
final Service service = ServiceFactory.getClient(val1);

final IRequestParameters requestParameters =
getRequest().getQueryParameters();
final SetString parameterNames = requestParameters.getParameterNames();
MapString, String params = new HashMapString,
String(parameterNames.size());
for (String name : parameterNames)
{
final StringValue val = requestParameters.getParameterValue(name);
params.put(name, val.toString());
}
service.handle(params);

giving it a second thought I could use

final ListPageParameters.NamedPair named = parameters.getAllNamed();

pozdrawiam
Paweł Kamiński

kami...@gmail.com
pkaminski@gmail.com
__


Re: [RELEASE] WASP/SWARM/Wicket security 1.4.1 released, roadmap for future direction

2011-11-01 Thread Leonardo D'Alimonte
Hi Martjin!

I'm trying to upgrade our project based on Wicket and Wicket-security
(Swarm) from version 1.3.6 to 1.4.18
and from version 1.3.0 to 1.4.1 (Swarm)...work not so easy, because if I
follow your link to the the Wicketstuff repo, the only version I can find is
the 1.4-SNAPSHOT. If I had in my pom.xml the dependency to 1.4.1 version of
Swarm, Maven is happy and is capable to find it, but it download only the
pom, not the jar and all the dependencies. What I'm doing wrong?

Thanks in advance..
Leonardo

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/RELEASE-WASP-SWARM-Wicket-security-1-4-1-released-roadmap-for-future-direction-tp2543742p3963284.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: PageExpired in non bookmarkable page with 1.5.2

2011-11-01 Thread Martin Grigorov
Hi,

This is caused by the new implementation of RequestLogger internals.
Can you provide a quickstart that reproduces the problem ?

On Tue, Nov 1, 2011 at 3:45 AM, Seko Masaya m_s...@yahoo.co.jp wrote:
 Hi.
 I'm having trouble PageExpired exception in non Bookmark page.
 In the case of Wicket 1.5.2 is the log output when sending PageExpired 
 exception.
 No output in Wicket 1.5.0.
 I hope behavior of Wicket 1.5.0.

 log:
 ERROR - RequestHandlerStack        - Error detaching RequestHandler
 org.apache.wicket.protocol.http.PageExpiredException: Page with id '1' has 
 expired.
    at 
 org.apache.wicket.request.handler.PageProvider.getPageInstance(PageProvider.java:169)
    at 
 org.apache.wicket.request.handler.PageProvider.getPageClass(PageProvider.java:227)
    at 
 org.apache.wicket.request.handler.logger.PageLogData.init(PageLogData.java:49)
    at 
 org.apache.wicket.request.handler.logger.ListenerInterfaceLogData.init(ListenerInterfaceLogData.java:50)
    at 
 org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.detach(ListenerInterfaceRequestHandler.java:134)
    at 
 org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.detach(RequestCycle.java:761)
    at 
 org.apache.wicket.request.RequestHandlerStack.detach(RequestHandlerStack.java:180)
    at 
 org.apache.wicket.request.cycle.RequestCycle.onDetach(RequestCycle.java:565)
    at 
 org.apache.wicket.request.cycle.RequestCycle.detach(RequestCycle.java:508)
    at 
 org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:284)
    at 
 org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162)
    at 
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218)
    at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at 
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at 
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at 
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at 
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at 
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    at 
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at 
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:662)

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: [RELEASE] WASP/SWARM/Wicket security 1.4.1 released, roadmap for future direction

2011-11-01 Thread Martijn Dashorst
Try

http://wicketstuff.org/maven/mirror

I've uploaded our internal artifactory wicketstuff cache.

Martijn

On Tue, Nov 1, 2011 at 1:05 PM, Leonardo D'Alimonte
leonardo.dalimo...@loginet.it wrote:
 Hi Martjin!

 I'm trying to upgrade our project based on Wicket and Wicket-security
 (Swarm) from version 1.3.6 to 1.4.18
 and from version 1.3.0 to 1.4.1 (Swarm)...work not so easy, because if I
 follow your link to the the Wicketstuff repo, the only version I can find is
 the 1.4-SNAPSHOT. If I had in my pom.xml the dependency to 1.4.1 version of
 Swarm, Maven is happy and is capable to find it, but it download only the
 pom, not the jar and all the dependencies. What I'm doing wrong?

 Thanks in advance..
 Leonardo

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/RELEASE-WASP-SWARM-Wicket-security-1-4-1-released-roadmap-for-future-direction-tp2543742p3963284.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: [RELEASE] WASP/SWARM/Wicket security 1.4.1 released, roadmap for future direction

2011-11-01 Thread Martijn Dashorst
On Tue, Nov 1, 2011 at 1:59 PM, Martijn Dashorst
martijn.dasho...@gmail.com wrote:
 Try

 http://wicketstuff.org/maven/mirror

 I've uploaded our internal artifactory wicketstuff cache.

Note that this directory will go away once I find out how to do a
rsync on the box (not installed or available on path). If/when that
happens the artifacts will become available under the
http://wicketstuff.org/maven/repository moniker.

Martijn

(should we run an artifactory at that machine instead?)

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: [RELEASE] WASP/SWARM/Wicket security 1.4.1 released, roadmap for future direction

2011-11-01 Thread Martin Grigorov
On Tue, Nov 1, 2011 at 3:12 PM, Martijn Dashorst
martijn.dasho...@gmail.com wrote:
 On Tue, Nov 1, 2011 at 1:59 PM, Martijn Dashorst
 martijn.dasho...@gmail.com wrote:
 Try

 http://wicketstuff.org/maven/mirror

 I've uploaded our internal artifactory wicketstuff cache.

 Note that this directory will go away once I find out how to do a
 rsync on the box (not installed or available on path). If/when that
 happens the artifacts will become available under the
 http://wicketstuff.org/maven/repository moniker.

 Martijn

 (should we run an artifactory at that machine instead?)

That machine most of the time returns 503 ...


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Getting the html output of a wicket panel

2011-11-01 Thread Martin Grigorov
See 
http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/asemail/

On Tue, Nov 1, 2011 at 11:01 AM, Martin Grigorov mgrigo...@apache.org wrote:
 I'll extend the examples with this use case soon

 On Tue, Nov 1, 2011 at 3:58 AM, mango-object
 heidi.t...@objectconsulting.com.au wrote:
 we are trying to get the rendered output of a wicket panel (inside the
 current page) into a string variable so that it can be embedded into a email
 or let the user edit it in an editor such as TinyMCE.

 I found this post that is really helpful, but we only need the output of a
 panel, not the current page.

 http://apache-wicket.1842946.n4.nabble.com/WebPage-geting-string-tt2993717.html

 first thought would be to get the output from the whole page and parse and
 extract the panel content, but is there a better way?

 thanks for any help

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Getting-the-html-output-of-a-wicket-panel-tp3962290p3962290.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Getting the html output of a wicket panel

2011-11-01 Thread Brian Mulholland
I found that an AbstractTransformerBehavior can be plugged into the
component and gets a callback that tells it the HTML it is going to
render, and gives it a chance to modify it.

Brian Mulholland

On Tue, Nov 1, 2011 at 9:56 AM, Martin Grigorov mgrigo...@apache.org wrote:
 See 
 http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/asemail/

 On Tue, Nov 1, 2011 at 11:01 AM, Martin Grigorov mgrigo...@apache.org wrote:
 I'll extend the examples with this use case soon

 On Tue, Nov 1, 2011 at 3:58 AM, mango-object
 heidi.t...@objectconsulting.com.au wrote:
 we are trying to get the rendered output of a wicket panel (inside the
 current page) into a string variable so that it can be embedded into a email
 or let the user edit it in an editor such as TinyMCE.

 I found this post that is really helpful, but we only need the output of a
 panel, not the current page.

 http://apache-wicket.1842946.n4.nabble.com/WebPage-geting-string-tt2993717.html

 first thought would be to get the output from the whole page and parse and
 extract the panel content, but is there a better way?

 thanks for any help

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Getting-the-html-output-of-a-wicket-panel-tp3962290p3962290.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com




 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: [RELEASE] WASP/SWARM/Wicket security 1.4.1 released, roadmap for future direction

2011-11-01 Thread Leonardo D'Alimonte
Martin,

you mean this machine goes on 503 error often:
http://wicketstuff.org/maven/mirror ?
I found lots of errors here instead:
http://wicketinaction.com/2010/05/wicket-security-wasp-and-swarm-1-4-released/
Every time I try to connect there it answers: Error establishing a database
connection, don't know if it's a problem of mine..


Leonardo


Martin Grigorov-4 wrote:
 
 On Tue, Nov 1, 2011 at 3:12 PM, Martijn Dashorst
 lt;martijn.dashorst@gt; wrote:
 On Tue, Nov 1, 2011 at 1:59 PM, Martijn Dashorst
 lt;martijn.dashorst@gt; wrote:
 Try

 http://wicketstuff.org/maven/mirror

 I've uploaded our internal artifactory wicketstuff cache.

 Note that this directory will go away once I find out how to do a
 rsync on the box (not installed or available on path). If/when that
 happens the artifacts will become available under the
 http://wicketstuff.org/maven/repository moniker.

 Martijn

 (should we run an artifactory at that machine instead?)
 
 That machine most of the time returns 503 ...
 

 -
 To unsubscribe, e-mail: users-unsubscribe@.apache
 For additional commands, e-mail: users-help@.apache


 
 
 
 -- 
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com
 
 -
 To unsubscribe, e-mail: users-unsubscribe@.apache
 For additional commands, e-mail: users-help@.apache
 


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/RELEASE-WASP-SWARM-Wicket-security-1-4-1-released-roadmap-for-future-direction-tp2543742p3963720.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: [RELEASE] WASP/SWARM/Wicket security 1.4.1 released, roadmap for future direction

2011-11-01 Thread Martijn Dashorst
On Tue, Nov 1, 2011 at 3:41 PM, Martijn Dashorst
martijn.dasho...@gmail.com wrote:
 It is not your problem, but strange enough the main page just works...

It appears that mij hosting provider has reset/blocked the account for
the mysql database. Investigating how to reset the password.

Martijn

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



value set in form control by Javascript to model object

2011-11-01 Thread infiniter
Hi,
I have wicket TextField. The input is read only and its text is changed by a
Javascript component... 
So my question is: how can I set the model object to its new value set by
JS?

The problem as you know is that when trying to submit I get an error because
the object is null:
java.lang.IllegalStateException: Attempt to set model object on null model
of component

Carlos P.


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/value-set-in-form-control-by-Javascript-to-model-object-tp3963955p3963955.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: value set in form control by Javascript to model object

2011-11-01 Thread Martin Grigorov
On Tue, Nov 1, 2011 at 5:21 PM, infiniter infini...@gmail.com wrote:
 Hi,
 I have wicket TextField. The input is read only and its text is changed by a
 Javascript component...
 So my question is: how can I set the model object to its new value set by
 JS?

 The problem as you know is that when trying to submit I get an error because
 the object is null:
 java.lang.IllegalStateException: Attempt to set model object on null model
 of component

This sounds like you didn't provide an empty model.
Just use Model.of()


 Carlos P.


 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/value-set-in-form-control-by-Javascript-to-model-object-tp3963955p3963955.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: [RELEASE] WASP/SWARM/Wicket security 1.4.1 released, roadmap for future direction

2011-11-01 Thread Leonardo D'Alimonte
Sounds good, the workaround of adding mirror repository to the pom works
finally. Now I'm going on having discussions with properties file inside the
project and resolving JUnit errors.

Leonardo


Martijn Dashorst wrote:
 
 On Tue, Nov 1, 2011 at 3:41 PM, Martijn Dashorst
 lt;martijn.dashorst@gt; wrote:
 It is not your problem, but strange enough the main page just works...
 
 It appears that mij hosting provider has reset/blocked the account for
 the mysql database. Investigating how to reset the password.
 
 Martijn
 
 -
 To unsubscribe, e-mail: users-unsubscribe@.apache
 For additional commands, e-mail: users-help@.apache
 


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/RELEASE-WASP-SWARM-Wicket-security-1-4-1-released-roadmap-for-future-direction-tp2543742p3964178.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Handling form ajax submit on enter key in form field

2011-11-01 Thread Bas Gooren

Hi all,

To handle the case where somebody hits enter in a form field which has 
an (Ajax)Button to submit the entire form by ajax, we used an 
AjaxFormSubmitBehavior attached to the form's onsubmit in wicket 1.4.x


After upgrading to 1.5 our ajax indicator was not hidden after the ajax 
request, wich asked for some investigating.


It turns out, this is what happens:
- onsubmit is called by browser and calls wicketSubmitFormById()
- that method calls Wicket.Ajax.Call.SubmitForm() which in turn calls 
onsubmit again


The issue with the ajax indicator image remaining visible is simply due 
to showIncrementally being called twice, and hideIncrementally only once.


But let's ignore that for now, the bigger issue is how do we properly 
handle this use case? We chose a form onsubmit handler to prevent adding 
an onKeyUp handler (and checking for enter key) to all form fields, as 
this seems more elegant.
Having the form's onsubmit delegate to the ajaxbutton will create the 
exact same problem: a loop.


How do others solve this in 1.5?


Borders and inheritance in wicket 1.5

2011-11-01 Thread bjolletz
Hi,

I have the following setup:

*A border:*


*Panel A* (sectionBorder refers to my border component above)


*Panel B* (extends Panel A)


When I add the someLabel component to Panel B, the component hierarchy
will be wrong since the someLabel component will be added to the base panel
(Panel A), but in the markup it is really located under the sectionBorder.

In Wicket 1.4 I could solve this by using setTransparentResolver(true) on
the border. In Wicket 1.5 however, setTransparentResolver seems to have been
removed. Does this mean that the setup in my example is no longer possible,
or is there another way to do it?

I have read the section about borders in the migration guide, but I still
dont really see how this one could be solved without setTransparentResolver.

Any ideas?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Borders-and-inheritance-in-wicket-1-5-tp3965704p3965704.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Upgrading of Wicket application on server without losing state

2011-11-01 Thread taitai
Hi guys,
I was wondering about the following standard scenario:

- application v0.1 deployed to your favorite servlet container
- you want to deploy version v0.2 with minimal downtime and without losing
any session state (because it's a web shop application for example)

Is there a convenient way to shut down a wicket application so that it saves
its complete state to e.g. the filesystem and the next wicket app that boots
up initially reads the state from those files? anyone else handling server
upgrades differently and in a better way?

Thanks!





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Upgrading-of-Wicket-application-on-server-without-losing-state-tp3965762p3965762.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Handling form ajax submit on enter key in form field

2011-11-01 Thread Andrea Del Bene

Hi,

if your form has just one submitting button, pressing enter key on a 
field should submit it by default. Anyway, I would solve this problem 
using a JavaScript library like JQuery rather then using a Wicket Ajax 
behavior. Can you give us more details about your 
AjaxFormSubmitBehavior? Are you using it like this:


form.add( new AjaxFormSubmitBehavior(onsubmit))

Hi all,

To handle the case where somebody hits enter in a form field which has 
an (Ajax)Button to submit the entire form by ajax, we used an 
AjaxFormSubmitBehavior attached to the form's onsubmit in wicket 1.4.x


After upgrading to 1.5 our ajax indicator was not hidden after the 
ajax request, wich asked for some investigating.


It turns out, this is what happens:
- onsubmit is called by browser and calls wicketSubmitFormById()
- that method calls Wicket.Ajax.Call.SubmitForm() which in turn calls 
onsubmit again


The issue with the ajax indicator image remaining visible is simply 
due to showIncrementally being called twice, and hideIncrementally 
only once.


But let's ignore that for now, the bigger issue is how do we properly 
handle this use case? We chose a form onsubmit handler to prevent 
adding an onKeyUp handler (and checking for enter key) to all form 
fields, as this seems more elegant.
Having the form's onsubmit delegate to the ajaxbutton will create the 
exact same problem: a loop.


How do others solve this in 1.5?




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Borders and inheritance in wicket 1.5

2011-11-01 Thread Igor Vaynberg
extending panel A means that your components go into panel A not into
one of its children.

you can provide a special addChild() method, or provide
addChildren(WebMarkupContainer) callback that you call from A's
onInitialize() or let your panel A implement IComponentResolver and
try to locate children itself (this is not good for code that depends
on the actual hierarchy to function).

-igor

On Tue, Nov 1, 2011 at 3:15 PM, bjolletz daniel.akerl...@pagero.com wrote:
 Hi,

 I have the following setup:

 *A border:*


 *Panel A* (sectionBorder refers to my border component above)


 *Panel B* (extends Panel A)


 When I add the someLabel component to Panel B, the component hierarchy
 will be wrong since the someLabel component will be added to the base panel
 (Panel A), but in the markup it is really located under the sectionBorder.

 In Wicket 1.4 I could solve this by using setTransparentResolver(true) on
 the border. In Wicket 1.5 however, setTransparentResolver seems to have been
 removed. Does this mean that the setup in my example is no longer possible,
 or is there another way to do it?

 I have read the section about borders in the migration guide, but I still
 dont really see how this one could be solved without setTransparentResolver.

 Any ideas?

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Borders-and-inheritance-in-wicket-1-5-tp3965704p3965704.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Getting the html output of a wicket panel

2011-11-01 Thread mango-object
this is very helpful. thank you very much for taking the time/effort to do
the example. 
my head is still spinning a bit, but you gave me a lot of pointers.
thanks again

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Getting-the-html-output-of-a-wicket-panel-tp3962290p3971626.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: PageExpired in non bookmarkable page with 1.5.2

2011-11-01 Thread Seko Masaya
Hi.

I prepared quickstart that reproduces the problem.
http://d.hatena.ne.jp/sekom/files/wicket152quickstart.zip?d=y

Please do the following operations.
1.click next link
2.Wait a minute
3.click home link
4.Please check the console. Exception displayed.


--- On Tue, 2011/11/1, Martin Grigorov mgrigo...@apache.org wrote:

 Hi,
 
 This is caused by the new implementation of RequestLogger internals.
 Can you provide a quickstart that reproduces the problem ?
 
 On Tue, Nov 1, 2011 at 3:45 AM, Seko Masaya m_s...@yahoo.co.jp wrote:
  Hi.
  I'm having trouble PageExpired exception in non Bookmark page.
  In the case of Wicket 1.5.2 is the log output when sending PageExpired 
  exception.
  No output in Wicket 1.5.0.
  I hope behavior of Wicket 1.5.0.
 
  log:
  ERROR - RequestHandlerStack        - Error detaching RequestHandler
  org.apache.wicket.protocol.http.PageExpiredException: Page with id '1' has 
  expired.
     at 
  org.apache.wicket.request.handler.PageProvider.getPageInstance(PageProvider.java:169)
     at 
  org.apache.wicket.request.handler.PageProvider.getPageClass(PageProvider.java:227)
     at 
  org.apache.wicket.request.handler.logger.PageLogData.init(PageLogData.java:49)
     at 
  org.apache.wicket.request.handler.logger.ListenerInterfaceLogData.init(ListenerInterfaceLogData.java:50)
     at 
  org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.detach(ListenerInterfaceRequestHandler.java:134)
     at 
  org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.detach(RequestCycle.java:761)
     at 
  org.apache.wicket.request.RequestHandlerStack.detach(RequestHandlerStack.java:180)
     at 
  org.apache.wicket.request.cycle.RequestCycle.onDetach(RequestCycle.java:565)
     at 
  org.apache.wicket.request.cycle.RequestCycle.detach(RequestCycle.java:508)
     at 
  org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:284)
     at 
  org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162)
     at 
  org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218)
     at 
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     at 
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at 
  org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
     at 
  org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
     at 
  org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
     at 
  org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
     at 
  org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at 
  org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
     at 
  org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
     at 
  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
     at 
  org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
     at java.lang.Thread.run(Thread.java:662)
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 
 
 -- 
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: PageExpired in non bookmarkable page with 1.5.2

2011-11-01 Thread Igor Vaynberg
please attach it to a jira issue.

-igor

On Tue, Nov 1, 2011 at 9:21 PM, Seko Masaya m_s...@yahoo.co.jp wrote:
 Hi.

 I prepared quickstart that reproduces the problem.
 http://d.hatena.ne.jp/sekom/files/wicket152quickstart.zip?d=y

 Please do the following operations.
 1.click next link
 2.Wait a minute
 3.click home link
 4.Please check the console. Exception displayed.


 --- On Tue, 2011/11/1, Martin Grigorov mgrigo...@apache.org wrote:

 Hi,

 This is caused by the new implementation of RequestLogger internals.
 Can you provide a quickstart that reproduces the problem ?

 On Tue, Nov 1, 2011 at 3:45 AM, Seko Masaya m_s...@yahoo.co.jp wrote:
  Hi.
  I'm having trouble PageExpired exception in non Bookmark page.
  In the case of Wicket 1.5.2 is the log output when sending PageExpired 
  exception.
  No output in Wicket 1.5.0.
  I hope behavior of Wicket 1.5.0.
 
  log:
  ERROR - RequestHandlerStack        - Error detaching RequestHandler
  org.apache.wicket.protocol.http.PageExpiredException: Page with id '1' has 
  expired.
     at 
  org.apache.wicket.request.handler.PageProvider.getPageInstance(PageProvider.java:169)
     at 
  org.apache.wicket.request.handler.PageProvider.getPageClass(PageProvider.java:227)
     at 
  org.apache.wicket.request.handler.logger.PageLogData.init(PageLogData.java:49)
     at 
  org.apache.wicket.request.handler.logger.ListenerInterfaceLogData.init(ListenerInterfaceLogData.java:50)
     at 
  org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.detach(ListenerInterfaceRequestHandler.java:134)
     at 
  org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.detach(RequestCycle.java:761)
     at 
  org.apache.wicket.request.RequestHandlerStack.detach(RequestHandlerStack.java:180)
     at 
  org.apache.wicket.request.cycle.RequestCycle.onDetach(RequestCycle.java:565)
     at 
  org.apache.wicket.request.cycle.RequestCycle.detach(RequestCycle.java:508)
     at 
  org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:284)
     at 
  org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162)
     at 
  org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218)
     at 
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     at 
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at 
  org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
     at 
  org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
     at 
  org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
     at 
  org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
     at 
  org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at 
  org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
     at 
  org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
     at 
  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
     at 
  org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
     at java.lang.Thread.run(Thread.java:662)
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 



 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org