[Wicket-user] CheckBox with AjaxEvent vs AjaxCheckBox

2007-06-06 Thread Gustavo Yoshizaki

Hi, I had a strange problem with the CheckBox and ajax in the Internet
Explorer. First I created a CheckBox and then added an AjaxEventBehavior to
do some stuff. In Firefox it works fine, but in the explorer, the ajax is
only triggered after doing something else in the form. I mea, i clicked in
the CheckBox and nothing happened. But if I clicked in a DropDownChoice I
had below, everything was fine.
I changed the CheckBox for an AjaxCheckBox and now it works perfect in both
browsers. Any idea what I was doing bad?
Thanks

Gustavo
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] CheckBox with AjaxEvent vs AjaxCheckBox

2007-06-06 Thread Gustavo Yoshizaki

Yeap, you are right, I used the event onchange. Thanks

Gustavo

On 6/6/07, Matej Knopp [EMAIL PROTECTED] wrote:


I'd guess that you've used the onchange event, whereas you should have
used the onclick (as AjaxCheckBox does). Or am I wrong? :)

-Matej

On 6/6/07, Gustavo Yoshizaki [EMAIL PROTECTED] wrote:
 Hi, I had a strange problem with the CheckBox and ajax in the Internet
 Explorer. First I created a CheckBox and then added an AjaxEventBehavior
to
 do some stuff. In Firefox it works fine, but in the explorer, the ajax
is
 only triggered after doing something else in the form. I mea, i clicked
in
 the CheckBox and nothing happened. But if I clicked in a DropDownChoice
I
 had below, everything was fine.
 I changed the CheckBox for an AjaxCheckBox and now it works perfect in
both
 browsers. Any idea what I was doing bad?
 Thanks

 Gustavo


-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AjaxFallbackDefaultDataTable ajax event onclick on a row

2007-01-15 Thread Gustavo Yoshizaki

Great. it worked fine. thanks

On 1/12/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


try overriding newrowitem() on the datatable and adding an ajax onclick
behavior to the item returned by calling super

-igor


On 1/12/07, Gustavo Yoshizaki [EMAIL PROTECTED] wrote:

 Hi, I using an AjaxFallbackDefaultDataTable to show some data. I also
 need to captura the event onclick on a row and lunch an ajax code. The
 html code is the following:

 div
 span wicket:id=tableTitle[title]/span
 table class=dataview cellspacing=0
 wicket:id=table[table]/table
 /div

 So i don't know how to add a  wicket.id  to the row.

 The ajax code has to make the same thing as in the wicket examples where
 there is a column with a select link.

 Gustavo


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash

 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Dynamic Form fields

2007-01-15 Thread Gustavo Yoshizaki

Hi, I'm trying to make a dynamic form. The basic idea is to be able to add
fields like when you upload files in a mail. The amount of files is N and
not know in prior. Cause wicket needs to have in the HTML side an id for the
field, the number of fields would be limited. Is there a way to make this
totally dynamic? I mean, to have a button or a link and when it is pressed a
new field appears in the form with no need to make a round trip to the
server?

Thanks
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] AjaxFallbackDefaultDataTable ajax event onclick on a row

2007-01-12 Thread Gustavo Yoshizaki

Hi, I using an AjaxFallbackDefaultDataTable to show some data. I also need
to captura the event onclick on a row and lunch an ajax code. The html
code is the following:

div
   span wicket:id=tableTitle[title]/span
   table class=dataview cellspacing=0
wicket:id=table[table]/table
/div

So i don't know how to add a wicket.id to the row.

The ajax code has to make the same thing as in the wicket examples where
there is a column with a select link.

Gustavo
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user