newbie problem witch wicket...

2008-09-08 Thread dlipski
Hi Im developing with Wicket for short time so forgive me if I misanderstood some Wicket concepts. Recently I was asked for develop SSO-like feature for Wicket powered web application. Application uses wicket-auth-roles + Acegi for securing wicket pages. What I have to do is to let

newbie problem with wicket...

2008-09-08 Thread dlipski
Hi Im developing with Wicket for short time so forgive me if I misanderstood some Wicket concepts. Recently I was asked for develop SSO-like feature for Wicket powered web application. Application uses wicket-auth-roles + Acegi for securing wicket pages. What I have to do is to let

Re: newbie problem with wicket...

2008-09-09 Thread dlipski
and login if there is that data in the request? On 9/8/08, dlipski [EMAIL PROTECTED] wrote: Hi Im developing with Wicket for short time so forgive me if I misanderstood some Wicket concepts. Recently I was asked for develop SSO-like feature for Wicket powered web application. Application

Re: newbie problem witch wicket...

2008-09-09 Thread dlipski
log you in. I not sure how you set to us GET in wicket which would be more easy for you. But I''m sure someone get tell you how to set that up for a form. cheers Wayne On Mon, Sep 8, 2008 at 9:59 PM, dlipski [EMAIL PROTECTED] wrote: Hi Im developing with Wicket for short time so

Re: newbie problem witch wicket...

2008-09-10 Thread dlipski
http://www.wickettraining.com On Tue, Sep 9, 2008 at 2:43 PM, dlipski [EMAIL PROTECTED] wrote: Hi It's some idea but I think that its a little bit of hacking (sending GET request to formSubmitListener). I found other (are they better ?) solutions: 1)Use usual WebPage

PropertyModel type of key map

2008-09-30 Thread dlipski
Hi Im trying to 'force' PropertyModel to put into map key different then String but after few trials I have no idea how to do this. Example: I have field myMap in my page initialized as follows: MapLong, Boolean myMap = new HashMapLong, Boolean(); then I create property model for my

Re: PropertyModel type of key map

2008-09-30 Thread dlipski
igor.vaynberg wrote: dont use a property model, roll your own -igor On Tue, Sep 30, 2008 at 8:31 AM, dlipski [EMAIL PROTECTED] wrote: Hi Im trying to 'force' PropertyModel to put into map key different then String but after few trials I have no idea how to do this. Example: I have field

Re: PropertyModel type of key map

2008-10-01 Thread dlipski
. it is pretty easy to roll your own implementing imodel directly. -igor On Tue, Sep 30, 2008 at 10:53 AM, dlipski [EMAIL PROTECTED] wrote: If there is no option to force (why? I can imagine setMapKeyClass method in PropertyModel...) PropertyModel to do this and I have to use different

few (not only) AutoCompleteTextField questions

2008-10-23 Thread dlipski
Hi, First, problem description: Recently I was asked to change DropDownChoice field into AutoCompleteTextField. Everything was ok untill I noticed that old DropDownChoice field has attached OnChangeAjaxBehavior. Ofcourse what works well with DropDownChoice doesnt work as I want with

Re: few (not only) AutoCompleteTextField questions

2008-10-28 Thread dlipski
dlipski wrote: Hi, First, problem description: Recently I was asked to change DropDownChoice field into AutoCompleteTextField. Everything was ok untill I noticed that old DropDownChoice field has attached OnChangeAjaxBehavior. Ofcourse what works well with DropDownChoice doesnt work

Re: DataTable cell link

2008-10-28 Thread dlipski
wrote: Here's an example where I put a remove link in a DefaultDataTable cell: https://wicketopia.svn.sourceforge.net/svnroot/wicketopia/trunk/example/src/main/java/org/wicketopia/example/web/page/HomePage.java On Tue, Oct 28, 2008 at 6:33 AM, dlipski [EMAIL PROTECTED] wrote: Hi I have

Re: DataTable cell link

2008-10-28 Thread dlipski
/svnroot/wicketopia/trunk/example/src/main/java/org/wicketopia/example/web/page/HomePage.java On Tue, Oct 28, 2008 at 6:33 AM, dlipski [EMAIL PROTECTED] wrote: Hi I have one short question: How to make entire cell in a DataTable a link ? I've read that Link component can be attached

Re: few (not only) AutoCompleteTextField questions

2008-10-28 Thread dlipski
class or AutocompleteTextField class. Correct me if I'm wrong. Regards Daniel igor.vaynberg wrote: probably because textfields do not receive onchange event, or something else was hijacking it. -igor On Tue, Oct 28, 2008 at 6:17 AM, dlipski [EMAIL PROTECTED] wrote: dlipski wrote

Re: DataTable cell link

2008-10-28 Thread dlipski
have any component as row or cell element not only Item object. But I know that this is a big change in DataTable class (or one of its child component class) . jwcarman wrote: On Tue, Oct 28, 2008 at 3:05 PM, dlipski [EMAIL PROTECTED] wrote: All this solutions are correct but the problem

Re: DataTable cell link

2008-10-29 Thread dlipski
: TD A { display: block; } This is much better because the anchor will fill the box (fixing your problem), and you are more compatible (if JS is off, etc). -- Jeremy Thomerson http://www.wickettraining.com On Tue, Oct 28, 2008 at 2:42 PM, dlipski [EMAIL PROTECTED] wrote

Re: DataTable cell link

2008-10-29 Thread dlipski
. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Oct 28, 2008 at 2:05 PM, dlipski [EMAIL PROTECTED] wrote: All this solutions are correct but the problem is not in attaching some custom Javascript to td element (which can be done in multiple ways) but in making td element

Re: DataTable cell link

2008-10-29 Thread dlipski
My colegue point out that for Ajax requests AjaxEventBehavior can be used, and it works fine. so now I need only solution for normal (non Ajax) requests. dlipski wrote: Because I havent found better solution then adding 'onclick' handler to cellItem I have to do it your way. I looked

Re: DataTable cell link

2008-10-29 Thread dlipski
ilinklistener { protected oncomponenttag(tag) { super tag.put(onclick,window.location='+urlfor(ilinklistenerinterface.interface)+';); } } thats about all it takes -igor On Wed, Oct 29, 2008 at 4:20 AM, dlipski [EMAIL PROTECTED] wrote: My colegue point out that for Ajax

testing borders with WicketTester

2008-10-31 Thread dlipski
Hi Is it possible (if not why?) to test Border components in a way similar to testing Panels ? -WicketTester.startPanel(TestPanelSource) ? Its strange but I cant find corresponding method for Borders. Thanks in advance. Daniel Lipski -- View this message in context: