Re: Invalid Date Using DatePicker and Short Date Format

2011-10-27 Thread david_
any help on this? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Invalid-Date-Using-DatePicker-and-Short-Date-Format-tp3058289p3943329.html Sent from the Users forum mailing list archive at Nabble.com.

Re: GoAndClearFilter does not reset filterForm fields

2011-10-27 Thread sfeher
Hi Attila, Here is my dataprovider. (It's ugly and works for just one column). http://apache-wicket.1842946.n4.nabble.com/file/n3943394/HrpDataProvider.java HrpDataProvider.java TIA Regards., Sandor -- View this message in context:

Multi-tabs and back-button support 1.5.2

2011-10-27 Thread Charlie Midtlyng
We are developing an application with forms and currently using wicket 1.4.18. There are primarily two issues that we are struggeling with when upgrading to wicket 1.5.2. Let's say we open Page A in two tabs, first Tab1 and then Tab2. If we fill the form in Tab1 and submit it will be valid

Re: wicketstuff-push examples working across browsers

2011-10-27 Thread Soheb Mahmood
Hello Seb, Thanks for answering back to my email quickly. I'm glad to hear support for Chrome, but are you also supporting, at least trying to support IE7 and above? Many thanks and regards, Soheb - Original Message - From: Sebastian nospam...@gmx.net To: users@wicket.apache.org Sent:

Re: LDMs load too early - hold outdated application data.

2011-10-27 Thread Maarten Billemont
On 26 Oct 2011, at 11:57, Wilhelmsen Tor Iver wrote: It seems to me that Wicket should detach its models again after events have triggered, in addition to after rendering has completed. That would reset the state of all models to what the developer expects it to be before rendering

Re: LDMs load too early - hold outdated application data.

2011-10-27 Thread Maarten Billemont
On 26 Oct 2011, at 12:14, Sven Meier wrote: Hi, Or use a separate LDM for each of your list items I'm not sure I understand what you mean here. Could you illustrate? your LDM seems to return a list of items and you're iterating over them with a ListView. Note that ListView uses a

Re: Multi-tabs and back-button support 1.5.2

2011-10-27 Thread Martin Grigorov
Hi, I think Page.renderCount is what stops the storing of the values. This flag indicates that the page the user uses is stale, i.e. there is another render of the same page happened after. The actual check is in PageProvider class. I don't see any clean solution for now. What should happen if

Bookmarkable link within AjaxLazyLoadPanel

2011-10-27 Thread codix
I am trying to put a link inside an AjaxLazyLoadPanel using BookmarkablePageLink and Label. However, I always run into a close tag not found error. Here's my Java code: add(new AjaxLazyLoadPanel(itemcnt){ @Override public Component getLazyLoadComponent(String id){ int count =

Re: Bookmarkable link within AjaxLazyLoadPanel

2011-10-27 Thread Martin Grigorov
On Thu, Oct 27, 2011 at 10:25 AM, codix jackeblag...@yahoo.com wrote: I am trying to put a link inside an AjaxLazyLoadPanel using BookmarkablePageLink and Label. However, I always run into a close tag not found error. Here's my Java code: add(new AjaxLazyLoadPanel(itemcnt){    @Override  

Re: Bookmarkable link within AjaxLazyLoadPanel

2011-10-27 Thread wholalotta
I think you forgot to close the following link.add(new Label(+count)*)*; -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Bookmarkable-link-within-AjaxLazyLoadPanel-tp3943587p3943617.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Bookmarkable link within AjaxLazyLoadPanel

2011-10-27 Thread manuelbarzi
Your HTML didn't make it. Better return a Panel/Fragment that contains the link+label. it seems to be merged with the rich html mail. clicking on the link below (nabble post), the html is perfectly visible. may it be considered for next time ;-) View this message in context:

Re: Bookmarkable link within AjaxLazyLoadPanel

2011-10-27 Thread codix
Sorry about that. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Bookmarkable-link-within-AjaxLazyLoadPanel-tp3943587p3943642.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: Bookmarkable link within AjaxLazyLoadPanel

2011-10-27 Thread Martin Grigorov
On Thu, Oct 27, 2011 at 10:43 AM, manuelbarzi manuelba...@gmail.com wrote: Your HTML didn't make it. Better return a Panel/Fragment that contains the link+label. it seems to be merged with the rich html mail. clicking on the link below (nabble post), the html is perfectly visible. may it be

Re: Multi-tabs and back-button support 1.5.2

2011-10-27 Thread Charlie Midtlyng
I would actually like to accept the data from both tabs as long as they are valid. The same effect should be available on back-button and changing values. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Multi-tabs-and-back-button-support-1-5-2-tp3943445p3943856.html

Re: Multi-tabs and back-button support 1.5.2

2011-10-27 Thread Martin Grigorov
The only option is see is to make the check for stale page configurable via IPageSettings for example. On Thu, Oct 27, 2011 at 12:16 PM, Charlie Midtlyng charlie.midtl...@gmail.com wrote: I would actually like to accept the data from both tabs as long as they are valid. The same effect should

popup to disapear on defaultdatatable paging

2011-10-27 Thread midikem
Hi i have a problem. I have a popup that triggers on a page. If it contains pageparameter popup it should trigger. The problem is that i want it to disapear on the defaultdatatable paging. Becouse now everytime i press something in the paging the popup popsup. Is there a way to override the paging

Re: popup to disapear on defaultdatatable paging

2011-10-27 Thread Martin Grigorov
On Thu, Oct 27, 2011 at 1:00 PM, midikem anders.nystro...@gmail.com wrote: Hi i have a problem. I have a popup that triggers on a page. If it contains pageparameter popup it should trigger. The problem is that i want it to disapear on the defaultdatatable paging. Becouse now everytime i press

@AuthorizeAction multiple actions

2011-10-27 Thread nebojsa.nedic
Hello all, I would like to ask is it possible to add multiple authorize actions on one class. It would mean that in case the user has role (i.e.) Admin component is enabled and rendered, for role user component is disabled and rendered, and for role guest component is not rendered. Kind of

Re: @AuthorizeAction multiple actions

2011-10-27 Thread Martin Grigorov
On Thu, Oct 27, 2011 at 1:23 PM, nebojsa.nedic nebojsa.b.ne...@gmail.com wrote: Hello all, I would like to ask is it possible to add multiple authorize actions on one class. It would mean that in case the user has role (i.e.) Admin component is enabled and rendered, for role user component

Re: @AuthorizeAction multiple actions

2011-10-27 Thread James Carman
You can't have two of the same annotations on the same target. You would need an @AuthorizeActions which would group them together. Or, check out how we handled this in wicketopia (shameless plug). :-) Sent from tablet device. Please excuse typos and brevity. On Oct 27, 2011 7:23 AM,

Re: @AuthorizeAction multiple actions

2011-10-27 Thread James Carman
He had different actions On Oct 27, 2011 7:32 AM, Martin Grigorov mgrigo...@apache.org wrote: On Thu, Oct 27, 2011 at 1:23 PM, nebojsa.nedic nebojsa.b.ne...@gmail.com wrote: Hello all, I would like to ask is it possible to add multiple authorize actions on one class. It would mean

Re: @AuthorizeAction multiple actions

2011-10-27 Thread Martijn Dashorst
This should work I guess? http://wicket.apache.org/apidocs/1.5/org/apache/wicket/authroles/authorization/strategies/role/annotations/AuthorizeActions.html Martijn On Thu, Oct 27, 2011 at 2:41 PM, James Carman ja...@carmanconsulting.com wrote: He had different actions On Oct 27, 2011 7:32 AM,

Re: @AuthorizeAction multiple actions

2011-10-27 Thread James Carman
That's what I said! :) On Oct 27, 2011 8:44 AM, Martijn Dashorst martijn.dasho...@gmail.com wrote: This should work I guess? http://wicket.apache.org/apidocs/1.5/org/apache/wicket/authroles/authorization/strategies/role/annotations/AuthorizeActions.html Martijn On Thu, Oct 27, 2011 at

Re: popup to disapear on defaultdatatable paging

2011-10-27 Thread midikem
I still got a problem. When i override onClick() and just try to logg something out nothing happends. @Override protected PagingNavigationLink? newPagingNavigationLink(String id, IPageable pageable, final int pageNumber) {

WicketFilter cannot resolve filterPath if filterMappingUrlPattern is not configured

2011-10-27 Thread Mikko Pukki
Hi, We noticed this while running our application in an environment where firewall blocks all connections to outside addresses. Adding filterMappingUrlPattern parameter helped. so for instance helloworld's web.xml (http://wicket.apache.org/learn/examples/helloworld.html) would be something

PageExpiredException: Different JSessionId after second Ajax-Call only in IE8

2011-10-27 Thread brazz
Hi, i think have read (hopefully) all the posts about PageExpiredExceptions (Serializable etc.). I have a DropDownChoice, that updates a List of Links via Ajax (please see code below). After updating the List of Links or clicking on one of the links the *second time* in IE8 i receive a

Re: wicketstuff-push examples working across browsers

2011-10-27 Thread Soheb Mahmood
I just read my email again and I sounded really rude when asking my question. What I mean to ask was, out of curiousity, if you were trying to get the IE7 browser+ working? I'm really sorry if I've offended you or anyone. I'm very embarrassed by that tone in the email (it's not what I actually

Re: wicketstuff-push examples working across browsers

2011-10-27 Thread Martin Grigorov
On Thu, Oct 27, 2011 at 3:58 PM, Soheb Mahmood so...@humboldt.co.uk wrote: I just read my email again and I sounded really rude when asking my question. What I mean to ask was, out of curiousity, if you were trying to get the IE7 browser+ working? I'm really sorry if I've offended you or

Re: wicketstuff-push examples working across browsers

2011-10-27 Thread Sebastian
hi Soheb, no problem. I gave it a try this morning on IE9 and it also failed with the current push version in trunk. I just committed a change that makes it work in IE. https://github.com/wicketstuff/core/commit/3e09edf3e21fdb039cdb844e88653ccfdd33a4c4 Regards, Seb On 27.10.2011 15:58,

Re: @AuthorizeAction multiple actions

2011-10-27 Thread nebojsa.nedic
Thank you very much for your help. Yes that helped - I did not know for this annotation. This is the code how it looks like now: @AuthorizeActions(actions = { @AuthorizeAction(action = ENABLE, roles = { ROLE_ADMIN }), @AuthorizeAction(action = RENDER, roles = {

Re: Invalid Date Using DatePicker and Short Date Format

2011-10-27 Thread nebojsa.nedic
I am not sure about your example, but this is working and it might help. Maybe there are better ways to do it as well. String dateFormat = dd.MM.; DateTextField dateField = new DateTextField(date, new PropertyModelDate(...), dateFormat);

Re: LDMs load too early - hold outdated application data.

2011-10-27 Thread Igor Vaynberg
On Thu, Oct 27, 2011 at 12:29 AM, Maarten Billemont lhun...@lyndir.com wrote: On 26 Oct 2011, at 12:14, Sven Meier wrote: Hi, Or use a separate LDM for each of your list items I'm not sure I understand what you mean here.  Could you illustrate? your LDM seems to return a list of items and

Re: Multi-tabs and back-button support 1.5.2

2011-10-27 Thread Igor Vaynberg
hrm. i dont think the rendercount should prevent me from using the page. if i write my application as a single page then our back button support is completely hosed. i should be able to back button and re-submit the form. -igor On Thu, Oct 27, 2011 at 3:20 AM, Martin Grigorov

Re: Multi-tabs and back-button support 1.5.2

2011-10-27 Thread Martin Grigorov
On Thu, Oct 27, 2011 at 5:48 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: hrm. i dont think the rendercount should prevent me from using the page. if i write my application as a single page then our back button support is completely hosed. i should be able to back button and re-submit the

Re: Multi-tabs and back-button support 1.5.2

2011-10-27 Thread Igor Vaynberg
no, not necessarily ajax. simple links that instead of navigating to a different page do panel replacement. -igor On Thu, Oct 27, 2011 at 8:51 AM, Martin Grigorov mgrigo...@apache.org wrote: On Thu, Oct 27, 2011 at 5:48 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: hrm. i dont think the

Re: Multi-tabs and back-button support 1.5.2

2011-10-27 Thread Martin Grigorov
On Thu, Oct 27, 2011 at 5:53 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: no, not necessarily ajax. simple links that instead of navigating to a different page do panel replacement. ok I think back button should not be harmed by the stale check. @Charlie: can you create a quickstart,

AjaxFormComponentUpdatingBehavior broken after invalid submit

2011-10-27 Thread Russell Pitre
Wicket 1.5.1 I have a DropDownChoice with an AjaxFormComponentUpdatingBehavior(onchange) behavior attached to it, when a value is chosen in the dropdown the selected value is used to lookup data via a service call and then update other textfields in the form. This works great until you use the

Re: An extensive RIA technology comparison matrix including Wicket

2011-10-27 Thread Eelco Hillenius
To be honest, I don't think the comparison matrix is that bad. I would consider a framework like Vaadin over Wicket if all I wanted a typical desktop style only (menu bar, content frames + layout manager, fancy widgets) only type of application, what they call application oriented, especially

Re: An extensive RIA technology comparison matrix including Wicket

2011-10-27 Thread Eelco Hillenius
Ugh, I mean 'just do that in JavaScript' On Thu, Oct 27, 2011 at 7:07 PM, Eelco Hillenius eelco.hillen...@gmail.com wrote: To be honest, I don't think the comparison matrix is that bad. I would consider a framework like Vaadin over Wicket if all I wanted a typical desktop style only (menu bar,

Re: LDMs load too early - hold outdated application data.

2011-10-27 Thread Maarten Billemont
On 27 Oct 2011, at 17:18, Igor Vaynberg wrote: On Thu, Oct 27, 2011 at 12:29 AM, Maarten Billemont lhun...@lyndir.com wrote: On 26 Oct 2011, at 12:14, Sven Meier wrote: Hi, Or use a separate LDM for each of your list items I'm not sure I understand what you mean here. Could you

Re: Bookmarkable link within AjaxLazyLoadPanel

2011-10-27 Thread codix
Here is the code: http://pastebin.com/uQnU464W http://pastebin.com/uQnU464W -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Bookmarkable-link-within-AjaxLazyLoadPanel-tp3943587p3946743.html Sent from the Users forum mailing list archive at Nabble.com.

Re: AjaxFormComponentUpdatingBehavior broken after invalid submit

2011-10-27 Thread Hans Lesmeister 2
Hi, did you already try a call to form.modelChanged() in onUpdate? - -- Regards, Hans http://cantaa.de -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxFormComponentUpdatingBehavior-broken-after-invalid-submit-tp3945964p3946955.html Sent from the Users