Apache Wicket 1.5.2 is released

2011-10-24 Thread Martin Grigorov
This is the second maintenance release of the Wicket 1.5.x series. Thisrelease brings over 25 bug fixes and 5 improvements. Subversion taghttp://svn.apache.org/repos/asf/wicket/releases/wicket-1.5.2 Changeloghttps://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310561version=12318078

Re: inmethod grid - Is is possible to have column with AJAX link to perform some action?

2011-10-24 Thread Martin Grigorov
Hi, You can create a column that renders a Panel and this panel can contain anything you need. On Mon, Oct 24, 2011 at 6:03 AM, Chris Colman chr...@stepaheadsoftware.com wrote: Is it possible in inmethod grid to create a column where each row contains a link (nice to have an icon even instead

RE: inmethod grid - Is is possible to have column with AJAX link to perform some action?

2011-10-24 Thread Chris Colman
Ah, I was thinking too hard about it again. Once again the Wicket solution is so simple I looked right past it :) -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Monday, 24 October 2011 6:28 PM To: users@wicket.apache.org Subject: Re: inmethod grid - Is is

RE: PageMap locking...

2011-10-24 Thread Wilhelmsen Tor Iver
Once the user has clicked a link to another page (Or switched a tab if it is a tabed page), is there a way to terminate the request to prevent a load on the server for a page that will not be displayed? Normally: no, because these are separate requests. The first request will cancel only when

Re: Wrong path for resources on redirected login page

2011-10-24 Thread Martin Grigorov
Hi, On Sun, Oct 23, 2011 at 11:10 PM, bjolletz daniel.akerl...@pagero.com wrote: Hi. I didn't get things to work with 1.5.2, seems to be the same behavior there. I've done some additional research and debugging... As far as I understand, my problem boils down to this: * Wicket creates a

Re: Wrong path for resources on redirected login page

2011-10-24 Thread bjolletz
I also thought that Tomcat should take care of the redirect configured in web.xml by itself, but that does not seem to be the case. To me it seems like Tomcat does create its own redirect response, but that Tomcat still calls its filter chain, which will invoke my WicketFilter which leads to

1.5.2: WebPageRenderer - The Buffered response should be handled by BufferedResponseRequestHandler

2011-10-24 Thread Matthias Keller
Hi I've just upgraded to 1.5.2 and I'm now seeing a WARN that didn't occur with 1.5.1: WebPageRenderer - The Buffered response should be handled by BufferedResponseRequestHandler I'm seeing it on every page load...? We're using a Wizard, if that makes a difference... Thanks Matt

Re: 1.5.2: WebPageRenderer - The Buffered response should be handled by BufferedResponseRequestHandler

2011-10-24 Thread Martin Grigorov
https://issues.apache.org/jira/browse/WICKET-4163 On Mon, Oct 24, 2011 at 10:46 AM, Matthias Keller matthias.kel...@ergon.ch wrote: Hi I've just upgraded to 1.5.2 and I'm now seeing a WARN that didn't occur with 1.5.1: WebPageRenderer - The Buffered response should be handled by

RE: PageMap locking...

2011-10-24 Thread YaronHolland
Actually using lazy panel makes the problem worse, now the user can click on the tabs, but they will not work as they wait to the lazy panel to complete... We need to allow to move to another tab, without waiting for the first tab to be rendered. -- View this message in context:

Re: 1.5.2: WebPageRenderer - The Buffered response should be handled by BufferedResponseRequestHandler

2011-10-24 Thread Matthias Keller
Hi Martin Thanks for the quick reply. Is there a drawback with just ignoring the WARN message for now compared to your workaround? Thanks Matt On 2011-10-24 10:58, Martin Grigorov wrote: https://issues.apache.org/jira/browse/WICKET-4163 On Mon, Oct 24, 2011 at 10:46 AM, Matthias Keller

Re: 1.5.2: WebPageRenderer - The Buffered response should be handled by BufferedResponseRequestHandler

2011-10-24 Thread Martin Grigorov
On Mon, Oct 24, 2011 at 11:23 AM, Matthias Keller matthias.kel...@ergon.ch wrote: Hi Martin Thanks for the quick reply. Is there a drawback with just ignoring the WARN message for now compared to your workaround? The only drawback I see is negligible waste of CPU time. Thanks Matt On

Re: Wrong path for resources on redirected login page

2011-10-24 Thread bjolletz
I just realized something that should maybe have been obvious to me at once... I'm not at home and able to test this atm, but I'm quite sure that my WicketFilter is positioned before my security-constraint in my web.xml. I didn't think security-constraint was treated as a filter, so I didn't think

Re: PageMap locking...

2011-10-24 Thread jcgarciam
If you are using wicket 1.4, you should be able to delegate your long running request to work with a different pageMap. On Mon, Oct 24, 2011 at 6:16 AM, YaronHolland [via Apache Wicket] ml-node+s1842946n3932536...@n4.nabble.com wrote: Actually using lazy panel makes the problem worse, now the

DataView or GridView with two columns by item

2011-10-24 Thread Tito
Hi, I'm trying to make a table with two columns by item. I mean, my item have to generate two columns. The first have attributes of the object, the second have another attribute with details. I can't do this. I made tests with DataView and GridView. I don't know what is the best component. Could

Re: PageMap locking...

2011-10-24 Thread YaronHolland
How can i delegate to another PageMap when i need it on a panel in a tabed page? The PageMap is declared in the page, how can i use a diffrent PageMap for a tab in the page? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/PageMap-locking-tp3930623p3932904.html Sent

Wicket and ExtJS

2011-10-24 Thread Brian Mulholland
So I am on the verge of giving up on integrating Wicket and ExtJS and going with some other webapp framework. I thought Wicket and ExtJS would be the perfect companions because Wicket is basically a hierarchy of components and so is ExtJS. If I could extend wicket components to write out the

Dynamic BorderBehavior and AjaxFormSubmitBehavior

2011-10-24 Thread Илья Нарыжный
Hello, Is it possible to use BorderBehavior and AjaxFormSubmitBehavior together on the same TextField? BorderBehavior in our case is dynamic: with the aid of isEnabled. But it seems, that border is not updating be AJAX: only by refresh of the page. Is it correct behavior? Thanks, Ilia

Re: Wicket and ExtJS

2011-10-24 Thread Ernesto Reinaldo Barreiro
Brian, Why don´t you look at how things have been implemented for other libraries (e.g. jquery UI). Can you give a concrete example of component you want to integrate that is giving you problems? And the strict Wicket component to markup structure is frustrating because ExtJS 4 builds

Wicket 1.5.2 HttpSessionDataStore cannot store pages with default store settings

2011-10-24 Thread Mikko Pukki
Hi all, Just noticed that when using HttpSessionDataStore pages are not saved. This happens when Wicket-PageSavingThread (org.apache.wicket.pageStore.AsynchronousDataStore) tries to store entry's data to the dataStore. In this case store happens to be HttpSessionDataStore. When trying to get

Re: Wicket 1.5.2 HttpSessionDataStore cannot store pages with default store settings

2011-10-24 Thread Martin Grigorov
Hi, On Mon, Oct 24, 2011 at 3:16 PM, Mikko Pukki mikko.pu...@syncrontech.com wrote: Hi all, Just noticed that when using HttpSessionDataStore pages are not saved. This happens when Wicket-PageSavingThread (org.apache.wicket.pageStore.AsynchronousDataStore) tries to store entry's data to

non caching dynamic links

2011-10-24 Thread Martin Makundi
Hi! What is the best way to add non caching sugar onto all non-bookmarkable and/or ajax links of a wicket 1.4.x application with standard out-of-the-box url encoding schemes? We are facing some problems with using http caching headers, some browsers completely stop working properly. ** Martin

Re: Wicket and ExtJS

2011-10-24 Thread Brian Mulholland
First, thanks for the prompt response. Okay, so I am struggling with writing a menu component. I saw the Suckerfish menu example and tried to adapt that towards my needs. I want my fellow developers to be able to write something like: MyMenu topMenu = new MyMenu(topMenu); MyMenu subMenu1 = new

reverse engineering a wicket application

2011-10-24 Thread roncking
Hi , I found an 'abandoned' wicket project that I want to use, but I don't know how to determine what urls are valid to access it from my jetty instance. I built it with no errors, and I can start the jetty server, but I don't know what url to use to access it. For example, I assume it would be

Re: reverse engineering a wicket application

2011-10-24 Thread anant . asty
Check the webApplication file you should be able to find the mounted pages there --Original Message-- From: roncking To: users@wicket.apache.org ReplyTo: users@wicket.apache.org Subject: reverse engineering a wicket application Sent: Oct 24, 2011 9:32 AM Hi , I found an 'abandoned'

Re: reverse engineering a wicket application

2011-10-24 Thread Martin Grigorov
Also try the home page : http://localhost:8080 From there hopefully you'll have links to the other pages. On Mon, Oct 24, 2011 at 5:38 PM, anant.a...@gmail.com wrote: Check the webApplication file you should be able to find the mounted pages there --Original Message-- From:

Re: PageMap locking...

2011-10-24 Thread Igor Vaynberg
you shouldnt have requests that take a long time to process. there are lots of problems with this like users starving your threadpool, etc. instead you should load the data in another thread and either use a push notification or let the client poll to find out if the data is available.

Re: DataView or GridView with two columns by item

2011-10-24 Thread Igor Vaynberg
dataview/listview/datatable should all work just fine, post your code. -igor On Mon, Oct 24, 2011 at 5:06 AM, Tito njyt...@gmail.com wrote: Hi, I'm trying to make a table with two columns by item. I mean, my item have to generate two columns. The first have attributes of the object, the

Re: reverse engineering a wicket application

2011-10-24 Thread Andrea Del Bene
Check WebApplication also for method getHomePage() or getSignInPageClass () to identify home and signin pages. Check the webApplication file you should be able to find the mounted pages there --Original Message-- From: roncking To: users@wicket.apache.org ReplyTo: users@wicket.apache.org

Re: Dynamic BorderBehavior and AjaxFormSubmitBehavior

2011-10-24 Thread Igor Vaynberg
the behavior needs to be refactored to take advantage of IAjaxRegionMarkupIdProvider so it can work properly with ajax repaints, perhaps you can create a patch and attach it to a jira ticket. -igor On Mon, Oct 24, 2011 at 5:59 AM, Илья Нарыжный phan...@ydn.ru wrote: Hello, Is it possible to

RE: Wicket 1.5.2 HttpSessionDataStore cannot store pages with default store settings

2011-10-24 Thread Mikko Pukki
Hi, Created a ticket: https://issues.apache.org/jira/browse/WICKET-4165 It is now marked as major because I forgot to change priority to minor. Not at all a showstopper by any means. Regards, Mikko Pukki -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: 24.

Re: DataView or GridView with two columns by item

2011-10-24 Thread Tito
Hi Igor this is what i'm doing: .java public DedicationsReportPanel(String id, IModelUsers user, final IModelDate dayOfReport) { super(id); add(new DataViewDedication(dedications, new DedicationDataProvider(dedicationService, user.getObject().getUserName())) { @Override protected void

Re: Wicket 1.5.2 HttpSessionDataStore cannot store pages with default store settings

2011-10-24 Thread Martin Grigorov
On Mon, Oct 24, 2011 at 6:08 PM, Mikko Pukki mikko.pu...@syncrontech.com wrote: Hi, Created a ticket: https://issues.apache.org/jira/browse/WICKET-4165 It is now marked as major because I forgot to change priority to minor. Not at all a showstopper by any means. Thanks! I made it minor.

Re: DataView or GridView with two columns by item

2011-10-24 Thread Igor Vaynberg
ahhh. so you want two *rows* not two *columns* per item, attach the repeater to a wicket:container tag like so: wicket:container wicket:id=repeater trtd.../tr trtd/tr /wicket:container you will have to rig up odd/even yourself -igor On Mon, Oct 24, 2011 at 9:10 AM, Tito

Re: DataView or GridView with two columns by item

2011-10-24 Thread Tito
I'm sorry, you are right! I said columns but I meant Rows! What is the java component for wicket container? How do you suggest to add Odd, Even classes? Thank you! 2011/10/24 Igor Vaynberg igor.vaynb...@gmail.com ahhh. so you want two *rows* not two *columns* per item, attach the

Re: DataView or GridView with two columns by item

2011-10-24 Thread Igor Vaynberg
On Mon, Oct 24, 2011 at 9:31 AM, Tito njyt...@gmail.com wrote: I'm sorry, you are right! I said columns but I meant Rows! What is the java component for wicket container? no need for a java component, wicket:container is an auto tag like wicket:message How do you suggest to add Odd, Even

Re: Wicket and ExtJS

2011-10-24 Thread samket
I would make class MyMenu as a Behavior or possibly a Label and class SubMenu as a POJO (don't make it extend Component). Everything doesn't have to be a subclass of component, right? You need to code MyMenu in such way that it generates javascript from POJOs. That way your developers don't

Re: wicket + jasper reports

2011-10-24 Thread Jim Pinkham
Got it - found another hint about DownloadLink that led me to this solution: @Override public void onSubmit() { ReportResource resource = new PdfReportResource(getReportName(), getParamsModel()); getRequestCycle().scheduleRequestHandlerAfterCurrent(

Re: Wicket and ExtJS

2011-10-24 Thread Igor Vaynberg
there have been plenty of discussions on wicket and extjs http://markmail.org/search/wicket+extjs my two cents is that this kind of integration is not a good idea. wicket is about manipulating existing markup in an object oriented way, while extjs is about generating the markup from code. there

Re: reverse engineering a wicket application

2011-10-24 Thread Martijn Dashorst
Get your IDE and open up the hierarchy for WebPage. From there you can see all pages in your application. Martijn On Mon, Oct 24, 2011 at 5:32 PM, roncking ronck...@gmail.com wrote: Hi , I found an 'abandoned' wicket project that I want to use, but I don't know how to determine what urls

Problem with ajax base url

2011-10-24 Thread David Berkman
I'm currently using wicket 1.5.1, testing with Firefox (latest). When wicket receives an ajax GET request it seems to store the query parameters of the last such request, and append them to the base url upon page reload. I'm sure this behavior serves a very valid purpose, but I'm wrapping a

Using DropDownChoice to select chexboxes

2011-10-24 Thread htaneva
Hi guys, I have a problem, which i couldnt solve for a while. I have a DropDownChoice control that contains a list of states(for example open and error). final SetDataReleaseProduction sel = new HashSetDataReleaseProduction(); private String selectedStatus = ; final DropDownChoice comboChoice

How to update a Component from Javascript

2011-10-24 Thread Julian Sinai
This should be easy, but I'm striking out... I want to use a new Javascript feature (EventSourcehttp://dev.w3.org/html5/eventsource/, part of HTML5 WebSockets) to push notifications from the server to the browser. Getting the basic mechanism to work was easy. What I can't figure out how to do is

Re: Enhancements from Logica Feedback

2011-10-24 Thread Jeremy Thomerson
On Mon, Oct 24, 2011 at 8:26 PM, Chris Colman chr...@stepaheadsoftware.comwrote: ** ** ** Hi Peter, ** ** I was wondering if you had a chance to go through the estimates. The hybrid option (3) comes in at around 4.4 days and gives Logica a system that will allow them to demonstrate

RE: Enhancements from Logica Feedback

2011-10-24 Thread Chris Colman
Chris, Did you send this to the wrong email address or did I miss something? Whoops! Please disregard this email - went to the wrong email address. -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: Problem with ajax base url

2011-10-24 Thread Martin Grigorov
Hi Try with 1.5.2. This is fixed with https://issues.apache.org/jira/browse/WICKET-4109 On Tue, Oct 25, 2011 at 12:09 AM, David Berkman david.berk...@glu.com wrote: I'm currently using wicket 1.5.1, testing with Firefox (latest). When wicket receives an ajax GET request it seems to store

Enclosures and transparent WebContainer

2011-10-24 Thread Dirk Forchel
Similiar to this post (http://apache-wicket.1842946.n4.nabble.com/Enclosure-changes-in-1-5-tp3822819p3822819.html) I've got the same error message using the enclosure-tag and a transparent WebContainer. I’ve just converted some working 1.4.18 code to 1.5.2 and got the same error: