Hi Andrea
Thank you for your response, I really appreciate it. Have a look at
the following example
//Here I click the upload link and check if no error message
getWicketTester().clickLink("main-container:scorecard-page-web-markup-container:ee-file-upload-list-view-panel:crud-listview-form:entity-row:0:file-attachment:dynamic-web-markup-container:file-upload-link",
true);
getWicketTester().assertNoErrorMessage();
//Then I check if the Modal window is accessible , so far no problem
getWicketTester().assertComponent("main-container:scorecard-page-web-markup-container:ee-file-upload-list-view-panel:crud-listview-form:entity-row:0:file-attachment:dynamic-web-markup-container:file-upload-modal-window",
FileUploadModalWindow.class);
//But as I try to access window model components it fails complains
about the path that does not exists, here is the sample
getWicketTester().assertComponent("main-container:scorecard-page-web-markup-container:ee-file-upload-list-view-panel:crud-listview-form:entity-row:0:file-attachment:dynamic-web-markup-container:file-upload-modal-window:file-upload-panel",
Panel.class);
//and I have tried to assert almost every component on the ModalWindow
but gives me same error, path does not exists, is the anything that I
miss or doing wrong please help me.
Thank you
On Tue, Nov 16, 2010 at 7:03 PM, Andrea Del Bene-2 [via Apache Wicket]
<[email protected]> wrote:
> Hi!
>
> What's your problem, exactly? Can you display modal window or it
> doesn't open at all?
>
> On 16/11/10 11:02, thobile wrote:
>> I have a link that I click and new Modal window is poping up, I am having
>> difficulties on testing my new Modal window components. Basically I a
>> using
>> Modal window popup to upload the file, Please help I have tried google
>> examples but still I cant get it right, how can I test a modal with my own
>> cutomized components.
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
>
> ________________________________
> View message @
> http://apache-wicket.1842946.n4.nabble.com/Wicketter-with-ModalWindow-tp3044511p3045233.html
> To unsubscribe from Wicketter with ModalWindow, click here.
>
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicketter-with-ModalWindow-tp3044511p3046164.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]