Re: [Wicket-user] Contributing to wicket-contrib-yui

2007-04-27 Thread Joshua Lim
I also hope that it could be a wicket package. I don't want to be dependent on the hosting. I did some work on the package but unfortunately could not complete it to what we wanted and it's been there for a while. josh On 4/27/07, David Leangen [EMAIL PROTECTED] wrote: David, if you send us

Re: [Wicket-user] Formatting non-html templates

2007-04-27 Thread David Leangen
On Fri, 2007-04-27 at 07:59 +0200, Juergen Donnerstag wrote: You know that you can remove all tag from output, do you? To remove wicket:xx is simply a matter of settings and all other tags (e.g. span wicket:id=..) can be removed by subclassing onComponentTag and not output anything. Sure, I

Re: [Wicket-user] Contributing to wicket-contrib-yui

2007-04-27 Thread David Leangen
On Fri, 2007-04-27 at 14:13 +0800, Joshua Lim wrote: I also hope that it could be a wicket package. I don't want to be dependent on the hosting. What about having the option to do either one? - This SF.net email is

Re: [Wicket-user] Formatting non-html templates

2007-04-27 Thread David Leangen
Ok, my bad. The error had nothing to do with what you suggested. I'm playing around with all this now. Thanks for the tips! On Fri, 2007-04-27 at 15:09 +0900, David Leangen wrote: On Fri, 2007-04-27 at 07:59 +0200, Juergen Donnerstag wrote: You know that you can remove all tag from

Re: [Wicket-user] Formatting non-html templates

2007-04-27 Thread David Leangen
On Fri, 2007-04-27 at 07:59 +0200, Juergen Donnerstag wrote: You know that you can remove all tag from output, do you? To remove wicket:xx is simply a matter of settings and all other tags (e.g. span wicket:id=..) can be removed by subclassing onComponentTag and not output anything.

Re: [Wicket-user] Formatting non-html templates

2007-04-27 Thread Juergen Donnerstag
tag wicket:id=test-labeltest/tag wicket will output this: tagtest/tag and now component.setRenderBodyOnly(true) Juergen - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2

Re: [Wicket-user] Formatting non-html templates

2007-04-27 Thread David Leangen
tag wicket:id=test-labeltest/tag wicket will output this: tagtest/tag and now component.setRenderBodyOnly(true) Ah! Eureka! Thank you for this. :-) Looks like this approach does exactly what I want after all. :-D

Re: [Wicket-user] question about date format for textfield

2007-04-27 Thread kubino
Hi Johan, I tried this TextField dateFrom = new TextField(dateFrom,new PropertyModel(filtr,dateFrom)) { public IConverter getConverter() { return new IConverter() { public Object convert(Object value, Class c) { try { if(c

Re: [Wicket-user] SLF4J and wicket

2007-04-27 Thread Gwyn Evans
On Thursday, April 26, 2007, 8:46:08 PM, Igor [EMAIL PROTECTED] wrote: and this is a problem only for things that are deployed into a SHARED classpath. no body (at least i hope not) is sharing wicket.jar between multiple web applications. so there is no problem. Well, I did have a look at

Re: [Wicket-user] RadioGroup Broken(1.2.5+?/whenusingwantOnSelectionChangedNotifications)?

2007-04-27 Thread Nino Wael
Igor please answer:) Fra: [EMAIL PROTECTED] på vegne af Nino Wael Sendt: to 26-04-2007 16:01 Til: wicket-user@lists.sourceforge.net; wicket-user@lists.sourceforge.net Emne: Re: [Wicket-user] RadioGroup

Re: [Wicket-user] Contributing to wicket-contrib-yui

2007-04-27 Thread Jean-Baptiste Quenot
* David Leangen: On Fri, 2007-04-27 at 14:13 +0800, Joshua Lim wrote: I also hope that it could be a wicket package. I don't want to be dependent on the hosting. What about having the option to do either one? Sure, use by default a local copy, and let the user choose the script to

[Wicket-user] Wanted: Wicket presentation

2007-04-27 Thread Erik van Oosten
Hello, I have been asked to give an introduction presentation on Wicket for my colleagues. Is there any presentation out there that I may re-use? Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/

Re: [Wicket-user] Contributing to wicket-contrib-yui

2007-04-27 Thread Peter Thomas
Eelco / David, I would be interested in helping out with wicket-contrib-yui as well - my sf id is ptrthomas Thanks, Peter. On 4/27/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: * David Leangen: On Fri, 2007-04-27 at 14:13 +0800, Joshua Lim wrote: I also hope that it could be a

Re: [Wicket-user] RadioGroup Broken(1.2.5+?/when using wantOnSelectionChangedNotifications)?

2007-04-27 Thread Eelco Hillenius
Been busy on the list again. Nino, if you think it's a bug, would you mind opening up a JIRA issue for it? Thanks, Eelco On 4/26/07, Nino Wael [EMAIL PROTECTED] wrote: Hi Something's not right with RadioGroup when using wantOnSelectionChangedNotifications or I am doing something wrong.

Re: [Wicket-user] Contributing to wicket-contrib-yui

2007-04-27 Thread Eelco Hillenius
David and Thomas, you're both in. Make something beautiful :) And Josh, thanks for your previous effort. Hope you don't mind this, and you like anyone else are most welcome to help with the it. Cheers, Eelco On 4/27/07, Peter Thomas [EMAIL PROTECTED] wrote: Eelco / David, I would be

Re: [Wicket-user] Wanted: Wicket presentation

2007-04-27 Thread Martijn Dashorst
JavaPolis '05 presentation is online and the JavaOne '05 presentation too (8617 iirc), also I think the NL-JUG presentation for '05 is available. There was also a denver JUG presentation. Google for wicket pdf and ppt http://developers.sun.com/learning/javaoneonline/2005/webtier/TS-8617.pdf

Re: [Wicket-user] Wanted: Wicket presentation

2007-04-27 Thread Martijn Dashorst
http://wiki.javapolis.com/confluence/download/attachments/17206/Wicket+-+Martijn+Dashorst.pdf On 4/27/07, Martijn Dashorst [EMAIL PROTECTED] wrote: JavaPolis '05 presentation is online and the JavaOne '05 presentation too (8617 iirc), also I think the NL-JUG presentation for '05 is available.

Re: [Wicket-user] Wanted: Wicket presentation

2007-04-27 Thread Erik van Oosten
Bedankt Martijn! Erik. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.

Re: [Wicket-user] RadioGroup Broken(1.2.5+?/when usingwantOnSelectionChangedNotifications)?

2007-04-27 Thread Nino Wael
Ok, no problem:) Fra: [EMAIL PROTECTED] på vegne af Eelco Hillenius Sendt: fr 27-04-2007 11:24 Til: wicket-user@lists.sourceforge.net Emne: Re: [Wicket-user] RadioGroup Broken(1.2.5+?/when usingwantOnSelectionChangedNotifications)? Been busy on the list

[Wicket-user] Wanted: Example about Tree Menu Navigation

2007-04-27 Thread Crag
I want the example, a simple tree menu . thanks all. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to

Re: [Wicket-user] Wanted: Wicket presentation

2007-04-27 Thread Martijn Dashorst
On 4/27/07, Erik van Oosten [EMAIL PROTECTED] wrote: Bedankt Martijn! Can you add the discovered presentations to a wiki page please? Martijn -- Learn Wicket at ApacheCon Europe: http://apachecon.com Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 contains a very

Re: [Wicket-user] Wanted: Wicket presentation

2007-04-27 Thread Erik van Oosten
Yes, no problem. I have been keeping the 'articles' page up to date for a couple of months already :) Erik. On 4/27/07, Erik van Oosten [EMAIL PROTECTED] wrote: Bedankt Martijn! Can you add the discovered presentations to a wiki page please? Martijn

Re: [Wicket-user] encoding problem

2007-04-27 Thread Janos Cserep
Is it this one? Parameters of nice URL's pages with 'sensitive' characters https://issues.apache.org/jira/browse/WICKET-40 Probably, yes. Thanks for the url and the patch... Janos - This SF.net email is sponsored by

[Wicket-user] wicket 1.2.6 critical bug

2007-04-27 Thread jan_bar
Hi, I have posted new bug in 1.2.6: https://issues.apache.org/jira/browse/WICKET-511. For me, this is a show stopper (1.2.6 is unusable). Thanks, for your support, Jan -- Jan Bares http://jan.vegetband.cz - This

Re: [Wicket-user] question about date format for textfield

2007-04-27 Thread karthik Guru
try this .. public Object convert(Object value, Class c) { //If the value is already of the same type as 'c' //then return it if (c== value.getClass()){ return value; } On 4/27/07, kubino [EMAIL PROTECTED] wrote: Hi Johan, I tried

[Wicket-user] encoding of AttributeModifier's model

2007-04-27 Thread Ludovic Orban
Hi all, I recently faced an annoying problem with AttributeModifier and encoding of its model. I have something looking like this in my code: String url = http://www.somewhere.com?param1=aparam2=b;; component.add(new AttributeModifier(href, true, new Model(url))); After rendering the component

[Wicket-user] Nested Forms and onSubmit()?

2007-04-27 Thread John RDF
I have nested forms and need them for the following reason.. I have a reusable panel for addresses which has its own form lookup from postcode submit button to auto fill the address. This panel is used in another form 3 times which needs addresses for different people. My problem is that the

Re: [Wicket-user] Nested Forms and onSubmit()?

2007-04-27 Thread jan_bar
Hi, I think that you cannot nest form in HTML. You have to nest them with CSS. This will also solve your trouble with form submits - I think that the browser simply ignores the nested form tags. Jan -- Jan Bares http://jan.vegetband.cz John RDF [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: [Wicket-user] Nested Forms and onSubmit()?

2007-04-27 Thread Martijn Dashorst
On 4/27/07, jan_bar [EMAIL PROTECTED] wrote: I think that you cannot nest form in HTML. You have to nest them with CSS. This will also solve your trouble with form submits - I think that the browser simply ignores the nested form tags. Wicket supports nested forms. The inner form tags are

[Wicket-user] Page Map clarification

2007-04-27 Thread Shams Mahmood
Hi, I have a web site for mobiles that has around 3-4 thousand users. Now some particular mobile models get page expired error. I fopund that increasing page map size didn't help. I figured that all the users are using the same Page Map. ( they all have '' as their page map name) Is there some

[Wicket-user] using wicket like sitemesh

2007-04-27 Thread Thomas R. Corbin
We've got a nice base wicket page with authorization and menus and headers and such that we'd like to use to wrap a whole host of static html pages. Should we do that by writing a servlet filter for that whole url path with all the html pages? Thanks, Tom

Re: [Wicket-user] wicket 1.2.6 critical bug

2007-04-27 Thread Johan Compagner
we do follow the spec now... so we could change it back for 1.2 but for 1.3i would keep it. johan On 4/27/07, jan_bar [EMAIL PROTECTED] wrote: Hi, I have posted new bug in 1.2.6: https://issues.apache.org/jira/browse/WICKET-511. For me, this is a show stopper (1.2.6 is unusable). Thanks,

[Wicket-user] I cannot add Ajax behavior to an AutoCompleteTextField

2007-04-27 Thread Andrés Ferrari
(Sorry the following mail is duplicated... I sent the original to the wrong thread) --- Hi everyone! I'm having trouble with an AutoCompleteTextField. I want to add an ajax behavior to it (specifically, for onblur) like can I do with other wicket components, but somehow it doesn't work. I

Re: [Wicket-user] Nested Forms and onSubmit()?

2007-04-27 Thread John RDF
Yes it does. I have found out what was happening. It turned out that the web designer had put some javascript in that was confusing the matter with the outer form. I change the javascript onClick() to be on the input rather than the form and it worked fine. Thanks for the advice and sorry for

Re: [Wicket-user] using wicket like sitemesh

2007-04-27 Thread Johan Compagner
you could place one label on the position where the static html should go in And that label loads the static from somewhere depending on an external param. johan On 4/27/07, Thomas R. Corbin [EMAIL PROTECTED] wrote: We've got a nice base wicket page with authorization and menus and headers

Re: [Wicket-user] How to force WicketTester object to type cast in other Application object

2007-04-27 Thread Igor Vaynberg
ah, not sure how to do it in 1.2.5 :| not sure if you even can. -igor On 4/26/07, Akshat [EMAIL PROTECTED] wrote: Hi Igor, Thanks for your reply. Here is the thing: (using wicket 1.2.5) I could not find the constructor that takes the Application object. So I tried the following.

Re: [Wicket-user] Wanted: Wicket presentation

2007-04-27 Thread Igor Vaynberg
ive noticed, a big thank you from me and the rest of the team :) -igor On 4/27/07, Erik van Oosten [EMAIL PROTECTED] wrote: Yes, no problem. I have been keeping the 'articles' page up to date for a couple of months already :) Erik. On 4/27/07, Erik van Oosten [EMAIL PROTECTED] wrote:

Re: [Wicket-user] Beg£º example about tree as navi gation

2007-04-27 Thread Scott Swank
You can download the wicket examples http://wicket.sourceforge.net/Download.html Or you can click on source code in the top left corner of the online example. http://wicketstuff.org/wicket13/nested/ On 4/26/07, Crag [EMAIL PROTECTED] wrote: Can someone share the code for me? I couldn't get

Re: [Wicket-user] Wanted: Wicket presentation

2007-04-27 Thread Eelco Hillenius
On 4/27/07, Igor Vaynberg [EMAIL PROTECTED] wrote: ive noticed, a big thank you from me and the rest of the team :) +1 Eelco - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2

Re: [Wicket-user] encoding of AttributeModifier's model

2007-04-27 Thread Igor Vaynberg
i dont know if it should be done all the time. but what you can do is write a XmlSafeModel that escapes the string, and use that in your attrib modifier. -igor On 4/27/07, Ludovic Orban [EMAIL PROTECTED] wrote: Hi all, I recently faced an annoying problem with AttributeModifier and

Re: [Wicket-user] Page Map clarification

2007-04-27 Thread Igor Vaynberg
are they really using the same pagemap? that means they all share a single session? pagemaps are stored in the user's sessions. -igor On 4/27/07, Shams Mahmood [EMAIL PROTECTED] wrote: Hi, I have a web site for mobiles that has around 3-4 thousand users. Now some particular mobile models

Re: [Wicket-user] wicket 1.2.6 critical bug

2007-04-27 Thread Igor Vaynberg
afaik servlet spec is string,string[] not string,string, or has this changed recently? -igor On 4/27/07, Johan Compagner [EMAIL PROTECTED] wrote: we do follow the spec now... so we could change it back for 1.2 but for 1.3 i would keep it. johan On 4/27/07, jan_bar [EMAIL PROTECTED]

Re: [Wicket-user] I cannot add Ajax behavior to an AutoCompleteTextField

2007-04-27 Thread Igor Vaynberg
test this patch, and see if it works. looks like autocomplete takes over onblur when it attaches to the textfield, this should help. it is untested because im a bit short on time, so you will have to do the confirmation. -igor Index: D:/source/wicket/trunk/jdk-1.4

Re: [Wicket-user] Wanted: Example about Tree Menu Navigation

2007-04-27 Thread JulianS
Crag wrote: I want the example, a simple tree menu . See http://www.nabble.com/Tree-for-navigation-tf3524348.html#a9859828 http://www.nabble.com/Tree-for-navigation-tf3524348.html#a9859828 for a simple solution. Julian -- View this message in context:

[Wicket-user] Linking to a specific ajaxtabbedpanel

2007-04-27 Thread John Carlson
Hello, I have a page with 4 tabs (ajaxtabbedpanels), on the first tab I want to describe the other tabs and have a link next to the description that goes directly to another tab within the same page. So far the only reliable way I found was to determine the link that wicket generates and

Re: [Wicket-user] Page Map clarification

2007-04-27 Thread Shams Mahmood
are they really using the same pagemap? that means they all share a single session? pagemaps are stored in the user's sessions. -igor Thanks I seemed to missed that point altogether. I saw that the page map names were the same and arrived at my incorrect conclusion :(. I'll check up on that

[Wicket-user] Way to prevent page versioning for a request in 1.3?

2007-04-27 Thread jamieballing
We are experiencing a problem in our application because we are doing something out of the ordinary. We have an applet on our page which makes a wicket request on behalf of the page. The request is a form submit which causes a file upload, but it doesn't affect the state of the page. When wicket

Re: [Wicket-user] Linking to a specific ajaxtabbedpanel

2007-04-27 Thread Igor Vaynberg
class TabLink extends Link { private final int tab; private final TabbedPanel panel; public TabLink(TabbedPanel panel, int tab) {...}; public void onClick() { panel.setactivetab(tab); } } -igor On 4/27/07, John Carlson [EMAIL PROTECTED] wrote: Hello, I have a page with 4 tabs

Re: [Wicket-user] wicket 1.2.6 critical bug

2007-04-27 Thread jan_bar
Thanks for your support, I now use PageParameters.getString() instead of PageParameters().get(). Spec says String, String[]. Jan -- Jan Bares http://jan.vegetband.cz Igor Vaynberg [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] afaik servlet spec is string,string[] not

Re: [Wicket-user] using wicket like sitemesh

2007-04-27 Thread Thomas R. Corbin
On Friday 27 April 2007 9:46 am, Johan Compagner escreveu: you could place one label on the position where the static html should go in And that label loads the static from somewhere depending on an external param. But if this whole hierarchy of html pages refers to one another, I'd

Re: [Wicket-user] wicket 1.2.6 critical bug

2007-04-27 Thread Gwyn Evans
On Friday, April 27, 2007, 5:16:08 PM, Igor [EMAIL PROTECTED] wrote: afaik servlet spec is string,string[] not string,string, or has this changed recently? The servlet spec hasn't, but looking back, the Wicket ServletWebRequest.getParameterMap() implementation used to store string, string if

Re: [Wicket-user] wicket 1.2.6 critical bug

2007-04-27 Thread Igor Vaynberg
hm, from the old days of doing struts level stuff it was always an array, even if there is only a single param. -igor On 4/27/07, Gwyn Evans [EMAIL PROTECTED] wrote: On Friday, April 27, 2007, 5:16:08 PM, Igor [EMAIL PROTECTED] wrote: afaik servlet spec is string,string[] not

[Wicket-user] newbie: how do I put wicket-injected objects into an html comment?

2007-04-27 Thread Lowell Kirsh
What I'd like to do is something like: !-- p wicket:id=foosome data that should only be visible when viewing the page's source code/p -- Does this make sense? How can I do that? Thanks, Lowell - This SF.net email is

Re: [Wicket-user] newbie: how do I put wicket-injected objects into an html comment?

2007-04-27 Thread Igor Vaynberg
we do not support this, the only way i can think of doing something like this is: add(new label(foo, !-- bar --)); -igor On 4/27/07, Lowell Kirsh [EMAIL PROTECTED] wrote: What I'd like to do is something like: !-- p wicket:id=foosome data that should only be visible when viewing the page's

Re: [Wicket-user] newbie: how do I put wicket-injected objects into an html comment?

2007-04-27 Thread Martijn Dashorst
p wicket:id=foo/p add(new Label(foo, !-- some stuff that should only be visible when vie...--).setEscape...(false).setRenderBodyOnly(true)); should do this trick, but then inside out. Martijn On 4/27/07, Lowell Kirsh [EMAIL PROTECTED] wrote: What I'd like to do is something like: !-- p

Re: [Wicket-user] newbie: how do I put wicket-injected objects into an html comment?

2007-04-27 Thread Lowell Kirsh
What about the Comment class? Class representing a comment in an HTML document. http://wicketframework.org/wicket-1.2/apidocs/wicket/protocol/http/documentvalidation/Comment.html On 4/27/07, Igor Vaynberg [EMAIL PROTECTED] wrote: we do not support this, the only way i can think of doing

Re: [Wicket-user] newbie: how do I put wicket-injected objects into an html comment?

2007-04-27 Thread Igor Vaynberg
what about it? -igor On 4/27/07, Lowell Kirsh [EMAIL PROTECTED] wrote: What about the Comment class? Class representing a comment in an HTML document. http://wicketframework.org/wicket-1.2/apidocs/wicket/protocol/http/documentvalidation/Comment.html On 4/27/07, Igor Vaynberg [EMAIL

Re: [Wicket-user] newbie: how do I put wicket-injected objects into an html comment?

2007-04-27 Thread Lowell Kirsh
Would that be usable for what I want to do (in addition to what you proposed)? On 4/27/07, Igor Vaynberg [EMAIL PROTECTED] wrote: what about it? -igor On 4/27/07, Lowell Kirsh [EMAIL PROTECTED] wrote: What about the Comment class? Class representing a comment in an HTML document.

Re: [Wicket-user] encoding of AttributeModifier's model

2007-04-27 Thread Jean-Baptiste Quenot
* Ludovic Orban: I recently faced an annoying problem with AttributeModifier and encoding of its model. I have something looking like this in my code: String url = http://www.somewhere.com?param1=aparam2=b;; component.add(new AttributeModifier(href, true, new Model(url))); Please specify

Re: [Wicket-user] using wicket like sitemesh

2007-04-27 Thread Jean-Baptiste Quenot
* Thomas R. Corbin: On Friday 27 April 2007 9:46 am, Johan Compagner escreveu: you could place one label on the position where the static html should go in And that label loads the static from somewhere depending on an external param. But if this whole hierarchy of html

Re: [Wicket-user] I cannot add Ajax behavior to an AutoCompleteTextField

2007-04-27 Thread Andrés Ferrari
Thanks Igor! Inspecting your patch I realized the bug is fixed for Wicket 1.2.6, so upgrading solved my problem :-) (but indeed, your solution was right). Thanks again. --Andrés Igor Vaynberg wrote: test this patch, and see if it works. looks like autocomplete takes over onblur when it

Re: [Wicket-user] newbie: how do I put wicket-injected objects into an html comment?

2007-04-27 Thread Igor Vaynberg
its not a component -igor On 4/27/07, Lowell Kirsh [EMAIL PROTECTED] wrote: Would that be usable for what I want to do (in addition to what you proposed)? On 4/27/07, Igor Vaynberg [EMAIL PROTECTED] wrote: what about it? -igor On 4/27/07, Lowell Kirsh [EMAIL PROTECTED] wrote:

Re: [Wicket-user] newbie: how do I put wicket-injected objects into an html comment?

2007-04-27 Thread Jonathan Locke
yeah, with setEscapeModelStrings(false). igor.vaynberg wrote: we do not support this, the only way i can think of doing something like this is: add(new label(foo, !-- bar --)); -igor On 4/27/07, Lowell Kirsh [EMAIL PROTECTED] wrote: What I'd like to do is something like: !--

Re: [Wicket-user] setting an attribute on the HttpSession.

2007-04-27 Thread Thomas R. Corbin
On Thursday 26 April 2007 1:02 pm, Eelco Hillenius escreveu: I need to work with a servlet from another group and they need to see the user as an attribute on the HttpSession.It seems as though setAttribute on my wicket.Session doesn't actually set it on the HttpSession. Is that

Re: [Wicket-user] How to include a form field in the ajax request without form submit

2007-04-27 Thread wicket0123
Wasn't the initial question to get a form field's value w/o submitting the entire form? The goal was to get 1 field's value w/o submitting the entire form. ckuehne wrote: 2007/1/31, Marc-Andre Houle [EMAIL PROTECTED]: Why not simply use AjaxSubmitLink or AjaxSubmitButton ? It will submit

Re: [Wicket-user] question on localization

2007-04-27 Thread Vadim Tesis
Thank you all for your help. it worked. Igor, do you mean that getPageTitle() virtual method of subclass will be called from constructor of the base class? but in the implementation below it doesn't reference any members of subclass, it simply creates new ResourceModel object. am i missing

Re: [Wicket-user] How to include a form field in the ajax request without form submit

2007-04-27 Thread Igor Vaynberg
like i said, use formcomponentupdatingbehavior, it only sends over data for that one field. if you want to do stuff liek validate on the fly there is an example in wicket-examples under ajax/form what you do is add that formcomponentupdatingbehavior to onchange event of the textbox and throttle

Re: [Wicket-user] question on localization

2007-04-27 Thread Igor Vaynberg
in the current implementation sure, its fine. but what if later down the road you do override it in some subclass and depend on something? its just not a good practice because it is error prone. -igor On 4/27/07, Vadim Tesis [EMAIL PROTECTED] wrote: Thank you all for your help. it worked.

[Wicket-user] how to get a form's field when i click on an ajax object

2007-04-27 Thread wicket0123
I want to use ajax to check if a field value is valid w/o submitting the entire form. I add AjaxFormComponentUpdatingBehavior to my ajax object (link/button/etc). But, I don't know how to retrieve the edit field's value inside the onUpdate method. See the code I have: fc = new

Re: [Wicket-user] how to get a form's field when i click on an ajax object

2007-04-27 Thread Igor Vaynberg
if you use wicket validators and the component is invalid the onerror() will be called instead of onupdate() the value is available via getformcomponent().getmodelobject() inside onupdate() -igor On 4/27/07, wicket0123 [EMAIL PROTECTED] wrote: I want to use ajax to check if a field value