Re: Remove support for Portlets in Wicket 1.5

2010-08-12 Thread Steve Swinsburg
-1 to removing it As soon as uPortal supports JSR-286 (and it does, just not in a release yet) I'll be using Wicket for my portlet development and have been training my team in readiness. At a minimum move it to wicketstuff. thanks, Steve On 12/08/2010, at 5:19 AM, Rodolfo Hansen wrote: I

Re: Remove support for Portlets in Wicket 1.5

2010-08-12 Thread Nick Heudecker
0, non-committed. There seems to be some interest here. Hopefully the community supports it in wicketstuff. +1 non-committed to moving to wicketstuff. On Aug 11, 2010 11:18 PM, Steve Swinsburg steve.swinsb...@gmail.com wrote: -1 to removing it As soon as uPortal supports JSR-286 (and it does,

Re: Remove support for Portlets in Wicket 1.5

2010-08-12 Thread Martin Grigorov
Ok, we have 1.5-M1 released. So next step is someone with experience in portlets to try to create a separate project with the classes from org.apache.wicket.protocol.http.portlet and whatever else is needed. On Thu, Aug 12, 2010 at 8:59 AM, Nick Heudecker nheudec...@gmail.comwrote: 0,

Re: Wicket 1.5-M1 migration experiences

2010-08-12 Thread Martin Grigorov
Thanks for the feedback, Peter! As soon as I have time to look at the points I'll let you know with the outcome. Hopefully this will happen this week. 2010/8/12 Major Péter majorpe...@sch.bme.hu Hi, I've just tried to move our application to Wicket 1.5-M1, and I've faced with the following

Re: Remove support for Portlets in Wicket 1.5

2010-08-12 Thread Wilhelmsen Tor Iver
So next step is someone with experience in portlets to try to create a separate project with the classes from org.apache.wicket.protocol.http.portlet and whatever else is needed. Probably mostly a WicketPortletFilter to be used in front of WicketFilter that builds on the portlet-oriented

Re: Wicket 1.5-M1 migration experiences

2010-08-12 Thread Johan Compagner
If NamedParameter is something like; /show?id=10test=11 IndexedParameter is not something like: /show/id/10/test/11 thats still named, just differently outputed, but show/10/11 indexed then the name is presumed (its 1 ,2 ,3 ,...) johan 2010/8/12 Major Péter majorpe...@sch.bme.hu: Hi,

Re: Wicket 1.5-M1 migration experiences

2010-08-12 Thread Major Péter
hmm, that makes (more) sense, thanks for the clarification. Peter 2010-08-12 09:46 keltezéssel, Johan Compagner írta: If NamedParameter is something like; /show?id=10test=11 IndexedParameter is not something like: /show/id/10/test/11 thats still named, just differently outputed, but

Re: Wicket 1.5-M1 migration experiences

2010-08-12 Thread Martin Grigorov
Good catch! There is no WebRequestCycle anymore. You'll need to extend RequestCycle now. Override org.apache.wicket.Application.createRequestCycle(Request, Response) to return your class. The current entry point is org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(). For now

Re: Wicket 1.5-M1 migration experiences

2010-08-12 Thread Major Péter
Hi, There is no WebRequestCycle anymore. You'll need to extend RequestCycle now. Override org.apache.wicket.Application.createRequestCycle(Request, Response) to return your class. that method is final, you should use setRequestCycleProvider() IMHO. Regards, Peter The current entry point

Re: Re: Wicket 1.5-M1 migration experiences

2010-08-12 Thread dzb
Thanks peter, I'll handle that dzb,zenberg.d...@gmail.com 2010-08-12 - Original Message - From: Major Péter To: users Sent: 2010-08-12, 18:19:55 Subject: Re: Wicket 1.5-M1 migration experiences Hi, There is no WebRequestCycle anymore. You'll need to extend RequestCycle now.

Re: Re: Wicket 1.5-M1 migration experiences

2010-08-12 Thread Martin Grigorov
Hi, Correct! Please add your findings in the wiki about migration [1] so that other users can benefit too. Thanks for your help! 1. https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+1.5 2010/8/12 dzb zenberg.d...@gmail.com Hi, Martin Grigorov sorry, still about

Testing modal window

2010-08-12 Thread Anna Simbirtsev
Hi, I am trying to write a test case to test that the parent page gets updated with new values once the modal window closes. public class DataAddITCase extends AbstractITCase { public DataAddITCase() { super(); } @Override protected void signin() {

Re: Wicket + Shiro Authentication

2010-08-12 Thread Martijn Dashorst
What do you mean with other site? Are you authenticating at one web site and redirecting to another web site located on a different server/in a different container? If you mean s/site/page/ then probably you should call session.bind() Martijn On Wed, Aug 11, 2010 at 4:25 PM, norbert

Re: Wicket 1.5-M1 migration experiences

2010-08-12 Thread Major Péter
What's the substitute for RequestCycle#urlFor(Class, PageParameters) ? In 1.4 I was using RequestCycle#setRequestTarget(IResourceStream) and ResourceStreamRequestTarget to make dynamically generated PDF/CSV/etc files downloadable for users. How is that possible in 1.5-M1? Thanks, Peter

Re: Wicket 1.5-M1 migration experiences

2010-08-12 Thread Matej Knopp
We don't have convenience urlfor methods on request cycle any more, however there is a convenience urlFor(Class, PageParameters) on Component, so look there to see how it's done. Instead of setRequestTarget you can do this RequestCycle#scheduleRequestHandlerAfterCurrent(handler) -Matej

style=\display:none\

2010-08-12 Thread Satish Nekkalapudi
Hi, We are using Wicket 1.4.9 for very large mobile application. We are unable to process any forms on a large number of mobile devices. The problem caused by line 1923 of org.apache.wicket.markup.html.form.Form. This line adds a style=\display:none\ to div inside of the form: // render

Re: style=\display:none\

2010-08-12 Thread Igor Vaynberg
are you completely sure that the div is causing the problem? doesnt make sense. -igor On Thu, Aug 12, 2010 at 3:00 PM, Satish Nekkalapudi snekkalap...@walmart.com wrote: Hi, We are using Wicket 1.4.9 for very large mobile application. We are unable to process any forms on a large number of

Wicket 1.5-M1 and DropDownChoice wantOnSelectionChanged

2010-08-12 Thread Major Péter
Hi, I'm getting weird error, while using DDC wantOnSelectionChanged like this: http://stewie.sch.bme.hu/gitweb/?p=aldaris/korok;a=blob;f=sch-pek-web/src/main/java/hu/sch/web/kp/group/GroupHistory.java;h=fffd7b583a6cd5723e06efb905eb8dcd69bc077e;hb=wicket15#l118 When I click on a ddc row, I'm

RE: style=\display:none\

2010-08-12 Thread Satish Nekkalapudi
Thank you Igor for your response. The style=display:none for div is causing the problem. The reason why the forms are not working is the hidden variables like wicket:interface within div with 'style=display:none'is ignored by large number of mobile devices. They are working if display:none is

RE: style=\display:none\

2010-08-12 Thread Joachim F. Kainz
Satish, Can you give Igor a few examples for mobile devices that have these issues? Maybe he has access to them so he can see for himself. At the very least they should all be available at his local Walmart... :) Best regards, Joachim On Thu, 2010-08-12 at 16:15 -0700, Satish Nekkalapudi

Wicket 1.5-M1 causing IllegalStateException

2010-08-12 Thread Major Péter
Hi, I have a page with the ~following markup: form table (DataView) tra href=link //tr /table /form The link is constructed like: Link valuationLink = new Link(valuationLink) { @Override public void onClick() { setResponsePage(new ValuationDetails(val, getPage())); } };

Re: style=\display:none\

2010-08-12 Thread Igor Vaynberg
should be fixed in branch. now is a good time to build a snapshot and use it since 1.4.10 was just released and there are not too many commits into the branch yet. -igor On Thu, Aug 12, 2010 at 4:15 PM, Satish Nekkalapudi snekkalap...@walmart.com wrote: Thank you Igor for your response. The

Phantom pagemap locked?

2010-08-12 Thread Martin Makundi
2010-08-13 00:09:08,581 41529562 [9113...@qtp-14820907-371] ERROR Session - Current stack trace of the thread that holds the lock follows: java.lang.Throwable 2010-08-13 00:09:08,610 41529591 [9113...@qtp-14820907-371] ERROR RequestCycle - org.apache.wicket.WicketRuntimeException: After 3

[announce] wicketstuff-core 1.4.10 released

2010-08-12 Thread Michael O'Cleirigh
Hello, Since wicket 1.4.10 was released this week it follows that a wicketstuff-core release is due as well. The branch for 1.4.10.1-SNAPSHOT is located here: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicketstuff-core-1.4.10 And the release tag: