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

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

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!

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

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

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:

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

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

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:

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

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

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

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.

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

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):

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.

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:

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

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();

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

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

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

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

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

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

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

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,

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

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:

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

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;

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

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

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

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

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

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:

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

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