Re: [Wicket-user] User Friendly Validation Messages

2006-10-12 Thread Erik van Oosten
You don't even need to do that when you have a resource with the name formid.firstName of just firstName Erik. craigdd schreef: Sorry, should have read a few more posts...here is the solution to the different message. new RequiredTextField(firstName).setLabel(new

[Wicket-user] Wicket 1.2.2 and html frame targets

2006-10-12 Thread [EMAIL PROTECTED]
Hi, I just updated to wicket 1.2.2. In my application there's a navigation frame and a content frame. After the update to the new version, the frame targets in the navigation frame (href=... target=rightFrame...) do not work anymore. There's always a new window appearing (cause the browser

Re: [Wicket-user] [ANN] Wicket Assistant v0.1.3

2006-10-12 Thread Pierre-Yves Saumont
Hi Anders, Your plug-in is already very helpfull as it is! Thanks. I suggest you add the todo list navigation from id in the html file to corresponding location ini Java file (and back) using control+ click. I can't test it in IDEA6 because IDEA6 is definitely broken for me and can't load my

Re: [Wicket-user] Wicket 1.2.2 and html frame targets

2006-10-12 Thread [EMAIL PROTECTED]
Hi again, I prepared a small sample, that shows the problem. Just start the wickettest.FramePage... The first link, that was clicked in the navigation frame appears right, the next one opens a new window. I took a closer look to the produced code and found, that the window.name is changed, which

[Wicket-user] HtmlHandler 1.2.2 - missing tags that does not require a close tag

2006-10-12 Thread Niels Bo
Hi Please addthe COL tagtothe doesNotRequireCloseTag list in HtmlHandler. Also the PARAM and AREA tags are missing and probably some others. A method to addsuch tags would be nice and better than having to use forbidden end tags as a workaround. Niels

Re: [Wicket-user] Wicket 1.2.2 and html frame targets

2006-10-12 Thread Eelco Hillenius
Yes. This was a problem in Wicket 1.2.2 and is fixed now. In trunk is also an updated version of wicket-examples/frames that displays how to use page maps for frames. In case you weren't using a different page map per frame: it's highly recommended you do so. The page map name and frame name

Re: [Wicket-user] Wicket 1.2.2 and html frame targets

2006-10-12 Thread Eelco Hillenius
I prepared a small sample, that shows the problem. Just start the wickettest.FramePage... The first link, that was clicked in the navigation frame appears right, the next one opens a new window. I took a closer look to the produced code and found, that the window.name is changed, which causes

Re: [Wicket-user] OT: Dandelion Warriors

2006-10-12 Thread Eelco Hillenius
Haha. I'm not sure what kind of trademarking mess that would get us in. Hmmm, Ewoks. Before they got introduced, watching Star Wars was defendable. But with those furry creatures running around, there was just no denying we were actually watching kids' movies. I guess having such a mascot is good

Re: [Wicket-user] OT: Dandelion Warriors

2006-10-12 Thread Ted Roeloffzen
Common Eelco, Ewoks rule, the help win the battle for the good guys and there so cute and fuzzy. LOLOn 10/12/06, Eelco Hillenius [EMAIL PROTECTED] wrote:Haha. I'm not sure what kind of trademarking mess that would get us in. Hmmm, Ewoks. Before they got introduced, watching Star Wars

Re: [Wicket-user] OT: Dandelion Warriors

2006-10-12 Thread Korbinian Bachl
Just to be sure we should also add: Klingons Romulans Storm Troopers Orks Mages Knights [your favorite warparty here] ... Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Ted RoeloffzenGesendet: Donnerstag, 12. Oktober 2006 10:52An:

Re: [Wicket-user] OT: Dandelion Warriors

2006-10-12 Thread Gwyn Evans
Specifically, http://starwars.wikia.com/wiki/Wicket_W._Warrick On 12/10/06, Joe Toth [EMAIL PROTECTED] wrote: Did you know Wicket can be used to get rid of pesky dandelions? http://starwars.wikia.com/wiki/Wicket_and_the_Dandelion_Warriors:_An_Ewok_Adventure Can he be Wicket's mascot, like

[Wicket-user] ModalDialog with PopupSettings

2006-10-12 Thread shumbola
All, I'm still having problem with displaying modal Dialog using PopupSettings in IE. With FF there is no problem. I've tried todays trunk with no success. In IE it opens a new window first and show modal dialog. I'm using IE's ModalDialog function. Please help me. Below goes relevant parts of

Re: [Wicket-user] HtmlHandler 1.2.2 - missing tags that does not require a close tag

2006-10-12 Thread Juergen Donnerstag
Forbidden end tags? Isn't it more like the end tag is standard for all tags and allowing some very few tags to omit the end tag is just because of designer laziness? Besides, but that is me, I'd suggest everyone trying to be XHTML compliant (and XHTML requires the close tags). Juergen On

Re: [Wicket-user] NiceURL and PagingNavigator

2006-10-12 Thread Korbinian Bachl
Thank you for that link! Best Regards Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Frank BilleGesendet: Mittwoch, 11. Oktober 2006 13:36An: wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] NiceURL and PagingNavigator Try taking a look at

[Wicket-user] Setting the filename with REsourceLink...

2006-10-12 Thread Erik Brakkee
Hi, Is it possible in some way to set the local file name or URL for a resource link?Cheers Erik - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology

Re: [Wicket-user] NiceURL and PagingNavigator

2006-10-12 Thread Korbinian Bachl
Em Frank, i cant download the Subversion Repo ! - the command doesnt work, neither using NB5.5. or the SVN command direct - can u please tell methe password for nobody to check it out?? C:\JEE5\nb55projects\wooglesvn checkout --username nobody

[Wicket-user] Handling tree node onclick

2006-10-12 Thread billa
Can someone point me to some sample code for intercepting a tree node onclick event? I would like the tree node click to update a pane on the same page that contains an edit form for the object represented by the node. -- View this message in context:

Re: [Wicket-user] User Friendly Validation Messages

2006-10-12 Thread craigdd
So you are saying as long as you have the following in the .properties of the page formid.firstName=My Label, I don't even need to set the label in the form code? Very Nice. Erik van Oosten wrote: You don't even need to do that when you have a resource with the name formid.firstName of

Re: [Wicket-user] OT: Dandelion Warriors

2006-10-12 Thread Joe Toth
Wicket Helping the humans is a perfect picture!We have to attract the younger crowd, before they turn to the darkside...or are we the darkside...On 10/12/06, Gwyn Evans [EMAIL PROTECTED] wrote: Specifically, http://starwars.wikia.com/wiki/Wicket_W._WarrickOn 12/10/06, Joe Toth [EMAIL PROTECTED]

Re: [Wicket-user] HtmlHandler 1.2.2 - missing tags that does not require a close tag

2006-10-12 Thread Niels Bo
I wasreading the COL definition from here: http://www.w3.org/TR/html4/struct/tables.html#edef-COL where it saysend tagforbidden. Therefore removed it from the markup -and gotproblemes. XHTML I didn't think about. Niels 2006/10/12, Juergen Donnerstag [EMAIL PROTECTED]: Forbidden end tags? Isn't

Re: [Wicket-user] RuntimeException not being caught despite configuration

2006-10-12 Thread Jaime De La Jara
I changed the init parameter "configuration" to deployment but the problem persists. If I change the following url :http://localhost:8080/phonebook/app?wicket:interface=:1:1:tohttp://localhost:8080/phonebook/app?wicket:interface=:1:X:I still get :java.lang.NumberFormatException: For input string:

Re: [Wicket-user] HtmlHandler 1.2.2 - missing tags that does notrequire a close tag

2006-10-12 Thread Che Schneider
Hey Juergen, I totally agree with you that Wicket should 'force' you to write xhtml compliant code. Maybe that will teach those lazy html-designers... ;) Niels, in my opinion you you should maybe consider changing your code to be xhtml compliant. Not only is it s much more readable, it is

Re: [Wicket-user] User Friendly Validation Messages

2006-10-12 Thread Erik van Oosten
Correct. Well, unless you also use FormComponentLabel. Erik. craigdd schreef: So you are saying as long as you have the following in the .properties of the page formid.firstName=My Label, I don't even need to set the label in the form code? Very Nice. -- Erik van Oosten

Re: [Wicket-user] HtmlHandler 1.2.2 - missing tags that does notrequire a close tag

2006-10-12 Thread Juergen Donnerstag
You may use Wickets parser to convert the files into proper XHTML, that is add the closing tags. Juergen On 10/12/06, Che Schneider [EMAIL PROTECTED] wrote: Hey Juergen, I totally agree with you that Wicket should 'force' you to write xhtml compliant code. Maybe that will teach those lazy

Re: [Wicket-user] Handling tree node onclick

2006-10-12 Thread Matej Knopp
I assume you are talking about the new (ajax) tree. Override the method newNodeLink to create link with action you want. -Matej billa wrote: Can someone point me to some sample code for intercepting a tree node onclick event? I would like the tree node click to update a pane on the same page

Re: [Wicket-user] OT: Dandelion Warriors

2006-10-12 Thread Ted Roeloffzen
We just have to give them a choice. Take the blue pill or take the red pill and see how far the rabbithole goes. WhahahahahhaOn 10/12/06, Joe Toth [EMAIL PROTECTED] wrote:Wicket Helping the humans is a perfect picture! We have to attract the younger crowd, before they turn to the darkside...or

[Wicket-user] feather unavailable

2006-10-12 Thread Walt Magee
Check out the vertical on that guy. I was going through some boxes and found these. I mean, people know who Landon Donavan is but he left Germany cause he was homesick. Note that if ND and PSU had both gotten lucky breaks that day, PSU would also be playing for the National Championship this

Re: [Wicket-user] HtmlHandler 1.2.2 - missing tags that does notrequire a close tag

2006-10-12 Thread Niels Bo
I do agree with all that! It was just anerror and stackstace that took meto HtmlHandler where I found thelist doesNotRequireCloseTag and assumed that this is how Wicket should work. If some tags should be allowed without end tags, it should only be tags that can not endclose anything (br for

[Wicket-user] Form Field Focus

2006-10-12 Thread craigdd
Is there a way in wicket to set with field should have focus when rendering a Page? -- View this message in context: http://www.nabble.com/Form-Field-Focus-tf2431530.html#a6779893 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: [Wicket-user] Form Field Focus

2006-10-12 Thread Igor Vaynberg
class fieldfocus extends abstractbehavior implements iheadercontributor {{ private Component c; void onbind(component c) { c.setoutputmarkupid(true); } void onrenderhead(response r) { r.write(scriptdocument.getelementbyid('+c.getmarkupid()+').focus();/script); }}or customize this to be added to

Re: [Wicket-user] BODY onload not resetting

2006-10-12 Thread ChuckDeal
Could this problem be related to page verisoning or the page map? I am not real familiar with either concept (I am just using the defaults). It just seems that the BodyContainer isn't resetting itself properly. I guess no one else has experienced something like this? Chuck -- View this

Re: [Wicket-user] Setting the filename with REsourceLink...

2006-10-12 Thread Eelco Hillenius
You typically do that on your resource (stream). For instance: WebResource export = new WebResource() { @Override public IResourceStream getResourceStream() { CharSequence discounts = DataBase.getInstance() .exportDiscounts(); return new

[Wicket-user] Exceptions in WebPage subclasses

2006-10-12 Thread WATSON Matthew
Title: Exceptions in WebPage subclasses Hi, I'm wondering what the best approach is for handling unexpected or missing parameters in the contructors of WebPage classes. Effectively I want to attempt to read some query string parameters and depending on thier values either continue

Re: [Wicket-user] Exceptions in WebPage subclasses

2006-10-12 Thread Eelco Hillenius
Yeah, use wicket.RestartResponseException. Eelco On 10/13/06, WATSON Matthew [EMAIL PROTECTED] wrote: Hi, I'm wondering what the best approach is for handling unexpected or missing parameters in the contructors of WebPage classes. Effectively I want to attempt to read some query string

Re: [Wicket-user] Exceptions in WebPage subclasses

2006-10-12 Thread Eelco Hillenius
Or just setting the response page (setResponsePage) should work fine too. But in that case, construction of the first page would still be done, which is probably not what you want. Eelco On 10/13/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah, use wicket.RestartResponseException. Eelco