Re: Nothing happens on AJAX call after session timeout

2011-05-11 Thread vov
Can anyone give an example?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Nothing-happens-on-AJAX-call-after-session-timeout-tp3483872p3513980.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Nothing happens on AJAX call after session timeout

2011-05-11 Thread Martin Grigorov
print the headers and look for 'Wicket-Ajax'
If there is such then create a XML like:
ajax-responseredirect[HERE THE URL YOU WANT TO REDIRECT
TO]/redirect/ajax-response
and write this to the servlet response

On Wed, May 11, 2011 at 8:38 AM, vov vov...@mail.ru wrote:
 Can anyone give an example?

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Nothing-happens-on-AJAX-call-after-session-timeout-tp3483872p3513980.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Selenium Problem

2011-05-11 Thread rawe
I'm trying to do functional tests using Selenium IDE.

I did 
getDebugSettings().setOutputComponentPath(true);

to solve the problem with dynamic ids.
see also: 
http://www.inforw.de/content/doku.php/blog/300


It works for most actions in my application, but after recording the usage
of DropDownChoice components 
the test run crashes with an error (input not found)
See log output below. The component selPredef, which is a DropDowChoice is
not resolved to wicketpath, but still using an ID. Why??


# [info] Executing: |click |
//input[@wicketpath='tabs_panel_lnkTermsAdmin_dlgPlaceHolderTerms_content_form_btnSave']
| |
# [info] Executing: |click |
//span[@wicketpath='tabs_panel_lnkCountriesAdmin_lblCountries'] | |
# [info] Executing: |click |
//input[@wicketpath='tabs_panel_lnkCountriesAdmin_dlgPlaceHolderCountries_content_form_pnlCheckLabelListDatas_listOfCheckLabels_25_cols_27_chkValue']
| |
# [info] Executing: |click | //div[@id='newselPredef10da']/input | |
# [error] Element //div[@id='newselPredef10da']/input not found 


Is there a solution for my problem ?

Thanks for any hints!

Ralph

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Selenium-Problem-tp3514063p3514063.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Selenium Problem

2011-05-11 Thread Martin Grigorov
The id is automatically generated by Wicket.
Either stick to @wicketpath for all selectors or user
setMarkupId(somethingStable)

On Wed, May 11, 2011 at 9:39 AM, rawe ralph.wey...@dachser.com wrote:
 I'm trying to do functional tests using Selenium IDE.

 I did
 getDebugSettings().setOutputComponentPath(true);

 to solve the problem with dynamic ids.
 see also:
 http://www.inforw.de/content/doku.php/blog/300


 It works for most actions in my application, but after recording the usage
 of DropDownChoice components
 the test run crashes with an error (input not found)
 See log output below. The component selPredef, which is a DropDowChoice is
 not resolved to wicketpath, but still using an ID. Why??


 # [info] Executing: |click |
 //input[@wicketpath='tabs_panel_lnkTermsAdmin_dlgPlaceHolderTerms_content_form_btnSave']
 | |
 # [info] Executing: |click |
 //span[@wicketpath='tabs_panel_lnkCountriesAdmin_lblCountries'] | |
 # [info] Executing: |click |
 //input[@wicketpath='tabs_panel_lnkCountriesAdmin_dlgPlaceHolderCountries_content_form_pnlCheckLabelListDatas_listOfCheckLabels_25_cols_27_chkValue']
 | |
 # [info] Executing: |click | //div[@id='newselPredef10da']/input | |
 # [error] Element //div[@id='newselPredef10da']/input not found


 Is there a solution for my problem ?

 Thanks for any hints!

 Ralph

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Selenium-Problem-tp3514063p3514063.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Nothing happens on AJAX call after session timeout

2011-05-11 Thread vov
Sorry for my may be stupid question but - how can I print the header?


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Nothing-happens-on-AJAX-call-after-session-timeout-tp3483872p3514154.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: disabled chek box form submit

2011-05-11 Thread Andrea Del Bene

Hi,

disabled input components are not submitted by HTML forms. You can try 
to hack this standard behavior with some JavaScript:


http://stackoverflow.com/questions/849693/what-is-the-best-way-to-submit-disabled-inputs-as-part-of-a-jquery-ajax-request

can the disbaled checked check boxes   be submitted   with the form ?

I have check boxes   in my form, based on business logic   some of the
checked  check boxes  are disabled.
when form is submitted   I want to get all the checked disabled  check boxes
posted to the server ,please advice me how.




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/disabled-chek-box-form-submit-tp3513088p3513088.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Selenium Problem

2011-05-11 Thread rawe
Thank you for your hint!
It's working if I explecitly set the ID to DropDownChoice component
foo.setMarkupId(fooId);

Thanks!

Ralph


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Selenium-Problem-tp3514063p3514214.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Questions Regarding Wicket URL Generation

2011-05-11 Thread Carlo Camerino
Hi There,

I'm mounting bookmarkable pages in the Wicket Application. For example,

mount(index, IndexPage.class);
mount(confirmPage, ConfirmPage.class);

I'm quite successful when using the following code

setResponsePage(IndexPage.class);

http://localhost:8080/application/index

However,
when I try to use
setResponsePage(new ConfirmPage());

http://localhost:8080/application/?wicket1::


It doesn't work already Is there anyway that I could workaround this?
It appears as something like this.

Thanks
Carlo


Re: Questions Regarding Wicket URL Generation

2011-05-11 Thread Andrea Del Bene

Hi Carlo,

what kind of error/exception do you get when you use 
setResponsePage(new ConfirmPage())? Does it work if you use 
setResponsePage( ConfirmPage.class);



Hi There,

I'm mounting bookmarkable pages in the Wicket Application. For example,

mount(index, IndexPage.class);
mount(confirmPage, ConfirmPage.class);

I'm quite successful when using the following code

setResponsePage(IndexPage.class);

http://localhost:8080/application/index

However,
when I try to use
setResponsePage(new ConfirmPage());

http://localhost:8080/application/?wicket1::


It doesn't work already Is there anyway that I could workaround this?
It appears as something like this.

Thanks
Carlo




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Questions Regarding Wicket URL Generation

2011-05-11 Thread Martin Grigorov
There is no error. Just the generated url contains a state
(wicket:interface=.) which means use this page instance when the
user tries to open this Url.
Using setResponsePage(Class) has no state and creates a Url which when
targeted will create a *new* page instance.

On Wed, May 11, 2011 at 11:50 AM, Andrea Del Bene adelb...@ciseonweb.it wrote:
 Hi Carlo,

 what kind of error/exception do you get when you use setResponsePage(new
 ConfirmPage())? Does it work if you use setResponsePage(
 ConfirmPage.class);

 Hi There,

 I'm mounting bookmarkable pages in the Wicket Application. For example,

 mount(index, IndexPage.class);
 mount(confirmPage, ConfirmPage.class);

 I'm quite successful when using the following code

 setResponsePage(IndexPage.class);

 http://localhost:8080/application/index

 However,
 when I try to use
 setResponsePage(new ConfirmPage());

 http://localhost:8080/application/?wicket1::


 It doesn't work already Is there anyway that I could workaround this?
 It appears as something like this.

 Thanks
 Carlo



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Questions Regarding Wicket URL Generation

2011-05-11 Thread Andrea Del Bene

Sorry, I've misread mail subject :)

There is no error. Just the generated url contains a state
(wicket:interface=.) which means use this page instance when the
user tries to open this Url.
Using setResponsePage(Class) has no state and creates a Url which when
targeted will create a *new* page instance.

On Wed, May 11, 2011 at 11:50 AM, Andrea Del Beneadelb...@ciseonweb.it  wrote:

Hi Carlo,

what kind of error/exception do you get when you use setResponsePage(new
ConfirmPage())? Does it work if you use setResponsePage(
ConfirmPage.class);


Hi There,

I'm mounting bookmarkable pages in the Wicket Application. For example,

mount(index, IndexPage.class);
mount(confirmPage, ConfirmPage.class);

I'm quite successful when using the following code

setResponsePage(IndexPage.class);

http://localhost:8080/application/index

However,
when I try to use
setResponsePage(new ConfirmPage());

http://localhost:8080/application/?wicket1::


It doesn't work already Is there anyway that I could workaround this?
It appears as something like this.

Thanks
Carlo



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org








-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Questions Regarding Wicket URL Generation

2011-05-11 Thread Clint Checketts
Try a HybridUrlEncodingStrategy for your mount

On Wednesday, May 11, 2011, Carlo Camerino carlo.camer...@gmail.com wrote:
 Hi There,

 I'm mounting bookmarkable pages in the Wicket Application. For example,

 mount(index, IndexPage.class);
 mount(confirmPage, ConfirmPage.class);

 I'm quite successful when using the following code

 setResponsePage(IndexPage.class);

 http://localhost:8080/application/index

 However,
 when I try to use
 setResponsePage(new ConfirmPage());

 http://localhost:8080/application/?wicket1::


 It doesn't work already Is there anyway that I could workaround this?
 It appears as something like this.

 Thanks
 Carlo


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



[announce] Wicket 1.5-RC4.2 is released

2011-05-11 Thread Martin Grigorov
The Wicket Team is proud to introduce the fourth Release Candidate in
Wicket 1.5 series. It includes bug fixes and improvements reported
against 1.5-RC3. See the changelog for full list.

More detailed migration notes are available on our [Migrate to 1.5
Wiki Page](https://cwiki.apache.org/WICKET/migration-to-wicket-15.html)

Release Artifacts:
* Subversion tag:
http://svn.apache.org/repos/asf/wicket/releases/wicket-1.5-RC4.2
* Changelog: 
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310561version=12316330
* To use in Maven:
dependency
   groupIdorg.apache.wicket/groupId
   artifactIdwicket/artifactId
   version1.5-RC4.2/version
   typepom/type
/dependency
* Download the full distribution:
http://www.apache.org/dyn/closer.cgi/wicket/1.5-RC4.2 (including source)

The Wicket Team!

P.S. The version is RC4.2 because we needed to make the build twice.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



ModalWindow with Panel - HeaderContributor in Panel not called

2011-05-11 Thread Marieke Vandamme
Hello, 

This is my situation:
Page
  |- ModalWindow
   |- Panel
   |- HomeMadeReusableComponent
   |- HeaderContributor

In this HeaderContributor I override renderHead(IHeaderResponse response).
I thought that everything I wrote to the response would end up in my Page,
but it doesn't...

I know that one option would be to add the HeaderContributor directly to the
page, but then I have duplicate code that is now needly inside my
HomeMadeReusableComponent.

I tried to add the HeaderContributer inside my HomeMadeReusableComponent to
the page instead then adding it to the component, but HeaderContributors are
defined inside the component constructor and then my page isn't ready yet. 

Can anyone help me or give me any hints? 
Thanks in advance ! Marieke vandamme

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/ModalWindow-with-Panel-HeaderContributor-in-Panel-not-called-tp3514628p3514628.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



FileUploadField Losing Value After Form Submit

2011-05-11 Thread eugenebalt
I've noticed that all the fields keep their values after you submit; the
DropDowns, for example, don't get erased.

But the FileUploadField does get erased after you submit. The File textbox
(input type=file) is empty on each reload. Is this some kind of
limitation, or is there a way around it?

Thanks

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/FileUploadField-Losing-Value-After-Form-Submit-tp3514801p3514801.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: FileUploadField Losing Value After Form Submit

2011-05-11 Thread Andrea Del Bene
FileUploadField resets model at end of the request (see JavaDoc). You 
can use a Label or a DownloadLink to display/download the uploaded file.



I've noticed that all the fields keep their values after you submit; the
DropDowns, for example, don't get erased.

But the FileUploadField does get erased after you submit. The File textbox
(input type=file) is empty on each reload. Is this some kind of
limitation, or is there a way around it?

Thanks

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/FileUploadField-Losing-Value-After-Form-Submit-tp3514801p3514801.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: FileUploadField Losing Value After Form Submit

2011-05-11 Thread eugenebalt
Thanks for the reply.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/FileUploadField-Losing-Value-After-Form-Submit-tp3514801p3514900.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



FileUploadField.getClientFileName() doesn't give Absolute Path

2011-05-11 Thread eugenebalt
Another issue with the FileUpload,

When I try to retrieve the specified filename with getClientFileName(), I
only get the name of the file, without the absolute path. So I can't
construct a java.io.File object with just the filename. How do I get the
full path?

In the example at http://www.wicket-library.com/wicket-examples/index.html ,
they're using an UploadFolder but I don't have an Upload Folder, I'm not
uploading a file to the server.

I just need to get the full path of the specified file so I can create a
File object. Then, I need to parse the File. Thanks again

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/FileUploadField-getClientFileName-doesn-t-give-Absolute-Path-tp3514910p3514910.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: FileUploadField.getClientFileName() doesn't give Absolute Path

2011-05-11 Thread Duy Do Quoc


You can use getInputStream() of FileUpload

Duy


On 5/11/11 6:39 PM, eugenebalt wrote:

Another issue with the FileUpload,

When I try to retrieve the specified filename with getClientFileName(), I
only get the name of the file, without the absolute path. So I can't
construct a java.io.File object with just the filename. How do I get the
full path?

In the example at http://www.wicket-library.com/wicket-examples/index.html ,
they're using an UploadFolder but I don't have an Upload Folder, I'm not
uploading a file to the server.

I just need to get the full path of the specified file so I can create a
File object. Then, I need to parse the File. Thanks again

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/FileUploadField-getClientFileName-doesn-t-give-Absolute-Path-tp3514910p3514910.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: FileUploadField.getClientFileName() doesn't give Absolute Path

2011-05-11 Thread Andrea Del Bene
Keep in mind that with Wicket you are on the server side and on this 
side the file you are uploading simply doesn't exist on file system (so 
ther's no absolute path).
With class FileUpload you can copy this file on your server (with method 
writeTo(java.io.File file) ) OR you can simply read file from client via 
Java InputStream calling getInputStream(). So you should retrive this 
input stream and pass it to your parser.



Another issue with the FileUpload,

When I try to retrieve the specified filename with getClientFileName(), I
only get the name of the file, without the absolute path. So I can't
construct a java.io.File object with just the filename. How do I get the
full path?

In the example at http://www.wicket-library.com/wicket-examples/index.html ,
they're using an UploadFolder but I don't have an Upload Folder, I'm not
uploading a file to the server.

I just need to get the full path of the specified file so I can create a
File object. Then, I need to parse the File. Thanks again

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/FileUploadField-getClientFileName-doesn-t-give-Absolute-Path-tp3514910p3514910.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: FileUploadField.getClientFileName() doesn't give Absolute Path

2011-05-11 Thread Andrea Del Bene
Keep in mind that with Wicket you are on the server side and on this 
side the file you are uploading simply doesn't exist on file system (so 
there's no absolute path).
With class FileUpload you can copy this file on your server (with method 
writeTo(java.io.File file) ) OR you can simply read file from client via 
Java InputStream calling getInputStream(). So you should retrive this 
input stream and pass it to your parser.



Another issue with the FileUpload,

When I try to retrieve the specified filename with getClientFileName(), I
only get the name of the file, without the absolute path. So I can't
construct a java.io.File object with just the filename. How do I get the
full path?

In the example at http://www.wicket-library.com/wicket-examples/index.html ,
they're using an UploadFolder but I don't have an Upload Folder, I'm not
uploading a file to the server.

I just need to get the full path of the specified file so I can create a
File object. Then, I need to parse the File. Thanks again

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/FileUploadField-getClientFileName-doesn-t-give-Absolute-Path-tp3514910p3514910.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: FileUploadField.getClientFileName() doesn't give Absolute Path

2011-05-11 Thread eugenebalt
Thanks. That's what I'm doing.

BTW, found this thread that explains why you can't get the full path:
http://apache-wicket.1842946.n4.nabble.com/Where-is-the-full-client-filename-during-FileUpload-td1876600.html

It's a security issue, if you could get the full path then you could have
access to other files in the path that the user didn't specify.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/FileUploadField-getClientFileName-doesn-t-give-Absolute-Path-tp3514910p3514993.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: FileUploadField.getClientFileName() doesn't give Absolute Path

2011-05-11 Thread Martin Grigorov
Your app runs at the server.
The file is uploaded from the client machine.
How the full *client* path will be useful at the server ?

On Wed, May 11, 2011 at 4:39 PM, eugenebalt eugeneb...@yahoo.com wrote:
 Another issue with the FileUpload,

 When I try to retrieve the specified filename with getClientFileName(), I
 only get the name of the file, without the absolute path. So I can't
 construct a java.io.File object with just the filename. How do I get the
 full path?

 In the example at http://www.wicket-library.com/wicket-examples/index.html ,
 they're using an UploadFolder but I don't have an Upload Folder, I'm not
 uploading a file to the server.

 I just need to get the full path of the specified file so I can create a
 File object. Then, I need to parse the File. Thanks again

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/FileUploadField-getClientFileName-doesn-t-give-Absolute-Path-tp3514910p3514910.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: FileUploadField.getClientFileName() doesn't give Absolute Path

2011-05-11 Thread eugenebalt
Yes, I understand now. Thanks.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/FileUploadField-getClientFileName-doesn-t-give-Absolute-Path-tp3514910p3515021.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Need to distinguish between FileUpload's Empty Field and Bad File

2011-05-11 Thread eugenebalt
One final question on the FileUpload.

I need to differentiate between 2 kinds of errors (I display a different
message for each),

1) The FileUpload box is empty (i.e., nothing was typed in, and the Browse
button wasn't clicked),
2) The file does not exist (a filename was typed in, but that file does not
exist).

Both of these scenarios seem to be handled the same by Wicket: my Model is
NULL. It's NULL even if I type something in, as long as it's invalid.

(If my entry is valid, the Model then holds the FileUpload.)

So, is there a way to distinguish between empty field and file does not
exist, and have a way to catch both of these?

Thanks again

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Need-to-distinguish-between-FileUpload-s-Empty-Field-and-Bad-File-tp3515034p3515034.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: ModalWindow with Panel - HeaderContributor in Panel not called

2011-05-11 Thread Igor Vaynberg
it is contributed, but wont be visible using view-source because it is
added dynamically via ajax and is not in the original source of the
page.

-igor

On Wed, May 11, 2011 at 6:02 AM, Marieke Vandamme
marieke.vanda...@tvh.be wrote:
 Hello,

 This is my situation:
 Page
  |- ModalWindow
           |- Panel
                   |- HomeMadeReusableComponent
                                   |- HeaderContributor

 In this HeaderContributor I override renderHead(IHeaderResponse response).
 I thought that everything I wrote to the response would end up in my Page,
 but it doesn't...

 I know that one option would be to add the HeaderContributor directly to the
 page, but then I have duplicate code that is now needly inside my
 HomeMadeReusableComponent.

 I tried to add the HeaderContributer inside my HomeMadeReusableComponent to
 the page instead then adding it to the component, but HeaderContributors are
 defined inside the component constructor and then my page isn't ready yet.

 Can anyone help me or give me any hints?
 Thanks in advance ! Marieke vandamme

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/ModalWindow-with-Panel-HeaderContributor-in-Panel-not-called-tp3514628p3514628.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



WebMarkupContainer and replaceWith

2011-05-11 Thread Anna Simbirtsev
Hi,

I am trying to replace WebMarkupContainer with Panel, but get the
following error:
org.apache.wicket.markup.MarkupException: close tag not found for tag:
div wicket:id=myContainer.

The container has other elements attached to it.

Is there any way to get it working or I can only replace panel with panel?

Thanks
Anna

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Nothing happens on AJAX call after session timeout

2011-05-11 Thread Gabriel Landon
Maybe you could try this to get the header :
http://download.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html#getHeader%28java.lang.String%29

And this for filter :
http://www.oracle.com/technetwork/java/filters-137243.html

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Nothing-happens-on-AJAX-call-after-session-timeout-tp3483872p3515432.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: WebMarkupContainer and replaceWith

2011-05-11 Thread Igor Vaynberg
panel tags in panel's parent markup cannot have any child wicket tags
since that markup is replaced with the contents of the panel.

-igor


On Wed, May 11, 2011 at 11:26 AM, Anna Simbirtsev asimbirt...@gmail.com wrote:
 Hi,

 I am trying to replace WebMarkupContainer with Panel, but get the
 following error:
 org.apache.wicket.markup.MarkupException: close tag not found for tag:
 div wicket:id=myContainer.

 The container has other elements attached to it.

 Is there any way to get it working or I can only replace panel with panel?

 Thanks
 Anna

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Need to distinguish between FileUpload's Empty Field and Bad File

2011-05-11 Thread eugenebalt
Since no one's replied, I guess there's no way to distinguish.

Empty file box and invalid file are one and the same, and Wicket doesn't
expose that granularity.

I tried attaching a validator to the file box for an invalid file check
and also did setRequired(true) to check for blanks, and the validator never
even gets fired, it's always the Field Required error even if it's
non-blank. Oh well.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Need-to-distinguish-between-FileUpload-s-Empty-Field-and-Bad-File-tp3515034p3515681.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



FeedbackPanel with Hierarchical DT/DD (Definition List Tags)?

2011-05-11 Thread eugenebalt
I have a FeedbackPanel in my form that displays errors.

Rather than a regular FeedbackPanel that lists LI items, this one is a
2-level hierarchy which uses Definition Lists (DD/DT tags).

Example from http://www.w3.org/TR/html401/struct/lists.html ,

DL
  DTCategory 1/DT
   DDItem 1/DD
   DDItem 2/DD
  /DT
/DL

Does the FeedbackPanel support categorized, hierarchical lists like that?
Does anything special need to be done? If there is an error, I'd have to add
it to the FeedbackPanel based on its DT category.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/FeedbackPanel-with-Hierarchical-DT-DD-Definition-List-Tags-tp3515696p3515696.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: FeedbackPanel with Hierarchical DT/DD (Definition List Tags)?

2011-05-11 Thread Pedro Santos
FeedbackPanel is just a panel implementing IFeedback interface and
presenting messages in session. You can write a completely different
panel implementing IFeedback with custom presentation. It is nothing
special.


On Wed, May 11, 2011 at 4:59 PM, eugenebalt eugeneb...@yahoo.com wrote:
 I have a FeedbackPanel in my form that displays errors.

 Rather than a regular FeedbackPanel that lists LI items, this one is a
 2-level hierarchy which uses Definition Lists (DD/DT tags).

 Example from http://www.w3.org/TR/html401/struct/lists.html ,

 DL
  DTCategory 1/DT
   DDItem 1/DD
   DDItem 2/DD
  /DT
 /DL

 Does the FeedbackPanel support categorized, hierarchical lists like that?
 Does anything special need to be done? If there is an error, I'd have to add
 it to the FeedbackPanel based on its DT category.

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/FeedbackPanel-with-Hierarchical-DT-DD-Definition-List-Tags-tp3515696p3515696.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Pedro Henrique Oliveira dos Santos

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: FeedbackPanel with Hierarchical DT/DD (Definition List Tags)?

2011-05-11 Thread eugenebalt
So I need to write my own class that extends Panel and implements IFeedback?

I just looked in the IFeedback javadoc, it doesn't have any methods, it's
just a marker. So how would I handle my messages?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/FeedbackPanel-with-Hierarchical-DT-DD-Definition-List-Tags-tp3515696p3515733.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: FeedbackPanel with Hierarchical DT/DD (Definition List Tags)?

2011-05-11 Thread Pedro Santos
By implementing IFeedback you are just comunicating about your type
goal: be a feedback. Imagine that one can visit a page adding
components implementing IFeedback to an AJAX request target.
About handle messages, FeedbackPanel is just presenting messages in
session, take a look at FeedbackMessagesModel.

On Wed, May 11, 2011 at 5:14 PM, eugenebalt eugeneb...@yahoo.com wrote:
 So I need to write my own class that extends Panel and implements IFeedback?

 I just looked in the IFeedback javadoc, it doesn't have any methods, it's
 just a marker. So how would I handle my messages?

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/FeedbackPanel-with-Hierarchical-DT-DD-Definition-List-Tags-tp3515696p3515733.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Pedro Henrique Oliveira dos Santos

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Can you patch ModalWindow in next 1.4 release?

2011-05-11 Thread Russell Morrisey
I created a patch in order to replace ModalWindow's window-closing behavior 
with a custom IBehavior implementation. The .patch file and a quickstart 
project are included in the JIRA issue:

https://issues.apache.org/jira/browse/WICKET-3630

Could someone who is a committer to wicket-extensions please review this patch, 
and push it into the next minor wicket release?

The code for the next major release of our project relies on this patch. 
Currently we are maintaining our own local copy of ModalWindow.java; I would 
like to eliminate this maintenance burden from our project, and let others 
benefit from the change.

The change is small and backwards-compatible, and I'm confident that it's 
solid. If you see any issues with it, please let me know.

Thanks, guys,

RUSSELL E. MORRISEY
Programmer Analyst Professional
Mission Solutions Engineering, LLC

| russell.morri...@missionse.com | www.missionse.com
304 West Route 38, Moorestown, NJ 08057-3212


-Original Message-
From: users-digest-h...@wicket.apache.org 
[mailto:users-digest-h...@wicket.apache.org]
Sent: Wednesday, May 11, 2011 10:40 AM
To: users@wicket.apache.org
Subject: users Digest 11 May 2011 14:40:22 - Issue 3224


users Digest 11 May 2011 14:40:22 - Issue 3224

Topics (messages 63002 through 63031):

Table not refreshed - ajax debug shows right markup returned
63002 by: D D
63003 by: Martin Grigorov
63004 by: D D
63005 by: Martin Grigorov
63009 by: D D
63010 by: Martin Grigorov

Re: Error with FileUpload: ServletRequest does not contain multipart content
63006 by: eugenebalt
63007 by: Martin Grigorov
63008 by: eugenebalt

Re: Nothing happens on AJAX call after session timeout
63011 by: Gabriel Landon
63014 by: vov
63015 by: Martin Grigorov
63018 by: vov

disabled chek box   form submit
63012 by: fachhoch
63013 by: Martin Makundi
63019 by: Andrea Del Bene

Selenium Problem
63016 by: rawe
63017 by: Martin Grigorov
63020 by: rawe

Questions Regarding Wicket URL Generation
63021 by: Carlo Camerino
63022 by: Andrea Del Bene
63023 by: Martin Grigorov
63024 by: Andrea Del Bene
63025 by: Clint Checketts

[announce] Wicket 1.5-RC4.2 is released
63026 by: Martin Grigorov

ModalWindow with Panel - HeaderContributor in Panel not called
63027 by: Marieke Vandamme

FileUploadField Losing Value After Form Submit
63028 by: eugenebalt
63029 by: Andrea Del Bene
63030 by: eugenebalt

FileUploadField.getClientFileName() doesn't give Absolute Path
63031 by: eugenebalt

Administrivia:

-
To post to the list, e-mail: users@wicket.apache.org To unsubscribe, e-mail: 
users-digest-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-digest-h...@wicket.apache.org

--


This is a PRIVATE message. If you are not the intended recipient, please delete 
without copying and kindly advise us by e-mail of the mistake in delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind MSE to any 
order or other contract unless pursuant to explicit written agreement or 
government initiative expressly permitting the use of e-mail for such purpose.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Can you patch ModalWindow in next 1.4 release?

2011-05-11 Thread James Carman
Would it break other people's existing code?
On May 11, 2011 5:13 PM, Russell Morrisey russell.morri...@missionse.com
wrote:
 I created a patch in order to replace ModalWindow's window-closing
behavior with a custom IBehavior implementation. The .patch file and a
quickstart project are included in the JIRA issue:

 https://issues.apache.org/jira/browse/WICKET-3630

 Could someone who is a committer to wicket-extensions please review this
patch, and push it into the next minor wicket release?

 The code for the next major release of our project relies on this patch.
Currently we are maintaining our own local copy of ModalWindow.java; I would
like to eliminate this maintenance burden from our project, and let others
benefit from the change.

 The change is small and backwards-compatible, and I'm confident that it's
solid. If you see any issues with it, please let me know.

 Thanks, guys,

 RUSSELL E. MORRISEY
 Programmer Analyst Professional
 Mission Solutions Engineering, LLC

 | russell.morri...@missionse.com | www.missionse.com
 304 West Route 38, Moorestown, NJ 08057-3212


 -Original Message-
 From: users-digest-h...@wicket.apache.org [mailto:
users-digest-h...@wicket.apache.org]
 Sent: Wednesday, May 11, 2011 10:40 AM
 To: users@wicket.apache.org
 Subject: users Digest 11 May 2011 14:40:22 - Issue 3224


 users Digest 11 May 2011 14:40:22 - Issue 3224

 Topics (messages 63002 through 63031):

 Table not refreshed - ajax debug shows right markup returned
 63002 by: D D
 63003 by: Martin Grigorov
 63004 by: D D
 63005 by: Martin Grigorov
 63009 by: D D
 63010 by: Martin Grigorov

 Re: Error with FileUpload: ServletRequest does not contain multipart
content
 63006 by: eugenebalt
 63007 by: Martin Grigorov
 63008 by: eugenebalt

 Re: Nothing happens on AJAX call after session timeout
 63011 by: Gabriel Landon
 63014 by: vov
 63015 by: Martin Grigorov
 63018 by: vov

 disabled chek box form submit
 63012 by: fachhoch
 63013 by: Martin Makundi
 63019 by: Andrea Del Bene

 Selenium Problem
 63016 by: rawe
 63017 by: Martin Grigorov
 63020 by: rawe

 Questions Regarding Wicket URL Generation
 63021 by: Carlo Camerino
 63022 by: Andrea Del Bene
 63023 by: Martin Grigorov
 63024 by: Andrea Del Bene
 63025 by: Clint Checketts

 [announce] Wicket 1.5-RC4.2 is released
 63026 by: Martin Grigorov

 ModalWindow with Panel - HeaderContributor in Panel not called
 63027 by: Marieke Vandamme

 FileUploadField Losing Value After Form Submit
 63028 by: eugenebalt
 63029 by: Andrea Del Bene
 63030 by: eugenebalt

 FileUploadField.getClientFileName() doesn't give Absolute Path
 63031 by: eugenebalt

 Administrivia:

 -
 To post to the list, e-mail: users@wicket.apache.org To unsubscribe,
e-mail: users-digest-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-digest-h...@wicket.apache.org

 --


 This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
 NOTE: Regardless of content, this e-mail shall not operate to bind MSE to
any order or other contract unless pursuant to explicit written agreement or
government initiative expressly permitting the use of e-mail for such
purpose.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



Re: Can you patch ModalWindow in next 1.4 release?

2011-05-11 Thread Martin Grigorov
No, it doesn't.
He already said: The change is small and backwards-compatible.
And the patch looks OK.

On Wed, May 11, 2011 at 11:24 PM, James Carman
jcar...@carmanconsulting.com wrote:
 Would it break other people's existing code?
 On May 11, 2011 5:13 PM, Russell Morrisey russell.morri...@missionse.com
 wrote:
 I created a patch in order to replace ModalWindow's window-closing
 behavior with a custom IBehavior implementation. The .patch file and a
 quickstart project are included in the JIRA issue:

 https://issues.apache.org/jira/browse/WICKET-3630

 Could someone who is a committer to wicket-extensions please review this
 patch, and push it into the next minor wicket release?

 The code for the next major release of our project relies on this patch.
 Currently we are maintaining our own local copy of ModalWindow.java; I would
 like to eliminate this maintenance burden from our project, and let others
 benefit from the change.

 The change is small and backwards-compatible, and I'm confident that it's
 solid. If you see any issues with it, please let me know.

 Thanks, guys,

 RUSSELL E. MORRISEY
 Programmer Analyst Professional
 Mission Solutions Engineering, LLC

 | russell.morri...@missionse.com | www.missionse.com
 304 West Route 38, Moorestown, NJ 08057-3212


 -Original Message-
 From: users-digest-h...@wicket.apache.org [mailto:
 users-digest-h...@wicket.apache.org]
 Sent: Wednesday, May 11, 2011 10:40 AM
 To: users@wicket.apache.org
 Subject: users Digest 11 May 2011 14:40:22 - Issue 3224


 users Digest 11 May 2011 14:40:22 - Issue 3224

 Topics (messages 63002 through 63031):

 Table not refreshed - ajax debug shows right markup returned
 63002 by: D D
 63003 by: Martin Grigorov
 63004 by: D D
 63005 by: Martin Grigorov
 63009 by: D D
 63010 by: Martin Grigorov

 Re: Error with FileUpload: ServletRequest does not contain multipart
 content
 63006 by: eugenebalt
 63007 by: Martin Grigorov
 63008 by: eugenebalt

 Re: Nothing happens on AJAX call after session timeout
 63011 by: Gabriel Landon
 63014 by: vov
 63015 by: Martin Grigorov
 63018 by: vov

 disabled chek box form submit
 63012 by: fachhoch
 63013 by: Martin Makundi
 63019 by: Andrea Del Bene

 Selenium Problem
 63016 by: rawe
 63017 by: Martin Grigorov
 63020 by: rawe

 Questions Regarding Wicket URL Generation
 63021 by: Carlo Camerino
 63022 by: Andrea Del Bene
 63023 by: Martin Grigorov
 63024 by: Andrea Del Bene
 63025 by: Clint Checketts

 [announce] Wicket 1.5-RC4.2 is released
 63026 by: Martin Grigorov

 ModalWindow with Panel - HeaderContributor in Panel not called
 63027 by: Marieke Vandamme

 FileUploadField Losing Value After Form Submit
 63028 by: eugenebalt
 63029 by: Andrea Del Bene
 63030 by: eugenebalt

 FileUploadField.getClientFileName() doesn't give Absolute Path
 63031 by: eugenebalt

 Administrivia:

 -
 To post to the list, e-mail: users@wicket.apache.org To unsubscribe,
 e-mail: users-digest-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-digest-h...@wicket.apache.org

 --


 This is a PRIVATE message. If you are not the intended recipient, please
 delete without copying and kindly advise us by e-mail of the mistake in
 delivery.
 NOTE: Regardless of content, this e-mail shall not operate to bind MSE to
 any order or other contract unless pursuant to explicit written agreement or
 government initiative expressly permitting the use of e-mail for such
 purpose.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Can you patch ModalWindow in next 1.4 release?

2011-05-11 Thread James Carman
Sorry, was reading that on my phone.

On Wed, May 11, 2011 at 5:26 PM, Martin Grigorov mgrigo...@apache.org wrote:
 No, it doesn't.
 He already said: The change is small and backwards-compatible.
 And the patch looks OK.

 On Wed, May 11, 2011 at 11:24 PM, James Carman
 jcar...@carmanconsulting.com wrote:
 Would it break other people's existing code?
 On May 11, 2011 5:13 PM, Russell Morrisey russell.morri...@missionse.com
 wrote:
 I created a patch in order to replace ModalWindow's window-closing
 behavior with a custom IBehavior implementation. The .patch file and a
 quickstart project are included in the JIRA issue:

 https://issues.apache.org/jira/browse/WICKET-3630

 Could someone who is a committer to wicket-extensions please review this
 patch, and push it into the next minor wicket release?

 The code for the next major release of our project relies on this patch.
 Currently we are maintaining our own local copy of ModalWindow.java; I would
 like to eliminate this maintenance burden from our project, and let others
 benefit from the change.

 The change is small and backwards-compatible, and I'm confident that it's
 solid. If you see any issues with it, please let me know.

 Thanks, guys,

 RUSSELL E. MORRISEY
 Programmer Analyst Professional
 Mission Solutions Engineering, LLC

 | russell.morri...@missionse.com | www.missionse.com
 304 West Route 38, Moorestown, NJ 08057-3212


 -Original Message-
 From: users-digest-h...@wicket.apache.org [mailto:
 users-digest-h...@wicket.apache.org]
 Sent: Wednesday, May 11, 2011 10:40 AM
 To: users@wicket.apache.org
 Subject: users Digest 11 May 2011 14:40:22 - Issue 3224


 users Digest 11 May 2011 14:40:22 - Issue 3224

 Topics (messages 63002 through 63031):

 Table not refreshed - ajax debug shows right markup returned
 63002 by: D D
 63003 by: Martin Grigorov
 63004 by: D D
 63005 by: Martin Grigorov
 63009 by: D D
 63010 by: Martin Grigorov

 Re: Error with FileUpload: ServletRequest does not contain multipart
 content
 63006 by: eugenebalt
 63007 by: Martin Grigorov
 63008 by: eugenebalt

 Re: Nothing happens on AJAX call after session timeout
 63011 by: Gabriel Landon
 63014 by: vov
 63015 by: Martin Grigorov
 63018 by: vov

 disabled chek box form submit
 63012 by: fachhoch
 63013 by: Martin Makundi
 63019 by: Andrea Del Bene

 Selenium Problem
 63016 by: rawe
 63017 by: Martin Grigorov
 63020 by: rawe

 Questions Regarding Wicket URL Generation
 63021 by: Carlo Camerino
 63022 by: Andrea Del Bene
 63023 by: Martin Grigorov
 63024 by: Andrea Del Bene
 63025 by: Clint Checketts

 [announce] Wicket 1.5-RC4.2 is released
 63026 by: Martin Grigorov

 ModalWindow with Panel - HeaderContributor in Panel not called
 63027 by: Marieke Vandamme

 FileUploadField Losing Value After Form Submit
 63028 by: eugenebalt
 63029 by: Andrea Del Bene
 63030 by: eugenebalt

 FileUploadField.getClientFileName() doesn't give Absolute Path
 63031 by: eugenebalt

 Administrivia:

 -
 To post to the list, e-mail: users@wicket.apache.org To unsubscribe,
 e-mail: users-digest-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-digest-h...@wicket.apache.org

 --


 This is a PRIVATE message. If you are not the intended recipient, please
 delete without copying and kindly advise us by e-mail of the mistake in
 delivery.
 NOTE: Regardless of content, this e-mail shall not operate to bind MSE to
 any order or other contract unless pursuant to explicit written agreement or
 government initiative expressly permitting the use of e-mail for such
 purpose.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: WebMarkupContainer and replaceWith

2011-05-11 Thread G. Kebba
Hallo Anna
You have a XML wellformedness problem. Please close your div tag in the html 
template by adding /div.
You should end up with 
div wicket:id=myContainer

/div

Gong
Kampala, Uganda
On Wednesday, May 11, 2011 08:26:22 PM Anna Simbirtsev wrote:
 Hi,
 
 I am trying to replace WebMarkupContainer with Panel, but get the
 following error:
 org.apache.wicket.markup.MarkupException: close tag not found for tag:
 div wicket:id=myContainer.
 
 The container has other elements attached to it.
 
 Is there any way to get it working or I can only replace panel with panel?
 
 Thanks
 Anna
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


[Announce] Wicket Stuff Core 1.5-RC4.2 Released

2011-05-11 Thread Michael O'Cleirigh

Hello,

Following the release this morning of wicket 1.5-RC4.2 I have built and 
deployed a matching wicketstuff-core 1.5-RC4.2 release.


The artifacts have been promoted and synced into the maven central 
repository.


They can be retrieved like this:

dependency
groupIdorg.wicketstuff/groupId
artifactIdwicket-security-swarm/artifactId
version1.5-RC4.2/version
/dependency

The release tag is here: 
https://github.com/wicketstuff/core/tree/wicketstuff-core-1.5-RC4.2


Development on the next release takes place on the master branch here: 
https://github.com/wicketstuff/core


Issues can be reported here: https://github.com/wicketstuff/core/issues

The Project Wiki is available here: 
https://github.com/wicketstuff/core/wiki


New modules included in this release:
wicket-security
wicket-bundle
wicket-poi
jslibraries

Changelog between wicketstuff-core-1.5-RC3 and this release:

akiraly (56 commits):
  [html5] Renaming Behaviour to Behavior for consistency.
  Replacing deprecated calls. Removing some unnecessary 
@SuppressWarnings(unchecked) annotations.

  [html5] Minor modification in doc and js.
  [console-templates] Attempt to fix a test that fails on 
wicketstuff.org's jenkins CI.
  [console-templates] Fixing a test that fails on wicketstuff.org's 
jenkins CI.

  [springreference-examples] Cosmetic changes.
  [misc] pom and code cleanup.
  [jquery] pom and code cleanup.
  [phonebook] fix and reenable tests.
  [servlet3] Bump jetty to 8.0.0.M2.
  [minis] Adding a new feedback panel component and an image 
dimension providing behavior.

  [console] Correcting a sneaky typo.
  [jquery] Correcting pom dependency. Misc was merged into minis.
  [phonebook] Javadoc correction.
  [wicket-security] Some pom cleanup.
  Correcting hsqldb dependency so jdk-1.5 projects depend on the 
JDBC3 variant instead of the JDBC4 implementation which is for jdk-1.6.
  [springreference] Replacing commons-logging transitive dependency 
with jcl-over-slf4j.
  [meiomask] Fixing 2 tests so they do not depend on a specific 
default timezone value.

  [html5] Adding tests for fileapi behaviors.
  [html5] Fixing an NPE in one of the examples.
  Formatting + code cleanup on java source files using wicket rules.
  [wicket-security-parent] Deleting Eclipse specific .settings from 
repository to be consistent with other projects.
  [core] Bumping version to latest stable for some dependencies 
(minor version changes).
  Sorting modules in jdk-1.5 pom. Fixing a maven warning in 
calendarviews-parent/pom.xml.
  Adding some eclipse specific settings files. They can be imported 
into an Eclipse workspace.
  Cleanups in pom.xml-s. Dependency versions inherited from core 
pom. Some plugin configs moved to core pom.

  Modified a few web.xml-s to use servlet 2.5 header.
  Fixing incorrect/missing logging configurations used by unit tests.
  [wicket-poi] #24 Moving poi based components from minis to a new 
module.

  Fixing Eclipse warnings. Mostly Java related.
  Eclipse warning cleanups.
  Replacing CompressedResourceReference with 
PackageResourceReference as the latter was removed from Apache Wicket.

  [mbeanview] Fixing some generics related warnings
  [inmethod-grid] Replacing CompressedResourceReference with 
PackageResourceReference as the latter was removed from Apache Wicket.
  [inmethod-grid] Added generics. It is a big change any code 
review is welcomed.
  [core] Moving javadoc bundle generation to profile so it is only 
performed during releases. This should speed up (non-release) builds.

  Eclipse warning cleanups.
  [minis] Making ImageDimensionProviders a bit more robust.
  [minis] javadoc fix.
  [wicket-poi] Fixing a test failing on jenkins CI.
  [wicket-poi] Renaming test as it is testing now a different page.
  Bumping jetty to latest stable version (7.4.0).
  [inmethod-grid] Adding javadoc about the recently added generic 
types. Also some minor cosmetic code change.

  [inmethod-grid] javadoc typo fix.
  Ehcache updated from 2.4.1 to 2.4.2.
  Fixing some findbugs warnings.
  [console-templates] Adding slf4j binding for tests.
  Adding spring annotation driven injection support for wicket. 
This means that with AbstractSpringDependencies it is possible to use 
spring annotations (for example @Autowired, @Qualifier) for injection in 
wicket apps.
  Following the IHeaderContributor related upstream change so the 
code compiles again.

  [springreference] No need to call init() in clone().
  [poi] Fixing a failing test.
  [bundle] Moving plugin version info to core.
  Updating hibernate and groovy dependencies.
  [poi] Cosmetic change in transitive test related dependencies.
  Following the IHeaderContributor related upstream change so the 
code compiles again. !Note! This commit might need to be