Re: [Wicket-user] choosing a wicket version

2007-02-25 Thread Xavier Hanin
On 2/24/07, Vincent Demay [EMAIL PROTECTED] wrote: Xavier Hanin a écrit : On 2/24/07, *Vincent Demay* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Xavier Hanin a écrit : Ok, so I'll go with wicket 2, thanks a lot for your time! Hi Xavier, I work on dojo

[Wicket-user] [WCD] problem building examples

2007-02-25 Thread Xavier Hanin
Hi, I'm currently testing wicket contrib dojo, and I ran into some issues with the examples: - the compilation failed: D:\users\xh\wkspace\sourceforge\wicket-stuff\wicket-contrib-dojo-examples\src\main\java\wicket\contrib\dojo\examples\SuggestionListSample.java:[7,59] cannot find symbol symbol

[Wicket-user] DojoDropContainer won't work with zero items or float: left;

2007-02-25 Thread Gohan
I'm having some issues with the DojoDropContainer component of wicket-contrib-dojo. As soon as I'm setting the layout in the css to be float: left; for the images or whatever I like to drop, it won't work (i.e. I can't drop any images to the DropContainer). If I switch back to float: top; it

Re: [Wicket-user] [WCD] problem building examples

2007-02-25 Thread Jean-Baptiste Quenot
Hi Xavier, I removed the examples that require JDK 1.5. We'll need to rewrite them. And thanks for the patch to pom.xml, I applied it but with JDK 1.4. See http://wicketstuff.org/jira/browse/DOJO-21 Cheers, -- Jean-Baptiste Quenot aka John Banana Qwerty

Re: [Wicket-user] URL when navigating away from a bookmarkable URL

2007-02-25 Thread Johan Compagner
yeah maybe we should because that those 2 really should be the same thing if not then it doesn't work, so it invites bugs.. johan On 2/25/07, Eelco Hillenius [EMAIL PROTECTED] wrote: mount(/item, new IndexedParamUrlCodingStrategy(/item, ItemViewPage.class)); 1) From looking at the above,

Re: [Wicket-user] LoadableDetachableModel in form processing

2007-02-25 Thread Johan Compagner
Happy NewYear! On 2/25/07, Matthew Kwong [EMAIL PROTECTED] wrote: Sorry guys, I was in Chinese new year vacation and out of the town without any internet connection. Anyway, Iman is right, it is the model in palette that's causing this exception. Thank you so much :) Matthew Iman

Re: [Wicket-user] wicket-contrib-tinymce release

2007-02-25 Thread Iman Rahmatizadeh
Thanks for the great work. Will the examples be released as well ? It was a little hard for me as a first timer with tinymce to find out how it works. On 2/24/07, Iulian Costan [EMAIL PROTECTED] wrote: hi i just want to let you know that wicket-contrib-tinymce module has been released. the

[Wicket-user] Question about DropDownChoice

2007-02-25 Thread Zhang Hailong
Hi all, The default DropDownChoice always adds a Choose One option. How to disable this? Thank you! Regards, Hailong Zhang - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and

Re: [Wicket-user] Question about DropDownChoice

2007-02-25 Thread Iman Rahmatizadeh
// Note that when the selection is null, Wicket will lookup a localized string to // represent this null with key: id + '.null'. In this case, this is ' site.null' // which can be found in DropDownChoicePage.properties copied from the JavaDoc for DropDownChoice. On 2/25/07, Zhang Hailong

Re: [Wicket-user] Question about DropDownChoice

2007-02-25 Thread Zhang Hailong
Hi Iman, Thank you for your response. But How to set the default selection? My DropDownChoice defined as follows: DropDownChoice choices = new DropDownChoice(answerChoices, new PropertyModel(properties, answer), ANSWERS); Thank you! Regards, Hailong Zhang On 2/25/07, Iman Rahmatizadeh [EMAIL

Re: [Wicket-user] DojoDropContainer won't work with zero items or float: left;

2007-02-25 Thread Vincent Demay
Gohan a écrit : I'm having some issues with the DojoDropContainer component of wicket-contrib-dojo. As soon as I'm setting the layout in the css to be float: left; for the images or whatever I like to drop, it won't work (i.e. I can't drop any images to the DropContainer). If I switch back to

Re: [Wicket-user] [WCD] problem building examples

2007-02-25 Thread Vincent Demay
Jean-Baptiste Quenot a écrit : Hi Xavier, I removed the examples that require JDK 1.5. We'll need to rewrite them. And thanks for the patch to pom.xml, I applied it but with JDK 1.4. See http://wicketstuff.org/jira/browse/DOJO-21 Cheers, Hi guys, I fixed this bug.

Re: [Wicket-user] [WCD] problem building examples

2007-02-25 Thread Xavier Hanin
On 2/25/07, Vincent Demay [EMAIL PROTECTED] wrote: Jean-Baptiste Quenot a écrit : Hi Xavier, I removed the examples that require JDK 1.5. We'll need to rewrite them. And thanks for the patch to pom.xml, I applied it but with JDK 1.4. See

Re: [Wicket-user] Extending wicket.markup.html.tree.Tree

2007-02-25 Thread Ramineni Viswanath
Thanks, I have downloaded Wicket 2.0 now. I still have a problem making Tree work in a frame. I have made a few changes in the LeftFrame.html and LeftFrame.java from the frames example to include a tree component. BookmarkablePageLink used as a node link is behaving differently, i.e. instead of

Re: [Wicket-user] URL when navigating away from a bookmarkable URL

2007-02-25 Thread Eelco Hillenius
Would you care opening a JIRA issue for that Peter? Thanks. Eelco On 2/25/07, Johan Compagner [EMAIL PROTECTED] wrote: yeah maybe we should because that those 2 really should be the same thing if not then it doesn't work, so it invites bugs.. johan On 2/25/07, Eelco Hillenius [EMAIL

Re: [Wicket-user] Question about DropDownChoice

2007-02-25 Thread Iman Rahmatizadeh
Hi, The PropertyModel you've used does that for you. It *binds* the selection to the properties object, using answer, so it reads the answer property from the properties when it wants to select an option to display , and sets it to the properties when the form is submitted. So whatever is in

Re: [Wicket-user] Question about DropDownChoice

2007-02-25 Thread Eelco Hillenius
Hi Iman, Thank you for your response. But How to set the default selection? My DropDownChoice defined as follows: DropDownChoice choices = new DropDownChoice(answerChoices, new PropertyModel(properties, answer), ANSWERS); Drop down matches the current model value with the available

Re: [Wicket-user] URL when navigating away from a bookmarkable URL

2007-02-25 Thread Peter Thomas
Done: https://issues.apache.org/jira/browse/WICKET-326 About my other question about the URL remaining in place when navigating to other pages, do you have any suggestions? Everything works fine and it is just a minor irritance, but can't help wondering if I am missing some subtle best practice

Re: [Wicket-user] Question about DropDownChoice

2007-02-25 Thread Zhang Hailong
Thank you. That helps. On 2/25/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Hi Iman, Thank you for your response. But How to set the default selection? My DropDownChoice defined as follows: DropDownChoice choices = new DropDownChoice(answerChoices, new PropertyModel(properties, answer),

Re: [Wicket-user] DojoDropContainer won't work with zero items or float: left;

2007-02-25 Thread Vincent Demay
Vincent Demay a écrit : Gohan a écrit : I'm having some issues with the DojoDropContainer component of wicket-contrib-dojo. As soon as I'm setting the layout in the css to be float: left; for the images or whatever I like to drop, it won't work (i.e. I can't drop any images to the

Re: [Wicket-user] URL when navigating away from a bookmarkable URL

2007-02-25 Thread Johan Compagner
What do you mean? You click on a link and you don't want to update the url thats in the browser? Use ajax. Or use pages with versioning disabled johan On 2/25/07, Peter Thomas [EMAIL PROTECTED] wrote: Done: https://issues.apache.org/jira/browse/WICKET-326 About my other question about the

Re: [Wicket-user] [WCD] problem building examples

2007-02-25 Thread Jean-Baptiste Quenot
* Vincent Demay: Jean-Baptiste Quenot a écrit : I removed the examples that require JDK 1.5. We'll need to rewrite them. And thanks for the patch to pom.xml, I applied it but with JDK 1.4. See http://wicketstuff.org/jira/browse/DOJO-21 I fixed this bug. exemples are now 1.4

[Wicket-user] Ajax Multiple File Upload

2007-02-25 Thread behlma
Hi there, situation: I have one input type=file .. field that has a javascript onChange function assigned. The onChange function basically hides that input field and creates a new one on the fly. Now chillenious pointed out that this would have to be done via ajax, i.e. generating the

[Wicket-user] Unknown Runtime Exception in Ajax?

2007-02-25 Thread dukejansen
INFO: Response parsed. Now invoking steps... ERROR: Error while parsing response: Unknown runtime error INFO: Invoking post-call handler(s)... INFO: Invoking failure handler(s)... How can I dig deeper into this Unknown runtime error? I see nothing in the server logs. Thought I'd ask for simple

Re: [Wicket-user] Unknown Runtime Exception in Ajax?

2007-02-25 Thread Ryan Holmes
Set a breakpoint in the Java code that handles the Ajax event and then the problem is usually pretty obvious... -Ryan On Feb 25, 2007, at 3:54 PM, dukejansen wrote: INFO: Response parsed. Now invoking steps... ERROR: Error while parsing response: Unknown runtime error INFO: Invoking

Re: [Wicket-user] Unknown Runtime Exception in Ajax?

2007-02-25 Thread Igor Vaynberg
ive seen that in explorer before when it encounters something it cannot do (like change outerhtml of a tr). it is a very helpful message :) i bet that code looks like this try { processjavascript(); } catch (Throwable e) { // we should never get here throw new Exception(Unknown Error); } :)

Re: [Wicket-user] URL when navigating away from a bookmarkable URL

2007-02-25 Thread Peter Thomas
Johan - the bookmarkable link in this case is within an email sent to the user. It is not a big deal though and everything works fine. One way to get things the way I want is to have all other links with that page stateless and mounted. Since I do have non-stateless links, I was wondering if