Re: WicketTester#startComponentInPage and tester#assertModelValue

2011-10-06 Thread splitshade
https://issues.apache.org/jira/browse/WICKET-4112 I will provide a patch this evening. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WicketTester-startComponentInPage-and-tester-assertModelValue-tp3874269p3877347.html Sent from the Users forum mailing list archive

Re: set a TextField Componet to readonly

2011-10-06 Thread splitshade
The interesting part is not visible in your source, the Method: vehicleTypeModel(position) You could use some kind of readOnlyModel here - Please check ReadOnlyPropertyModel for example. regards Martin -- View this message in context:

Re: Upgrade 1.5 - PageParameters#toRequestParameters

2011-10-05 Thread splitshade
Hi, sure I can, I just wanted to make sure, that I haven´t overseen an already implemented solution. Thank you Martin. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Upgrade-1-5-PageParameters-toRequestParameters-tp3871781p3874199.html Sent from the Users forum

WicketTester#startComponentInPage and tester#assertModelValue

2011-10-05 Thread splitshade
Hi, I have a rather strange behavior, and I don´t know what I´m doing wrong. Before I open a Bug, I would like to hear some opinions, why this works this way. I try the following (in Pseudocode): tester = new WicketTester(); tester.startComponentInPage(new Label(test,hello);

Upgrade 1.5 - PageParameters#toRequestParameters

2011-10-04 Thread splitshade
Hi, in 1.5 the Method toRequestParameters in class PageParameters, which returns all Parameters as Maplt;String,String[]gt; is gone, what to use instead? Thanks Marti -- View this message in context:

WicketTester#startPanel marked deprecated??

2011-09-28 Thread splitshade
Hi, I´m just upgrading a quire large Application to Wicket 1.5. I just saw that the Method public final Panel startPanel(final ITestPanelSource testPanelSource) is marked deprecated with the hint: @deprecated since 1.5 use {@link #startComponentInPage(Class, IMarkupFragment)} instead But

Re: WicketTester#startPanel marked deprecated??

2011-09-28 Thread splitshade
ah there you go, got it. Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WicketTester-startPanel-marked-deprecated-tp3850565p3850659.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Apache Wicket releases Wicket 1.5

2011-09-08 Thread splitshade
Congratulations, it's a Wicket! Great work! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Apache-Wicket-releases-Wicket-1-5-tp3797412p3799758.html Sent from the Users forum mailing list archive at Nabble.com.

Re: When will my panels be released?

2011-05-25 Thread splitshade
hi, well could it be that you keep some references to the panels somewhere? Maybe in the Session? References to Componentes are garbage collected as every other class as soon as no reference to them is available to the GC. Regards Martin -- View this message in context:

Re: Ajaxifying existing application

2011-05-02 Thread splitshade
It´s not as if I have a choice, whether this requirement should be implemented or not:(... I´m not a big ajax fan, i like the application the way it is today, but ajax is hype today, and every customer wants more of it... -- View this message in context:

Re: Ajaxifying existing application

2011-05-01 Thread splitshade
Hi James, yes, thats exaclty what I meant. The Problem is, we have an existing infrastructure, that depends on pages. The idea to change everything to a setResponsePanel-Method seems to be very good, I think we could realize that very cheaply, thanks for the hint! Would that be something that

Ajaxifying existing application

2011-04-30 Thread splitshade
Hi, i have a general question, we have an exisiting application, that now needs to be ajaxified (no page reloads etc..). This has never been a requirement, so the application is not prepared at all for this. The biggest problem we see is that we have many different pages, but how shall we do

Re: Apache Wicket Cookbook Published!

2011-04-12 Thread splitshade
I Got mine today, well done and thank you for all the great work! Regards Martin -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Apache-Wicket-Cookbook-Published-tp3406012p3445604.html Sent from the Users forum mailing list archive at Nabble.com.

Re: multiple markup files for on panel

2011-02-18 Thread splitshade
Hi, why dont you just extend your Panel and just add another Markup? The extended Panel doesnt do anything, but can have another Markup. We have done this often. Regards Martin -- View this message in context:

Re: multiple markup files for on panel

2011-02-18 Thread splitshade
hi, omg, thank you for the hint on variations, i did not know it could be so simple! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/multiple-markup-files-for-on-panel-tp3313413p3313461.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Mapping wicket:id to component without changing Java code

2011-02-05 Thread splitshade
Hi, some days ago, I experimented with exactly the same usecase (letting webdesigners place components on a Wicket Page), i wrote a small BlogEntry (unfortunately in German, but maybe Google could translate). http://splitshade.wordpress.com/2011/01/27/wicket-markup-komponenten-braucht-man-das/

Re: Validate after Submit?

2010-12-04 Thread splitshade
well, attaching a validator to a specific id could possibly work, but this is not very usable, because thus i would need to know about the internal structure of a component. But i do not have any better idea either, so thanks for the hint! -- View this message in context:

Validate after Submit?

2010-12-02 Thread splitshade
Hi, a general Question, and I am interested in how you would solve that? I have a couple of form elements, that I want to submit. I send some values to a backend and get an error code back - say an Enum with errorcode and Message Error, User-ID already registered. What I want to do now is, i

Re: DropDownChoice loses Selection in Disabled Panels

2010-10-12 Thread splitshade
Hi, we just upgraded from 1.4.9 to 1.4.10 and the error seems fixed, although i cant find something in the release notes, but thank you for your help! -- View this message in context:

DropDownChoice loses Selection in Disabled Panels

2010-10-11 Thread splitshade
Hi, i have spent some time researching this strange behaviour. I have a Page with some Panels, that contain DropDownChoices. These Panels are initially disabled on the Page. If a validationError occurs on this page, ALL dropdownchoices that are in disabled panels lose their values. Is this a

Re: DropDownChoice loses Selection in Disabled Panels

2010-10-11 Thread splitshade
Hi, yes exactly. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-loses-Selection-in-Disabled-Panels-tp2989677p2989706.html Sent from the Users forum mailing list archive at Nabble.com.

Enable FormFields on Error

2010-10-07 Thread splitshade
Hi All!, we have a Problem here. We have a Page, where lots of Panels are added. These Panels should be individually enabled, as soon as a ValidationError is available for one of them. We have overridden isEnabled() for all Panels to return true, whenever an Errormessage is registered for a

Re: Enable FormFields on Error

2010-10-07 Thread splitshade
hi, wow, this is great, thank you so much! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Enable-FormFields-on-Error-tp2966341p2967462.html Sent from the Users forum mailing list archive at Nabble.com.

Inter-Component Validation (or how to marry two strangers)

2010-09-22 Thread splitshade
Hi, this seems a rather simple question on the first sight, but I can't seem to find a clean solution to this. Image you have a Panel A that allows the User to input his Passport-Data, further image you have another Panel B, that allows you to input the Personal Data (like Birthday), now image

Re: Inter-Component Validation (or how to marry two strangers)

2010-09-22 Thread splitshade
Hi, thanks for the reply, well.. good question, this would propably be the validator, i need to check the validity of the personal data fields before the form gets submitted. -- View this message in context:

Re: Inter-Component Validation (or how to marry two strangers)

2010-09-22 Thread splitshade
Hi again, well, i think the validator would be applied to the form, to which both panels are added, but you are right, there is nothing that is aware of both components (or more exactly on the inner components of the panels). Model-Validation sounds good, but the Model itself is updated after

Re: Inter-Component Validation (or how to marry two strangers)

2010-09-22 Thread splitshade
Hi, ok, that sounds pretty good... If that is not uncommon to do, I'll try that. I'm really impressed, how fast you helped me here, thank you very much! -- View this message in context: