Re: tomcat 6

2008-10-22 Thread Nino Saturnino Martinez Vazquez Wael
Argh just saw that I did a typo.. I of course meant start.java :) Everything's setup for you if you use wicket archetype, iolite or wickettopia.. Nino Saturnino Martinez Vazquez Wael wrote: Check you dependencies.. I just use jetty when running from eclipse, much simpler.. Just run start

Re: go back problem

2008-10-22 Thread overseastars
Hi I dont know whether this question is too easy or hard??? Since I'm a newbie of wicket, I dont know whether there are built-in functions for the Back link like the browsers do. Could anyone give me, at least, some ideas?? I'm still trapped by this possibly fish quesion.Thanks a lot for

Re: go back problem

2008-10-22 Thread Igor Vaynberg
you can pass the master page instance into the detail page, then in detail page simply go back class masterpage extends webpage { add(new link(detail) { onclick() { setresponsepage(new detailpage(masterpage.this));}}); } clas detailpage extends webpage { public detailpage(final page back) {

Re: FireFox 3.x.x issue with wicket

2008-10-22 Thread Michael Sparer
well, make the searchbox wider? ;-) no honestly, i don't believe this is a wicket related issue, sounds like plain html after all ... or do you mean that only half of the text gets submitted? swapnil.wadagave wrote: Respected sir, When I am writing in the search boxes I only see half of

Re: FireFox 3.x.x issue with wicket

2008-10-22 Thread swapnil.wadagave
Thanks For Reply, But Actually half text is not gets submitted.Only pbm is with view.same is working fine with IE and mozila backward version like mozila 2.x.x..So where can i get help for this kind of issues. Regards, swapnil swapnil.wadagave wrote: Respected sir, When I am writing in the

How to avoid blank node labels in TreeTable?

2008-10-22 Thread Hannes
Hi all, if text is too long to fit into column width of PropertyTreeColumn, then it gets blanked. This results in empty node labels in tree, what is a problem, the more levels the tree has. So I would prefer clipping instead blanks... Any hints for a highly enthusiastic wicket rookie? Best

Re: FireFox 3.x.x issue with wicket

2008-10-22 Thread Michael Sparer
what do you mean by saying But Actually half text is not gets submitted.? If there's a problem on the wicket site it would be helpful to see some code swapnil.wadagave wrote: Thanks For Reply, But Actually half text is not gets submitted.Only pbm is with view.same is working fine with IE

Static injection not working (wicket-guice)

2008-10-22 Thread Edgar Merino
Hello, I've been trying to inject a service to some classes that are not wicket components, I've asked here and was suggested to use static injection: InjectorHolder.getInjector().inject(this); however this is not working with guice, I always get an illegalstateexception, injectorholder

Why is Wicket called Wicket?

2008-10-22 Thread Wayne Pope
We where just chating here, and we're wondering where the name wicket comes from ? Looking it up on in the dictionary I couldn't really see the connection. Anyone know how the name came about? thanks Wayne

RE: Validation Messages

2008-10-22 Thread Kai Mütz
Thank you, but it seems that only found resources are logged. Meanwhile I have found out that I have to use a key like this: myform.tabs.panel.myfield=My Field where tabs is the id of my tabbed panel. But I haven't found a log message that points to a missing key myform.tabs.panel.myfield. Kai

Re: Why is Wicket called Wicket?

2008-10-22 Thread Nino Saturnino Martinez Vazquez Wael
Jonathan Locke wrote something about it in his foreword in WIA: Several 60-hour weeks later, the first version of Wicket was born. (In case you’re wondering, Wicket was the first fun and unique-sounding short word that Miko also liked and that wasn’t being used for a major software project. It

Re: Why is Wicket called Wicket?

2008-10-22 Thread Wayne Pope
thanks Nino, I knew I'd seen it somewhere but couldn't remember. so it was reference to the game of cricket stumps rather than to quote a dictionary: a window or opening, often closed by a grating or the like, as in a door, or forming a place of communication in a ticket office, a teller's cage

how to unittest a checkbox

2008-10-22 Thread Minto van der Sluis
Hi folks, Creating unittests for my pages I managed to read the value a checkbox of a rendered page. I used: tester.assertModelValue( form:myCheckBox, true ); However I failed to change that value in my unittest prior to submitting the form. Can anyone point in the right direction? Kind

Antwort: Wicket community traction / Wicket Web 2.0 experience

2008-10-22 Thread christoph . grothaus
Martin, Richard, thanks for your answers! Unfortunately, I could not convince the other devs of the various advantages of wicket. The team chose GWT because it allows to create Web 2.0 style user interfaces with fewer effort. Regards, Christoph

Re: Why is Wicket called Wicket?

2008-10-22 Thread Nino Saturnino Martinez Vazquez Wael
Seems so. I like to think of the sentence a small framework at which the bowler aims the ball. As doing a bullseye, within web frameworks:) Wayne Pope wrote: thanks Nino, I knew I'd seen it somewhere but couldn't remember. so it was reference to the game of cricket stumps rather than to

Automatic inserting HTML code

2008-10-22 Thread Milan Křápek
Hi, I have probably a newbie question, but I cannot find way how to do it. I my application I use many AjaxLinks. I always want the link to be represented by an image. The image is always the same so I want to prevent myself for writing the same code. I made my component that extends AjaxLink.

Re: Antwort: Wicket community traction / Wicket Web 2.0 experience

2008-10-22 Thread bruno . borges
That's ok Chris, It's just a matter of time until they find out they did the wrong choice - unless this is going to be a small software, with very specific functions, like GMail. :-) There's a team by my side here that is working in a sub-project with GWT and they chose it using that same

Re: Why is Wicket called Wicket?

2008-10-22 Thread shetc
Because it's wicked, man! (see http://onlineslangdictionary.com/definition+of/wicked http://onlineslangdictionary.com/definition+of/wicked ) -- View this message in context: http://www.nabble.com/Why-is-Wicket-called-Wicket--tp20106097p20108508.html Sent from the Wicket - User mailing list

Re: Ajax validating individual form fields

2008-10-22 Thread Daan van Etten
Hi fatefree, On 22 okt 2008, at 03:53, fatefree wrote: Thank you very much, I didn't realize that the AjaxFormComponentUpdatingBehavior submitted individual components, I guess i got it confused with AjaxFormValidatingBehavior. I think the only issue is when a form level validator needs to

Wicket and Ext JS integration

2008-10-22 Thread Richard Allen
We currently use Ext JS 2.2 (http://extjs.com) with Struts 1.x, and we are considering migrating to Wicket. I have seen on the mail archive that some people have integrated Wicket and Ext JS with mixed success. In particular, I found the wicket-tools-extjs project,

Re: how to unittest a checkbox

2008-10-22 Thread James Carman
Have you tried using FormTester? On Wed, Oct 22, 2008 at 5:20 AM, Minto van der Sluis [EMAIL PROTECTED] wrote: Hi folks, Creating unittests for my pages I managed to read the value a checkbox of a rendered page. I used: tester.assertModelValue( form:myCheckBox, true ); However I

Re: FireFox 3.x.x issue with wicket

2008-10-22 Thread James Carman
I think they mean that it is not the case that half of the text is submitted. The only problem is in the view. On Wed, Oct 22, 2008 at 3:54 AM, Michael Sparer [EMAIL PROTECTED] wrote: what do you mean by saying But Actually half text is not gets submitted.? If there's a problem on the wicket

Re: CSRF Protection: double submitted cookie

2008-10-22 Thread Jörn Zaefferer
I've created a ticket and attached a reference implementation: https://issues.apache.org/jira/browse/WICKET-1885 Jörn On Mon, Oct 20, 2008 at 11:31 PM, Jörn Zaefferer [EMAIL PROTECTED] wrote: The double-submitted-cookie isn't related to double submit protection, no. Thats a completely

Who's in charge of wicketstuff yui?

2008-10-22 Thread marco.behler
Korbinian Bachl? Someone else? :) Thanks -- View this message in context: http://www.nabble.com/Who%27s-in-charge-of-wicketstuff-yui--tp20109670p20109670.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Re: Pages or components... how do u decide?

2008-10-22 Thread Nav Che
Hello Ned, I am using BreadCrumbPanels, and on a BreadCrumbLink, i wanted to pass a parameter but looks like I cannot instantiate the custom constructor of the panel in this case. Please advise. :( //Naveen On Tue, Oct 21, 2008 at 6:19 PM, Ned Collyer [EMAIL PROTECTED] wrote: Their

Re: Pages or components... how do u decide?

2008-10-22 Thread James Carman
Isn't there already another thread about this question started by you? On Wed, Oct 22, 2008 at 9:27 AM, Nav Che [EMAIL PROTECTED] wrote: Hello Ned, I am using BreadCrumbPanels, and on a BreadCrumbLink, i wanted to pass a parameter but looks like I cannot instantiate the custom constructor of

Proposal: the browser as a desktop client

2008-10-22 Thread cowwoc
Hi, I'd like to propose we leverage existing Java to Javascript compilers to improve Wicket on a couple of fronts. If you think of the web browser as a desktop client involved in a client-server architecture then it becomes obvious that Wicket is currently asking the server to handle a lot of

Re: Proposal: the browser as a desktop client

2008-10-22 Thread cowwoc
I just to clarify one point. You would still have three types of components: HTML CSS Java You would still be binding the Java code against HTML IDs (clean separation of concerns). The only thing that would change is where the Java code executes. -- View this message in context:

Re: How to submit form to external page sending parameters by post, please Help

2008-10-22 Thread Pablo Scagno
Thanks for your response, I've used the second choice...it was very helpful Bye Pablo -- From: Jeremy Thomerson [EMAIL PROTECTED] Sent: Tuesday, October 21, 2008 10:51 PM To: users@wicket.apache.org Subject: Re: How to submit form to external page

Re: Wicket and Ext JS integration

2008-10-22 Thread Paolo Di Tommaso
I'm working on a wicket-ext integration project. Until now I've done just really simple stuff, like simple TextField, DateField, TimeField, ComboBox, AutoComplete field and basic (static) grid elements. Though my implementation is trivial I would say that is really promising and I've not found

Re: Wicket and Ext JS integration

2008-10-22 Thread Martijn Dashorst
The GPL licensing of ExtJS is really a brain damage inflicting mess. Personally I would stay very far away from JS libraries that are GPL licensed (it is not clear how the viral aspect infects your server side code, possibly requiring you to ship your server side code to your users—you *are*

Double clickable rows in AjaxFallbackDefaultDataTable

2008-10-22 Thread Yazeed Isaacs
Hi Does anyone know how to implement something that could do this. Please point me in the right direction. Regards, Yazeed Isaacs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Validation Messages

2008-10-22 Thread Igor Vaynberg
try org.apache.wicket.Localizer -igor On Wed, Oct 22, 2008 at 1:55 AM, Kai Mütz [EMAIL PROTECTED] wrote: Thank you, but it seems that only found resources are logged. Meanwhile I have found out that I have to use a key like this: myform.tabs.panel.myfield=My Field where tabs is the id of

Re: Double clickable rows in AjaxFallbackDefaultDataTable

2008-10-22 Thread Igor Vaynberg
add a behavior to the row item that listens to ondblclick or whatever the event is called. i am not sure that TRs support this, so check in the browser first. to add the behavior to the row item override newrowitem on the table. -igor On Wed, Oct 22, 2008 at 7:58 AM, Yazeed Isaacs [EMAIL

Re: Automatic inserting HTML code

2008-10-22 Thread Igor Vaynberg
search this list for TextLink and see how it outputs text into link's body. -igor On Wed, Oct 22, 2008 at 3:08 AM, Milan Křápek [EMAIL PROTECTED] wrote: Hi, I have probably a newbie question, but I cannot find way how to do it. I my application I use many AjaxLinks. I always want the link to

[ANNOUNCE] Apache Wicket 1.3.5

2008-10-22 Thread Martijn Dashorst
The Apache Wicket team is proud to announce the availability of the fifth maintenance release: Apache Wicket 1.3.5. A lot of bugs have been squashed and several improvements implemented. It is recommended you update to Wicket 1.3.5 at your earliest convenience. Eager people click here to download

RE: CSRF Protection: double submitted cookie

2008-10-22 Thread Zappaterrini, Larry
I need to read more about this, but I am interested to know if there are any advantages to storing the token in a cookie for validation rather than putting it into the session. I suppose if statelessness is required then it is necessary. One advantage to storing it in session is that it does

Re: Wicket and Ext JS integration

2008-10-22 Thread Nino Saturnino Martinez Vazquez Wael
I thought there were a licensing issue! Could'nt just remember if it were the guy doing the wicket contrib or ext js.. Martijn Dashorst wrote: The GPL licensing of ExtJS is really a brain damage inflicting mess. Personally I would stay very far away from JS libraries that are GPL licensed (it

Wicket AJAX update form TextField value from another field

2008-10-22 Thread steve222
Hi. Hopefully I can explain this scenario OK - I'll try to keep it simple. On a form, I have a couple of TextFields - SalePrice and DiscountAmount. After the user enters SalePrice, I need a way to allow the user to enter the DiscountAmount as either a flat rate or as a percentage of the

Re: Ajax validating individual form fields

2008-10-22 Thread fatefree
Just a little update, I managed to get the form level validator working by doing what you said, basically creating a validator that takes a component as an argument, and compares the ivalidatable.value against the model object: protected void onValidate(IValidatable validatable)

Re: Wicket AJAX update form TextField value from another field

2008-10-22 Thread steve222
Maybe I should have stated I have tried something like this. I have data entry TextFields for: SalePrice DiscountAmount then add another for: DiscountPercentage When I enter an amount into DiscountAmount I need DiscountPercentage to get calculated and update on the form. And it

Re: Wicket AJAX update form TextField value from another field

2008-10-22 Thread jWeekend
Steve, If you prefer not to take the easy option and add a couple of radio buttons to let the user select currency or percentage input, that could also control a couple of labels (or a border) that shows, in a locale specific way, the currency symbol or the percentage sign you could ... create

Re: Example of pseudo-ajax file uploading using iframes

2008-10-22 Thread bryan0101
I have confirmed that the code attached is working great!!! (the attachment is in tar. gzip format. use 7-zip) THANK YOU CARLO! The code is awesome. This feature been bugging for the last week or so. The php side have long been able to do this with their frameworks (using the same technique I

Re: Wicket AJAX update form TextField value from another field

2008-10-22 Thread steve222
Many thanks for the detailed answer. I don't think the single field AbsoluteOrPercentage idea will work for me without a lot of other changes. I use the same form for editing a record as creating a new one. So I actually need to show both the AbsoluteDiscount and PercentageDiscount on the

Re: Wicket AJAX update form TextField value from another field

2008-10-22 Thread steve222
Ooops - my error. I need to do something like: pcntDiscount.setModel(new Model(amount.getModelObject().toString())); Then the AjaxFormComponentUpdatingBehavior works as expected. Steve steve222 wrote: Many thanks for the detailed answer. I don't think the single field

Re: Wicket AJAX update form TextField value from another field

2008-10-22 Thread steve222
But not for the field where the model does not have a setter (hibernate POJO - and no field in the database, just a formula). Fairly obvious why that's not going to work for an update - but I can't think of a solution on how to change the calculated value just to show it on the form. Steve

Re: Static injection not working (wicket-guice)

2008-10-22 Thread Edgar Merino
Anyone for this? Edgar Merino escribió: Hello, I've been trying to inject a service to some classes that are not wicket components, I've asked here and was suggested to use static injection: InjectorHolder.getInjector().inject(this); however this is not working with guice, I always get

How to add item to repeater without updating all items

2008-10-22 Thread metalotus
hi, I have an AbstractRepeater, and I want to add an item to the repeater and display it without updating all the items in the repeater. When I try AjaxRequestTarget.addComponent(newItem) I get the following error: Unable to find the markup for the component. That may be due to transparent

Re: Associating a request to a Session

2008-10-22 Thread David Leangen
On Tue, 2008-09-23 at 20:50 -0700, Igor Vaynberg wrote: wicket does not associate a request with a session. wicket uses httpsession to store its own session object. what you want is to know how the servlet container associates a request with http session. usually that is done with the

Re: Associating a request to a Session

2008-10-22 Thread David Leangen
Before I dig into the container implementation (which I would prefer to avoid), does anybody have any suggestions about how I can somehow return to the original session, or at least copy over the state of the old session into the new session in a clean way? Actually, the only thing I want to

Re: redirect issue on IE causing HTTP 4040

2008-10-22 Thread Igor Vaynberg
create a quickstart that reproduces this and attach it to a jira issue. -igor On Wed, Oct 22, 2008 at 9:27 PM, freak182 [EMAIL PROTECTED] wrote: Hello Igor, I have a problem in IE when i redirect wicket pages using javascript using location.href = '?wicket:interface=:3' . here is the

GMAP2 with Wicket AjaxTabbedPanel

2008-10-22 Thread ej595
Im having a most strange problem and im wondering if anyone has a fix at all. I have a series of ajax tabbed panels one of which is supposed to show a gmap2 google map. For some totally bizarre reason, the tab blows up with the following error ... ERROR org.apache.wicket.RequestCycle - Too

Re: How to pass parameters to a BreadCrumbPanel

2008-10-22 Thread Wayne Pope
Hi Naveen, I do it something like this: TabbedPanel tabbedPanel = new TabbedPanel(tabs, tabs){ @Override protected WebMarkupContainer newLink(String linkId, final int index) { PageParameters parameters = new PageParameters();

Re: Wicket AJAX update form TextField value from another field

2008-10-22 Thread steve222
Thanks. I now have this fully working now with a customised model class containing a setter to store the calculated field if upated from the Wicket form. Will look at FormComponentPanel - thanks for the suggestion. Steve Timo Rantalaiho wrote: On Wed, 22 Oct 2008, steve222 wrote: