Re: [Wicket-user] Terracotta open source and tested with wicket-examples

2006-12-05 Thread Eelco Hillenius
Why would you put a reference to the application in your session anyway? You can get the current app like Application.get(). Otherwise, you can make the field transient, though when it gets deserialized, you'd have to set the field yourself somehow. Eelco On 12/4/06, Ingram Chen [EMAIL

Re: [Wicket-user] Terracotta open source and tested with wicket-examples

2006-12-05 Thread Ingram Chen
hhmm as Wicket always check serializable, I think my app's session does not refererence to non-serializable WebApplication. but the stack trace shows: com.tc.object.ClientObjectManagerImpl.lookupOrCreate(ClientObjectManagerImpl.java:306)

Re: [Wicket-user] Terracotta open source and tested with wicket-examples

2006-12-05 Thread Johan Compagner
is the option that transient fields must be left alone (not serialized) on by default? johan On 12/5/06, Ingram Chen [EMAIL PROTECTED] wrote: hhmm as Wicket always check serializable, I think my app's session does not refererence to non-serializable WebApplication. but the stack trace

[Wicket-user] Lazy mans fix for a cancel button

2006-12-05 Thread Nino Wael
Hey Sometime ago we discussed that I needed a cancel button. The need was there because of a certain page had long loading times, not because of wicket though. We talked about a worker thread so I could start the report generation and then the wicket page could come and ask the worker thread

Re: [Wicket-user] Can I prevent wicket specific URL parameters

2006-12-05 Thread Carfield Yim
Have tried but look like it work at some servers but at some server it just forward back to homepage for all links. How can I have more verbose logging information so that I can know what going wrong? On 12/1/06, Dirk Markert [EMAIL PROTECTED] wrote:

[Wicket-user] Wicket Stuff SVN repository change

2006-12-05 Thread Martijn Dashorst
Sourceforge has changed the connection policy. If you work on a Wicket Stuff project, please follow these instructions: = taken from [1] = Users new to the SourceForge.net Subversion Service should skip this section, it only covers changes that affect users who have been using

Re: [Wicket-user] Terracotta open source and tested with wicket-examples

2006-12-05 Thread Johan Compagner
But this just seems a bug. Can you add an issue to jira for this? johan On 12/5/06, Ingram Chen [EMAIL PROTECTED] wrote: Thanks for the tips, I turn on Honor transient and finally my webapp startup successfully. after playing some pages and I switch from one server to another server. I

[Wicket-user] updating page contents before and after long process

2006-12-05 Thread Jaime De La Jara
Hi, I'm looking for advice in the following situation : I have a page that lets the users to load the DB information from an external DB, this takes some time so I was thinking to display a progress bar while the process completes, this progress bar is initially invisible. The problem is : How

Re: [Wicket-user] Sortable Headers - Default sort

2006-12-05 Thread Igor Vaynberg
SortableListViewHeaderGroup has a protected setSortedColumn so if you subclass it and create a public method that calls this one you should be good to go something to keep in mind is that that particular example was created before the repeaters package, so i think it is pretty much deprecated.

Re: [Wicket-user] updating page contents before and after long process

2006-12-05 Thread Igor Vaynberg
if you dont mind using ajax then search for ajax poller, that might be useful to you. initially make the components that take a long time to load their model invisible, then in ajax poller once they are loaded make them visible and add them to the ajax target so they will be painted. -igor On

[Wicket-user] Show a disabled ImageButton

2006-12-05 Thread NickCanada
I have an ImageButton used to submit a form. I extended the RenderedDynamicImageResource class so that I have a transparent background but now I want to show the button in a disabled state. It seems when the FormComponent class launches onDisabled(ComponentTag tag) my ImageButton is not drawn at

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

2006-12-05 Thread Manuel Barzi
My question is, nevertheless, would it be a significant implementation change to swap calls order from to current to iterator(...) first and size() later? then adding support for both cases in a SortableDataProvider (Case 1: Big databases - 2 Calls, Case 2: Small databases - 1 Call)... From my

Re: [Wicket-user] updating page contents before and after long process

2006-12-05 Thread Jaime De La Jara
Thanks, though I'm not sure if this is what I need, maybe I didn't explained my problem clearly. First, some code may help : The html : .. .. span wicket:id = progressBar span wicket:id=msg/span script type=text/javascript var bar1=

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

2006-12-05 Thread Igor Vaynberg
no its not possible there is logic that ties the return call of size() to a few things that need to happen before the call to iterator() all it takes is your own subclass that i have shown you, i dont think its a big deal. -igor On 12/5/06, Manuel Barzi [EMAIL PROTECTED] wrote: My

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

2006-12-05 Thread Manuel Barzi
Yes, I have already followed your sample, doing two queries to database... ;) On 12/5/06, Igor Vaynberg [EMAIL PROTECTED] wrote: no its not possible there is logic that ties the return call of size() to a few things that need to happen before the call to iterator() all it takes is your own

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

2006-12-05 Thread Igor Vaynberg
well in the example i gave you there should only be one query to the database -igor On 12/5/06, Manuel Barzi [EMAIL PROTECTED] wrote: Yes, I have already followed your sample, doing two queries to database... ;) On 12/5/06, Igor Vaynberg [EMAIL PROTECTED] wrote: no its not possible there

Re: [Wicket-user] updating page contents before and after long process

2006-12-05 Thread Eelco Hillenius
You could do the processing in a separate thread, and return the page immediately with the progress component that polls (e.g. using Ajax, though doesn't have to) for the progress. Or like Igor said, put your progress bar on the page to begin with, make your form submit an ajax submit, on the

[Wicket-user] Wicket Shared

2006-12-05 Thread Renan Camponez
I am trying to use the same page instance for different tabs in a Panel, so I can make an ajax request in one to update the fields of the other Is there any wicket-way to do this? Regards, Renan - Take Surveys. Earn

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

2006-12-05 Thread TH Lim
I came to the same conclusion as Nino. What I have observed was this, 1. For, ListChoice selection = new ListChoice(disciplineSelection, new Model(), disciplines) , a list box is created in the web page. 2. For, ListChoice selection = new ListChoice(disciplineSelection, disciplines) , a

Re: [Wicket-user] i18n of booleans and enums

2006-12-05 Thread Matej Knopp
Actually I would do this using a custom converter. Then you don't have to decorate it. You can have a public class BooleanLabel { ... IConverter getConverter() { return new IConverter() { ... } } } In your converter decide how to display the value. I

Re: [Wicket-user] i18n and SimpleFormComponentLabel

2006-12-05 Thread Erik van Oosten
Hi RĂ¼diger, Although at the end of your e-mail I thought yes, he's right! there is one thing you missed: the label does not have to have the same text as the name of the field. For example, in my current application I have the following components on a search form: Component: