Re: [Wicket-user] LoadableDetachableModels and Trees

2007-08-01 Thread Ivana Cace
What do you want to use the model for? Is it possible to use LDMs and *Trees*? Here's a question i'd like reopened. I'm using a Tree to show a directory structure, the user selects folders to upload files into. It should be updated every submit. Is there a best practice for using a Tree

Re: [Wicket-user] Form clearInput

2007-08-01 Thread Eelco Hillenius
On 7/31/07, 桂林 [EMAIL PROTECTED] wrote: when i submit a form with data,it ok,then i want to clear the form data from the form with the form method clearInput() .but it does not work, why? Try setting a new (clear) model instead. Eelco

Re: [Wicket-user] Updates within Panels in datatable

2007-08-01 Thread salmas
Hi Igor: I cannot use the AjaxSubmitButton because I need to change the button's model dynamically and this functionality is broken in Wicket 1.2 and I can’t use the 1.3 beta because my company doesn’t want to use beta software for a production release. I ended up using a regular Button and then

Re: [Wicket-user] Updates within Panels in datatable

2007-08-01 Thread Igor Vaynberg
On 8/1/07, salmas [EMAIL PROTECTED] wrote: Hi Igor: I cannot use the AjaxSubmitButton because I need to change the button's model dynamically and this functionality is broken in Wicket 1.2 and I can't use the 1.3 beta because my company doesn't want to use beta software for a production

Re: [Wicket-user] DropDown within ModalWindow does not work in Camino

2007-08-01 Thread Eelco Hillenius
Works fine for me. Btw, the modal windows example in wicket-examples/ajax has a dropdown in it (the AM/PM field of the first modal window). Eelco On 7/31/07, Michael Day [EMAIL PROTECTED] wrote: DropDown within ModalWindow does not work in Camino. It displays, but nothing happens when I

Re: [Wicket-user] DropDown within ModalWindow does not work in Camino

2007-08-01 Thread Michael Day
That one works, but it's a page. Maybe that's why? I'm using a panel. On Aug 1, 2007, at 6:16 PM, Eelco Hillenius wrote: Works fine for me. Btw, the modal windows example in wicket-examples/ajax has a dropdown in it (the AM/PM field of the first modal window). Eelco On 7/31/07, Michael

Re: [Wicket-user] DropDown within ModalWindow does not work in Camino

2007-08-01 Thread Matej Knopp
It's weird, what version of wicket are you testing it with? -Matej On 8/2/07, Michael Day [EMAIL PROTECTED] wrote: That one works, but it's a page. Maybe that's why? I'm using a panel. On Aug 1, 2007, at 6:16 PM, Eelco Hillenius wrote: Works fine for me. Btw, the modal windows example in

Re: [Wicket-user] Handling exceptions

2007-08-01 Thread Eelco Hillenius
On 7/26/07, Federico Fanton [EMAIL PROTECTED] wrote: Hi everyone! I was wondering if there's a best practice for handling exceptions in a Wicket application.. I'm implementing an IDataProvider for a DataView, and I see that this interface doesn't throw any exception, so I'd guess that if

[Wicket-user] How to append an # anchor to an href?

2007-08-01 Thread Jesse Barnum
I want a hyperlink to take me to a particular section of another page. If I was doing static HTML, the link would be something like a href=aPage#sectionName. I can't figure out how to do this with wicket... Here's my code: add( new Link(up) { public void onClick() {

Re: [Wicket-user] PasswordTextField encryption - integrating Jasypt

2007-08-01 Thread Eelco Hillenius
About this topic, I am the founder of a project called Jasypt (Java Simplified Encryption) [http://www.jasypt.org], which is aimed at easily adding robust encryption capabilities to java applications, be it password digesting or two-way text, binary, or number encryption (based on any JCE

Re: [Wicket-user] Question about multiple AjaxSubmitLinks in one form

2007-08-01 Thread Eelco Hillenius
Suppose that I have one form which has two parts: each part has an AjaxSubmitLink and some other input components(such as TextField, CheckBox,...): [code] public class MyPage extends WebPage { public MyPage() { Form form = new Form(...); add(form); //Part1

Re: [Wicket-user] menu or Drop Down w/ arbitrary HTML content?

2007-08-01 Thread Eelco Hillenius
(Trying not to let my preconceived notions about old school HttpRequest/Response style apps and/or hand coded DHTML javascript cloud my thinking, but it's not easy...) Sometimes I find myself longing for a more comprehensive wicket cookbook; wicket-examples starts to go down that road, but

Re: [Wicket-user] Logging session contents

2007-08-01 Thread Eelco Hillenius
Hi all, how can I debug what is being stored into the session? Sometimes there are classes that are Serializable by other reasons than wicket session keeping and are silently serialized into the session. For non-serializable classes I get an exception when logging is at DEBUG level, but I