[jira] [Resolved] (WICKET-4408) Components resolved by an IComponentResolver fail to contribute to header via renderHead

2012-02-14 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-4408. --- Resolution: Won't Fix Assignee: Igor Vaynberg auto components cannot contribute

Re: replaceOuterHtmlSafari not working proerly

2012-02-14 Thread Igor Vaynberg
file this in our jira so it doesnt get lost -igor On Mon, Feb 13, 2012 at 9:56 PM, pmaks piyu...@live.com wrote: Hi All, Please have a look at below images before form submit http://apache-wicket.1842946.n4.nabble.com/file/n4386241/before-submit.png after form submit (it shows the

Re: SpringComponentInjector and non null fields

2012-02-14 Thread Igor Vaynberg
that is there to give users a chance at test time to override injection partially, as in component c=new mycomponent(); c.service1=mock(service.class); injector.inject(c); injector will inject everything but service1. key here is to make sure service doesnt have to be defined in the test's

Re: Architectural question

2012-02-12 Thread Igor Vaynberg
we use a pretty thin architecture described here: https://www.42lines.net/2011/11/29/leveraging-conversations/ https://www.42lines.net/2011/12/01/simplifying-non-trivial-user-workflows-with-conversations/ this allows us to expose our domain model to the UI but control when and where the updates

Re: source/commits in jira

2012-02-10 Thread Igor Vaynberg
we can write a server hook to make sure the string is present i suppose. i am not sure if infra would like that or not... -igor On Fri, Feb 10, 2012 at 8:10 AM, Johan Compagner jcompag...@gmail.com wrote: can we somehow force that? Just like we did with svn that has that build in case:xxx

Re: git commit: change 'void' methods to pass-through checked argument

2012-02-10 Thread Igor Vaynberg
i dont really like this. having a set of checks at the top of the method is easier to read/parse then a bunch of checks mixed with a bunch of assignments... -igor On Fri, Feb 10, 2012 at 2:47 PM, p...@apache.org wrote: Updated Branches:  refs/heads/master b0118c114 - 57a09fbe6 change

[jira] [Reopened] (WICKET-2244) Allow overriding of the Validator default MessageKey

2012-02-09 Thread Igor Vaynberg (Reopened) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-2244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg reopened WICKET-2244: --- Allow overriding of the Validator default MessageKey

[jira] [Resolved] (WICKET-4400) form parameters which should be submitted using POST are added to url after first display of feedback messages

2012-02-09 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-4400. --- Resolution: Fixed form parameters which should be submitted using POST are added

[jira] [Resolved] (WICKET-4286) ListView causes page ID increment

2012-02-09 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-4286. --- Resolution: Not A Problem Assignee: Igor Vaynberg this is no different then how 1.4.x

[jira] [Resolved] (WICKET-1654) Update validators to accept IModel parameter for easy override of error messages

2012-02-09 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-1654. --- Resolution: Fixed Fix Version/s: 6.0.0 in 6.0 validators provide a decorate() method

[jira] [Updated] (WICKET-4358) BufferedWebResponse fails to add/clear cookie in redirect

2012-02-09 Thread Igor Vaynberg (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg updated WICKET-4358: -- Comment: was deleted (was: I don't have time to debug your code by just reading it ... :-/ I

[jira] [Commented] (WICKET-4286) ListView causes page ID increment

2012-02-09 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13205189#comment-13205189 ] Igor Vaynberg commented on WICKET-4286: --- go to http://www.wicket-library.com/wicket

[jira] [Commented] (WICKET-4286) ListView causes page ID increment

2012-02-09 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13205193#comment-13205193 ] Igor Vaynberg commented on WICKET-4286: --- i think the root cause here

Re: Are the API breaks in WICKET-4234 really necessary ?

2012-02-09 Thread Igor Vaynberg
, Igor Vaynberg igor.vaynb...@gmail.com wrote: On Fri, Feb 3, 2012 at 9:03 AM, Martin Grigorov mgrigo...@apache.org wrote: On Fri, Feb 3, 2012 at 6:23 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: the code is now much simpler and cleaner because years of baggage have been removed. further, once

Re: Are the API breaks in WICKET-4234 really necessary ?

2012-02-09 Thread Igor Vaynberg
so why isnt the field that must not be null not use the setrequired() flag? -igor On Thu, Feb 9, 2012 at 7:46 AM, Martin Grigorov mgrigo...@apache.org wrote: On Thu, Feb 9, 2012 at 5:42 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: typically there is no usecase for a validator sometimes

Re: Expiration of unversioned pages in Wicket 1.5

2012-02-09 Thread Igor Vaynberg
this is a bad idea. what if the user does MyPage p=new MyPage(); p.setSomeFlag(true); setResponsePage(p); wicket doesnt know that the instance of MyPage is prestine, so it cannot make the decision to throw it away and redirect to another instance. -igor On Thu, Feb 9, 2012 at 12:42 AM, vineet

Re: [1.5.4] addorReplace and then later visitor in same request

2012-02-09 Thread Igor Vaynberg
youve removed this from page hierarchy so you can no longer say this.getPage(). call getPage() on the component that replaced this -igor On Thu, Feb 9, 2012 at 5:27 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Hi I have a problem where I first call addOrReplace on a components

[jira] [Resolved] (WICKET-4234) Remove AbstractValidator because its mostly noise

2012-02-08 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-4234. --- Resolution: Fixed reintroduced AbstractValidator and deprecated it Remove

Re: Are the API breaks in WICKET-4234 really necessary ?

2012-02-08 Thread Igor Vaynberg
On Fri, Feb 3, 2012 at 9:03 AM, Martin Grigorov mgrigo...@apache.org wrote: On Fri, Feb 3, 2012 at 6:23 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: the code is now much simpler and cleaner because years of baggage have been removed. further, once we start working on clientside validation

Re: Are the API breaks in WICKET-4234 really necessary ?

2012-02-03 Thread Igor Vaynberg
the code is now much simpler and cleaner because years of baggage have been removed. further, once we start working on clientside validation extending AbstractValidator will not work because these validators will have to extend Behavior instead, this commit paved the road for that. also

[jira] [Resolved] (WICKET-2705) Feedback messages get cleaned up in AJAX request, thus never rendered and never visible to user

2012-02-02 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-2705. --- Resolution: Fixed Feedback messages get cleaned up in AJAX request, thus never

Re: Stateless and Ajax

2012-02-02 Thread Igor Vaynberg
to store in url and they can be complex too so kind of very tough to do if not impossible or i am thinking in wrong direction? On Wed, Feb 1, 2012 at 10:22 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: if you are using stateless ajax links like that then the fact that the panel has been

Re: Stateless and Ajax

2012-02-02 Thread Igor Vaynberg
, Igor Vaynberg igor.vaynb...@gmail.com wrote: no, you are thinking in the right direction. this is why wicket's stateful model is better then stateless frameworks for complex UIs -igor On Thu, Feb 2, 2012 at 11:24 AM, vineet semwal vineetsemwal1...@gmail.com wrote: i am just now trying

[jira] [Resolved] (WICKET-4378) datatime extension's calendar-min.js appears to be corrupted / out of sync

2012-02-01 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-4378. --- Resolution: Fixed Fix Version/s: 6.0.0 1.5.5 Assignee

Re: Stateless and Ajax

2012-02-01 Thread Igor Vaynberg
if you are using stateless ajax links like that then the fact that the panel has been replaced should be added as a query parameter so the page is reinitialized with the right panel, thats how stateless frameworks work :) -igor On Wed, Feb 1, 2012 at 7:21 AM, Martin Grigorov mgrigo...@apache.org

Re: Deprecate Component#onMarkupAttached() ?

2012-01-31 Thread Igor Vaynberg
+1 to deprecate in 1.5.x and remove in 6.0 -igor On Tue, Jan 31, 2012 at 8:44 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, To solve https://issues.apache.org/jira/browse/WICKET-4361 I moved the call to Component#internalOnMarkupAttached() from MarkupContainer#add() to

Re: Design of StringValue toOptionalXYZ() and toXYZ(defaultValue)

2012-01-30 Thread Igor Vaynberg
+1 -igor On Mon, Jan 30, 2012 at 4:42 AM, Sven Meier s...@meiers.net wrote: I don't know the reason for this. Let's change it for 1.5.x too. Sven Am 30.01.2012 13:35, schrieb Martin Grigorov: Hi devs, At https://issues.apache.org/jira/browse/WICKET-4356 the reporter asks a reasonable

Re: How to localise the ${type} in error messages

2012-01-30 Thread Igor Vaynberg
use a more specific key, such as IConverter.Integer=... -igor On Mon, Jan 30, 2012 at 4:12 PM, Steve Mactaggart st...@whitesquaresoft.com wrote: Hi all, We have extensively localised our application using XML resource bundles, but have just run into a few last corner cases. We have error

Re: Strange form in a panel behaviour

2012-01-29 Thread Igor Vaynberg
quickstart? -igor On Sun, Jan 29, 2012 at 8:18 PM, Chris Colman chr...@stepaheadsoftware.comwrote: ** ** I have a form in a panel inside the home page and all of its fields are filled out with the correct values when the page is displayed. Obviously being inside the form the Java object

[jira] [Commented] (WICKET-3969) Add CDI integration

2012-01-27 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-3969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13194989#comment-13194989 ] Igor Vaynberg commented on WICKET-3969: --- i dont think this project covers EJBs

[jira] [Commented] (WICKET-3969) Add CDI integration

2012-01-27 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-3969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13195031#comment-13195031 ] Igor Vaynberg commented on WICKET-3969: --- you can inject your ejbs into a cdi bean

[jira] [Resolved] (WICKET-4363) Duplicate html ID for generated divs in modal.js

2012-01-26 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-4363. --- Resolution: Fixed Fix Version/s: 6.0.0 1.5.5 Assignee

[jira] [Commented] (WICKET-4353) Choice is not rendered as selected on different instances semantically equal

2012-01-24 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13192249#comment-13192249 ] Igor Vaynberg commented on WICKET-4353: --- because it did not work when the index

Re: Execute Javascript after components of a certain type render

2012-01-23 Thread Igor Vaynberg
There is no baked behavior for this. Create your own and override renderhead method to output js. If this is a one time thing override istemporary method to return true. -igor -igor On Jan 23, 2012 10:26 AM, Alec Swan alecs...@gmail.com wrote: It looks like your code will add an

Re: AjaxSubmitLink : Simple attribute modifier (confirm javascript popup) never calld , form not submited

2012-01-23 Thread Igor Vaynberg
for ajax links you need to use an IAjaxCallDecorator to tweak the javascript. below is a possible impl. -igor public class JavascriptConfirmDecorator extends AjaxCallDecorator { private final String confirmMessage; public JavascriptConfirmDecorator(String confirmMessage)

[jira] [Commented] (WICKET-4350) Add more programmatic support for web app construction via servlet 3.0

2012-01-21 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13190486#comment-13190486 ] Igor Vaynberg commented on WICKET-4350: --- you should add this to the roadmap page

Re: [vote] release wicket 1.5.4 take 3

2012-01-21 Thread Igor Vaynberg
the vote has passed with seven binding +1 and one non-binding +1 -igor On Sat, Jan 21, 2012 at 12:08 AM, Juergen Donnerstag juergen.donners...@gmail.com wrote: +1 On Fri, Jan 20, 2012 at 6:49 PM, Sven Meier s...@meiers.net wrote: +1 On 01/19/2012 06:04 PM, Jeremy Thomerson wrote: +1

Re: [vote] release wicket 1.5.4 take 3

2012-01-19 Thread Igor Vaynberg
+1 -igor On Tue, Jan 17, 2012 at 8:34 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: This vote is to release wicket 1.5.4 take 3 Branch http://git-wip-us.apache.org/repos/asf/wicket/?p=wicket.git;a=shortlog;h=refs/heads/build/wicket-1.5.4 Artifacts http://people.apache.org/~ivaynberg

Re: Doing an action on press of key in a form

2012-01-18 Thread Igor Vaynberg
use FormComponentUpdatingBehavior instead -igor On Wed, Jan 18, 2012 at 2:12 AM, Krishna Mohan k.krishnamoha...@gmail.com wrote: I have a form, few panels in it. In one of the panel i have few fields and in other panel a search button. I have requirement wherein after entering text in the

Re: Modal Window does not open second time

2012-01-18 Thread Igor Vaynberg
try with latest snapshot -igor On Wed, Jan 18, 2012 at 3:05 AM, mjop mat.j...@gmail.com wrote: I have the same problem. Really nobody doesn't know the solution? -- View this message in context:

[jira] [Commented] (WICKET-4340) Rerendering a page with WicketTester after you loose permission does not give access-denied

2012-01-17 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13188101#comment-13188101 ] Igor Vaynberg commented on WICKET-4340: --- blah. 1.5.x fix is committed under WICKET

[jira] [Updated] (WICKET-4340) Rerendering a page with WicketTester after you loose permission does not give access-denied

2012-01-17 Thread Igor Vaynberg (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg updated WICKET-4340: -- Affects Version/s: (was: 1.4.20) Rerendering a page with WicketTester after you

[jira] [Resolved] (WICKET-4340) Rerendering a page with WicketTester after you loose permission does not give access-denied

2012-01-17 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-4340. --- Resolution: Fixed Fix Version/s: 1.5.4 6.0.0 Rerendering

[jira] [Commented] (WICKET-4340) Rerendering a page with WicketTester after you loose permission does not give access-denied

2012-01-17 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13188112#comment-13188112 ] Igor Vaynberg commented on WICKET-4340: --- added the test to 1.4.x, it does

[jira] [Assigned] (WICKET-4340) Rerendering a page with WicketTester after you loose permission does not give access-denied

2012-01-17 Thread Igor Vaynberg (Assigned) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg reassigned WICKET-4340: - Assignee: Igor Vaynberg Rerendering a page with WicketTester after you loose

[vote] release wicket 1.5.4 take 3

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

[vote] release Wicket 1.5.4.1

2012-01-16 Thread Igor Vaynberg
This vote is to release wicket 1.5.4.1 (vote for 1.5.4 failed) Branch http://git-wip-us.apache.org/repos/asf/wicket/?p=wicket.git;a=shortlog;h=refs/heads/build/wicket-1.5.4.1 Artifacts http://people.apache.org/~ivaynberg/wicket-1.5.4.1/dist/ Maven repo

Re: Update component after background thread is finished

2012-01-16 Thread Igor Vaynberg
start a timer behavior that polls and waits for the thread to finish, and only when its finished it updates the select. -igor On Mon, Jan 16, 2012 at 8:47 AM, humcasma humca...@gmail.com wrote: Hi, I have a simple form. When I submit it I launch a thread that runs on the background. When the

Re: [vote] release wicket 1.5.4

2012-01-15 Thread Igor Vaynberg
The change for WICKET-4290 breaks links on mounted pages when page parameters are used. I've added 2 testcases to illustrate the problem: http://git-wip- us.apache.org/repos/asf?p=wicket.git;a=commit;h=f5cae9496a9918d958c034cea18d5ff3f168d7d5 Emond On Tuesday 10 January 2012 11:03:17 Igor

Re: Setting object on Parent panel and checking its value on grand-child panel

2012-01-13 Thread Igor Vaynberg
dont pass the model object itself, pass the model. -igor On Fri, Jan 13, 2012 at 1:54 AM, lucast lucastol...@hotmail.com wrote: Dear Forum, I have set  a drop down list on a parent panel A and at one point or another I need to check the value selected from that drop down on a grand-child

[jira] [Assigned] (WICKET-4334) Prevent Wicket from causing redundant download of stateless resources (.js, .css etc.,) on browser with cookies enabled

2012-01-12 Thread Igor Vaynberg (Assigned) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg reassigned WICKET-4334: - Assignee: Peter Ertl Prevent Wicket from causing redundant download of stateless

Re: Javascript resources and jsessionid

2012-01-12 Thread Igor Vaynberg
for packaged resources we should not be adding jsessionid i dont think... -igor On Thu, Jan 12, 2012 at 1:56 AM, Martin Grigorov mgrigo...@apache.org wrote: Create a ticket please On Wed, Jan 11, 2012 at 11:32 PM, Chris Colman chr...@stepaheadsoftware.com wrote: I just checked with 1.5.x

Re: Javascript resources and jsessionid

2012-01-12 Thread Igor Vaynberg
there was a problem with its implementation or maybe it regressed somehow. -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Friday, 13 January 2012 3:15 AM To: users@wicket.apache.org Subject: Re: Javascript resources and jsessionid for packaged resources we should

Re: Opinion about the change proposed in WICKET-4326 ?

2012-01-11 Thread Igor Vaynberg
im all for removing the I anyways, so +1 from me -igor On Wed, Jan 11, 2012 at 12:27 AM, Martin Grigorov mgrigo...@apache.org wrote: On Tue, Jan 10, 2012 at 12:21 PM, Emond Papegaaij emond.papega...@topicus.nl wrote: I'm +0 for the rename. I understand that IAjaxRequestHandler is a better

[vote] release wicket 1.5.4

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

Re: [2/2] git commit: WICKET-4329 Optimize consequent usages of MarkupContainer# hasAssociatedMarkup() and #getAssociatedMapkup()

2012-01-09 Thread Igor Vaynberg
why not remove hasAssociatedMarkup()? -igor On Mon, Jan 9, 2012 at 1:18 AM, mgrigo...@apache.org wrote: WICKET-4329 Optimize consequent usages of MarkupContainer# hasAssociatedMarkup() and #getAssociatedMapkup() Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit:

Re: [2/2] git commit: WICKET-4329 Optimize consequent usages of MarkupContainer# hasAssociatedMarkup() and #getAssociatedMapkup()

2012-01-09 Thread Igor Vaynberg
yep -igor On Mon, Jan 9, 2012 at 8:25 AM, Martin Grigorov mgrigo...@apache.org wrote: On Mon, Jan 9, 2012 at 6:18 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: why not remove hasAssociatedMarkup()? it is used in one more place only as has... I guess we can replace it too with : if (getAM

Re: Opinion about the change proposed in WICKET-4326 ?

2012-01-09 Thread Igor Vaynberg
On Mon, Jan 9, 2012 at 6:14 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, In https://issues.apache.org/jira/browse/WICKET-4326 I suggest to introduce IAjaxRequestHander which is an interface for AjaxRequestTarget. It gives the possibility to be able to provide customized ART or

Re: Opinion about the change proposed in WICKET-4326 ?

2012-01-09 Thread Igor Vaynberg
findHandler() -igor On Mon, Jan 9, 2012 at 9:57 AM, Sven Meier s...@meiers.net wrote: There are a few places where the active or next requestHandler is looked up by type. This could be: T extends IRequestHandler T RequestCycle#resolveHandler(ClassT) This would result in a little more

Re: AjaxLink causes list model to be detached before rendering!

2012-01-09 Thread Igor Vaynberg
the problem here is that the listitem's model is tied to the listview's model. so calling detach() on the listview item causes the detachment of the listview's model. you can either override getlistitemmodel() on the listview and give each item an isolated model, or you can use a dataview or

Re: Problem with relative URLs

2012-01-09 Thread Igor Vaynberg
On Mon, Jan 9, 2012 at 5:51 PM, Chris Colman chr...@stepaheadsoftware.com wrote: I'm having a problem with relative URLs. If the current page is: content/mypage/n1/p1/n2/fred And it contains a link to content/mypage/n1/p1/n2/jane The relative URL rendered to HTML is:

Re: Problem with relative URLs

2012-01-09 Thread Igor Vaynberg
wicket by default always generates relative urls. this is the safest/easiest approach for fronting the app with a proxy, which most people do... -igor On Mon, Jan 9, 2012 at 6:59 PM, Chris Colman chr...@stepaheadsoftware.com wrote: why is RelativePathPrefixHandler invoked on that tag? sounds a

[jira] [Updated] (WICKET-4065) Improve behavior#getStatelessHint() by accounting for the common cases when behaviors are not stateless

2012-01-08 Thread Igor Vaynberg (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg updated WICKET-4065: -- Fix Version/s: (was: 1.5.4) 6.0.0 Improve behavior

[jira] [Assigned] (WICKET-4311) ModalWindow does not close cleanly

2012-01-08 Thread Igor Vaynberg (Assigned) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg reassigned WICKET-4311: - Assignee: Igor Vaynberg ModalWindow does not close cleanly

[jira] [Resolved] (WICKET-4311) ModalWindow does not close cleanly

2012-01-08 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-4311. --- Resolution: Fixed Fix Version/s: 6.0.0 ModalWindow does not close cleanly

[jira] [Resolved] (WICKET-1221) setRequired(true) will force a Checkbox to be checked

2012-01-06 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-1221. --- Resolution: Fixed Fix Version/s: 6.0.0 setRequired(true) will force a Checkbox

Re: Ajax event named href

2012-01-03 Thread Igor Vaynberg
seems like a leftover from the time past. +1 to remove. -igor On Tue, Jan 3, 2012 at 7:27 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, What is the use case for supporting the special event name href in AjaxEventBehavior ? If the name is href then Wicket generates: ...

Re: What to do with IAjaxCallDecorator ?

2012-01-03 Thread Igor Vaynberg
we cant translate decorateSript() can we? -igor On Tue, Jan 3, 2012 at 8:29 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, In Wicket 6.0 there is no 'script' to decorate any more so IAjaxCallDecorator is not needed anymore. There is a replacement - IAjaxCallListener. Each AjaxBehavior

Re: What to do with IAjaxCallDecorator ?

2012-01-03 Thread Igor Vaynberg
i have a couple of those to prepend js before the ajax call is made... if we cant translate lets remove the iface so it causes a compile error -igor On Tue, Jan 3, 2012 at 9:07 AM, Martin Grigorov mgrigo...@apache.org wrote: On Tue, Jan 3, 2012 at 6:57 PM, Igor Vaynberg igor.vaynb...@gmail.com

[jira] [Updated] (WICKET-4311) ModalWindow does not close cleanly

2012-01-02 Thread Igor Vaynberg (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg updated WICKET-4311: -- Fix Version/s: 1.5.4 ModalWindow does not close cleanly

Re: buildbot failure in ASF Buildbot on wicket-master

2012-01-02 Thread Igor Vaynberg
can we also change the email addr to comm...@wicket.apache.org instead of dev@ -igor On Mon, Jan 2, 2012 at 8:47 AM, Martin Grigorov mgrigo...@apache.org wrote: https://issues.apache.org/jira/browse/INFRA-4271 On Thu, Dec 29, 2011 at 4:53 PM, Michael O'Cleirigh michael.ocleir...@rivulet.ca

Re: Can't build wicket from updated trunk

2012-01-02 Thread Igor Vaynberg
)        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Def aultLifecycleExecutor.java:348) -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Monday, 2 January 2012 2:50 PM To: users@wicket.apache.org Subject: Re: Can't build wicket from updated trunk already moved. -igor On Sun, Jan 1

Re: ModalWindow does not close cleanly

2012-01-02 Thread Igor Vaynberg
a patch is welcome :) -igor On Mon, Jan 2, 2012 at 10:24 AM, Nelson Segura nsegu...@gmail.com wrote: Any hope this can be fixed for 1.5.4? I will hate having to change all our modals to have a dummy call back to get it to work :( -Nelson On Wed, Dec 21, 2011 at 2:59 PM, Nelson Segura

Re: Hide page version query parameters

2012-01-02 Thread Igor Vaynberg
add the nofollow attribute to such links. -igor On Mon, Jan 2, 2012 at 11:05 AM, Taneli Korri tko...@gmail.com wrote: On Mon, Jan 2, 2012 at 9:47 AM, Martin Grigorov mgrigo...@apache.org wrote: On Mon, Jan 2, 2012 at 8:18 AM, Taneli Korri tko...@gmail.com wrote: On Sat, Dec 31, 2011 at 4:31

Re: Can't build wicket from updated trunk

2012-01-01 Thread Igor Vaynberg
clone the project from here: http://git-wip-us.apache.org/repos/asf/wicket -igor On Sun, Jan 1, 2012 at 6:09 PM, Chris Colman chr...@stepaheadsoftware.comwrote: ** ** I have done a recent update on my working copy of the trunk and mvn clean install yields: ** ** Project ID:

Re: Can't build wicket from updated trunk

2012-01-01 Thread Igor Vaynberg
already moved. -igor On Sun, Jan 1, 2012 at 7:31 PM, Chris Colman chr...@stepaheadsoftware.com wrote: Is Wicket moving to git? Chris -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Monday, 2 January 2012 2:24 PM To: users@wicket.apache.org Subject: Re

Re: wicket-fullCalendar Custom month View

2011-12-31 Thread Igor Vaynberg
you need to see if the fullcalendar library itself supports what you want. and if it does we can build the config options for it in the wicket wrapper. -igor On Sat, Dec 31, 2011 at 4:49 AM, lucast lucastol...@hotmail.com wrote: Dear forum, I am using wicket-fullCalendar and I am quite happy

[jira] [Commented] (WICKET-2779) Submit a nested form via ajax to upload a file inside modal window does not work on IE.

2011-12-30 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13177689#comment-13177689 ] Igor Vaynberg commented on WICKET-2779: --- please provide a quickstart and make sure

Re: Please welcome Emond Papegaaij as a committer for Wicket

2011-12-30 Thread Igor Vaynberg
more fixing, less breaking :) welcome! -igor On Fri, Dec 30, 2011 at 7:26 AM, Emond Papegaaij emond.papega...@topicus.nl wrote: Thank you all for the confidence you have in my work! I'm really proud to be a member of the Wicket team and am looking forward to get some real work done. I've

Re: Re: Roadmap for Wicket 6.0

2011-12-29 Thread Igor Vaynberg
imho we should put it into wicket 6. wicket 7 will be far off... -igor On Thu, Dec 29, 2011 at 9:21 AM, Sven Meier s...@meiers.net wrote: Hi Jeremy, Thoughts about moving your tree to wicket-extensions yes, ultimately the new implementation from wicket-tree will be part of

Re: Regarding Stack Overflow exception

2011-12-29 Thread Igor Vaynberg
have you tried 1.4.19? -igor On Wed, Dec 28, 2011 at 11:47 PM, smsmaddy smsd...@gmail.com wrote: Hi,  Can you please suggest the version in which serialization issue is fixed. Even in the change log, I am not able to find the relevant entry of serialization fix? - //Maddy -- View

Re: Can't open modal popups in ie8 or under

2011-12-29 Thread Igor Vaynberg
can you try the snapshot and see if its fixed? -igor On Thu, Dec 29, 2011 at 11:42 PM, northar josef.anders...@gmail.com wrote: I can also confirm this was working in 1.5.0 but not in 1.5.1 - 1.5.3. -- View this message in context:

[jira] [Resolved] (WICKET-4234) Remove AbstractValidator because its mostly noise

2011-12-27 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-4234. --- Resolution: Fixed patch applied, thanks Remove AbstractValidator because

Re: handling session expiration feedback when clicking on bookmarkablepagelink

2011-12-27 Thread Igor Vaynberg
record their last access time in a cookie. then when your auth strategy descides to redirect to homepage it can check the cookie and decide to redirect to the expired error page instead. -igor On Tue, Dec 27, 2011 at 7:54 AM, manuelbarzi manuelba...@gmail.com wrote: it implies recording that

Re: Dataview TextField problem

2011-12-27 Thread Igor Vaynberg
instead of new PropertyModel(opdrachtVO,opdrachtBod ))); do new PropertyModel(item.getModel(),opdrachtBod ))); further, set the item reuse strategy on your dataview so if there is a form error you do not lose the state of the textfields. also show us your dataprovider#model() impl -igor

Re: Absolute urls, bookmarkable links and web server proxy

2011-12-23 Thread Igor Vaynberg
apache rewrite rules are probably the easiest route -igor On Fri, Dec 23, 2011 at 10:12 AM, infiniter infini...@gmail.com wrote: After migrating part of a website, which is in multiple platforms, the business requires the urls to be preserved, which are different from the new ones... E.g.:

Re: Wicket source code moved to Git

2011-12-22 Thread Igor Vaynberg
On Thu, Dec 22, 2011 at 10:57 AM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: With the move to Git, should user-contributed patches be provided using pull requests instead of patches in JIRA? i think until we have the github workflow worked out and documented it will be easier to stick

Re: Wicket source code moved to Git

2011-12-22 Thread Igor Vaynberg
make sure you are on the master branch - that is wicket 6.0 -igor On Thu, Dec 22, 2011 at 1:15 PM, Andrea Del Bene an.delb...@gmail.com wrote: I've cloned the given repository, but I get the following exception running maven: org.apache.maven.reactor.MavenExecutionException: Failed to

Re: Wicket source code moved to Git

2011-12-21 Thread Igor Vaynberg
not sure if git://git.apache.org/wicket.git is kept up with commits to git-wip-us i think for users On Wed, Dec 21, 2011 at 1:04 AM, Martin Grigorov mgrigo...@apache.org wrote: The most important info is missing - the checkout url! :-) For devs:

Re: Wicket source code moved to Git

2011-12-21 Thread Igor Vaynberg
i think for users its fine to git clone https://git-wip-us.apache.org/repos/asf/wicket.git -igor On Wed, Dec 21, 2011 at 8:26 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: not sure if git://git.apache.org/wicket.git is kept up with commits to git-wip-us i think for users On Wed

Re: Wicket source code moved to Git

2011-12-21 Thread Igor Vaynberg
also note that for some clones trunk is still the default branch. be sure to 'git checkout master' which is where 6.0 stuff lives. -igor On Wed, Dec 21, 2011 at 8:30 AM, Martin Grigorov mgrigo...@apache.org wrote: On Wed, Dec 21, 2011 at 6:26 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote

Re: wicket 1.3.7 RestartResponseAtInterceptPageException post data lost

2011-12-21 Thread Igor Vaynberg
only wicket=1.5.0 propagates post data in intercepts. -igor On Wed, Dec 21, 2011 at 5:56 PM, 鄂力炜 daura...@gmail.com wrote: Hi all, I am using wicket 1.3.7 for our product. Currently, I have encountered a problem, a form submitting is corrupted by session timeout, description as follows,  

Re: Wicket source code moved to Git

2011-12-20 Thread Igor Vaynberg
renamed trunk to master and set master as repo's default branch -igor On Tue, Dec 20, 2011 at 8:04 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Our SVN repository is now set read-only.  For information about getting started with Git @ ASF, see [1].  The JIRA issue where we were

Re: Getting response from a external URL

2011-12-20 Thread Igor Vaynberg
why doesnt that work in wicket? -igor On Tue, Dec 20, 2011 at 12:46 AM, Pablo Díaz inspd...@gmail.com wrote: Hi, I'm trying to do something like an internal proxy in my web-app to check permisions to connect from my portal to a mapserver server. So, I'm trying to get de request from an

Re: Getting response from a external URL

2011-12-20 Thread Igor Vaynberg
)    at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)    at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) I tried to do this in serveral versions of wicket and always get the same error. El 20/12/11 17:15, Igor Vaynberg escribió: why doesnt

Re: Getting response from a external URL

2011-12-20 Thread Igor Vaynberg
());        }        //this.getRequestCycle().setResponse(response);    } } El 20/12/11 18:17, Igor Vaynberg escribió: in the future, start with the error :) you have to tell wicket that it should not render the page after you have written the data out... output.write(data); getrequestcycle

Re: Getting response from a external URL

2011-12-20 Thread Igor Vaynberg
(httpservletresponse)getresponse().getcontainerresponse() -igor On Tue, Dec 20, 2011 at 10:58 AM, Pablo Díaz inspd...@gmail.com wrote: Ok, but How I can get the httpservletresponse object to write in it? I'm extending the WebPage class ... El 20/12/11 19:26, Igor Vaynberg escribió: try

Re: Getting response from a external URL

2011-12-20 Thread Igor Vaynberg
result :( El 20/12/11 20:18, Igor Vaynberg escribió: (httpservletresponse)getresponse().getcontainerresponse() -igor On Tue, Dec 20, 2011 at 10:58 AM, Pablo Díazinspd...@gmail.com  wrote: Ok, but How I can get the httpservletresponse object to write in it? I'm extending the WebPage class

Re: svn commit: r1220820 - /wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js

2011-12-19 Thread Igor Vaynberg
this needs to be ported to 1.5.x and trunk, no? -igor On Mon, Dec 19, 2011 at 8:04 AM, jcompag...@apache.org wrote: Author: jcompagner Date: Mon Dec 19 16:04:11 2011 New Revision: 1220820 URL: http://svn.apache.org/viewvc?rev=1220820view=rev Log: Use a resource loading lib to setup order

Re: ModalWindow does not close cleanly

2011-12-19 Thread Igor Vaynberg
WindowClosedBehavior does not have render()...? -igor On Mon, Dec 19, 2011 at 11:40 AM, Nelson Segura nsegu...@gmail.com wrote: I found that if you have a modal window, and then you close it, it is not possible to reopen it anymore unless you have set a WindowClosedCallback. This is because

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