Re: [Wicket-user] CheckGroupSelector with CheckBox
Hi, I have a similar situation where I have CheckGroupSelector to select / unselect all checkboxes in the list view. I have overrided CheckGroup.wantOnSelectionChangedNotifications() to return true. Therefore, checking and unchecking each checkboxes sends an AJAX respond back to the server. However, if I check on the CheckGroupSelector to check / uncheck all the checkboxes there is no AJAX respond sent and CheckGroup is not updated. How do I make the CheckGroupSelector to send an AJAX respond so that the selection in CheckGroup reflects the selection on the web front? Thanks. Johan Compagner wrote: can't you override: protected boolean wantOnSelectionChangedNotifications() { return false; } of CheckGroup? johan On 9/27/06, Decebal Suiu [EMAIL PROTECTED] wrote: Can I use CheckGroupSelector with CheckBox (instead Check) ? Because I want to be notified when a selection was changed (CheckBox.onSelectionChanged)? Thanks, Decebal __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - 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 -- View this message in context: http://www.nabble.com/CheckGroupSelector-with-CheckBox-tf2346680.html#a8107326 Sent from the Wicket - User mailing list archive at Nabble.com. - 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
Re: [Wicket-user] Logging issue at tomcat
If you are using log4j, try adding these to ur log4j.properties, log4j.info=false log4j.logger.wicket=INFO Carfield Yim-2 wrote: I already have wicket.util.resource= Info wicket.util.thread.Task = Info But I still getting a lot of log message related at tomcat stdout.log. For jetty and resin it will not do that . Anybody know how to make tomcat don't log those information? - 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 -- View this message in context: http://www.nabble.com/Logging-issue-at-tomcat-tf2884676.html#a8107498 Sent from the Wicket - User mailing list archive at Nabble.com. - 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
Re: [Wicket-user] DropDownChoice binding question
ok, I see where you're going with this. very cool. My enum is in a helper class and I started writing conversion methods in the helper class. But I like the way you wrapped your conversion methods in a class to use on the Page class. I also gave some thought last night to using a MapInteger, String with the same conversion technique. Then my dropdown uses Integers and I can do a map.get() in getDisplayValue() for the String. Thanks for your help, Igor. igor.vaynberg wrote: you are passing a list of enum objects into the list model of the dropdown choice, that means the one selected object out of that list - of type enum - will be set into the model object. so there are two ways to do this you can pass in a list of ints into the choice component, that way the selected int will be set into your model or you can write a model decorator that does the transform class SizeEnumToIntModel extends Model { private final IModel delegate; public SizeEnumToIntModel(IModel delegate) { this.delegate=delegate; } public Object getObject(Component c) {return Size.forValue( delegate.getObject(c); // convert int to enum } public void setObject(Component c, Object o) { delegate.setObject(((Size)o).getintvalue(); // convert enum to int } public void detach() { delegate.detach(); } } then new DropDownChoice(id, new SizeEnumToIntModel(new PropertyModel(form, size)) you lose the nice compound model syntax, but oh well you might also be able to use a convert to accomplish the same, but i havent looked into that -igor -- View this message in context: http://www.nabble.com/DropDownChoice-binding-question-tf2900580.html#a8108551 Sent from the Wicket - User mailing list archive at Nabble.com. - 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
Re: [Wicket-user] CheckGroupSelector with CheckBox
actually when you override wantonselectionchangednotification() it is not an ajax request, it is a regular request that repaints the page. checkgroupselector was made to select checkboxes on the clientside only exclusively, if you want to do it via a roundtrip it is actually simple add a checkbox with wantonselectionchangednotification() set to true, and in the handler add all the possible model objects into the collection that controls the checkgroup, so when the page repaints next all checkboxes will be selected for you -igor On 12/31/06, TH Lim [EMAIL PROTECTED] wrote: Hi, I have a similar situation where I have CheckGroupSelector to select / unselect all checkboxes in the list view. I have overrided CheckGroup.wantOnSelectionChangedNotifications() to return true. Therefore, checking and unchecking each checkboxes sends an AJAX respond back to the server. However, if I check on the CheckGroupSelector to check / uncheck all the checkboxes there is no AJAX respond sent and CheckGroup is not updated. How do I make the CheckGroupSelector to send an AJAX respond so that the selection in CheckGroup reflects the selection on the web front? Thanks. Johan Compagner wrote: can't you override: protected boolean wantOnSelectionChangedNotifications() { return false; } of CheckGroup? johan On 9/27/06, Decebal Suiu [EMAIL PROTECTED] wrote: Can I use CheckGroupSelector with CheckBox (instead Check) ? Because I want to be notified when a selection was changed (CheckBox.onSelectionChanged)? Thanks, Decebal __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - 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 -- View this message in context: http://www.nabble.com/CheckGroupSelector-with-CheckBox-tf2346680.html#a8107326 Sent from the Wicket - User mailing list archive at Nabble.com. - 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
Re: [Wicket-user] Update ListView via AJAX
Actually, this approach did not work for me -The container updated every 5 seconds, but the list of items generated from the database never changed. After some digging through the wicket sources, I solved this by overriding the onAttach() method of WebMarkupContainer to remove the list and regenerate it from the DB on each rendering: public class AjaxContainer extends WebMarkupContainer { protected void onAttach() { removeAll(); ListView comments = new ListView(comments, commentList) { protected void populateItem(final ListItem listItem) { ... Do you forsee any problems with this approach? Regards, August Igor Vaynberg wrote: before: add(new ListView(listview div wicket:id=listview/div after WebMarkupContainer container=new WebMarkupContainer(container); container.setOutputMarkupId (true); contianer.add(new ListView(listview ... div wicket:id=containerdiv wicket:id=listview/div/div -igor On 12/29/06, *August Detlefsen* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I've seen the Wiki entry that says: You can't, you need to put it into a WebMarkupContainer and repaint that container instead. http://www.wicket-wiki.org.uk/wiki/index.php/ListView But does anyone have some example code illustrating this? Thanks, August - 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 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user 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
Re: [Wicket-user] Update ListView via AJAX
the list did not refresh because you did not specify a model that can update itself across requests on the listview. the listview should use a detachable model, try a LoadableDetachableModel -igor On 12/31/06, August Detlefsen [EMAIL PROTECTED] wrote: Actually, this approach did not work for me -The container updated every 5 seconds, but the list of items generated from the database never changed. After some digging through the wicket sources, I solved this by overriding the onAttach() method of WebMarkupContainer to remove the list and regenerate it from the DB on each rendering: public class AjaxContainer extends WebMarkupContainer { protected void onAttach() { removeAll(); ListView comments = new ListView(comments, commentList) { protected void populateItem(final ListItem listItem) { ... Do you forsee any problems with this approach? Regards, August Igor Vaynberg wrote: before: add(new ListView(listview div wicket:id=listview/div after WebMarkupContainer container=new WebMarkupContainer(container); container.setOutputMarkupId (true); contianer.add(new ListView(listview ... div wicket:id=containerdiv wicket:id=listview/div/div -igor On 12/29/06, *August Detlefsen* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I've seen the Wiki entry that says: You can't, you need to put it into a WebMarkupContainer and repaint that container instead. http://www.wicket-wiki.org.uk/wiki/index.php/ListView But does anyone have some example code illustrating this? Thanks, August - 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 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user 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] 代办证件 刻章 先拿货后付款13467880758
本公司可代办全国各种学历.先拿货后付款。(不需押金)并可根据客户要求办理上网文凭.可代办各院校学历证书.研究生.硕士学位.学士学位.英语四六级.职称.成人教育.自学.车牌.身份证.驾驶证.从业资格证.房产证.土地使用证.户口本.结婚证.离婚证.医师资格证.执业医师.护照.刻章等.有意者请电:13467880758. QQ248392818 [EMAIL PROTECTED]- 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] brave cavity
Since the collapse of the Soviet Union and the end of the old world order of the Twentieth Century, this process has quickened considerably. 'There is the tendency to believe that the threat is receding and this war is coming to a close,' he said. Questioned on the source of the disinformation campaign, Government representatives have been curt and dismissive. But the ugly phenomenon of commercial propaganda between SBS programmes has already given newly contemptuous viewers a reason to turn off. Commentators keen to turn to more substantial have instead found themselves discussing Ministerial comment on the extent of the dangerous disinformation's spread. Stories from the network's flagship programme Dateline should not be missed but are available online. The war on terror may get us all killed, say our capable leaders, statesmen, and officials. But Downer has a partisan view of the ongoing conflict. Commentators keen to turn to more substantial have instead found themselves discussing Ministerial comment on the extent of the dangerous disinformation's spread. Annans' proclamation, made from the Secretary-General's seat of power in the United Nations building in New York, was screened live around millions of worlds. But the attempts of the anti-nuclear lobby to spin a nightmarish tale from the incident have proved fruitless, with the nuclear accident in actuality nothing more than a red herring. Israel's abundantly aggressive reaction to the slightest sign of military competence from its adversaries has itself been an obstacle to peace. But it is certainly less dangerous than NOT arming ourselves to the eye teeth and climbing out of helicopters half a world a way, guns blazing, in order to take down a few of the locals. strategic.gif Description: GIF image - 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