Re: [Wicket-user] Error editing wicket wiki

2006-03-19 Thread Gwyn Evans
Hi, Thanks for flagging the issue - it looks as if there's a problem with the hosted DB, so I've raised an issue with the hosting company - will post when more info available... /Gwyn On 18/03/06, Timo Stamm [EMAIL PROTECTED] wrote: Hi, I got the following message when trying to edit the

Re: [Wicket-user] Error editing wicket wiki

2006-03-19 Thread Gwyn Evans
Nothing back yet, but note that despite the message, the edit actually works... /Gwyn On 19/03/06, Gwyn Evans [EMAIL PROTECTED] wrote: Hi, Thanks for flagging the issue - it looks as if there's a problem with the hosted DB, so I've raised an issue with the hosting company - will post when

Re: [Wicket-user] JavaOne, Wicket, NetBeans

2006-03-19 Thread Geertjan Wielenga
Igor Vaynberg wrote: looks really neat. here are some of the features that i can no longer live without offered by the eclipse plugin: renaming support. when i rename a class that is a panel/page/border all assocaited files (html/properties) get renamed also. wicket tabbed editor.

[Wicket-user] Wicket 1.2-beta2 available for download

2006-03-19 Thread Martijn Dashorst
All,I just uploaded our first release after the switch to Subversion. As you can read on my blog, tagging the release was a bit awkward, but I think we managed.Please help us finalizing Wicket 1.2 by downloading this release and test it with your products to see whether we need to fix bugs. With

[Wicket-user] www.wicketframework.org does not work

2006-03-19 Thread Andrew Berman
FYI - The DNS entries need to be fixed for wicketframework.org. Need to add a CNAME with www pointing to whatever A record you have already in the DNS entries--Andrew

[Wicket-user] Re: www.wicketframework.org does not work

2006-03-19 Thread Andrew Berman
Should mention that wicketframework.org works fine, just www.wicketframework.org does not.On 3/19/06, Andrew Berman [EMAIL PROTECTED] wrote: FYI - The DNS entries need to be fixed for wicketframework.org. Need to add a CNAME with www pointing to whatever A record you have already in the DNS

[Wicket-user] Re: Wicket 1.2-beta2 available for download

2006-03-19 Thread Nathan Hamblen
Did url mounting change? I was using IndexedParamUrlCodingStrategy with beta1 but now my bookmarkable URLs are getting generated as if I were using the default strategy, like /mountpath/0/21 since I set the parameter name as 0. Then when it tries to fetch the parameter it just retrieves the 0

Re: [Wicket-user] Re: www.wicketframework.org does not work

2006-03-19 Thread Martijn Dashorst
I forgot to add the www.wicketframework.org domains to the vhost list of sf.netShould work in 6 hoursMartijn On 3/19/06, Andrew Berman [EMAIL PROTECTED] wrote: Should mention that wicketframework.org works fine, just www.wicketframework.org does not.On 3/19/06, Andrew Berman [EMAIL PROTECTED]

Re: [Wicket-user] wicket:preview feature

2006-03-19 Thread Joni Suominen
There's now a new version (0.2.7) of eclipse plugin in the update site. This version adds a html preview as a tab in the tabbed editor. I tried Ryan's javascript files and they worked well with swt browser. Joni On Tue, 2006-03-14 at 08:26 -0800, Eelco Hillenius wrote: Furthermore, this is

Re: [Wicket-user] Error editing wicket wiki

2006-03-19 Thread Gwyn Evans
And fixed as of a couple of hours ago... /Gwyn On 19/03/06, Gwyn Evans [EMAIL PROTECTED] wrote: Nothing back yet, but note that despite the message, the edit actually works... /Gwyn On 19/03/06, Gwyn Evans [EMAIL PROTECTED] wrote: Hi, Thanks for flagging the issue - it looks as if

Re: [Wicket-user] Error editing wicket wiki

2006-03-19 Thread Timo Stamm
Thanks, Gwyn. Timo Gwyn Evans schrieb: And fixed as of a couple of hours ago... /Gwyn On 19/03/06, Gwyn Evans [EMAIL PROTECTED] wrote: Nothing back yet, but note that despite the message, the edit actually works... /Gwyn On 19/03/06, Gwyn Evans [EMAIL PROTECTED] wrote: Hi, Thanks for

Re: [Wicket-user] Re: Common Pitfall for Ajax Users in Wicket

2006-03-19 Thread Timo Stamm
Nathan Hamblen schrieb: It could just wrap every Ajax target with a made-up span by default, non-destructively as far as I can tell. I really don't like the idea of markup that is magically inserted. It will break all Javascript code (and everything else) that relies on a certain DOM

Re: [Wicket-user] Re: www.wicketframework.org does not work

2006-03-19 Thread Martijn Dashorst
>From my home it now works:http://wicket-framework.orghttp://www.wicket-framework.org http://wicketframework.orghttp://www.wicketframework.orgMartijnOn 3/19/06, Martijn Dashorst [EMAIL PROTECTED] wrote: I forgot to add the www.wicketframework.org domains to the vhost list of sf.netShould work in

Re: [Wicket-user] Re: Re: Common Pitfall for Ajax Users in Wicket

2006-03-19 Thread Timo Stamm
Sorry, I misread. But a span as child of a table isn't allowed, either. Timo Timo Stamm schrieb: Johan Compagner schrieb: table span id=unique tr wicket:id=repeater .. some td with components /tr ... /span /table is that legal xhtml? No. A tr may only contain td and th. Timo

[Wicket-user] onSubmit vs onClick for form submission

2006-03-19 Thread Vincent Jenks
So, I'm trying to figure out if I should do with my form buttons. I have two buttons ('save' and 'cancel') but only the onSubmit event handler is fired. I have a button inside of the form's constructor that has an onClick event but that never happens...apparently because the onSubmit 'trumps' the

Re: [Wicket-user] onSubmit vs onClick for form submission

2006-03-19 Thread Justin Lee
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Make sure the cancel button is type=button and not type=submit. then just define an onClick for your cancel button to navigate where you want. Vincent Jenks wrote: So, I'm trying to figure out if I should do with my form buttons. I have two

[Wicket-user] change an ImageButton's color

2006-03-19 Thread kurt heston
Is there a way to choose a new awt color for an ImageButton? --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime

Re: [Wicket-user] onSubmit vs onClick for form submission

2006-03-19 Thread Vincent Jenks
Alright, did that, now the button doesn't do anything at *all*.Here's the HTML button:input type=button wicket:id=cancelButton value=Cancel /...and the event handler: add(new Button(cancelButton) {public void onClick(){ setResponsePage(new Home());} }); Any ideas?On 3/19/06,

Re: [Wicket-user] onSubmit vs onClick for form submission

2006-03-19 Thread Riyad Kalla
Don't you need to commit the response? (just a lame guess from the servlet world) On 3/19/06, Vincent Jenks [EMAIL PROTECTED] wrote: Alright, did that, now the button doesn't do anything at *all*. Here's the HTML button: input type=button wicket:id=cancelButton value=Cancel / ...and the

Re: [Wicket-user] Re: Re: Common Pitfall for Ajax Users in Wicket

2006-03-19 Thread Igor Vaynberg
this idea has been long dropped, and with the new changes it is no longer as necessary. see here for details: http://sourceforge.net/tracker/index.php?func=detailaid=1452777group_id=119783atid=684978-IgorOn 3/19/06, Timo Stamm [EMAIL PROTECTED] wrote:Sorry, I misread. But a span as child of a

Re: [Wicket-user] onSubmit vs onClick for form submission

2006-03-19 Thread Igor Vaynberg
the easiest way to do this is add two buttons with two onsubmit handlers instead of using the form's onsubmit.so add(new Button(save) { onsubmit() { // do the saving here } })add(new Button(cancel) { onsubmit() { //navigate away here } }.setDefaultFormProcessing(false)); notice the call to

Re: [Wicket-user] Re: Wicket 1.2-beta2 available for download

2006-03-19 Thread Johan Compagner
please make a bug report with some sample code.On 3/19/06, Nathan Hamblen [EMAIL PROTECTED] wrote: Did url mounting change? I was using IndexedParamUrlCodingStrategy withbeta1 but now my bookmarkable URLs are getting generated as if I were using the default strategy, like /mountpath/0/21 since I

Re: [Wicket-user] Re: Wicket 1.2-beta2 available for download

2006-03-19 Thread Igor Vaynberg
why you gotta break stuff johan!On 3/19/06, Johan Compagner [EMAIL PROTECTED] wrote: please make a bug report with some sample code.On 3/19/06, Nathan Hamblen [EMAIL PROTECTED] wrote: Did url mounting change? I was using IndexedParamUrlCodingStrategy withbeta1 but now my bookmarkable URLs are

Re: [Wicket-user] Re: Wicket 1.2-beta2 available for download

2006-03-19 Thread Johan Compagner
i think it was you..On 3/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: why you gotta break stuff johan!On 3/19/06, Johan Compagner [EMAIL PROTECTED] wrote: please make a bug report with some sample code.On 3/19/06, Nathan Hamblen [EMAIL PROTECTED] wrote: Did url mounting change? I was using

Re: [Wicket-user] change an ImageButton's color

2006-03-19 Thread kurt heston
Figured it out: DefaultButtonImageResource r = new DefaultButtonImageResource(Hello); r.setColor(Color.blue); add(new ImageButton(updateButton,r) { kurt heston wrote: Is there a way to choose a new awt color for an ImageButton?

Re: [Wicket-user] Re: Wicket 1.2-beta2 available for download

2006-03-19 Thread Igor Vaynberg
you wish, go and fix it nowOn 3/19/06, Johan Compagner [EMAIL PROTECTED] wrote: i think it was you..On 3/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: why you gotta break stuff johan!On 3/19/06, Johan Compagner [EMAIL PROTECTED] wrote: please make a bug report with some sample code.On

Re: [Wicket-user] wicket:preview feature

2006-03-19 Thread Ryan Sonnek
does wicket-bench only work with JDK 1.5? I tried it with my work installation (eclipse 3.2 and java 1.4) and got the following exception: Incompatible major/minor class version It'd be great to support jdk 1.4 as long as wicket is 1.4 compatible. On 3/19/06, Joni Suominen [EMAIL PROTECTED]

Re: [Wicket-user] onSubmit vs onClick for form submission

2006-03-19 Thread Vincent Jenks
Funny seeing you here! When are we gonna see Wicket support in MyEclipse buddy? ;)On 3/19/06, Riyad Kalla [EMAIL PROTECTED] wrote:Don't you need to commit the response?(just a lame guess from the servlet world) On 3/19/06, Vincent Jenks [EMAIL PROTECTED] wrote: Alright, did that, now the button

[Wicket-user] why create new page instances ?

2006-03-19 Thread ali
i am new in wicket , it's correct that we tell 1- always use getPageFactory.newPage() instead new. 2- if a user view/edit 4 book in its session , for him/her created 4 BookDetails and 4 EditBook page object.(why this needed) do we can define page be singleton in level of handler thread or

Re: [Wicket-user] why create new page instances ?

2006-03-19 Thread Igor Vaynberg
On 3/19/06, ali [EMAIL PROTECTED] wrote: i am new in wicket , it's correct that we tell1- always use getPageFactory.newPage() instead new.then you lose the ability to use strongly typed constructors when creating pages. one of wicket's strength is that its pages/components are regular java

Re: [Wicket-user] why create new page instances ?

2006-03-19 Thread Igor Vaynberg
we have profiled wicket and it looked very impressive. java is good about gc and getting better and better, so that wasnt a performance hotspot. until it becomes one we are not going to worry about it. if you would like more details johan has some numbers i believe. -IgorOn 3/19/06, ali [EMAIL

Re: [Wicket-user] why create new page instances ?

2006-03-19 Thread Eelco Hillenius
It can actually be more efficient than working with singletons and pooling because of synchronization issues. This is a commonly overlooked issue - even by some framework builders. Also, hotspot is pretty smart about regaining short lived objects, probably making it even more efficient than when

[Wicket-user] outerhtml, ajax wrapping

2006-03-19 Thread Nathan Hamblen
So far I'm not getting what I was hoping for with outerhtml. I targeted a textfield with it and Safari handled it ok but Firefox made a second textfield. So I'm back to a wrapping span. But I'm glad for the switch; outerhtml is semantically a lot better for what we're doing. With beta1 if you

[Wicket-user] HeadersToolbar span's break layout

2006-03-19 Thread Matej Knopp
Hi, I noticed that HeadersToolbar from wicket-extensions breaks layout of certain tables because it renders html like tr span th../th /span span th../th /span /tr The layout breaks when the table (resp. the container holding it) is replaced by ajax. The solution is to do

Re: [Wicket-user] outerhtml, ajax wrapping

2006-03-19 Thread Igor Vaynberg
well, some good news for you. if you update to trunk you will be able to rerender a textfield w/out an outer container :)-IgorOn 3/19/06, Nathan Hamblen [EMAIL PROTECTED] wrote:So far I'm not getting what I was hoping for with outerhtml. I targeted a textfield with it and Safari handled it ok but

Re: [Wicket-user] HeadersToolbar span's break layout

2006-03-19 Thread Igor Vaynberg
done-IgorOn 3/19/06, Matej Knopp [EMAIL PROTECTED] wrote: Hi,I noticed that HeadersToolbar from wicket-extensions breaks layout ofcertain tables because it renders html liketr span th../th /span span th../th /span/trThe layout breaks when the table (resp. the container holding it) isreplaced by

[Wicket-user] Wicket Beta 2 Ajax Broken !

2006-03-19 Thread Matej Knopp
Hi, there seems to be a serious problem with beta 2. Javascript replaces components with outerHtml, but they are rendered with setStripWicketTags(true), which causes severe problems. Or am I missing something? -Matej --- This SF.Net email

Re: [Wicket-user] HeadersToolbar span's break layout

2006-03-19 Thread Matej Knopp
thanks Igor Vaynberg wrote: done -Igor On 3/19/06, *Matej Knopp* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, I noticed that HeadersToolbar from wicket-extensions breaks layout of certain tables because it renders html like tr span th../th

Re: [Wicket-user] Wicket Beta 2 Ajax Broken !

2006-03-19 Thread Igor Vaynberg
what exactly is the problem? ajax requests use the same settings, so if you have stripwickettags=false both full and ajax renders should act the same.-IgorOn 3/19/06, Matej Knopp [EMAIL PROTECTED] wrote:Hi, there seems to be a serious problem with beta 2. _javascript_ replaces components with

Re: [Wicket-user] wicket:preview feature

2006-03-19 Thread Joni Suominen
On Sun, 2006-03-19 at 17:05 -0700, Ryan Sonnek wrote: does wicket-bench only work with JDK 1.5? I tried it with my work installation (eclipse 3.2 and java 1.4) and got the following exception: Incompatible major/minor class version It'd be great to support jdk 1.4 as long as wicket is 1.4

Re: [Wicket-user] Images, Flashs, Javascripts, CSSs and other resources

2006-03-19 Thread Dirk Markert
Why don't you include wicket:remove base href="" href="file:///C:/Docs%20and%20Settings/you/your-project/src/webapp/">file:///C:/Docs%20and%20Settings/you/your-project/src/webapp/ / /wicket:removein your html head. Dirk 2006/3/18, Thomas Singer [EMAIL PROTECTED]: Hi Bruno,I'm with you. Please