Re: Textfield length validator?

2008-03-08 Thread Ryan Sonnek
I agree. There's already a JIRA filed for this enhancement. Please vote for this issue if you want to see it fixed! hopefully it'll make it into 1.4? https://issues.apache.org/jira/browse/WICKET-1310 On Sat, Mar 8, 2008 at 10:27 AM, Johan Compagner <[EMAIL PROTECTED]> wrote: > and thats why it

Re: DropDownChoice getting value into the model

2008-03-08 Thread Vitaly Tsaplin
Hi everyone, Hi Erik, I am sorry for so late post. But am going to go back to our DropDownChoice discussion. If you suggest me to create a list of integers and use a special renderer implementation to retrieve a displayable value you should take into account that in case if we have a list

Re: append a converter or coversion function

2008-03-08 Thread Igor Vaynberg
a model decorator would not result in any repeated code -igor On Sat, Mar 8, 2008 at 4:30 PM, <[EMAIL PROTECTED]> wrote: > I could use both model or onSubmit to do what I mentioned. > But this resulted in repeating coding. If I put > the special conversion code in converter, it would be handi

Re: append a converter or coversion function

2008-03-08 Thread dvd
I could use both model or onSubmit to do what I mentioned. But this resulted in repeating coding. If I put the special conversion code in converter, it would be handily reusable by me or others without worring about the convertion logic for each model or form. Validator chaining is the example of

Re: append a converter or coversion function

2008-03-08 Thread Igor Vaynberg
i think a model decorator is more appropriate here -igor On Sat, Mar 8, 2008 at 3:10 PM, <[EMAIL PROTECTED]> wrote: > Hello: > I wonder how to "append" a converter or java method to a component so that I > would affect what is already defined. For example, I want "camelize" a > TextField(or

append a converter or coversion function

2008-03-08 Thread dvd
Hello: I wonder how to "append" a converter or java method to a component so that I would affect what is already defined. For example, I want "camelize" a TextField(or some customized subclass) so that after the converter already defined completes the conversion (regardless what has been done in

Re: Javascript not evaluating with AbstractAutoCompleteBehavior

2008-03-08 Thread Andrew Berman
I'm doing a custom autocomplete and simply wanted to use AbstractAutoCompleteBehavior to at least pass me back the search term. I want to return a JavaScript call with the results which opens up a custom results panel. I'm not looking to pass back HTML with the results. I think Wicket should eit

The old setOutputMarkupId() problem

2008-03-08 Thread Michael Mehrle
I'm getting that error although all my panels that are being updated have the id set. I assume I don't have to add call setOutputMarkupId() on any components inside of the parent panel that I am updating? This stuff keeps happening often and is a huge timesink - wished there was a more elegant way

RE: Sort order in DataView with ListDataProvider

2008-03-08 Thread Michael Mehrle
Any idea as to why my sort order is out of whack? Michael -Original Message- From: Michael Mehrle [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2008 2:44 PM To: users@wicket.apache.org Subject: RE: Sort order in DataView with ListDataProvider Okay - some needed input first: - addCo

AjaxFormSubmitBehavior not working in Safari

2008-03-08 Thread Alex Jacoby
I created a JIRA issue for this a couple weeks back... https://issues.apache.org/jira/browse/WICKET-1362 ...but it hasn't been touched yet. Anyone else seen this problem? Thanks, Alex - To unsubscribe, e-mail: [EMAIL PROTECTE

Re: Textfield length validator?

2008-03-08 Thread Johan Compagner
and thats why it would be nice to look into that a Validator can also be a Behavior so that it can set the max length attribute of a text input.. johan On Sat, Mar 8, 2008 at 1:30 PM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > This restricts the input field to a max length, but doesn't check

Re: Javascript not evaluating with AbstractAutoCompleteBehavior

2008-03-08 Thread Ryan Sonnek
FYI: you might want to check out the wicketstuff-scriptaculous auto complete component instead. http://wicketstuff.org/confluence/display/STUFFWIKI/Script.aculo.us+AutoCompleteBehavior On Sat, Mar 8, 2008 at 6:38 AM, i ii <[EMAIL PROTECTED]> wrote: > > that does suck! why would wicket use a dif

Re: Wicketstuff Rome / RSS reader page/panel etc..

2008-03-08 Thread Ryan Sonnek
contributions are welcome! feel free to email me anything you come up with. A "RSSListView" or something along that line seems to be what most people are looking for. On Sat, Mar 8, 2008 at 6:27 AM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > Forget the previous post >

Re: CompoundModel based on proxies

2008-03-08 Thread Johan Compagner
no i really dont like that then everywhere there code they need to do that, that is not an option. and they have to program themselfs agains the proxy api. I dont want that developers also have the learn/do that This is something commons-proxy needs to do On Sat, Mar 8, 2008 at 3:29 PM, James Carm

Re: CompoundModel based on proxies

2008-03-08 Thread James Carman
Couldn't you also do: ProxyFactory pf = ...; new SharedPropertyModel(pf, customer); So, the client tells you what proxy factory implementation to use. On 3/8/08, James Carman <[EMAIL PROTECTED]> wrote: > I see the JIRA, I'll go ahead and start the discussion on the dev list. > > > On 3/8/08, Ja

Re: Any "Wicket way" to submit 2 forms with 1 submit button?

2008-03-08 Thread Matej Knopp
You can use Wicket nested forms support for this. Just put both forms to one common form. That way the text in both forms will be preserved (though only the submitted one will actually be processed). -Matej On Sat, Mar 8, 2008 at 10:55 AM, lars vonk <[EMAIL PROTECTED]> wrote: > Is there a reason

Re: CompoundModel based on proxies

2008-03-08 Thread James Carman
I see the JIRA, I'll go ahead and start the discussion on the dev list. On 3/8/08, James Carman <[EMAIL PROTECTED]> wrote: > On 3/8/08, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > for wicket this is a feature it really should have > > now it defeats the purpose i have to make a decission in

RE: Javascript not evaluating with AbstractAutoCompleteBehavior

2008-03-08 Thread i ii
that does suck! why would wicket use a different "pipeline"??? that is misleading!!! > Date: Sat, 8 Mar 2008 00:21:26 -0800 > From: [EMAIL PROTECTED] > To: users@wicket.apache.org > Subject: Re: Javascript not evaluating with AbstractAutoCompleteBehavior > > Oh, that sucks. That's VERY mislead

Re: CompoundModel based on proxies

2008-03-08 Thread James Carman
On 3/8/08, Johan Compagner <[EMAIL PROTECTED]> wrote: > for wicket this is a feature it really should have > now it defeats the purpose i have to make a decission in wicket which > factory i use > Then i can just as well directly compile against cglib. > I cant make the api that way that the de

Re: Textfield length validator?

2008-03-08 Thread Martijn Dashorst
This restricts the input field to a max length, but doesn't check the input on the server side. To be sure the input is not longer than max length, you should also add the length validator. You could check that in the database layer, but somehow I find validation feedback messages easier to interpr

Re: Wicketstuff Rome / RSS reader page/panel etc..

2008-03-08 Thread Nino Saturnino Martinez Vazquez Wael
Forget the previous post Nino Saturnino Martinez Vazquez Wael wrote: Yes it was a reader/consumer I was looking for.. I'll just roll my own then.. regards Nino Ryan Sonnek wrote: Are you looking for how to *publish* RSS feeds, or consume them? the wicketstuff-rome project helps with pu

Re: CompoundModel based on proxies

2008-03-08 Thread Johan Compagner
for wicket this is a feature it really should have now it defeats the purpose i have to make a decission in wicket which factory i use Then i can just as well directly compile against cglib. I cant make the api that way that the developer has to give that factory to use. That would be completely ho

Re: CompoundModel based on proxies

2008-03-08 Thread James Carman
On 3/8/08, James Carman <[EMAIL PROTECTED]> wrote: > On 3/8/08, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Well, it'll be built into v1.1 if you need it. :) I took care of that > > > yesterday. It wasn't as easy as it might seem to make sure your > > > proxies a

Re: CompoundModel based on proxies

2008-03-08 Thread James Carman
On 3/8/08, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > > > > > > Well, it'll be built into v1.1 if you need it. :) I took care of that > > yesterday. It wasn't as easy as it might seem to make sure your > > proxies are serializable. CGLIB didn't want to play nice. They don't > > make

Re: Wicketstuff Rome / RSS reader page/panel etc..

2008-03-08 Thread Nino Saturnino Martinez Vazquez Wael
Yes it was a reader/consumer I was looking for.. I'll just roll my own then.. regards Nino Ryan Sonnek wrote: Are you looking for how to *publish* RSS feeds, or consume them? the wicketstuff-rome project helps with publishing RSS feeds from within your application. If you're looking to cons

Re: CompoundModel based on proxies

2008-03-08 Thread Johan Compagner
> > > > Well, it'll be built into v1.1 if you need it. :) I took care of that > yesterday. It wasn't as easy as it might seem to make sure your > proxies are serializable. CGLIB didn't want to play nice. They don't > make their NoOp classes serializable for some reason. I had a little > easier

Re: Wicket 1.3 relative path problem

2008-03-08 Thread Johan Compagner
But maybe we should build in a hook (wicket filter or application) where people get the current browser url, the url part that should be made relative (or absolute) and thn let them decided what to return there Default impl is what we do now johan On Fri, Mar 7, 2008 at 10:54 PM, Igor Vaynber

Re: Any "Wicket way" to submit 2 forms with 1 submit button?

2008-03-08 Thread lars vonk
Is there a reason why you do not merge the two forms in one form? Lars On Sat, Mar 8, 2008 at 8:22 AM, Justin Morgan - Logic Sector <[EMAIL PROTECTED]> wrote: > Here's a problem that other people may have encountered. Hopefully > there's a Wicket way to solve it. > > The scenario... > I have

Re: How can I update the repeatingview periodically

2008-03-08 Thread Erik van Oosten
The problem is in the models of the labels. These are statically assigned once. fix: protected void populateItem(Item item) { item.setModel(new CompoundPropertyModel(item.getModel())); ThreadInfo threadInfo=(ThreadInfo)item.getModelObject();

Re: wicket-stuff commit rights

2008-03-08 Thread Martin Funk
thnx 2008/3/8, Janne Hietamäki <[EMAIL PROTECTED]>: > > Done. > > Janne > > On Sat, Mar 8, 2008 at 10:09 AM, Martin Funk <[EMAIL PROTECTED]> > wrote: > > > > Hi to the wicket-stuff admins bunch, > > > > on behalf of Dan Walmsley, I'd like to ask for commit rights for him on > > wicket-stuff. > > H

Re: Javascript not evaluating with AbstractAutoCompleteBehavior

2008-03-08 Thread Andrew Berman
Oh, that sucks. That's VERY misleading because I can override respond and I have the AjaxRequestTarget or call AjaxRequestTarget.get() and get a valid object. Doesn't really make much sense that a different pipeline would be used. I guess I'll have to come up with a better solution using WicketA

How can I update the repeatingview periodically

2008-03-08 Thread maggie
Hi, all, I develope a repeatingview to show some information like the clock example, updating the clock with AjaxSelfUpdatingTimerBehavior. I want to update these information periodiacally. But it takes no effect. Would anyone give me some hints? *

Re: wicket-stuff commit rights

2008-03-08 Thread Janne Hietamäki
Done. Janne On Sat, Mar 8, 2008 at 10:09 AM, Martin Funk <[EMAIL PROTECTED]> wrote: > Hi to the wicket-stuff admins bunch, > > on behalf of Dan Walmsley, I'd like to ask for commit rights for him on > wicket-stuff. > He is especially interested in committing to the gmap2 project and I'd be > ver

wicket-stuff commit rights

2008-03-08 Thread Martin Funk
Hi to the wicket-stuff admins bunch, on behalf of Dan Walmsley, I'd like to ask for commit rights for him on wicket-stuff. He is especially interested in committing to the gmap2 project and I'd be very happy to welcome him to the developers group. His sourceforge account is: goldsounds (Let's) H