Re: PageableListView without Ajax call

2012-04-09 Thread Igor Vaynberg
use PagingNavigator instead of AjaxPagingNavigator. -igor 2012/4/9 Andre Schütz wic...@faustas.de: Hello, I use the PageableListView with an AjaxPagingNavigator. The PageableListView replaces the elements with an Ajax call. My customer wants a complete page rebuild without the Ajax call

Re: wicket 6.0 and automatic model detachment

2012-04-08 Thread Igor Vaynberg
it would be fine to have something like this, and enabled by default but only to have an option to turn it off On Sat, Apr 7, 2012 at 22:30, Igor Vaynberg igor.vaynb...@gmail.com wrote: -1 on adding it if its not enabled by default. its a trivial class thats only about 40-50 lines of real code

Re: wicket 6.0 and automatic model detachment

2012-04-08 Thread Igor Vaynberg
s/where this is enabled/where this is disabled/ -igor On Sun, Apr 8, 2012 at 8:51 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: like i said, this only makes sense as a core features. because components implemented with this enabled will not work properly in an application where

Re: wicket 6.0 and automatic model detachment

2012-04-07 Thread Igor Vaynberg
-1 on adding it if its not enabled by default. its a trivial class thats only about 40-50 lines of real code. adding it into extensions and not using it will just add to code rot because i doubt many people will go out looking for something like this since most of them wont even know that its

Re: wicket 6.0 and automatic model detachment

2012-04-06 Thread Igor Vaynberg
it as an extension or something in wicketstuff, at least for now? Carl-Eric www.wicketbuch.de On Fri, 6 Apr 2012 09:42:42 -0700 Igor Vaynberg igor.vaynb...@gmail.com wrote: i wrote a IDetachListener that automatically detaches any IModel fields found on components. is this something we would

Re: wicket 6.0 and automatic model detachment

2012-04-06 Thread Igor Vaynberg
. Looks like we're on the same page. On Fri, Apr 6, 2012 at 10:42 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: i wrote a IDetachListener that automatically detaches any IModel fields found on components. is this something we would be interested in for core? its been running in production

Re: Wicket Application on GoDaddy

2012-04-03 Thread Igor Vaynberg
weird. that always worked for me on tomcat. i suggest you read their docs about root contexts. -igor On Tue, Apr 3, 2012 at 9:31 AM, Satrix satrix...@gmail.com wrote: I changed the name of WAR file to ROOT.war but no luck now it's www.domain.com/ROOT/home :/ From what I know there is tomcat 5

Re: wicketstuff.org - down

2012-04-03 Thread Igor Vaynberg
redirect on the registrar... -igor On Tue, Apr 3, 2012 at 2:26 PM, Martin Grigorov mgrigo...@apache.org wrote: If the site is down then how the redirect would work ? :-) Read the content of the page. There is a link to the examples On Tue, Apr 3, 2012 at 11:23 PM, Brown, Berlin [GCG-PFS]

Re: More experimental code happening at Apache

2012-04-02 Thread Igor Vaynberg
from a couple of replies to this thread i am a little confused. are we talking about keeping experimental things in different modules on master or different branches? obviously the big problem is that not everyone has access to the apache git repo, so projects will still pop up on github, etc, if

Re: GitHub Pull Requests

2012-04-02 Thread Igor Vaynberg
also, a quick way to apply a pull request is to format it as a patch and run it through git's mailbox support: curl https://github.com/apache/wicket/pull/4.patch | git am -s (notice .patch appending to pull request url) -igor On Mon, Apr 2, 2012 at 2:56 PM, Jeremy Thomerson

Re: 1.4.7 migration to 1.5.5 failing on AWS Elastic Beanstalk caused by Form class

2012-03-31 Thread Igor Vaynberg
we run a few 1.5.x apps in aws on tomcat and have not experienced a problem like this. its probably something weird in your environment. -igor On Sat, Mar 31, 2012 at 10:58 AM, roddo123 rfr...@rogers.com wrote: I haven't been able to have much success with visualvm in that environment. But a

Re: 1.4.7 migration to 1.5.5 failing on AWS Elastic Beanstalk caused by Form class

2012-03-30 Thread Igor Vaynberg
attach visualvm to your aws instance and see whats hanging it up. -igor On Fri, Mar 30, 2012 at 7:43 PM, roddo123 rfr...@rogers.com wrote: I have been running a wicket 1.4.7  application on the aws elastic beanstalk. (It controls the server so the user only needs to deploy the war).  I

[jira] [Commented] (WICKET-4482) Regression in OnChangeAjaxBehavior

2012-03-29 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13241337#comment-13241337 ] Igor Vaynberg commented on WICKET-4482: --- it needs to be change inputchanged

Re: Component#setDefaultModel() doesn't call modelChanging()

2012-03-28 Thread Igor Vaynberg
im not sure why it doesnt call onmodelchanging(). it should, looks like a bug. but it does make the page dirty by calling addStateChange(). -igor On Wed, Mar 28, 2012 at 4:04 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, Is there a reason why

Re: Event handling and swapping panels

2012-03-28 Thread Igor Vaynberg
OuterPanelClass.this.panel.replaceWith(replacement); OuterPanelClass.this.panel=replacement; -igor On Wed, Mar 28, 2012 at 11:33 AM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: I want to swap panels using the event model in 1.5.  This is very similar to the panel swapping code

Re: Event handling and swapping panels

2012-03-28 Thread Igor Vaynberg
); -or- MyPage.this.panel.replaceWith(replacement); Or do I need to define workingPanel as a private member of my page class and then have: MyPage.this.workingPanel.replaceWith(replacement); MyPage.this.workingPanel = replacement; -Original Message- From: Igor Vaynberg

Re: Event handling and swapping panels

2012-03-28 Thread Igor Vaynberg
));                        }                };                p3Link.setOutputMarkupId(true);                p3Link.setMarkupId(p3Link);                add(p3Link);        } } -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Wednesday, March 28, 2012 3:29 PM To: users@wicket.apache.org

Re: Event handling and swapping panels

2012-03-28 Thread Igor Vaynberg
method and send the event out but the event is never picked up.  Does every panel need to have its own onEvent method to listen for the events. If so, I think the old method of handling ajax is going to be easier. -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com

Re: What real life scenario calls for page ID?

2012-03-27 Thread Igor Vaynberg
On Tue, Mar 27, 2012 at 2:53 PM, armhold armh...@gmail.com wrote: Martin wrote: HomePageMapper is explicitly registered in SystemMapper (the default compound root mapper).  The resource mapper example in wicket-examples also mounts custom home mapper. Thanks Martin. I managed to get

[jira] [Reopened] (WICKET-4468) Stateful components which are invisible force page to be stateful

2012-03-26 Thread Igor Vaynberg (Reopened) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg reopened WICKET-4468: --- Stateful components which are invisible force page to be stateful

[jira] [Commented] (WICKET-4468) Stateful components which are invisible force page to be stateful

2012-03-26 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13238551#comment-13238551 ] Igor Vaynberg commented on WICKET-4468: --- fix for this breaks wicket-cdi. imagine

[jira] [Commented] (WICKET-4468) Stateful components which are invisible force page to be stateful

2012-03-26 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13238595#comment-13238595 ] Igor Vaynberg commented on WICKET-4468: --- will probably need a unit test as well

Re: Access current request in IAuthorizationStrategy

2012-03-26 Thread Igor Vaynberg
RequestCycle.get() -igor On Sun, Mar 25, 2012 at 11:14 PM, Jürgen Lind juergen.l...@iteratec.de wrote: Hi, I need a way to decide wether a certain page can be opend based on the URL it was called with. Therefore, I need access to the current request in the 'isInstantiationAuthorized'

Re: [Vote] Release Apache Wicket 6.0.0-beta1

2012-03-25 Thread Igor Vaynberg
+1 On Mar 23, 2012 5:34 AM, Martin Grigorov mgrigo...@apache.org wrote: This vote is to release wicket 6.0.0-beta1. This is the first release of 6.x branch and its purpose is to get more feedback from the community. There are no more planned changes in the API but if you find something that

[jira] [Updated] (WICKET-3335) Component Queuing (extract hierarchy information from markup)

2012-03-23 Thread Igor Vaynberg (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-3335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg updated WICKET-3335: -- Fix Version/s: (was: 6.0.0-RC1) Component Queuing (extract hierarchy information

[jira] [Commented] (WICKET-3335) Component Queuing (extract hierarchy information from markup)

2012-03-23 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-3335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13236681#comment-13236681 ] Igor Vaynberg commented on WICKET-3335: --- this is a much more complex problem that i

Re: What real life scenario calls for page ID?

2012-03-22 Thread Igor Vaynberg
On Thu, Mar 22, 2012 at 7:59 AM, Pointbreak pointbreak+wicketst...@ml1.net wrote: On Sun, Mar 18, 2012, at 20:00, Igor Vaynberg wrote: i think there is some confusion here. wicket 1.4 had page ids. it also had page versions. in 1.5 we simply merged page id and page version into the same

Re: keep component state?

2012-03-22 Thread Igor Vaynberg
add the state to the hash of the page. and when initializing accordion check the hash and restore it. this should survive page refreshes. -igor On Thu, Mar 22, 2012 at 7:20 AM, Alfonso Quiroga alfonsose...@gmail.com wrote: Hi, in my job we are using wicket and I've made some components like

Re: What real life scenario calls for page ID?

2012-03-22 Thread Igor Vaynberg
On Thu, Mar 22, 2012 at 8:54 AM, Pointbreak pointbreak+wicketst...@ml1.net wrote: On Thu, Mar 22, 2012, at 08:23, Igor Vaynberg wrote: On Thu, Mar 22, 2012 at 7:59 AM, Pointbreak pointbreak+wicketst...@ml1.net wrote: On Sun, Mar 18, 2012, at 20:00, Igor Vaynberg wrote: i think there is some

Re: What real life scenario calls for page ID?

2012-03-22 Thread Igor Vaynberg
On Thu, Mar 22, 2012 at 10:20 AM, Pointbreak pointbreak+wicketst...@ml1.net wrote: On Thu, Mar 22, 2012, at 09:49, Igor Vaynberg wrote: On Thu, Mar 22, 2012 at 8:54 AM, Pointbreak pointbreak+wicketst...@ml1.net wrote: On Thu, Mar 22, 2012, at 08:23, Igor Vaynberg wrote: On Thu, Mar 22, 2012

Re: What real life scenario calls for page ID?

2012-03-22 Thread Igor Vaynberg
On Thu, Mar 22, 2012 at 11:37 AM, Pointbreak pointbreak+wicketst...@ml1.net wrote: On Thu, Mar 22, 2012, at 10:56, Igor Vaynberg wrote: On Thu, Mar 22, 2012 at 10:20 AM, Pointbreak pointbreak+wicketst...@ml1.net wrote: On Thu, Mar 22, 2012, at 09:49, Igor Vaynberg wrote: On Thu, Mar 22

Re: What real life scenario calls for page ID?

2012-03-22 Thread Igor Vaynberg
On Thu, Mar 22, 2012 at 12:24 PM, Pointbreak pointbreak+wicketst...@ml1.net wrote: On Thu, Mar 22, 2012, at 12:05, Igor Vaynberg wrote: On Thu, Mar 22, 2012 at 11:55 AM, Pointbreak pointbreak+wicketst...@ml1.net wrote: On Thu, Mar 22, 2012, at 11:42, Igor Vaynberg wrote: On Thu, Mar 22

Re: disable editing for the whole page

2012-03-22 Thread Igor Vaynberg
form.setenabled(false), or even page.setenabled(false) -igor On Thu, Mar 22, 2012 at 11:54 AM, albgentius genti.t...@gmail.com wrote: I am trying to disable the editing for every element in the page (something like @AuthorizeAction would do) after we click a button and get no errors back from

Re: What real life scenario calls for page ID?

2012-03-22 Thread Igor Vaynberg
On Thu, Mar 22, 2012 at 1:58 PM, Pointbreak pointbreak+wicketst...@ml1.net wrote: On Thu, Mar 22, 2012, at 12:30, Igor Vaynberg wrote: On Thu, Mar 22, 2012 at 12:24 PM, Pointbreak pointbreak+wicketst...@ml1.net wrote: On Thu, Mar 22, 2012, at 12:05, Igor Vaynberg wrote: On Thu, Mar 22, 2012

Re: keep component state?

2012-03-22 Thread Igor Vaynberg
, Igor Vaynberg igor.vaynb...@gmail.com wrote: add the state to the hash of the page. and when initializing accordion check the hash and restore it. this should survive page refreshes. -igor On Thu, Mar 22, 2012 at 7:20 AM, Alfonso Quiroga alfonsose...@gmail.com wrote: Hi, in my job we

Re: keep component state?

2012-03-22 Thread Igor Vaynberg
in the page when your accordian gets clicked. :) On Thu, Mar 22, 2012 at 2:35 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: ah. well, if you want it to be preserved across link clicks then you have to keep the state on the server. you wouldnt have to if the links were ajax and were

Re: What real life scenario calls for page ID?

2012-03-22 Thread Igor Vaynberg
at the mount if the page doesn't exists any more. And we depend on that, am i reading it right that we lost that in 1.5? On Mar 22, 2012 11:12 PM, Pointbreak pointbreak+wicketst...@ml1.net wrote: On Thu, Mar 22, 2012, at 14:34, Igor Vaynberg wrote: On Thu, Mar 22, 2012 at 1:58 PM, Pointbreak

Re: What real life scenario calls for page ID?

2012-03-22 Thread Igor Vaynberg
, the hybrid in 1.4 what we are using does look at the mount if the page doesn't exists any more. And we depend on that, am i reading it right that we lost that in 1.5? On Mar 22, 2012 11:12 PM, Pointbreak pointbreak+wicketst...@ml1.net wrote: On Thu, Mar 22, 2012, at 14:34, Igor Vaynberg wrote

Re: Two submit buttons in a form, one of them does not trigger validation

2012-03-21 Thread Igor Vaynberg
at 6:10 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: button.setdefaultformprocessing(false) ? He needs to save the values without validation. Calling button.setdefaultformprocessing(false) wont update the models. -igor On Wed, Mar 21, 2012 at 3:30 AM, Martin Grigorov mgrigo

Re: Release Wicket 6.0 milestone1 ?

2012-03-20 Thread Igor Vaynberg
+1 for release, +0 for beta vs milestone. -igor On Tue, Mar 20, 2012 at 10:59 AM, Martin Grigorov mgrigo...@apache.org wrote: Since we are going to follow semver.org let's call it 6.0.0-beta1. I believe it is more stable to be alpha. Please vote for M1 or beta1 so Igor can start the release

Re: What real life scenario calls for page ID?

2012-03-20 Thread Igor Vaynberg
On Tue, Mar 20, 2012 at 1:07 AM, Martin Grigorov mgrigo...@apache.org wrote: On Tue, Mar 20, 2012 at 12:55 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: indeed. we should check that the page pointed to by the id maps back to the mount, and create a new instance based on the mount

Re: What real life scenario calls for page ID?

2012-03-20 Thread Igor Vaynberg
On Tue, Mar 20, 2012 at 8:28 AM, Martin Grigorov mgrigo...@apache.org wrote: On Tue, Mar 20, 2012 at 5:20 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: On Tue, Mar 20, 2012 at 1:07 AM, Martin Grigorov mgrigo...@apache.org wrote: On Tue, Mar 20, 2012 at 12:55 AM, Igor Vaynberg igor.vaynb

Re: What real life scenario calls for page ID?

2012-03-20 Thread Igor Vaynberg
On Tue, Mar 20, 2012 at 8:52 AM, Martin Grigorov mgrigo...@apache.org wrote: On Tue, Mar 20, 2012 at 5:42 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: On Tue, Mar 20, 2012 at 8:28 AM, Martin Grigorov mgrigo...@apache.org wrote: On Tue, Mar 20, 2012 at 5:20 PM, Igor Vaynberg igor.vaynb

Re: What real life scenario calls for page ID?

2012-03-19 Thread Igor Vaynberg
indeed. we should check that the page pointed to by the id maps back to the mount, and create a new instance based on the mount if it doesnt. jira please. -igor On Mon, Mar 19, 2012 at 3:52 PM, Pointbreak pointbreak+wicketst...@ml1.net wrote: It's a problem when users bookmark it. Because ...?5

Re: What real life scenario calls for page ID?

2012-03-18 Thread Igor Vaynberg
On Sun, Mar 18, 2012 at 5:27 PM, Chris Colman chr...@stepaheadsoftware.com wrote: I've been thinking about the new 1.5 page ID/versioning feature (which we disabled as soon as we discovered it) and wondering if there is actually a real world scenario for stateful pages that actually requires

Re: Images, ajax requests and caching

2012-03-18 Thread Igor Vaynberg
we have a noncachingimage subclass... :) -igor On Sun, Mar 18, 2012 at 9:33 PM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: Hi, I have image resources which fetch the proper thumbnail picture stored in a DB based on the image's file name. I used the file name instead of parameters to

[jira] [Commented] (WICKET-4449) Change IValidationError API to work with java.io.Serializable as other methods (info, error, success, ...) in Component and Session

2012-03-14 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13229335#comment-13229335 ] Igor Vaynberg commented on WICKET-4449: --- why this change in ValidationError

[jira] [Commented] (WICKET-4449) Change IValidationError API to work with java.io.Serializable as other methods (info, error, success, ...) in Component and Session

2012-03-14 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13229376#comment-13229376 ] Igor Vaynberg commented on WICKET-4449: --- looks good. one more thing i missed

Re: Design of FormComponent#error(IValidationError)

2012-03-14 Thread Igor Vaynberg
i dont quite follow all this, but if you just want to change IValidationErrror#getErrorMessage() to return a Serializable instead of a String im fine with that. -igor On Wed, Mar 14, 2012 at 6:17 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, A colleague of mine asked me why

Re: Design of FormComponent#error(IValidationError)

2012-03-14 Thread Igor Vaynberg
bring the 'error' that produced it if it needs it. OK ? Wicket 6.0 only of course. On Wed, Mar 14, 2012 at 5:41 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: i dont quite follow all this, but if you just want to change IValidationErrror#getErrorMessage() to return a Serializable instead

Re: Check if FormComponent is valid in later request

2012-03-14 Thread Igor Vaynberg
if the form is invalid your button's onsubmit() wont get fired... -igor On Wed, Mar 14, 2012 at 1:53 PM, Thomas Götz t...@decoded.de wrote: Hi! I have the following situation: I have a form containing several FormComponents and Validators, submitted via Ajax. Then I have an AjaxButton on

Re: Apache Wicket 1.4.20 is released

2012-03-12 Thread Igor Vaynberg
outside of security fixes this is most likely the last release. -igor On Mon, Mar 12, 2012 at 9:39 AM, Thomas Singer wic...@regnis.de wrote: Just curious: how long do you plan to support Wicket 1.4? Tom On 12.03.2012 09:06, Martin Grigorov wrote: This is the twentieth maintenance release

Re: [vote] release wicket 1.4.20

2012-03-11 Thread Igor Vaynberg
the vote has passed with 4 binding +1s and 1 nonbinding +1 -igor On Wed, Mar 7, 2012 at 8:46 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: This vote is to release wicket 1.4.20 Branch http://git-wip-us.apache.org/repos/asf/wicket/?p=wicket.git;a=shortlog;h=refs/heads/build/wicket-1.4.20

Re: [vote] release wicket 1.4.20

2012-03-08 Thread Igor Vaynberg
+1 -igor On Wed, Mar 7, 2012 at 8:46 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: This vote is to release wicket 1.4.20 Branch http://git-wip-us.apache.org/repos/asf/wicket/?p=wicket.git;a=shortlog;h=refs/heads/build/wicket-1.4.20 Artifacts http://people.apache.org/~ivaynberg/wicket

Re: [vote] release wicket 1.5.5

2012-03-08 Thread Igor Vaynberg
the vote is now closed. it has passed with 5 +1s and 2 nonbinding +1s. will upload to mirrors and create the tag. -igor On Mon, Mar 5, 2012 at 9:42 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: This vote is to release wicket 1.5.5 Branch http://git-wip-us.apache.org/repos/asf/wicket/?p

Re: Best practice for adding style to a component

2012-03-08 Thread Igor Vaynberg
html is best for static classes for java subclass the component and override oncomponenttag and set the class from there. if you cannot do that or you have some cross-component-cutting logic then use an attribute modifier. -igor On Thu, Mar 8, 2012 at 12:58 PM, Uvex

[jira] [Updated] (WICKET-4325) Wicket autocomplete doesn't take the scrollbar into account when calculating the width

2012-03-07 Thread Igor Vaynberg (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg updated WICKET-4325: -- Fix Version/s: (was: 1.4.20) 1.4.21 Wicket autocomplete doesn't

[jira] [Updated] (WICKET-4299) Correct tests for nested form handling

2012-03-07 Thread Igor Vaynberg (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg updated WICKET-4299: -- Fix Version/s: (was: 1.4.20) 1.4.21 Correct tests for nested form

[jira] [Updated] (WICKET-4295) Allow outer forms to optionally participate in a nested form's submit

2012-03-07 Thread Igor Vaynberg (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg updated WICKET-4295: -- Fix Version/s: (was: 1.4.20) 1.4.21 Allow outer forms

Re: [vote] release wicket 1.5.5

2012-03-07 Thread Igor Vaynberg
+1 -igor On Mon, Mar 5, 2012 at 9:42 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: This vote is to release wicket 1.5.5 Branch http://git-wip-us.apache.org/repos/asf/wicket/?p=wicket.git;a=shortlog;h=refs/heads/build/wicket-1.5.5 Artifacts http://people.apache.org/~ivaynberg/wicket

[vote] release wicket 1.4.20

2012-03-07 Thread Igor Vaynberg
This vote is to release wicket 1.4.20 Branch http://git-wip-us.apache.org/repos/asf/wicket/?p=wicket.git;a=shortlog;h=refs/heads/build/wicket-1.4.20 Artifacts http://people.apache.org/~ivaynberg/wicket-1.4.20/dist/ Maven repo

Re: How to Reference a /WebContent File from Wicket

2012-03-07 Thread Igor Vaynberg
see how ContextImage does it -igor On Wed, Mar 7, 2012 at 10:45 AM, eugenebalt eugeneb...@yahoo.com wrote: I am adding a shared resource to my app, and I need to reference a file which resides under /WebContent. Our app code structure is this: The /src folder has all the HTML/Java's for

Re: Wicket 6.0 status

2012-03-06 Thread Igor Vaynberg
this is a difference between a framework/library and a service. osgi is really designed so people can expose services. a service has a clear separation of what is public and what is private. a framework, like wicket, on the other hand, has no such separation because the user is meant to write

Re: Release process with git

2012-03-06 Thread Igor Vaynberg
when we start a build we create a branch, for example wicket-1.5.4 was built in the build/wicket-1.5.4 branch [4]. when the release vote passes the branch is tagged with a release tag, in case of 1.5.4 it was release/wicket-1.5.4 [5] you can see both the tags and branches in [3], in fact the

[vote] release wicket 1.5.5

2012-03-05 Thread Igor Vaynberg
This vote is to release wicket 1.5.5 Branch http://git-wip-us.apache.org/repos/asf/wicket/?p=wicket.git;a=shortlog;h=refs/heads/build/wicket-1.5.5 Artifacts http://people.apache.org/~ivaynberg/wicket-1.5.5/dist/ Maven repo https://repository.apache.org/content/repositories/orgapachewicket-054/

[jira] [Commented] (WICKET-3104) add feature to feedbackpanel to automatically add itself to ajax requests

2012-03-02 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-3104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13221019#comment-13221019 ] Igor Vaynberg commented on WICKET-3104: --- fwiw public class AutoFeedbackPanel

Re: Wicket 1.5 - Accessing the Previously Requested Page

2012-03-02 Thread Igor Vaynberg
write your own irequestcyclelistener, implement onrequesthandlerresolved() and in that method check if the handler is a IPageRequestHandler and stash the page anywhere you want, like in the request cycle's metadata. -igor On Fri, Mar 2, 2012 at 8:08 AM, Douglas Ferguson the...@gmail.com wrote:

Re: Component implementation - instance variables

2012-02-28 Thread Igor Vaynberg
On Tue, Feb 28, 2012 at 2:49 PM, Allen Gilbert allen.gilb...@doane.edu wrote: I understand that it's not a good idea to store model bean objects as instance variables in a Component, but I'm not clear on this: is it OK to store references to child Components as private fields in a parent

Re: onConfigure()

2012-02-28 Thread Igor Vaynberg
shouldnt be. -igor On Tue, Feb 28, 2012 at 2:58 PM, Allen Gilbert allen.gilb...@doane.edu wrote: OK, one more question, then I'll stop pestering everyone...at least for now : ). Is it problematic to make changes to a Component's model in its onConfigure() method? -Allen

Re: How to use autoAdd?

2012-02-28 Thread Igor Vaynberg
@param markupStream *Null, if the parent container is able to provide the markup. Else the markup *stream to be used to render the component. -igor On Tue, Feb 28, 2012 at 7:55 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Nope. It

Re: Performance optimization

2012-02-25 Thread Igor Vaynberg
this is the same as add(new label(foo, new loadabledetachablemodel() { load() { return markup }}).setescapemdoelstrings(false)) -igor On Sat, Feb 25, 2012 at 2:00 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Now that I am working with the markupresourcestream directly, I am

Re: Performance optimization

2012-02-25 Thread Igor Vaynberg
then its a panel -igor On Sat, Feb 25, 2012 at 4:44 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: this is the same as add(new label(foo, new loadabledetachablemodel() { load() { return markup }}).setescapemdoelstrings(false)) Is not completely same, because a

Re: Dot in DataTable Columnheader - not allowed?

2012-02-24 Thread Igor Vaynberg
perhaps the dot is being interpreted as part of a path expression by a property model somewhere... try using normal models instead. -igor On Thu, Feb 23, 2012 at 11:31 PM, Rain... Is wet! oryp-moel...@hotmail.de wrote: Some more info: My DataProvider is using a Model of the type

Re: Resource Caching in 1.5.

2012-02-24 Thread Igor Vaynberg
package resource references should not have anticache appended, please create a quickstart. -igor On Fri, Feb 24, 2012 at 6:39 AM, Jürgen Lind juergen.l...@iteratec.de wrote: Hi, my migration to Wicket 1.5. is progressing, but there are still some unresolved issues. Currently, I am trying

Re: Resource Caching in 1.5.

2012-02-24 Thread Igor Vaynberg
() { return false; } }; } -igor On Fri, Feb 24, 2012 at 8:02 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: package resource references should not have anticache appended, please create a quickstart. -igor On Fri, Feb

[jira] [Resolved] (WICKET-4371) Timer problems with Internet Explorer

2012-02-23 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-4371. --- Resolution: Invalid closing for now. please reopen if you find a problem with wicket itself

[jira] [Updated] (WICKET-3317) Investigate whether introducing Optional will make life easier

2012-02-23 Thread Igor Vaynberg (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-3317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg updated WICKET-3317: -- Fix Version/s: (was: 6.0.0) looking into using nullability annotations. no need to have

Re: ListChoice weird way to set default max rows

2012-02-23 Thread Igor Vaynberg
imho the entire component can be removed. all that code just to set the size which can easily be done with an anon subclass. the size attribute is usually static anyways and comes from markup... -igor On Thu, Feb 23, 2012 at 7:14 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, ListChoice

Re: Log a warning when there are several ajax event behaviors on the same event

2012-02-23 Thread Igor Vaynberg
looks good to me -igor On Thu, Feb 23, 2012 at 6:01 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, What do you think about this additional code in AjaxEventBehavior#onComponentTag() (Wicket 1.5) : @@ -108,6 +112,20 @@ public abstract class AjaxEventBehavior extends

Re: Performance optimization

2012-02-23 Thread Igor Vaynberg
On Thu, Feb 23, 2012 at 7:26 AM, Thomas Matthijs li...@selckin.be wrote: On Thu, Feb 23, 2012 at 4:12 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! Any experiences how to optimize the performance of a Page that contains nested ListView:s with a total page serialized size

Re: Performance optimization

2012-02-23 Thread Igor Vaynberg
you can, for example, replace the entire listview with a single component like this: class workerlist extends webcomponent implements ilinklistener { oncomponenttagbody() { stringbuilder markup=new stringbuilder(); markup.append(table); for (worker:list) {

Re: Performance optimization

2012-02-23 Thread Igor Vaynberg
optimization) or is there a way to interact nicely with wicket-ajax with such inline code? ** Martin 2012/2/23 Igor Vaynberg igor.vaynb...@gmail.com: you can, for example, replace the entire listview with a single component like this: class workerlist extends webcomponent implements

Re: Performance optimization

2012-02-23 Thread Igor Vaynberg
stateless. ** Martin 2012/2/23 Igor Vaynberg igor.vaynb...@gmail.com: ajax updates work based on components, so in this particular case you would only be able to update the entire listview using ajax. so design your component breakdown accordingly. of course if you design these optimized

[jira] [Commented] (WICKET-4371) Timer problems with Internet Explorer

2012-02-22 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13213721#comment-13213721 ] Igor Vaynberg commented on WICKET-4371: --- do you somehow depend on what the last

Re: [4/6] git commit: Check whether warning level is enabled before trying to log.

2012-02-22 Thread Igor Vaynberg
when using variable placeholders in the log statements there is no need to check if the logging level is enabled because the call to check is just as expensive as the call to log. these kinds of checks only make sense if the log statement uses string concats like this: log.warn(page +page+

[jira] [Commented] (WICKET-4371) Timer problems with Internet Explorer

2012-02-21 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13212837#comment-13212837 ] Igor Vaynberg commented on WICKET-4371: --- what exactly does that last request break

Re: git commit: WICKET-4422 Minimize Wicket's Ajax JavaScript files at build time

2012-02-21 Thread Igor Vaynberg
, Feb 21, 2012 at 5:53 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: why do we need MinifiedAwareJavaScriptResourceReference in a seperate class? why not roll it into JavaScriptResourceReference? -igor On Tue, Feb 21, 2012 at 4:59 AM,  mgrigo...@apache.org wrote: Updated Branches:  refs

Re: Reusing forms in different contexts

2012-02-21 Thread Igor Vaynberg
*abstract* class myformpanel extends panel { public myformpanel(string id) { add(new button(save) { onsubmit() { *onsave(model);* });} *protected abstract void onsave(imodel);* } add(new myformpanel(panel) { protected void onsave(imodel) { // do stuff

Re: ContextNotActiveException using net.ftlines.wicket-cdi:wicket-cdi 1.2

2012-02-21 Thread Igor Vaynberg
you are missing seam-conversation-weld jar, see the Setting Up wicket-cdi section under [1]. -igor On Tue, Feb 21, 2012 at 5:37 PM, Claudio Miranda clau...@claudius.com.br wrote: Hi, I am trying to use wicket + cdi, reading Ivan post at [1], there is an exception

Re: Wicket 6.0 status

2012-02-20 Thread Igor Vaynberg
On Mon, Feb 20, 2012 at 11:53 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, Let's discuss the open tasks for Wicket 6.0. From the roadmap: - component queueing @ivaynberg: any progress here ? I'm OK to skip this for later release if it is too much work. im ok skipping it too. this

[jira] [Resolved] (WICKET-4415) Multiple execution of the WicketFilter for a single request

2012-02-17 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-4415. --- Resolution: Incomplete Assignee: Igor Vaynberg use the mailing list for these kinds

Re: Wicket as a templating engine

2012-02-17 Thread Igor Vaynberg
write your own tag handler. use wicket:message as a template. see WicketMessageResolver and WicketMessageTagHandler -igor On Fri, Feb 17, 2012 at 8:36 PM, pkc pkci...@gmail.com wrote: I'm using wicket page inheritance to take care of consistent look and feel for pages but I'm stuck on one

Re: modal dialog and nesting of forms.

2012-02-16 Thread Igor Vaynberg
the whole idea of putting the modal into a wicket form is that forms inside the modal should change their form tags to divs because they see they are inside another form... -igor On Thu, Feb 16, 2012 at 11:16 AM, Johan Compagner jcompag...@gmail.com wrote: here:

Re: modal dialog and nesting of forms.

2012-02-16 Thread Igor Vaynberg
it On Thu, Feb 16, 2012 at 20:20, Igor Vaynberg igor.vaynb...@gmail.comwrote: the whole idea of putting the modal into a wicket form is that forms inside the modal should change their form tags to divs because they see they are inside another form... -igor On Thu, Feb 16, 2012 at 11:16 AM

Re: modal dialog and nesting of forms.

2012-02-16 Thread Igor Vaynberg
in js code and the one inside the panel that i show in the modal dialog But it is fixed by overriding that isRootForm() and returning false myself then it works just fine On Thu, Feb 16, 2012 at 20:52, Igor Vaynberg igor.vaynb...@gmail.comwrote: the modal dialog form is, but since the panel

Re: modal dialog and nesting of forms.

2012-02-16 Thread Igor Vaynberg
, Igor Vaynberg igor.vaynb...@gmail.comwrote: thats why the javadoc says to put the modal window component inside a wicket form... -igor On Thu, Feb 16, 2012 at 11:55 AM, Johan Compagner jcompag...@gmail.com wrote: but the modal dialog iself is not in a form.. there are only 2 forms

Re: AbstractPageableView cachedItemCount

2012-02-16 Thread Igor Vaynberg
. On Wed, Feb 15, 2012 at 7:33 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: so when should it be discarded? -igor On Wed, Feb 15, 2012 at 4:25 PM, Jonathan Tougas jtou...@gmail.com wrote: The cachedItemCount calculated in onBeforeRender should not be discarded at the end of a request

Re: Slow rendering

2012-02-16 Thread Igor Vaynberg
why is your tree rendering all the nodes ahead of time? shouldnt it render them lazily as they are expanded? -igor On Thu, Feb 16, 2012 at 10:50 AM, Jürgen Lind juergen.l...@iteratec.de wrote: Hi there, I am currently encountering a problem that I don't know how to attack... We have

Re: Feedback Panel exposes password in cleartext if minimumLength test fails

2012-02-15 Thread Igor Vaynberg
override the validator message to not show the value... -igor On Wed, Feb 15, 2012 at 3:11 PM, pblakez pbla...@gmail.com wrote: Gidday when I add password field with minimumLength and the user enters an shorter password it is displayed in the feedback panel in cleartext is there a work

Re: AbstractPageableView cachedItemCount

2012-02-15 Thread Igor Vaynberg
so when should it be discarded? -igor On Wed, Feb 15, 2012 at 4:25 PM, Jonathan Tougas jtou...@gmail.com wrote: The cachedItemCount calculated in onBeforeRender should not be discarded at the end of a request (so the clear in onDetach and readObject shouldn't be there). This way it would

<    1   2   3   4   5   6   7   8   9   10   >