Re: [Wicket-user] Issue about working with designer

2006-12-07 Thread Carfield Yim
In fact I've using this, but look like if I use Border for this case, then I need to wrap that border wherever I going to add a panel. Is that what you mean? Of course I can do that, may be better than extending Panel, but I wish there is something more elegant On 12/7/06, Erik van Oosten [EMAIL

Re: [Wicket-user] ListChoice changes appearance from dropdown to listbox

2006-12-07 Thread TH Lim
For 1st example, the size attribute is size=8 . Johan Compagner wrote: hmm we don't seem to set the default max rows in every constructor strange thing is that in the first example you give we also don't do it. So max rows is still 0 Can you check what is exactly generated (what the

Re: [Wicket-user] ListChoice changes appearance from dropdown to listbox

2006-12-07 Thread Johan Compagner
thats the default yes. Strange that it is set somehow i don't see that in that constructor /** * @see wicket.markup.html.form.AbstractChoice#AbstractChoice(String, IModel,IModel) */ public ListChoice(String id, IModel model, IModel choices) { super(id, model, choices); }

Re: [Wicket-user] ListChoice changes appearance from dropdown to listbox

2006-12-07 Thread Johan Compagner
ahh found the constructor that did set the max rows. I will sync it completely. johan On 12/7/06, Johan Compagner [EMAIL PROTECTED] wrote: thats the default yes. Strange that it is set somehow i don't see that in that constructor /** * @see

Re: [Wicket-user] SortableDataProvider, size() iterator(int first, int count), Correct execution order?

2006-12-07 Thread Manuel Barzi
Well, I just do two queries the first time... retrieving total count on size() call (just once), and then retrieve iteration on iterator(...) call (every navigation event)... so, in steady-state is only one call... On 12/5/06, Igor Vaynberg [EMAIL PROTECTED] wrote: well in the example i gave you

[Wicket-user] Help:Dynamic Form Elements

2006-12-07 Thread Ayodeji Aladejebi
In an application where one needs to make users create dynamic elements. For example, in our back end model we have a ListSchools and then a user may have 2 schools, another user may have 5 schools and another may have 1 school We intend to create a control such that when you click it, it will

Re: [Wicket-user] Application must implement Serializable?

2006-12-07 Thread ChuckDeal
I still have to test it some more. But as I was playing with it, when the Application object was NOT serialized, it would fail the first time I hit one of my data pages; but if I hit the same page again, it worked fine. I also had a problem when using the ModalWindow to load a Page where it was

[Wicket-user] wicket ajax problem: cannot find resources (wicket-ajax.js ect.)

2006-12-07 Thread [EMAIL PROTECTED]
Hello, The past few days I've been working with wicket, trying to get to know it more. But, i've stumbled upon a problem when I tried to use an AjaxLink. The page containing the AjaxLink renders, but the javascript files (wicket-ajax.js ect.) cannot be found. Coping the URL to wicket- ajax.js

Re: [Wicket-user] SortableDataProvider, size() iterator(int first, int count), Correct execution order?

2006-12-07 Thread Igor Vaynberg
i guess if you are certain the size never changes this works ok -igor On 12/7/06, Manuel Barzi [EMAIL PROTECTED] wrote: Well, I just do two queries the first time... retrieving total count on size() call (just once), and then retrieve iteration on iterator(...) call (every navigation

Re: [Wicket-user] Application must implement Serializable?

2006-12-07 Thread Igor Vaynberg
afaik the patch was reversed. string response should never be serialized, if it is you have a bug somewhere in your code. -igor On 12/7/06, ChuckDeal [EMAIL PROTECTED] wrote: I looked at the other post that references StringResponse and serializable and it was specifically for 2.0. But it

Re: [Wicket-user] Help:Dynamic Form Elements

2006-12-07 Thread Igor Vaynberg
you have a markup container called parent in that container you have a repeater such as listview/repeatingview/etc when your page loads the repeater is empty so nothing is shown once the ajax link is clicked you add the components to the repeater and then repaint the parent markup container via

Re: [Wicket-user] FormElement cookies not set when called using AJAX

2006-12-07 Thread Igor Vaynberg
this might be a bug, file an issue and someone will have a looksee -igor On 12/7/06, Erik van Oosten [EMAIL PROTECTED] wrote: Hello, I have a DropDownChoice with wantOnSelectionChangedNotifications returning true and persistent set to true. Unfortunately the cookie is not set when the

Re: [Wicket-user] Application must implement Serializable?

2006-12-07 Thread ChuckDeal
I am not directly doing anything with StringResponse, it is just the class that was reported. But even before that, I am still having trouble with the framework attempting to put the Application object into the session. I do use DataBinder (1.1-SNAPSHOT) and extend both AuthDataApplication as

Re: [Wicket-user] Application must implement Serializable?

2006-12-07 Thread Igor Vaynberg
make sure your session class is not an inner non-static class of the applicaiton because then they are tied. you might also want to try the databinder mailing list -igor On 12/7/06, ChuckDeal [EMAIL PROTECTED] wrote: I am not directly doing anything with StringResponse, it is just the class

Re: [Wicket-user] DataView and Ajax

2006-12-07 Thread carbonbasednerd
I put the data view into a markupcontainerso the html looks like this: table wicket:id=container tbody tr wicket:id=campaignDV tdinput wicket:id=name/td /tr /tbody tfoot

Re: [Wicket-user] DataView and Ajax

2006-12-07 Thread Igor Vaynberg
yes, ie doesnt let you use outerhtml on table elements, simply replace the table wicket:id=container with div wicket:id=containertable... -igor On 12/7/06, carbonbasednerd [EMAIL PROTECTED] wrote: I put the data view into a markupcontainerso the html looks like this: table

Re: [Wicket-user] DataView and Ajax

2006-12-07 Thread carbonbasednerd
tried that and I still get the same error message. igor.vaynberg wrote: yes, ie doesnt let you use outerhtml on table elements, simply replace the table wicket:id=container with div wicket:id=containertable... -igor On 12/7/06, carbonbasednerd [EMAIL PROTECTED] wrote: I put the

Re: [Wicket-user] DataView and Ajax

2006-12-07 Thread Igor Vaynberg
well in that case just do new AjaxPagingNavigator() { onajaxevent(target) { target.add(dataviewparent); }} -igor On 12/7/06, carbonbasednerd [EMAIL PROTECTED] wrote: tried that and I still get the same error message. igor.vaynberg wrote: yes, ie doesnt let you use outerhtml on table

Re: [Wicket-user] DataView and Ajax

2006-12-07 Thread Martijn Dashorst
I think ie does permit replacing a table element, but not tr td th tbody tfoot thead col colgroup So you have to add the markup container (don't forget to setOutputMarkupId(true) on it) to the ajax request target instead of the dataview. Martijn On 12/7/06, Igor Vaynberg [EMAIL PROTECTED]

Re: [Wicket-user] DataView and Ajax

2006-12-07 Thread Igor Vaynberg
well the thing is that the paging navigator tries to do this automagically in onajaxevent() maybe that should just be made abstract -igor On 12/7/06, Martijn Dashorst [EMAIL PROTECTED] wrote: I think ie does permit replacing a table element, but not tr td th tbody tfoot thead col colgroup

Re: [Wicket-user] Drag and drop

2006-12-07 Thread Martijn Dashorst
I think Dojo has that available. see wicket-contrib-dojo on wicket-stuff. Martijn On 12/8/06, Francis Amanfo [EMAIL PROTECTED] wrote: Hi Guys, Anyone has a drag and drop wicket component to share? I need that stuff but want to first ask if anyone has that before I start getting my hands

Re: [Wicket-user] FormElement cookies not set when called using AJAX

2006-12-07 Thread Erik van Oosten
Ok, thanks Igor. Done that. Erik. Igor Vaynberg wrote: this might be a bug, file an issue and someone will have a looksee -igor -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn