[Wicket-user] No get method defined for expression recorder when using Palette and CompoundPropertyModel
Greetings, I have migrated by application to the wicket beta2 and I have experienced an apparent change in the functionality of CompoundPropertyModels. I have a simple page with constructor code similar to the following code: public TestPage() { setModel(new CompoundPropertyModel(author)); add(new Label(firstName)); add(new Label(lastName)); add(new Palette(lstAuthors, new Model(), new Model(new String[] {Michael, John, James, Suzy, Lucy}), new ChoiceRenderer(), 5, false)); } with the appropriate HTML page. However, when displaying this page, I get the No get method defined for class: class com.blahblah.Author expression: recorder Root cause: org.apache.wicket.WicketRuntimeException: No get method defined for class: class com.blahblah.Author expression: recorder It seems that the recorder pseudocomponent in the Palette component has no inherent model, therefore it inherits it from the parent compound model. This error does not seem to appear in the beta1. Was there some kind of CompoundPropertyModel change between beta1 and beta2? Robert Novotny -- View this message in context: http://www.nabble.com/No-get-method-defined-for-expression-recorder-when-using-Palette-and-CompoundPropertyModel-tf4007304.html#a11380394 Sent from the Wicket - User mailing list archive at Nabble.com. - 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] ListView class cast exception
Hello, your getUsers() method looks suspicious - it seems to create list of strings (not Users). Particularly, you add Strings retrieved from the resultset into the list. retval.add(rs.getString(1)); Therefore the ListView component gets passed the list of Strings retrieved from the first column of table. Robert Novotny eddmosphere wrote: Hi there! I'm realll getting confused.. I'm trying to create a table with the resultSet from a mysql database (I tried DataView but gave up..too much for me) by using a ListView. The problem is that I keep getting an ClassCastException: java.lang.String. Wicket tells me this happens in the populateItem() method when I try to cast the ListItem to User (of course..). I have a simple User class with getters to retrieve: int userid, String name, String phone, etc...I don't know why this is happening so..could someone please help? Thanks in advance, Edd [CODE] /* create connection do mysql db and retrive a ResultSet */ NewConnection myconn = new NewConnection(); final ResultSet userTableData = myconn.queryTable(SELECT * FROM user); /* calling method that transforms my ResultSet (usersList) to a List */ List usersList = getUsers(userTableData); ListView listView = new ListView(pageable, usersList) { protected void populateItem(ListItem listItem) { User user = (User)listItem.getModelObject(); // CLASSCASTEXCEPTION HEREEE listItem.add(new Label(userid, Integer.toString(user.getUserId(; listItem.add(new Label(name, user.getName())); listItem.add(new Label(phone, user.getPhone())); listItem.add(new Label(email, user.getEmail())); listItem.add(new Label(type, user.getType())); } }; add(listView); . /* method to convert ResultSet to List */ public List getUsers(ResultSet rs) { List retval = new ArrayList(); try { while(rs.next()) { retval.add(rs.getString(1)); } } catch (SQLException ex) { ex.printStackTrace(); } return retval; } -- View this message in context: http://www.nabble.com/ListView-class-cast-exception-tf3807874.html#a10779048 Sent from the Wicket - User mailing list archive at Nabble.com. - 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] How to display applet in wicket?
Hello, in my experience, the most frequent problems with applets are connected with classpath problems. Could you have a look into the Java Console output and search for the potential ClassNotFoundError stack traces? (If I remember correctly, you could right click on the applet that failed loading and use 'Show Java Console' from the popup menu). Besides that, this is an applet page from our project: HTML template: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head titleApplet Page/title /head body div id=main h1User profile/h1 applet code=uinf.wid.tools.UserProfileApplet.class archive=applets.jar,log4j-1.2.12.jar name=UserProfileApplet width=800 height=600 /applet /div /body /html Corresponding Java class: public class UserProfileAppletPage extends WebPage { public static final Logger logger = Logger.getLogger(UserProfileAppletPage.class); public UserProfileAppletPage() { logger.debug(UserProfileAppletPage loaded.); } } edward durai wrote: Hi! I have put both graph.class and html file. In non-wicket page it is working. but in wicket it is not working. Please advise. Thanks howzat wrote: Does the markup you give below work in a non-wicket page? I would make a the simplest possible html page including your applet tag below to see if it works. When it works, compare it to the html generated by wicket. If they are the same, you should observe exactly the same result in your browser in both cases. edward durai wrote: Hi, I have tried. but i am not able to display that applet. Please give me one sample. Thanks Robert Novotny wrote: Hello, there is nothing special in displaying applets in wicket pages. Just put the proper applet tags into the HTML page template. You don't even need to have corresponding components in the Java class, since applet is not a wicket component. Robert Novotny edward durai wrote: Hi to all, I have one graph.java file. In HTML I can display like APPLET CODE=graph.class WIDTH=900 HEIGHT=400 PARAM name=title value=Date Vs Average Speed PARAM name=X_axis_description value=Average Speed PARAM name=Y_axis_description value=Date PARAM name=variation_series value=1/4/2007,2/4/2007,3/4/2007,4/4/2007,5/4/2007,6/4/2007,7/4/2007,8/4/2007,9/4/2007 !-- Dynamic -- PARAM name=data_set_1 value=13,27,50,70,10,30,30,20,80!-- Dynamic -- PARAM name=description_1 value=item1 /APPLET In Wicket, how can I display this applet file? Please explain me. Thank you for answering -- View this message in context: http://www.nabble.com/How-to-display-applet-in-wicket--tf3725676.html#a10443943 Sent from the Wicket - User mailing list archive at Nabble.com. - 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] How to display applet in wicket?
One problem, which could arise, is the URL from which is the graph.class loaded. When you've got your applet page on http://server.com/page/applet.html, browser JVM willl try to load graph.class from http://server.com/page/graph.class URL. Also make sure that you have a correct case (Java classes should start with an uppercase letter, therefore I think it is better to have applect code=Graph.class.. and class called Graph). However, if you specify the JAR files in the archive attribute, your classes will be loaded from the specified JARs. There can be another hiccup dealing with URL mounting. In our project we have mounted the Wicket webapplication on the url-pattern/app/*/url-pattern. Therefore our applet page has URL http://[servername]:8080/[appname]/app?wicket:bookmarkablePage=:uinf.wid.tools.UserProfileApplet, which means that the JAR files are loaded from the http://[servername]:8080/[appname] directory, i. e. from JAR files which are located in the directory just above the WEB-INF. If your webpage is mounted (for example to http://[servername]:8080/[appname]/app/userprofile), you could come across JAR loading problems, because JVM will try to load JAR/CLASS file from that http://[servername]:8080/[appname]/app/userprofile, which does not correspond to any server directory, therefore it will not find your JARs/CLASSes. edward durai wrote: Hi to all, I have one graph.java file. In HTML I can display like APPLET CODE=graph.class WIDTH=900 HEIGHT=400 PARAM name=title value=Date Vs Average Speed PARAM name=X_axis_description value=Average Speed PARAM name=Y_axis_description value=Date PARAM name=variation_series value=1/4/2007,2/4/2007,3/4/2007,4/4/2007,5/4/2007,6/4/2007,7/4/2007,8/4/2007,9/4/2007 !-- Dynamic -- PARAM name=data_set_1 value=13,27,50,70,10,30,30,20,80!-- Dynamic -- PARAM name=description_1 value=item1 /APPLET In Wicket, how can I display this applet file? Please explain me. Thank you for answering -- View this message in context: http://www.nabble.com/How-to-display-applet-in-wicket--tf3725676.html#a10445420 Sent from the Wicket - User mailing list archive at Nabble.com. - 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] How to display applet in wicket?
Hello, there is nothing special in displaying applets in wicket pages. Just put the proper applet tags into the HTML page template. You don't even need to have corresponding components in the Java class, since applet is not a wicket component. Robert Novotny edward durai wrote: Hi to all, I have one graph.java file. In HTML I can display like APPLET CODE=graph.class WIDTH=900 HEIGHT=400 PARAM name=title value=Date Vs Average Speed PARAM name=X_axis_description value=Average Speed PARAM name=Y_axis_description value=Date PARAM name=variation_series value=1/4/2007,2/4/2007,3/4/2007,4/4/2007,5/4/2007,6/4/2007,7/4/2007,8/4/2007,9/4/2007 !-- Dynamic -- PARAM name=data_set_1 value=13,27,50,70,10,30,30,20,80!-- Dynamic -- PARAM name=description_1 value=item1 /APPLET In Wicket, how can I display this applet file? Please explain me. Thank you for answering -- View this message in context: http://www.nabble.com/How-to-display-applet-in-wicket--tf3725676.html#a10429225 Sent from the Wicket - User mailing list archive at Nabble.com. - 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] What's the best way of doing menus in Wicket?
I have tried to use dropdown menu in one of my projects. NavMenu has been broken in that time (and I didn't figure out how to patch it) and my effort in integrating TigraMenu wasn't succesfull either. Finally I have used the approach which uses a pure CSS menu which is based on the :hover class. The menu is composed of multiple nested span tags (which are mapped to Wicket Label-s or Link-s). However, this approach requires you to know the structure of the menu beforehand and may pose a limitation when you require menu items which changes at runtime dynamically. (There was another slight glitch: in IE this approach requires css-hover.htc script, which may be disabled on some browsers due tu security reasons). However, this approach has suited me well. Eelco Hillenius wrote: The big question there is whether you know all items beforehand or not. If yes, integrating with any javascript library is easy. If not, you need a tree, and probably can best look at that component or navmenu (https://svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3/wicket-contrib-navmenu) which is deprecated (won't be supported) but nevertheless may give you an idea. The second big question is: what are you going to do with these items: component replacements or do links point to bookmarkable pages? I'd really love to see someone contribute a nice component for this based on bookmarkable pages and a tree. navmenu was a step in that direction, but the API is't great. Eelco On 3/7/07, Thomas R. Corbin [EMAIL PROTECTED] wrote: We need a menu bar across the top of our pages, with pull down menus. We used to use this stuff: http://struts-menu.sf.net but I'm not sure how to integrate it, since it seems to rely on jsp tags. 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 - 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/What%27s-the-best-way-of-doing-menus-in-Wicket--tf3366440.html#a9371685 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 confusion
The documentation might be a little scattered, however is a separate topic. Nonetheless, the Wicket Library site features most of the Wicket components and examples of their usage: e. g. DropDownChoice is demonstrated (along with the IChoiceRenderer) on the http://www.wicket-library.com/wicket-examples/compref?wicket:bookmarkablePage=:wicket.examples.compref.DropDownChoicePage Jason Roelofs wrote: Which of course makes perfect sense... I'm sorry if I come across as crash, it's because I'm very annoyed. I thought Wicket was the coolest Java framework out there, but now that I've used it for 2 weeks on, I can't say that anymore. Every time I've moved on to the next part of my website, it takes me 2+ hours to figure out how, and I'm not talking about entire pages, I'm talking about components of pages. A select, an Ajax-ified form, etc. Why do I have to deal with IChoiceRenderers? Besides how the documentation doesn't tell me how to use the thing, nor do the examples explain how it works, just here ya go, copy this. It just doesn't make sense. Back to the matter at hand, does anyone have example code using wicket-extensions Select and SelectOptions? There is absolutely NO usage documentation on getting all that working together. Anyway, sorry about the rant, I'm just getting more disappointed with Wicket in general. It may be different than other Java frameworks, but I cannot say that it's any better. I like the idea, I like some of the implementation of it (how Ajaxing components work, best I've seen), but using the framework has been an exercise in frustration from day 2. So I'll head back to banging on the DropDownChoice, I'll get it eventually, though I'm open for suggestions. Jason On 2/27/07, Robert Novotny [EMAIL PROTECTED] wrote: The DropDownChoice allows you to specify in one of its constructors a custom implementation of IChoiceRenderer, which can be used to customize the item IDs and labels. You may try to have a look on the IChoiceRenderer and the ChoiceRenderer (which is its default implementation) JavaDoc. Jason Roelofs wrote: Why is nothing in Wicket obvious? I want: select ... option value=AND/option option value=|OR/option /select My model has a 'gated' field that is either '' or '|' Why can't I have: add(new DropDownChoice(gated, model, {AND, OR}, {, |}); or better yet: add(new DropDownChoice(gated, model, { {, AND}, {|, OR}}); (assuming properly created arrays, of course)? How is this supposed to work? Thanks Jason - 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/DropDownChoice-confusion-tf3304232.html#a9191899 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 -- View this message in context: http://www.nabble.com/DropDownChoice-confusion-tf3304232.html#a9192544 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
Re: [Wicket-user] Deprecated example in wicket.util.convert.Converter
Ok, it is the WICKET-257 issue. R. N. igor.vaynberg wrote: a jira issue would be awesome, we would need one for our 1.2.5 changelog anyways :) -igor On 2/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Gladly. I enclose it in the attachment. (Shall I create an JIRA issue?) R. N. how about a patch to the javadoc? :) -igor On 2/5/07, Robert Novotny wrote: Hello, I stumbled upon a deprecated example in the wicket.util.convert.Converter example. Method newConverter() on the ConverterFactory seems to be gone in the Wicket 1.2.5. final IConverter converter = new ConverterFactory().newConverter(); converter.setLocale(Locale.US); converter.convert(new Double(7.1), String.class); I know that this is a rarely used class by the general public, but I hope that some day the documentation will deserve its update :-) Robert Novotny -- View this message in context: http://www.nabble.com/Deprecated-example-in-wicket.util.convert.Converter-tf3176607.html#a8814016 Sent from the Wicket - User mailing list archive at Nabble.com. - --- reklama --- http://webhosting.szm.com - AKCIA, domeny a webhosting za najnizsie ceny Ziskaj vlastnu domenu, webstranku www.mojadomena.sk a vlastne maily [EMAIL PROTECTED] v cenach uz od 50Sk/mesiac. === reklama == http://mail.szm.com - e-mail a priestor na www stranku zadarmo http://webhosting.szm.com - domeny a webhosting za najnizsie ceny --28e938265208ea82e630d63066f34bc4-- - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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/Deprecated-example-in-wicket.util.convert.Converter-tf3176607.html#a8822158 Sent from the Wicket - User mailing list archive at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Deprecated example in wicket.util.convert.Converter
Hello, I stumbled upon a deprecated example in the wicket.util.convert.Converter example. Method newConverter() on the ConverterFactory seems to be gone in the Wicket 1.2.5. final IConverter converter = new ConverterFactory().newConverter(); converter.setLocale(Locale.US); converter.convert(new Double(7.1), String.class); I know that this is a rarely used class by the general public, but I hope that some day the documentation will deserve its update :-) Robert Novotny -- View this message in context: http://www.nabble.com/Deprecated-example-in-wicket.util.convert.Converter-tf3176607.html#a8814016 Sent from the Wicket - User mailing list archive at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] StringHeaderContributor acting strangely
I have filed a jira report (WICKET-188) for this. Robert Johan Compagner wrote: can you make a testcase and create a jira for this? johan On 12/28/06, Robert Novotny [EMAIL PROTECTED] wrote: Yes, I have tried this new version too, but the problem seems to persist. I have noticed some backports in the AbstractBehavior class, could this be the cause/solution? igor.vaynberg wrote: have you tried 1.2.4? -igor On 12/28/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Greetings, I have been trying to work with the StringHeaderContributors. However, I have observed a rather strange behavior while using Wicket 1.2.3. The header contributions seem to be appearing and disappearing randomly. I have tested a class for a simple webpage (see below) with a corresponding HTML page. If I click on the link, the contributions appear normally. However, if I refresh the page which contains the target URL of that page, the contributions sometimes appear, and sometimes not. Does this problem have something in common with the fixed HeaderContribution issue in the Wicket 1.2.3? This problem seems to be nonexistent when using Wicket 1.2.1. Thanks for any advice. Robert Novotny --- public class SimpleContributingPage extends WebPage { public SimpleContributingPage() { super(); add(new StringHeaderContributor(\title\ + new Date() + \/title\)); add(new PageLink(\self\, SimpleContributingPage.class ) { public void onClick() { super.onClick(); System.out.println(new Date() + \ : clicked\); } }); } } --- html xmlns:wicket head/head body [Self] /body /html -- -- View this message in context: http://www.nabble.com/StringHeaderContributor-acting-strangely-tf2891929.html#a8086589 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] StringHeaderContributor acting strangely
Yes, I have tried this new version too, but the problem seems to persist. I have noticed some backports in the AbstractBehavior class, could this be the cause/solution? igor.vaynberg wrote: have you tried 1.2.4? -igor On 12/28/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Greetings, I have been trying to work with the StringHeaderContributors. However, I have observed a rather strange behavior while using Wicket 1.2.3. The header contributions seem to be appearing and disappearing randomly. I have tested a class for a simple webpage (see below) with a corresponding HTML page. If I click on the link, the contributions appear normally. However, if I refresh the page which contains the target URL of that page, the contributions sometimes appear, and sometimes not. Does this problem have something in common with the fixed HeaderContribution issue in the Wicket 1.2.3? This problem seems to be nonexistent when using Wicket 1.2.1. Thanks for any advice. Robert Novotny --- public class SimpleContributingPage extends WebPage { public SimpleContributingPage() { super(); add(new StringHeaderContributor(\title\ + new Date() + \/title\)); add(new PageLink(\self\, SimpleContributingPage.class) { public void onClick() { super.onClick(); System.out.println(new Date() + \ : clicked\); } }); } } --- html xmlns:wicket head/head body [Self] /body /html -- View this message in context: http://www.nabble.com/StringHeaderContributor-acting-strangely-tf2891929.html#a8079951 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