Re: [Wicket-user] Implementing a PopupPanel

2007-05-30 Thread Ravindra Wankar
w Label("foo", new AbstractReadOnlyModel() { public Object getObject(Component component) { return getTitle(); } } } } The model's getObject is only called some time after the object has been constructed. jk On Tue, May 29, 2007 at 07:36:59AM

[Wicket-user] Implementing a PopupPanel

2007-05-29 Thread Ravindra Wankar
This looks more like a design question but I think there must be a better, Wicket way. I wrote a PopupPanel that allows you to have a "div" popup in a page by clicking a link. The contents of the div can be static/loaded via Ajax. The popup part with Ajax is working. The link that activates th

Re: [Wicket-user] Creating link with a label

2007-05-25 Thread Ravindra Wankar
Johan, Martijn, Thanks for the explanation and the solutions. I understand the issues now. Unfortunately for a new comers such as me, the problems are not obvious and we're trying to map all what we've done with the traditional frameworks to Wicket and hence we land up in trouble. e.g I'm us

[Wicket-user] Creating link with a label

2007-05-24 Thread Ravindra Wankar
In a table of contacts I want to make the "Name" a hyperlink to the page that displays details of that contact. So I created a link and wanted to set the label of the link to the name of the contact. I could not find a suitable method on the Link classes. All examples I saw create a panel insi

Re: [Wicket-user] Component for opening/closing an arbitrary div layer in Wicket.

2007-05-23 Thread Ravindra Wankar
;p_auth_login=mark&p_auth_password=celoxis1 On this page click the "Pick Columns" link in the top right corner of the "My Projects" table. Thanks Ravi Igor Vaynberg wrote: got a screenshot? dont really understand what you are describing. maybe something like our

Re: [Wicket-user] SVN access broken?

2007-05-23 Thread Ravindra Wankar
OK, I was able to get to it using http://svn.apache.org/repos/asf/incubator/wicket/trunk However, there is a failure while running tests for 1.3. From what I see seems like in org.apache.wicket.request.target.coding.UrlMountingTest. Am I the only one seeing this? Thanks Ravi. Ravindra

[Wicket-user] SVN access broken?

2007-05-22 Thread Ravindra Wankar
Both, web access and anonymous access do not work for me. Web access points to http://svn.apache.org/viewvc/incubator/wicket/branches/wicket and anonymous access to svn checkout https://svn.apache.org/repos/asf/incubator/wicket/branches/wicket wicket Thanks Ravi. --

Re: [Wicket-user] Component for opening/closing an arbitrary div layer in Wicket.

2007-05-22 Thread Ravindra Wankar
ects" table. Thanks Ravi Igor Vaynberg wrote: got a screenshot? dont really understand what you are describing. maybe something like our palette component in extensions? -igor On 5/21/07, Ravindra Wankar < [EMAIL PROTECTED] > wrote: In order to allow users to pick c

Re: [Wicket-user] Component for opening/closing an arbitrary div layer in Wicket.

2007-05-21 Thread Ravindra Wankar
f links fetched using Ajax. Thanks Ravi. Igor Vaynberg wrote: yep, thats easy. create a div with an absolute position and put a palette [1] component into it [1] http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.compref.PalettePage -igor

Re: [Wicket-user] Component for opening/closing an arbitrary div layer in Wicket.

2007-05-21 Thread Ravindra Wankar
e: got a screenshot? dont really understand what you are describing. maybe something like our palette component in extensions? -igor On 5/21/07, Ravindra Wankar <[EMAIL PROTECTED]> wrote: In order to allow users to pick columns they wish to see in a table, we open/close a

[Wicket-user] Component for opening/closing an arbitrary div layer in Wicket.

2007-05-21 Thread Ravindra Wankar
In order to allow users to pick columns they wish to see in a table, we open/close a div layer that has 2 selectors to move columns to/from "Available" to "Selected" and a submit/cancel button. We also position this div layer close to the "Pick Columns" link. Is there a component in Wicket I c

[Wicket-user] Multiple item actions in table.

2007-05-21 Thread Ravindra Wankar
When we show a list of items in a table, the first column is a checkbox which allows you to check more than 1 item and then select an action to be performed on them. There is also a check all/uncheck all. How would I do this in Wicket? Thanks Ravi -

[Wicket-user] Saving user preferences transparently across login sessions

2007-05-21 Thread Ravindra Wankar
Hello, In our current application, we remember a lot of form parameters, sorting preferences across user sessions by saving them in the database. The implementation is simple and *transparent*; we name these fields (text boxes, select lists, etc.) starting with "saved." and for every request,

Re: [Wicket-user] Common table layout for all tables

2007-05-21 Thread Ravindra Wankar
oesnt bother you you have a few options border that you put a datatable in, or a panel that adds datatable as a child if you dont like what is inside datatable.html then you simply replace it with whatever you want in your subclass.html. -igor On 5/20/07, Ravindra Wankar &l

Re: [Wicket-user] Common table layout for all tables

2007-05-20 Thread Ravindra Wankar
either have to make that title a border that surrounds the datatable, or you have to copy and paste html from defaultdatatable into yours. -igor On 5/20/07, Ravindra Wankar <[EMAIL PROTECTED]> wrote: I decided to write a simple example demonstrating that I can add a Title

Re: [Wicket-user] Common table layout for all tables

2007-05-20 Thread Ravindra Wankar
ly this is adding panels into a repeater which gives you the ability to add 0-n panels. alternatively you can add a panel but hide it by calling setvisible(false); or overriding isvisible() -igor On 5/18/07, Ravindra Wankar < [EMAIL PROTECTED]> wrote: Thanks Igor. I'll

Re: [Wicket-user] Common table layout for all tables

2007-05-18 Thread Ravindra Wankar
7;m trying to understand how to "think" in Wicket. -- R Igor Vaynberg wrote: see datatable, and its defaultdatatable subclass for inspiration. -igor On 5/18/07, Ravindra Wankar < [EMAIL PROTECTED]> wrote: Our html tables optionally have a title, a help link, a filte

[Wicket-user] Common table layout for all tables

2007-05-18 Thread Ravindra Wankar
Our html tables optionally have a title, a help link, a filter for the table, pick columns capability, multiple item action (each row has a checkbox and you can perform a bulk action on multiple rows) and a legend at the bottom of a table (that explains symbols/color codes in the table). With

[Wicket-user] Filter on non-displayed columns

2007-05-18 Thread Ravindra Wankar
I've seen a filter example where columns in a table were filterable. Can someone point me to an example or tell me how to have a filter (with columns not related to the table) and that uses a dataprovider at the backend? EXAMPLE: we have a filter that is a drop-down with options describing t

[Wicket-user] Continue action after sign in

2007-05-17 Thread Ravindra Wankar
When a user accesses a page and their session has expired, can we log them in and redirect them to the original page they accessed? If they were submitting a form, will the form be submitted? The concern is that if they had typed a bunch of text into a textarea, we would hate to see them have