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:
http://www.nabble.com/te
item implements ilinklistener {
>
> protected oncomponenttag(tag) {
>super
>
> tag.put("onclick","window.location='"+urlfor(ilinklistenerinterface.interface)+"';");
> }
>
> }
>
> thats about all it takes
>
> -igor
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 y
t; DataTable is for a very specific purpose, and it is often easier to roll
> your own than make DT fit your purpose.
>
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>
>
> On Tue, Oct 28, 2008 at 2:05 PM, dlipski <[EMAIL PROTECTED]>
> wrote:
using CSS, something like:
>
> 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
>
ld be if table could 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:
>>
s so I think its bug either in
OnChangeAjaxBehavior 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
gt;>
>> where xyz is code generated by Wicket (like in Link component class)
>>
>> If I misundestood you could you give me some more details hot to make
>> cell
>> itself a link ? (not adding a link to the cell) ?
>>
>> Regards
>> Daniel
>>
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]&
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 wor
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 not only to tags but
also to any other html elements (like and ) but I dont know how to
use it with DataTable API.
Regards Daniel
--
View this message in context:
h
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
AutoComplete
like this into it it will get bloated. 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 meth
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
&g
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:
Map myMap = new HashMap();
then I create property model for my page(this == page containing myMap
elates that token, an expiration, and the user it works
> for. This could easily be adapted for that.
>
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>
>
> On Tue, Sep 9, 2008 at 2:43 PM, dlipski <[EMAIL PROTECTED]>
> wrote:
>
>>
>
nForm" method="post">
>
>
> Then you need to just to POST the username and password parameters to the
> above URL , and it'll log you in.
>
> I not sure how you set to us GET in wicket which would be more easy for
> you.
> But I''m sur
for
> login 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
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 authenticat
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 authenticat
20 matches
Mail list logo