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 Leade

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 wrote: > Hi, > I was looking at a lot of new features of HTML5. I did see HTML 5 support > wa

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 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 don

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

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 wrote: > ** ** > > 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 pro

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/w

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

Re: abort loading lazy components

2011-11-01 Thread Martin Grigorov
On Tue, Nov 1, 2011 at 10:36 AM, Michal Wegrzyn 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 t

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.184294

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 requ

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 c

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 unsubscribe,

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.Compone

Re: maven repository for JQWicket

2011-11-01 Thread Martin Grigorov
tell us On Tue, Nov 1, 2011 at 1:56 PM, Decebal Suiu 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 wrote: > tell us let us know it too > > On Tue, Nov 1, 2011 at 1:56 PM, Decebal Suiu wrote: >> Ignore. I found it. >> >> -- >> View this message in context: >> http://apache-wicket.1842946.n4.nabble.com/maven-repository-for-JQWicket-tp3963213p396

Re: maven repository for JQWicket

2011-11-01 Thread Decebal Suiu
See http://code.google.com/p/jqwicket/#Quickstart_for_maven_users googlecode http://jqwicket.googlecode.com/svn/m2-repo/releases/ com.google.code.jqwicket jqwicket 0.7 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/maven-repository-for-JQ

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 Set parameterNames = requestParameters.getParameterNames(); Map

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

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 wrote: > Hi. > I'm having trouble PageExpired exception in non Bookmark page. > In the case of Wicket 1.5.2 is the log o

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

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

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 wrote: > On Tue, Nov 1, 2011 at 1:59 PM, Martijn Dashorst > 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

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 wrote: > I'll extend the examples with this use case soon > > On Tue, Nov 1, 2011 at 3:58 AM, mango-object > wrote: >> we are trying t

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 wrote: > See > http://svn.apache.org/viewvc/wicket

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:32 PM, Leonardo D'Alimonte wrote: > 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

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 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: java.lang.Illegal

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 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 submi

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 > w

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,

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

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 t

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 y

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 child

Re: Upgrading of Wicket application on server without losing state

2011-11-01 Thread Igor Vaynberg
assuming you have no breaking changes to your db schema having no downtime is relatively easy. while the process sounds involved it can be easily automated - ie you write it once and from then one deploys are easy. * suppose you have two servers SA and SB in a load balancer pool PA * create a new

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-tp3962290

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 Grigoro

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

How to clear PageMap in Wicket 1.5?

2011-11-01 Thread Matthias Keller
Hi Upon logging out we need to keep the current user's session to still display some information but we want to remove all previous pages from the PageMap (or however that is solved in Wicket 1.5 now) so that he cannot go back and continue on these pages. In Wicket 1.4 we found a way to achiev