Re: "Redirect after post" Issue

2008-03-20 Thread Sebastiaan van Erk
Hi, Jeremy Levy wrote: I have been having trouble with this for a couple of months, it seems that redirects in Wicket 1.3.x seem to be writing out the URL incorrectly in our set up. We are running JBoss 4.2 with embedded Tomcat 5.5 using Apache/2.2.4 with mod_proxy. The Tomcat URL for the appl

Re: How do I elegantly put feedback per form field?

2008-03-20 Thread Sam Barnum
+1 on the london wicket slides, an excellent (and quick) read. Would love to see more example like this. Guice? -Sam On Mar 20, 2008, at 8:46 AM, James Carman wrote: On 3/20/08, Ned Collyer <[EMAIL PROTECTED]> wrote: Thanks Craig, Perfect. Super perfect :) Yeah, that's really cool

Re: StreamCorruptedException when using autocomplete

2008-03-20 Thread David Leangen
Already tried that. Same problem. :-( On Thu, 2008-03-20 at 22:53 -0700, Igor Vaynberg wrote: > what if you make the search form class static? > > -igor > > > On Thu, Mar 20, 2008 at 10:31 PM, David Leangen <[EMAIL PROTECTED]> wrote: > > > > Thanks for the suggestions... > > > > > > > are

Re: StreamCorruptedException when using autocomplete

2008-03-20 Thread Igor Vaynberg
what if you make the search form class static? -igor On Thu, Mar 20, 2008 at 10:31 PM, David Leangen <[EMAIL PROTECTED]> wrote: > > Thanks for the suggestions... > > > > are you using a class reloading mechanism of any sort? this error > > would make sense if wicket saved a page to store, you

Re: StreamCorruptedException when using autocomplete

2008-03-20 Thread David Leangen
Thanks for the suggestions... > are you using a class reloading mechanism of any sort? this error > would make sense if wicket saved a page to store, you changed the > class def and wicket tried to deserialize an instance of that changed > class No, none. I took out all the widgets from the

Re: Wicket - Session Manamagement

2008-03-20 Thread Igor Vaynberg
if you look closer websession constructor takes request -igor On Thu, Mar 20, 2008 at 9:59 PM, V. Jenks <[EMAIL PROTECTED]> wrote: > > I told you it was a stupid question, I figured it out... > > @Override > > public Session newSession(Request request, Response response) > > { > r

Re: Wicket - Session Manamagement

2008-03-20 Thread V. Jenks
I told you it was a stupid question, I figured it out... @Override public Session newSession(Request request, Response response) { return new UserSession(NavitopiaApp.this); } V. Jenks wrote: > > I've actually been trying that but (and here's a stupid question) - I'm > not sure

Re: Wicket - Session Manamagement

2008-03-20 Thread Igor Vaynberg
huh? -igor On Thu, Mar 20, 2008 at 9:53 PM, V. Jenks <[EMAIL PROTECTED]> wrote: > > I've actually been trying that but (and here's a stupid question) - I'm not > sure what to do with the Request and Response parameters it requires? > > > > > igor.vaynberg wrote: > > > > override newsession(

Re: Wicket - Session Manamagement

2008-03-20 Thread V. Jenks
I've actually been trying that but (and here's a stupid question) - I'm not sure what to do with the Request and Response parameters it requires? igor.vaynberg wrote: > > override newsession() on application > > -igor > > > On Thu, Mar 20, 2008 at 9:34 PM, V. Jenks <[EMAIL PROTECTED]> wrote:

Re: Wicket - Session Manamagement

2008-03-20 Thread Igor Vaynberg
override newsession() on application -igor On Thu, Mar 20, 2008 at 9:34 PM, V. Jenks <[EMAIL PROTECTED]> wrote: > > I'm just now trying to upgrade to 1.3 having used 1.2.4 (and earlier) for > over a year now. > > Normally I would have done this, in the WebApplication class: > > @Override >

Re: Wicket - Session Manamagement

2008-03-20 Thread V. Jenks
I'm just now trying to upgrade to 1.3 having used 1.2.4 (and earlier) for over a year now. Normally I would have done this, in the WebApplication class: @Override public ISessionFactory getSessionFactory() { return new ISessionFactory() { public Session newSession

AjaxEditableChoiceLabel: localize labels

2008-03-20 Thread francisco treacy
i need to use an AjaxEditableChoiceLabel. how would you achieve the following? unknown value == null in model == "Unknown" as label *and* option in the dropdown affirmative value == Boolean.TRUE in model == "Yes" as label *and* option in the dropdown negative value == Boolean.FALSE in model == "N

Re: How to set focus to a textfield inside AJAX

2008-03-20 Thread Igor Vaynberg
if you are doing it in renderhead you have to use response.renderonloadjavascript(), if you spit out straight javascript then when it runs the textfield is not in the dom yet so document.getelementbyid wont be able to look it up... -igor On Thu, Mar 20, 2008 at 4:04 PM, Michael Mehrle <[EMAIL PR

Re: "Redirect after post" Issue

2008-03-20 Thread Jeremy Levy
No problem, I know other people are doing this, I can't seem to see where the issue is... Which is why I think something is wrong either in Tomcat or Wicket. J On Thu, Mar 20, 2008 at 8:36 PM, brian.diekelman <[EMAIL PROTECTED]> wrote: > > > ...and after reading your post a little closer, I flip

Re: "Redirect after post" Issue

2008-03-20 Thread brian.diekelman
...and after reading your post a little closer, I flipped the directive parameters in my head. I don't think there's anything wrong with your ProxyPass directives. Sorry about that... -- View this message in context: http://www.nabble.com/%22Redirect-after-post%22-Issue-tp16189821p16191916.ht

Re: "Redirect after post" Issue

2008-03-20 Thread brian.diekelman
http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#proxypassreverse "This directive lets Apache adjust the URL in the Location, Content-Location and URI headers on HTTP redirect responses" ProxyPassReverse is the culprit here, not anything to do with Wicket. Jeremy Levy-3 wrote: > > I have

RE: How to set focus to a textfield inside AJAX

2008-03-20 Thread Michael Mehrle
Wasn't working until I changed the event on the radio to onFocus - just FYI :-) Michael -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 3:56 PM To: users@wicket.apache.org Subject: Re: How to set focus to a textfield inside AJAX textfield.

RE: How to set focus to a textfield inside AJAX

2008-03-20 Thread Michael Mehrle
I was actually trying something close with overriding renderHead(IHeaderResponse iHeaderResponse). Didn't seem to stick though... Just for the record - would the above method be an alternative to making this work? Thanks a bunch - saved my day. Cheers, Michael -Original Message- From:

Re: How to set focus to a textfield inside AJAX

2008-03-20 Thread Igor Vaynberg
textfield.setoutputmarkupid(true); radio.add(new behavior() { oncomponenttag(tag) { tag.put("onclick", "getelementbyid('"+textfield.getmarkupid()+"').focus()";})); -igor On Thu, Mar 20, 2008 at 3:51 PM, Michael Mehrle <[EMAIL PROTECTED]> wrote: > Well, it doesn't necessarily have to happen in th

Re: How to get error message register in IModel.getObject() to show up in FeedbackPanel?

2008-03-20 Thread Igor Vaynberg
in a real app people will be invested in fixing the issue and not having someone else do their homework for them :) like i said, right now we consider errors in models unrecoverable - eg you go to an error page. seemed to satisfy everyone for 3? years that wicket has been out. that said, you can

RE: How to set focus to a textfield inside AJAX

2008-03-20 Thread Michael Mehrle
Well, it doesn't necessarily have to happen in there. What I need to do is to bind a Radio component to a TextField component. When the Radio gets clicked I want the focus in it's TextField to be set. Any ideas? Michael -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Se

Re: mavn build errors

2008-03-20 Thread James Carman
On 3/20/08, Ritz123 <[EMAIL PROTECTED]> wrote: > > Thanks for the quick response. > > Just to complete the thread - for ppl like me who are not too familiar with > maven - the way to force plugin version - in our case plugin-plugin is the > plugin!! Add that to Wicket top level pom.xml file und

Re: "Redirect after post" Issue

2008-03-20 Thread Jeremy Levy
Slight correction: With IRequestCycleSettings.ONE_PASS_RENDER most form submits seem to work except in the case of continueToOriginalDestination... Everything else still fails. J On Thu, Mar 20, 2008 at 6:09 PM, Jeremy Levy <[EMAIL PROTECTED]> wrote: > I have been having trouble with this for

Re: How to set focus to a textfield inside AJAX

2008-03-20 Thread Igor Vaynberg
why cant you do this with javascript without ajax?? seems like a huge waste to have a server callback just to set focus -igor On Thu, Mar 20, 2008 at 3:14 PM, Michael Mehrle <[EMAIL PROTECTED]> wrote: > I have a WMC that I added an AjaxEventBehavior(onclick) to. Inside I > want to set the focus

Re: mavn build errors

2008-03-20 Thread Ritz123
Thanks for the quick response. Just to complete the thread - for ppl like me who are not too familiar with maven - the way to force plugin version - in our case plugin-plugin is the plugin!! Add that to Wicket top level pom.xml file under section along with other plugins. Make sure in the corres

How to set focus to a textfield inside AJAX

2008-03-20 Thread Michael Mehrle
I have a WMC that I added an AjaxEventBehavior(onclick) to. Inside I want to set the focus to a particular textfield - how would I do that? I have seen some techniques on how to do this on page load, but this is AJAX so I need something dynamic. Anyone solved this problem before? Michael --

Re: How to get error message register in IModel.getObject() to show up in FeedbackPanel?

2008-03-20 Thread Igor Vaynberg
decorator generates scripts that execute on the client side. so onfailure() is a handler that will be executed by clientside javascript if ajax request fails, it has nothing to do with button.onerror() -igor On Thu, Mar 20, 2008 at 2:54 PM, Matthew Young <[EMAIL PROTECTED]> wrote: > > they are e

"Redirect after post" Issue

2008-03-20 Thread Jeremy Levy
I have been having trouble with this for a couple of months, it seems that redirects in Wicket 1.3.x seem to be writing out the URL incorrectly in our set up. We are running JBoss 4.2 with embedded Tomcat 5.5 using Apache/2.2.4 with mod_proxy. The Tomcat URL for the application is http://localhos

Re: How to get error message register in IModel.getObject() to show up in FeedbackPanel?

2008-03-20 Thread Matthew Young
> they are executed every time the component rendered That's true for non-Ajax, but if Ajax, it's not called again. It make sense to me because the form is not rendered. >no you shouldnt touch ajaxreqesttarget from a call decorator I don't mean in the decorator. I mean in the AjaxButton#onSubmi

Re: How to get error message register in IModel.getObject() to show up in FeedbackPanel?

2008-03-20 Thread Matthew Young
Then what? In real app, the model is calling some flakey remote service that can fail. Is there no way to show error message on the same page? That the only thing is put up a different error page? On Thu, Mar 20, 2008 at 1:29 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: > This doesn't work becaus

Re: How to get error message register in IModel.getObject() to show up in FeedbackPanel?

2008-03-20 Thread Igor Vaynberg
why would it be onsuccess path? this is something that runs clientside... they are executed every time the component rendered, and no you shouldnt touch ajaxreqesttarget from a call decorator, notice how it is not passed in... -igor On Thu, Mar 20, 2008 at 2:38 PM, Matthew Young <[EMAIL PROTECT

Re: How to get error message register in IModel.getObject() to show up in FeedbackPanel?

2008-03-20 Thread Matthew Young
>add an iajaxcalldecorator override failed script Would that work if failure happen late in rendering? By that time, Wicket would be on the onSuccess path, right? For my Wicket education: I notice the IAjaxCallDecorator callbacks are only called once. So are these for fixed static script only?

Re: Wicket throws ConcurrentModificationException in RequestCycle.detach() on rare occasions

2008-03-20 Thread Maurice Marrink
As requested by Johan i created a jira issue https://issues.apache.org/jira/browse/WICKET-1438 and attached an application showing the original problem. Maurice On Thu, Mar 20, 2008 at 12:22 AM, Maurice Marrink <[EMAIL PROTECTED]> wrote: > My current patch involved this: > for (int i = 0; i < re

RE: AjaxEventBehavior never being called

2008-03-20 Thread Michael Mehrle
Never mind - not sure what I was thinking needed to name the JS event properly. Michael -Original Message- From: Michael Mehrle [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 1:06 PM To: users@wicket.apache.org Subject: AjaxEventBehavior never being called I've got an inne

Re: How to get error message register in IModel.getObject() to show up in FeedbackPanel?

2008-03-20 Thread Matej Knopp
This doesn't work because the model.getObject method is only called when the value is pulled out of the model, which is on label render. Even if you refresh it on ajax request, it might be too late because the feedback panel retrieves the feedback messages in onBeforeRender (before actual rendering

Re: How to get error message register in IModel.getObject() to show up in FeedbackPanel?

2008-03-20 Thread Matej Knopp
It depends on the kind of error. Sometimes when it's xmlhttprequest error we get no notification of it. -Matej On Thu, Mar 20, 2008 at 9:21 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > On Thu, Mar 20, 2008 at 12:59 PM, Matthew Young <[EMAIL PROTECTED]> wrote: > > Small wish: in GMail, when th

Re: How to get error message register in IModel.getObject() to show up in FeedbackPanel?

2008-03-20 Thread Igor Vaynberg
On Thu, Mar 20, 2008 at 12:59 PM, Matthew Young <[EMAIL PROTECTED]> wrote: > Small wish: in GMail, when their Ajax submit fails (either user submit or > auto background submit), they don't go to a new page, they flash a message > "System error, trying again." It would be great if Wicket can sup

AjaxEventBehavior never being called

2008-03-20 Thread Michael Mehrle
I've got an inner subclass of Radio: private class FooRadio extends Radio { public FooRadio (String id, IModel model) { super(id, model); setOutputMarkupId(true); add(new AjaxEventBehavior(new StringBuffer(id).append("onChange").toString

Re: How to get error message register in IModel.getObject() to show up in FeedbackPanel?

2008-03-20 Thread Matthew Young
Don't know what happen to my last reply. Try again: >i wonder if calling >feedbackpanel.detach() will help before you add it to the ajax request >target... No, this doesn't make the message show up either. >yes. there is a phase of processing that goes through and collects the >feedback message

Re: mavn build errors

2008-03-20 Thread James Carman
On 3/20/08, Ritz123 <[EMAIL PROTECTED]> wrote: > > Hi, > > Trying to build Wicket from svn trunk - tried mvn eclipse:eclipse and mvn > install - keep getting mojo descriptors not found error. > > [INFO] Building Wicket Quickstart Archetype > [INFO]task-segment: [install] > [INFO] > -

StartFound: You can now submit/edit your own content

2008-03-20 Thread Dan Kaplan
Hi, This is the second time I've mentioned StartFound. I hope it's not considered spam at this point. If so, this'll be my last update about it but this update is very important. You can now submit/edit your own content to http://www.startfound.com So if anyone

Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-20 Thread Matthew Young
>if you are willing to work with us on it i think we might be able to host it on wicket-stuff... I'll glad to. Just let me know what to do. On Wed, Mar 19, 2008 at 10:53 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > ah, i see. if you are willing to work with us on it i think we might > be able

Re: How to get error message register in IModel.getObject() to show up in FeedbackPanel?

2008-03-20 Thread Matthew Young
On Wed, Mar 19, 2008 at 10:54 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > yes. there is a phase of processing that goes through and collects the > feedback messages. you are reporting the error after that phase most > likely, so it will get picked up next request. i wonder if calling > feedback

Re: problem adding two links to a page

2008-03-20 Thread guytom
non issue, it was a javascript on the page guytom wrote: > > Hi, > > I am almost new to Wicket so I hope it's not a stupid question. I am > encountering an odd problem when adding two links to a single page in a > single DataView: for some reason clicking on the second link gets to the > onCli

mavn build errors

2008-03-20 Thread Ritz123
Hi, Trying to build Wicket from svn trunk - tried mvn eclipse:eclipse and mvn install - keep getting mojo descriptors not found error. [INFO] Building Wicket Quickstart Archetype [INFO]task-segment: [install] [INFO] [I

No AjaxRadioChoice?

2008-03-20 Thread Michael Mehrle
How come there is no AjaxRadioChoice? I would like to have my form updated cleared when one of my radio buttons is selected. What's the best way of doing this? Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Re: Listview hierarchy problem

2008-03-20 Thread Igor Vaynberg
should be listItem.add(pn/rp) also in the future it helps a lot if you paste the stacktrace -igor On Thu, Mar 20, 2008 at 11:33 AM, Bruce McGuire <[EMAIL PROTECTED]> wrote: > Hello. > > > > I have a panel that contains a form, which contains a list view with two > items, a label and a button.

problem adding two links to a page

2008-03-20 Thread guytom
Hi, I am almost new to Wicket so I hope it's not a stupid question. I am encountering an odd problem when adding two links to a single page in a single DataView: for some reason clicking on the second link gets to the onClick of the first one. When I removed the first one from the page, clicking

Listview hierarchy problem

2008-03-20 Thread Bruce McGuire
Hello. I have a panel that contains a form, which contains a list view with two items, a label and a button. I have tried a gajillion different combinations, but I keep getting the "unable to find component" error. Any hints that you can provide would be HUGELY appreciated. The panel ma

RE: Problem with using RadioGorup and AjaxEventBehavior in a FormComponentPanel

2008-03-20 Thread Zhubin Salehi
The value is null before onUpdate() method is called. I think there is a bug somewhere, because I use an AjaxCheckBox instead (I had only two choices anyway) and it works fine. Here is the new code: /* North American flag radio group */ add(nanp = new AjaxCheckBox

Re: Problem with using RadioGorup and AjaxEventBehavior in a FormComponentPanel

2008-03-20 Thread Igor Vaynberg
there is also a bug report in jira for formchoice..behavior, see if that affects you... -igor On Thu, Mar 20, 2008 at 11:08 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > in onupdate you should be calling getmodelobject() > > -igor > > > On Thu, Mar 20, 2008 at 10:55 AM, Zhubin Salehi > > > <[

Re: Problem with using RadioGorup and AjaxEventBehavior in a FormComponentPanel

2008-03-20 Thread Igor Vaynberg
in onupdate you should be calling getmodelobject() -igor On Thu, Mar 20, 2008 at 10:55 AM, Zhubin Salehi <[EMAIL PROTECTED]> wrote: > OK, now I changed my code to this: > > add(nanp = new RadioChoice("nanp", new PropertyModel(this, > "phoneNumber.nanp"), Arrays.asList(new String

RE: Problem with using RadioGorup and AjaxEventBehavior in a FormComponentPanel

2008-03-20 Thread Zhubin Salehi
OK, now I changed my code to this: add(nanp = new RadioChoice("nanp", new PropertyModel(this, "phoneNumber.nanp"), Arrays.asList(new String[] { "true", "false" }))); nanp.add(new AjaxFormComponentUpdatingBehavior("onclick") {

RE: error occurs in IE when I click on button in wicket application deployed in JBoss

2008-03-20 Thread Patel, Sanjay
some more information. If I use sub context in jboss-web.xml then it works fine. e.g. /wtp One thing I found out is, If I click on button and the response page is not mounted, it does not work. If I click on button and the response page is mounted, it works fine. -Original Message-

RE: DefaultDataTable not paging correctly

2008-03-20 Thread Kenny Stainback
I would not perform an in-memory sort of the entire collection you are attempting to page, as in your example. One benefit of paging is not having to return the entire dataset from the backend. If your company has hundreds or thousands of users, this will become a performance issue. In the exam

Re: optional components in markup

2008-03-20 Thread James Carman
On 3/20/08, Andrew Broderick <[EMAIL PROTECTED]> wrote: > Hi, > > Is there a way to mark a component in markup as optional, so it renders it > if it's there, but leaves it out if not? Or, if I don't want a certain > component to appear (decided by logic at runtime), do I just have to insert a >

optional components in markup

2008-03-20 Thread Andrew Broderick
Hi, Is there a way to mark a component in markup as optional, so it renders it if it's there, but leaves it out if not? Or, if I don't want a certain component to appear (decided by logic at runtime), do I just have to insert a "placeholder" component, such as an empty label? Thanks _

Re: Mounting and intercept pages

2008-03-20 Thread Jörn Zaefferer
I don't have or use any security strategy (yet). The user can visit every page, but can't use everything until logged in. Though I don't see how that should interfere with manual intercepts and bookmarkable links. Other ideas? Jörn On Thu, Mar 20, 2008 at 5:55 PM, Igor Vaynberg <[EMAIL PROTECTED

RE: DefaultDataTable not paging correctly

2008-03-20 Thread Greg Dunn
Thanks, I'm keeping all my users, and the sorting and paging work now. There is one glitch though, when I click a column header to resort, I'm only resorting the items that are in view on the current page, not the entire set. That doesn't seem right, can it be rectified? -Original Message---

RE: error occurs in IE when I click on button in wicket application deployed in JBoss

2008-03-20 Thread Patel, Sanjay
Hi, I am trying to deploy a small wicket application in JBoss. It works fine in fire fox and does not work in IE. I access my application at " http://localhost/"; When I click on any button in my application it goes to http://localhost/./ and it display "Directory Listi

RE: Problem with using RadioGorup and AjaxEventBehavior in a FormComponentPanel

2008-03-20 Thread Zhubin Salehi
I added the AjaxFormChoiceComponentUpdatingBehavior to Radio objects and I got a runtime exception (can only be added to...), then I added it to the RadioGroup and nothing happens when I change the selection! -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Thursday,

Re: Problem with using RadioGorup and AjaxEventBehavior in a FormComponentPanel

2008-03-20 Thread Igor Vaynberg
right. see AjaxFormChoiceComponentUpdatingBehavior -igor On Thu, Mar 20, 2008 at 10:02 AM, Zhubin Salehi <[EMAIL PROTECTED]> wrote: > I'm adding AjaxFormComponentUpdatingBehavior to RadioGroup. If I add it to > Radio I get a runtime exception that says AjaxFormComponentUpdatingBehavior > can o

Re: Display of own message in FeedbackPanel

2008-03-20 Thread Martijn Dashorst
Create your own validator, or do the check in onSubmit(), and create the error message using error(). Martijn On 3/20/08, Fabien D. <[EMAIL PROTECTED]> wrote: > > Thank you all for you responding speed :) Amazing > > Okay i will check tomorrow for this issue.But if my condition is not take > c

Re: Display of own message in FeedbackPanel

2008-03-20 Thread Igor Vaynberg
there are two ways. one: write a validator: email.add(new ivalidator() { validate(ivalidatable v) { if (!validemail(v.getvalue()) v.add(new validationerror().setresourcekey("my.error")); } two: do it in onsubmit handler of the form form.onsubmit() { if (!validemail(email)) { error(getString("my.

RE: Problem with using RadioGorup and AjaxEventBehavior in a FormComponentPanel

2008-03-20 Thread Zhubin Salehi
I'm adding AjaxFormComponentUpdatingBehavior to RadioGroup. If I add it to Radio I get a runtime exception that says AjaxFormComponentUpdatingBehavior can only be added to a FormComponent. -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 12:5

Re: Suggested Enhancement To Spring Support

2008-03-20 Thread Igor Vaynberg
also injection doesnt work with getters/setters but fields... @SpringBean private MyService service; that is all that is needed. no need to have a getter for what is a private field... -igor On Thu, Mar 20, 2008 at 7:25 AM, Zappaterrini, Larry <[EMAIL PROTECTED]> wrote: > Thanks for the explan

Re: Problem with using RadioGorup and AjaxEventBehavior in a FormComponentPanel

2008-03-20 Thread Igor Vaynberg
are you adding the bheavior to Radio or RadioGroup, it needs to go to Radio components -igor On Thu, Mar 20, 2008 at 6:21 AM, Zhubin Salehi <[EMAIL PROTECTED]> wrote: > Ok, I noticed when I use AjaxFormComponentUpdatingBehavior, no JavaScript > gets added to radio buttons. > > > -Original M

Re: Mounting and intercept pages

2008-03-20 Thread Igor Vaynberg
it all depends on what url your security strategy intercepts - that is the url continuetoorigdest will use. so if your strategy intercepts a bookmarkable url you should be good, but if it intercepts a link url like ?wicket:interface that is where you will go back to... -igor On Thu, Mar 20, 2008

Re: Display of own message in FeedbackPanel

2008-03-20 Thread Fabien D.
Thank you all for you responding speed :) Amazing Okay i will check tomorrow for this issue.But if my condition is not take care by Feedback An other exemple, i want to check if the email of the user is already in my database, and display a error message in my FeedbackPanel in this case. How c

Re: Palette and on change notifications

2008-03-20 Thread Igor Vaynberg
recorder wont get onchange because its value is changed pragmatically...you need to find another hook. maybe one of the buttons or select boxes. -igor On Thu, Mar 20, 2008 at 5:20 AM, Piller Sébastien <[EMAIL PROTECTED]> wrote: > Hello everybody, > > I'm trying to get selection change notificat

Re: Display of own message in FeedbackPanel

2008-03-20 Thread Martijn Dashorst
I wouldn't advise the EIV for password fields... the default message will show the input values... For password fields, we have: EqualPasswordInputValidator Martijn On 3/20/08, Scott Swank <[EMAIL PROTECTED]> wrote: > You can use the EqualInputValidator to compare the password values. > Then yo

Re: Display of own message in FeedbackPanel

2008-03-20 Thread Scott Swank
You can use the EqualInputValidator to compare the password values. Then you can override resourceKey() to tell Wicket to look for your own error message in .properties. On Thu, Mar 20, 2008 at 9:24 AM, Fabien D. <[EMAIL PROTECTED]> wrote: > > Hi everybody, > > I'm a new french user of wicket, a

RE: Display of own message in FeedbackPanel

2008-03-20 Thread Greg Dunn
Wicket has a gadget for that since 1.2. In your form: add(new EqualPasswordInputValidator(password, repeatPassword)); -Original Message- From: Fabien D. [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 11:25 AM To: users@wicket.apache.org Subject: Display of own message in Feedb

Display of own message in FeedbackPanel

2008-03-20 Thread Fabien D.
Hi everybody, I'm a new french user of wicket, and i 'm apologizing in advance for english and comprehension mistakes. So, I want to display in a FeedbackPanel my own messages for especially events. For example, in my suscribing panel, the user has to write twice his password. So I want to check

RE: DefaultDataTable not paging correctly

2008-03-20 Thread KennyS
In the constructor that takes the company id in SortableUserDataProvider, you are retrieving all users for the specified company id and assigning that to the "users" class-level variable. But, in the iterator() method, you retrieve another subset (page) of users and assign it to the same "users"

Re: Javadoc problem ?

2008-03-20 Thread Sergej Logis
I assume missing classes are all from wicket-extensions package. There is (somewhat hidden) link to the "missing" part: http://wicket.apache.org/docs/wicket-1.3.2/wicket-extensions/index.html --- Sincerely, Sergej Logiš Software developer Exigen Services ICQ: 12510115

Re: Javadoc problem ?

2008-03-20 Thread Gerolf Seitz
these are just the javadocs for the wicket core project. you can find the classes for wicket-extensions here, in case you missed one of the classes in there: http://wicket.apache.org/docs/wicket-1.3.2/wicket-extensions/apidocs/index.html more projects (datetime, spring, ...) will follow soon. G

Re: Javadoc problem ?

2008-03-20 Thread Martijn Dashorst
It would help if you would specify which classes you miss. Martijn On 3/20/08, Eyal Golan <[EMAIL PROTECTED]> wrote: > Has anyone noticed that there are many missing classes in > http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/index.html > > Or am I missing something? > > -- > Eyal G

Re: How do I elegantly put feedback per form field?

2008-03-20 Thread James Carman
On 3/20/08, Ned Collyer <[EMAIL PROTECTED]> wrote: > > Thanks Craig, > > Perfect. > > Super perfect :) > Yeah, that's really cool! I think I might borrow your ideas on our project at work. Thanks! - To unsubscribe, e-mail: [

Re: Nice absolute urls - is this possible?

2008-03-20 Thread Johan Compagner
you are worried about what is in the source? so you dont really need it for something else like in an email? but wicket generates for itself relative urls if you need a full for yourself you can use RequestUtils.toAbsolutePath On Thu, Mar 20, 2008 at 11:36 AM, Java Programmer <[EMAIL PROTECTED]>

Javadoc problem ?

2008-03-20 Thread Eyal Golan
Has anyone noticed that there are many missing classes in http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/index.html Or am I missing something? -- Eyal Golan [EMAIL PROTECTED] Visit: http://jvdrums.sourceforge.net/

Re: How do I elegantly put feedback per form field?

2008-03-20 Thread Ned Collyer
Thanks Craig, Perfect. Super perfect :) mnwicket wrote: > > Take a look at the "Forms with Flair" example at http://londonwicket.org/ > > -Craig > -- View this message in context: http://www.nabble.com/How-do-I-elegantly-put-feedback-per-form-field--tp16172288p16181115.html Sent from the

RE: DefaultDataTable not paging correctly

2008-03-20 Thread Greg Dunn
Sorry, here it is: NB: I'm using Spring and iBatis. iBatis *is* returning the expected records based on what is getting passed to my DAO's (first 0, count 10). public class SortableUserDataProvider extends SortableDataProvider { List users; Integer gwCmpnyId; public SortableUserDat

Re: DefaultDataTable not paging correctly

2008-03-20 Thread KennyS
Could you provide the code for your SortableUserDataProvider, please? Greg Dunn-3 wrote: > > My debugging indicates my > SortableDataProvider is always getting a 0 for the 'first' parameter. > Any ideas why this would happen? > -- View this message in context: http://www.nabble.com/DefaultD

Re: How do I elegantly put feedback per form field?

2008-03-20 Thread mnwicket
Take a look at the "Forms with Flair" example at http://londonwicket.org/ -Craig Ned Collyer wrote: > > How can I elegantly put a feedback panel per form field > > eg, > Email address is required > Email: [__] > > This is not a valid phone number > Phone: [asfafadsfafa] > > This see

DefaultDataTable not paging correctly

2008-03-20 Thread Greg Dunn
I followed the repeater examples to create a data table backed by a SortableDataProvider but it's not paging correctly. When the table first loads, everything looks great, but whenever I click a paging link I'm only getting the first 10 records back. My debugging indicates my SortableDataProvider

RE: Suggested Enhancement To Spring Support

2008-03-20 Thread Zappaterrini, Larry
Thanks for the explanation, that makes perfect sense. From: lars vonk [mailto:[EMAIL PROTECTED] Sent: Thu 3/20/2008 10:16 AM To: users@wicket.apache.org Subject: Re: Suggested Enhancement To Spring Support Spring support in Wicket works with proxies, so your se

Re: Suggested Enhancement To Spring Support

2008-03-20 Thread lars vonk
Spring support in Wicket works with proxies, so your services are not Serialized by Wicket, but your Proxy is. With your suggestion your Service will be Serialized and with it all its dependencies like DAO's etc. This will most likely cause trouble when you are in a clustered environment and use Se

Re: the wicket markup reference

2008-03-20 Thread Vitaly Tsaplin
Wow! Exactly. Thanks Erik. On Thu, Mar 20, 2008 at 2:56 PM, Erik van Oosten <[EMAIL PROTECTED]> wrote: > Do you mean http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html? > > Regards, > Erik. > > > Vitaly Tsaplin schreef: > > > >Hi everyone, > > > >Is there any wicket markup r

Re: the wicket markup reference

2008-03-20 Thread Erik van Oosten
Do you mean http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html? Regards, Erik. Vitaly Tsaplin schreef: >Hi everyone, > >Is there any wicket markup reference? Is it documented? > >Vitaly > > -- Erik van Oosten http://day-to-day-stuff.blogspot.com/

RE: Suggested Enhancement To Spring Support

2008-03-20 Thread Zappaterrini, Larry
I suppose I need to learn more about how Spring support is implemented in Wicket. My thinking was that the injected property would simply get set to null. Then the getter for that injected property can perform a null check and lazily initialize it with a default type if necessary: @SpringBean(

Re: RadioGroup in TD

2008-03-20 Thread Michael O'Cleirigh
There is a patch to RadioGroup in JIRA (http://issues.apache.org/jira/browse/WICKET-1055) that allows for this type of scenario to be handled. It defines some methods to programatically define which Radio's are part of a RadioGroup. Alternately you could could try something like: [

the wicket markup reference

2008-03-20 Thread Vitaly Tsaplin
Hi everyone, Is there any wicket markup reference? Is it documented? Vitaly - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Problem with using RadioGorup and AjaxEventBehavior in a FormComponentPanel

2008-03-20 Thread Zhubin Salehi
Ok, I noticed when I use AjaxFormComponentUpdatingBehavior, no JavaScript gets added to radio buttons. -Original Message- From: Zhubin Salehi [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 9:18 AM To: users@wicket.apache.org Subject: RE: Problem with using RadioGorup and AjaxEve

Re: Mounting and intercept pages

2008-03-20 Thread Jörn Zaefferer
When throwing the Restart... exception, continueToOriginalDestination() yields false. On Thu, Mar 20, 2008 at 2:17 PM, Hoover, William <[EMAIL PROTECTED]> wrote: > Try the following: > > if (!continueToOriginalDestination()) { > setResponsePage(getApplication().getHomePage()); > >

error occurs in IE when I click on button in wicket application deployed in JBoss

2008-03-20 Thread Patel, Sanjay
I developed small wicket application. It is address book kind of application and it has "add new contact" , "edit", "delete" button. I deployed it in JBoss 4.0. It works good in FireFox but in IE when I click on any button it is not able find the page. Please see the attached screen shot so you

RE: Problem with using RadioGorup and AjaxEventBehavior in a FormComponentPanel

2008-03-20 Thread Zhubin Salehi
onclick doesn't work either. -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 1:56 AM To: users@wicket.apache.org Subject: Re: Problem with using RadioGorup and AjaxEventBehavior in a FormComponentPanel also, for what its worth, onclick work

RE: Mounting and intercept pages

2008-03-20 Thread Hoover, William
Try the following: if (!continueToOriginalDestination()) { setResponsePage(getApplication().getHomePage()); } -Original Message- From: Jörn Zaefferer [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 9:13 AM To: users@wicket.apache.org Subject: Re: Mounting and inte

Re: Mounting and intercept pages

2008-03-20 Thread Jörn Zaefferer
Thanks Martijn. I gave that a try: add(new Link("register") { @Override public void onClick() { throw new RestartResponseAtInterceptPageException(Register.class); } @Override public boolean isVisible() { return !UserSession.get().isS

Re: Insert dynamic/external HTML string in a page

2008-03-20 Thread mmocnik
Thank you all. Works like a charm. Regards, Marko -- View this message in context: http://www.nabble.com/Insert-dynamic-external-HTML-string-in-a-page-tp16141336p16177878.html Sent from the Wicket - User mailing list archive at Nabble.com. -

  1   2   >