Re: OT: Code Search Engine for Java using wicket
hey wow, this is something i might actually use on a regular basis. thanks! Vinayak Borkar wrote: Hello fellow Wicketeers, We have released a beta version of a code search engine for open source Java code, that uses Wicket v1.4. You could search for wicket by following the link: http://grepcode.com/search/?query=wicket Thanks for all the help you guys have been, with my wicket related problems. Any feedback would be appreciated. Thanks, Vinayak - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/OT%3A-Code-Search-Engine-for-Java-using-wicket-tp22694704p22695793.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicketstuff / ki / jsecurity
Yeah I've for one always been very pro for wicketstuff.. It's nice keeping things in one place.. Plus as you write if we share a somewhat similar structure it's potentially easier to maintain.. 2009/3/24 Ryan McKinley ryan...@gmail.com Hi- I've been looking to integrate a complex security model with wicket -- jsecurity seems really good. I tried messing with: http://code.google.com/p/wicket-jsecurity/ This appears to be a starting place, but does not have any running example. In an effort to get things running (and learn JSecurity) i took that + wicket-auth-roles and tried to make a functioning core + example. I've got something running and would love to share it... Should I post this to the google code site? It makes more sense (to me) if we keep it in the wicketstuff repos -- that way we get the benefit of Jeremy's work to make wickettuff-core much cleaner. Thoughts? Ryan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to prevent a flickering when Ajax updates an Image
Hi Must be the delay to your server (which is normal I think), I'd suggest using something like scriptaculus and then a fade in / out effect. You could possibly also just prefect it and replace it when fully loaded. 2009/3/24 santo_75 reinhard.vornh...@coredumped.de Hi there, i have a page that updates an image through a ajax request. Some Code first: public class MyPage extends WebPage{ private RenderedDynamicImageResource imageResourceMap; ... NonCachingImage map = new NonCachingImage(map, new PropertyModel(this, imageResourceMap)){ private static final long serialVersionUID = 1L; @Override protected void onBeforeRender() { generateMap(); super.onBeforeRender(); } }; AjaxLink lNorth = new AjaxLink(north_link, this.getModel()) { @Override public void onClick(AjaxRequestTarget target) { ... target.addComponent(Overview.this.get(map)); } }; private void generateMap(){ HexCoordinates hc = (HexCoordinates) getModelObject(); imageResourceMap = mapGenerationService.getMap(hc.getX(), hc.getY(), 6); } ... } html markup is this ... ... So my problem is, everytime I click the ajaxlink the image gets updated correctly but it flickers. Which is very unpleasant. Doesn't matter if I use IE or FF. Both show the flickering effect. Any help is greatly appreciated. Thanx Santo. -- View this message in context: http://www.nabble.com/How-to-prevent-a-flickering-when-Ajax-updates-an-Image-tp22691158p22691158.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: OT: Code Search Engine for Java using wicket
wow, thanks for this ultimate application ! I have bookmarked it ;) regards, vineet semwal On Wed, Mar 25, 2009 at 9:07 AM, Vinayak Borkar vbo...@yahoo.com wrote: Hello fellow Wicketeers, We have released a beta version of a code search engine for open source Java code, that uses Wicket v1.4. You could search for wicket by following the link: http://grepcode.com/search/?query=wicket Thanks for all the help you guys have been, with my wicket related problems. Any feedback would be appreciated. Thanks, Vinayak - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicketstuff / ki / jsecurity
Hi Ryan, I added you to the Project Members, so feel free to commit your examples. Unfortunately, until now I haven't had time to work on it myself The idea was to let the code mature in http://code.google.com/p/wicket-jsecurity/ and maybe move it to wicket-stuff later on. Maybe we should move it to wicket-stuff already. My main problem with wicket-stuff is/was that it's not always very clear which projects are still alive and maintained and which are practically dead. And at the time, wicket-stuff had some problems with continuous integration, IIRC. Les, what do you think ? We should change the project name to wicket-ki anyway. regards, Maarten On Wed, Mar 25, 2009 at 7:47 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Yeah I've for one always been very pro for wicketstuff.. It's nice keeping things in one place.. Plus as you write if we share a somewhat similar structure it's potentially easier to maintain.. 2009/3/24 Ryan McKinley ryan...@gmail.com Hi- I've been looking to integrate a complex security model with wicket -- jsecurity seems really good. I tried messing with: http://code.google.com/p/wicket-jsecurity/ This appears to be a starting place, but does not have any running example. In an effort to get things running (and learn JSecurity) i took that + wicket-auth-roles and tried to make a functioning core + example. I've got something running and would love to share it... Should I post this to the google code site? It makes more sense (to me) if we keep it in the wicketstuff repos -- that way we get the benefit of Jeremy's work to make wickettuff-core much cleaner. Thoughts? Ryan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to prevent a flickering when Ajax updates an Image
Hi, well yes, I understand what you say. But I am not that deep into wicket an ajax yet... so right now, I don't know what to do next. Could you, or anyone else, give some details how to submit the image to the client-browser and not show it before it's fully loaded? thx Santo nino martinez wael wrote: Hi Must be the delay to your server (which is normal I think), I'd suggest using something like scriptaculus and then a fade in / out effect. You could possibly also just prefect it and replace it when fully loaded. 2009/3/24 santo_75 reinhard.vornh...@coredumped.de Hi there, i have a page that updates an image through a ajax request. Some Code first: public class MyPage extends WebPage{ private RenderedDynamicImageResource imageResourceMap; ... NonCachingImage map = new NonCachingImage(map, new PropertyModel(this, imageResourceMap)){ private static final long serialVersionUID = 1L; @Override protected void onBeforeRender() { generateMap(); super.onBeforeRender(); } }; AjaxLink lNorth = new AjaxLink(north_link, this.getModel()) { @Override public void onClick(AjaxRequestTarget target) { ... target.addComponent(Overview.this.get(map)); } }; private void generateMap(){ HexCoordinates hc = (HexCoordinates) getModelObject(); imageResourceMap = mapGenerationService.getMap(hc.getX(), hc.getY(), 6); } ... } html markup is this ... ... So my problem is, everytime I click the ajaxlink the image gets updated correctly but it flickers. Which is very unpleasant. Doesn't matter if I use IE or FF. Both show the flickering effect. Any help is greatly appreciated. Thanx Santo. -- View this message in context: http://www.nabble.com/How-to-prevent-a-flickering-when-Ajax-updates-an-Image-tp22691158p22691158.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/How-to-prevent-a-flickering-when-Ajax-updates-an-Image-tp22691158p22697431.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: OT: Code Search Engine for Java using wicket
Very nice, indeed ! El mié, 25-03-2009 a las 12:43 +0530, vineet semwal escribió: wow, thanks for this ultimate application ! I have bookmarked it ;) regards, vineet semwal On Wed, Mar 25, 2009 at 9:07 AM, Vinayak Borkar vbo...@yahoo.com wrote: Hello fellow Wicketeers, We have released a beta version of a code search engine for open source Java code, that uses Wicket v1.4. You could search for wicket by following the link: http://grepcode.com/search/?query=wicket Thanks for all the help you guys have been, with my wicket related problems. Any feedback would be appreciated. Thanks, Vinayak - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
AttributeModifier in AjaxLink's onClick. Possible?
Can I do this? MarkupContainer facetNameLink = new AjaxLink(facetNameLink) { @Override public void onClick(AjaxRequestTarget target) { // Get the dataprovider's query response SolrQuery query = responseModel.getQuery(); // Set the query back to the beginning. query.setStart(0); // Add the clicked facet as a filter query on the solr query query.addFilterQuery(ffcount.getAsFilterQuery()); this.add(new SimpleAttributeModifier(id, facetFieldTitleSelected)); target.addComponent(this); this.setResponsePage(getPage()); } }.add(new Label(facetName, ffcount.getName())); facetNameLink.setOutputMarkupId(true); Nothing seems to change in the markup so i'm doing something stupid somewhere. Note everything else works as expected apart from the AttributeModifier. Cheers -- View this message in context: http://www.nabble.com/AttributeModifier-in-AjaxLink%27s-onClick.--Possible--tp22697831p22697831.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to prevent a flickering when Ajax updates an Image
Okay here are some pointers : http://ninomartinez.wordpress.com/2008/09/09/apache-wicket-javascript-integration/ http://blog.jayway.com/2008/09/26/wicket-javascript-internals-dissected/ And I would probably make a hidden container in which the image loads(so that the browser has it loaded), and then use scriptaculous to load it as a replacement for the image.. 2009/3/25 santo_75 reinhard.vornh...@coredumped.de Hi, well yes, I understand what you say. But I am not that deep into wicket an ajax yet... so right now, I don't know what to do next. Could you, or anyone else, give some details how to submit the image to the client-browser and not show it before it's fully loaded? thx Santo nino martinez wael wrote: Hi Must be the delay to your server (which is normal I think), I'd suggest using something like scriptaculus and then a fade in / out effect. You could possibly also just prefect it and replace it when fully loaded. 2009/3/24 santo_75 reinhard.vornh...@coredumped.de Hi there, i have a page that updates an image through a ajax request. Some Code first: public class MyPage extends WebPage{ private RenderedDynamicImageResource imageResourceMap; ... NonCachingImage map = new NonCachingImage(map, new PropertyModel(this, imageResourceMap)){ private static final long serialVersionUID = 1L; @Override protected void onBeforeRender() { generateMap(); super.onBeforeRender(); } }; AjaxLink lNorth = new AjaxLink(north_link, this.getModel()) { @Override public void onClick(AjaxRequestTarget target) { ... target.addComponent(Overview.this.get(map)); } }; private void generateMap(){ HexCoordinates hc = (HexCoordinates) getModelObject(); imageResourceMap = mapGenerationService.getMap(hc.getX(), hc.getY(), 6); } ... } html markup is this ... ... So my problem is, everytime I click the ajaxlink the image gets updated correctly but it flickers. Which is very unpleasant. Doesn't matter if I use IE or FF. Both show the flickering effect. Any help is greatly appreciated. Thanx Santo. -- View this message in context: http://www.nabble.com/How-to-prevent-a-flickering-when-Ajax-updates-an-Image-tp22691158p22691158.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/How-to-prevent-a-flickering-when-Ajax-updates-an-Image-tp22691158p22697431.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AttributeModifier in AjaxLink's onClick. Possible?
No theres a ajax decorator you can override instead, or something like it... 2009/3/25 CrocodileShoes markjohndo...@googlemail.com Can I do this? MarkupContainer facetNameLink = new AjaxLink(facetNameLink) { @Override public void onClick(AjaxRequestTarget target) { // Get the dataprovider's query response SolrQuery query = responseModel.getQuery(); // Set the query back to the beginning. query.setStart(0); // Add the clicked facet as a filter query on the solr query query.addFilterQuery(ffcount.getAsFilterQuery()); this.add(new SimpleAttributeModifier(id, facetFieldTitleSelected)); target.addComponent(this); this.setResponsePage(getPage()); } }.add(new Label(facetName, ffcount.getName())); facetNameLink.setOutputMarkupId(true); Nothing seems to change in the markup so i'm doing something stupid somewhere. Note everything else works as expected apart from the AttributeModifier. Cheers -- View this message in context: http://www.nabble.com/AttributeModifier-in-AjaxLink%27s-onClick.--Possible--tp22697831p22697831.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
best way to add tooltips in wicket
Hello, i'm quite new to Wicket, and i'm trying to see what is the most common way of adding tooltip texts to for example a Label in wicket. I did find the 10-point-wiki about tooltips (http://cwiki.apache.org/WICKET/how-to-add-tooltips.html), which seemed quite complicated to me, so I thought i'd go and look if there was a smoother way. I found the dojo-package which seemed ok at first, but when i looked at the tutorial page (http://wicketstuff.org/confluence/display/STUFFWIKI/DojoTutorials), it noted all the tooltip-related sections as obsolete, but no further indication as to why this is the case... Can anybody help me out a bit here? Can I use dojo, or is there something better that people use, that hopefully is pretty easy to set up in my wicket project? Thankful for pointers. -- View this message in context: http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p22697930.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: best way to add tooltips in wicket
Hehe, we have several ways of doing it... Theres two in wicketstuff minies.. ProtoTip and Mootip, both can do many things.. The mootip has an example page for you aswell.. You can see the video at the end of this article for a small demo: http://ninomartinez.wordpress.com/2008/09/09/apache-wicket-javascript-integration/ regards Nino 2009/3/25 RoyBatty math...@afjochnick.net Hello, i'm quite new to Wicket, and i'm trying to see what is the most common way of adding tooltip texts to for example a Label in wicket. I did find the 10-point-wiki about tooltips (http://cwiki.apache.org/WICKET/how-to-add-tooltips.html), which seemed quite complicated to me, so I thought i'd go and look if there was a smoother way. I found the dojo-package which seemed ok at first, but when i looked at the tutorial page (http://wicketstuff.org/confluence/display/STUFFWIKI/DojoTutorials), it noted all the tooltip-related sections as obsolete, but no further indication as to why this is the case... Can anybody help me out a bit here? Can I use dojo, or is there something better that people use, that hopefully is pretty easy to set up in my wicket project? Thankful for pointers. -- View this message in context: http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p22697930.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Thanks everybody for attending the meetup
After a delay caused by really bad traffic we went off and had one of the best community meetups ever. Many thanks to the presentors, I enjoyed all of the presentations. If possible could you share your presentation on slideshare.net (and tag it with wicketmeetup09) or another venue? I've uploaded my presentation here: http://www.slideshare.net/dashorst/keep-your-wicket-application-in-production Many thanks go to the sponsors: - Hippo (http://onehippo.com) - Func (http://func.nl) - Topicus (http://topicus.nl) For making this a free event! For those curious about the surprise: it was Johan's presentation, as I nor he knew what he was going to present about. So his talk about what is wrong with Java 5 generics, and what we can expect in Wicket 1.5 was nice, funny and to the point. Again, THANK YOU ALL for attending and speaking! It was a night to remember. Martijn Dashorst - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AttributeModifier in AjaxLink's onClick. Possible?
Ah Ok. After a quick search through the wiki I came up with this: @Override protected IAjaxCallDecorator getAjaxCallDecorator() { return new AjaxCallDecorator() { public CharSequence decorateScript(CharSequence script) { // add Javascript to change id here return + script; } }; } Now I have to look up the Javascript. Thanks, Nino. -- View this message in context: http://www.nabble.com/AttributeModifier-in-AjaxLink%27s-onClick.--Possible--tp22697831p22698229.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AttributeModifier in AjaxLink's onClick. Possible?
No problem :) 2009/3/25 CrocodileShoes markjohndo...@googlemail.com Ah Ok. After a quick search through the wiki I came up with this: @Override protected IAjaxCallDecorator getAjaxCallDecorator() { return new AjaxCallDecorator() { public CharSequence decorateScript(CharSequence script) { // add Javascript to change id here return + script; } }; } Now I have to look up the Javascript. Thanks, Nino. -- View this message in context: http://www.nabble.com/AttributeModifier-in-AjaxLink%27s-onClick.--Possible--tp22697831p22698229.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: best way to add tooltips in wicket
Right, thanks. I did find that one, but decided to try Dojo out first (it looked pretty simple from the examples). Dojo, it seems, has no build for 1.4 in their repository, and i can't build it myself for various reasons. So i guess i'll have a go at minis... cheers. -- View this message in context: http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p22698514.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: best way to add tooltips in wicket
I've basically followed the same route as you. I think i'll try mootips as well. Looks like there is a Maven repo here: http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-minis/1.3.0-SNAPSHOT/ RoyBatty wrote: Right, thanks. I did find that one, but decided to try Dojo out first (it looked pretty simple from the examples). Dojo, it seems, has no build for 1.4 in their repository, and i can't build it myself for various reasons. So i guess i'll have a go at minis... cheers. -- View this message in context: http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p22698603.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Double submit issue - disabling HTML submit button causes form posting to be cancelled
Hello, I am implementing a 'double-submit' prevention strategy by pre-pending the relevant wicket component's 'onclick' handler with this.disabled=true. This works fine for components that are translated as normal HTML buttons ie input type='button' and that form submission only involves javascript in the onclick handler (eg using AjaxButton): Eg, input type=button onclick=this.disabled = true;wicketShow('ajaxIndicatore2');..bind(this));;; return false; value=Change password name=submitButton id=submitButtoned/ (NB I have removed the bulk of the ajax javascript code in the onclick handler for clarity). When uploading a file and using the wicket UploadProgressBar class, there's javascript placed in the HTML form's onsubmit handler. This handler is ONLY fired if you use a HTML submit button input type='submit'. Using a standard HTML button and using it's onclick handler to submit the form does NOT call the form's onsubmit handler before the form is posted to the server. This is expected browser behaviour as far as i can tell. Eg, input type='button' onclick='this.form.submit()'/ ...submits the form, but the form's onsubmit handler does not fire. My problem comes when the following happens: input type='submit' onclick='this.disabled=true'/ ...this disables the submit button and calls the form's onsubmit handler (as evidenced by placing javascript alert('here') messages in the generated HTML onsubmit handler) BUT it cancels the posting of the form and instead the page reloads, as far as i can tell. According to various web sites, it's expected behavour that disabling a submit button cancels the form being posting. So, if i want the form's onsubmit handler to fire and allow the UploadProgressBar to work, how am I to prevent a user from double-clicking the submit button when uploading a file? Hopefully, I am missing something obvious... Kinds regards Jeremy -- View this message in context: http://www.nabble.com/Double-submit-issue---disabling-HTML-submit-button-causes-form-posting-to-be-cancelled-tp22698742p22698742.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: best way to add tooltips in wicket
no you should use this one for 1.4 http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-minis/1.4.0-SNAPSHOT/ But it should be the result of this one : https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/minis-parent/ Im not sure where Jeremys server deploy to... 2009/3/25 CrocodileShoes markjohndo...@googlemail.com I've basically followed the same route as you. I think i'll try mootips as well. Looks like there is a Maven repo here: http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-minis/1.3.0-SNAPSHOT/ RoyBatty wrote: Right, thanks. I did find that one, but decided to try Dojo out first (it looked pretty simple from the examples). Dojo, it seems, has no build for 1.4 in their repository, and i can't build it myself for various reasons. So i guess i'll have a go at minis... cheers. -- View this message in context: http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p22698603.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: best way to add tooltips in wicket
I think this is pretty simple aswell : add(new Label(tooltip01, this is tool tip 01) .add(new MootipBehaviour( This is my tool tip, I can be very long and even have formatting like br / and be strongstrong/strong))); And if you need something more it just uses panels.. add(new MootipPanel()); MootipSettings mooSettings=new MootipSettings(); mooSettings.setEvalAlways(true); MootipBehaviour behaviour=new MootipBehaviour(new MooPanel()); behaviour.setMootipSettings(mooSettings); add(new Label(tooltip02, this is tool tip 02) .add(behaviour)); 2009/3/25 RoyBatty math...@afjochnick.net Right, thanks. I did find that one, but decided to try Dojo out first (it looked pretty simple from the examples). Dojo, it seems, has no build for 1.4 in their repository, and i can't build it myself for various reasons. So i guess i'll have a go at minis... cheers. -- View this message in context: http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p22698514.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Thanks everybody for attending the meetup
I had a really good evening yesterday. Very good presentations! I'm really sorry I had to leave before the end (in order to be home at a halfway decent hour). Maybe next time we can have a few less presentations so there will be some time left for socializing? (Although I realise that it would be hard to choose from the presentations offered.) So thank you to the organizers and the speakers! Regards, Linda - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: best way to add tooltips in wicket
Wow, it really is that easy! -- View this message in context: http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p22699043.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicketstuff / ki / jsecurity
Am 25.03.2009 um 10:17 schrieb nino martinez wael: The problem with wicket stuff have been cleared up a bit, the part about which projects are dead and not.. Those in wicketstuff-core are alive, and if they become incompatible with the current version of wicket they will be kicked.. are they? I mean alive. Locking here: http://wicketstuff.org/teamcity/viewLog.html?buildId=3486tab=buildResultsDivbuildTypeId=bt35 I'd say it's at least not compiling no more. Could someone please fix that? mf 2009/3/25 Maarten Bosteels mbosteels@gmail.com Hi Ryan, I added you to the Project Members, so feel free to commit your examples. Unfortunately, until now I haven't had time to work on it myself The idea was to let the code mature in http://code.google.com/p/wicket-jsecurity/ and maybe move it to wicket-stuff later on. Maybe we should move it to wicket-stuff already. My main problem with wicket-stuff is/was that it's not always very clear which projects are still alive and maintained and which are practically dead. And at the time, wicket-stuff had some problems with continuous integration, IIRC. Les, what do you think ? We should change the project name to wicket-ki anyway. regards, Maarten On Wed, Mar 25, 2009 at 7:47 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Yeah I've for one always been very pro for wicketstuff.. It's nice keeping things in one place.. Plus as you write if we share a somewhat similar structure it's potentially easier to maintain.. 2009/3/24 Ryan McKinley ryan...@gmail.com Hi- I've been looking to integrate a complex security model with wicket -- jsecurity seems really good. I tried messing with: http://code.google.com/p/wicket-jsecurity/ This appears to be a starting place, but does not have any running example. In an effort to get things running (and learn JSecurity) i took that + wicket-auth-roles and tried to make a functioning core + example. I've got something running and would love to share it... Should I post this to the google code site? It makes more sense (to me) if we keep it in the wicketstuff repos -- that way we get the benefit of Jeremy's work to make wickettuff-core much cleaner. Thoughts? Ryan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Getting confirmation Javascript function value in wicket
Hello, I have a AjaxFallbackLink and on click of it, the application performs some action. But the application should continue only based on the confirmation dialog value of the java script. Lets say, the code is like this. add(new AjaxFallbackLink(delete) { public void onClick(AjaxRequestTarget target) { target.appendJavascript(confirm('do you wanna to delete');); // how to find the confirm dialog value whether ok or cancel is selected } }); How to acheive this? If there is any other way to achieve it, please give an example. -- View this message in context: http://www.nabble.com/Getting-confirmation-Javascript-function-value-in-wicket-tp22699158p22699158.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicketstuff / ki / jsecurity
2009/3/25 Martin Funk mafulaf...@googlemail.com: Am 25.03.2009 um 10:17 schrieb nino martinez wael: The problem with wicket stuff have been cleared up a bit, the part about which projects are dead and not.. Those in wicketstuff-core are alive, and if they become incompatible with the current version of wicket they will be kicked.. are they? I mean alive. AFAIK inmethod are not part of wicketstuff core Locking here: http://wicketstuff.org/teamcity/viewLog.html?buildId=3486tab=buildResultsDivbuildTypeId=bt35 I'd say it's at least not compiling no more. Could someone please fix that? mf 2009/3/25 Maarten Bosteels mbosteels@gmail.com Hi Ryan, I added you to the Project Members, so feel free to commit your examples. Unfortunately, until now I haven't had time to work on it myself The idea was to let the code mature in http://code.google.com/p/wicket-jsecurity/ and maybe move it to wicket-stuff later on. Maybe we should move it to wicket-stuff already. My main problem with wicket-stuff is/was that it's not always very clear which projects are still alive and maintained and which are practically dead. And at the time, wicket-stuff had some problems with continuous integration, IIRC. Les, what do you think ? We should change the project name to wicket-ki anyway. regards, Maarten On Wed, Mar 25, 2009 at 7:47 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Yeah I've for one always been very pro for wicketstuff.. It's nice keeping things in one place.. Plus as you write if we share a somewhat similar structure it's potentially easier to maintain.. 2009/3/24 Ryan McKinley ryan...@gmail.com Hi- I've been looking to integrate a complex security model with wicket -- jsecurity seems really good. I tried messing with: http://code.google.com/p/wicket-jsecurity/ This appears to be a starting place, but does not have any running example. In an effort to get things running (and learn JSecurity) i took that + wicket-auth-roles and tried to make a functioning core + example. I've got something running and would love to share it... Should I post this to the google code site? It makes more sense (to me) if we keep it in the wicketstuff repos -- that way we get the benefit of Jeremy's work to make wickettuff-core much cleaner. Thoughts? Ryan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Getting confirmation Javascript function value in wicket
see this thread http://www.nabble.com/AttributeModifier-in-AjaxLink%27s-onClick.--Possible--tp22697831p22698229.html 2009/3/25 vela vela@gmail.com: Hello, I have a AjaxFallbackLink and on click of it, the application performs some action. But the application should continue only based on the confirmation dialog value of the java script. Lets say, the code is like this. add(new AjaxFallbackLink(delete) { public void onClick(AjaxRequestTarget target) { target.appendJavascript(confirm('do you wanna to delete');); // how to find the confirm dialog value whether ok or cancel is selected } }); How to acheive this? If there is any other way to achieve it, please give an example. -- View this message in context: http://www.nabble.com/Getting-confirmation-Javascript-function-value-in-wicket-tp22699158p22699158.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Thanks everybody for attending the meetup
Op woensdag 25-03-2009 om 11:26 uur [tijdzone +0100], schreef Linda van der Pal: Maybe next time we can have a few less presentations so there will be some time left for socializing? (Although I realise that it would be hard to choose from the presentations offered.) Agreed. One minor disappointment for me was that there were no food or drinks at all (I remember there was plenty of food at the 2007 meetup!). I'd happily have paid for it too. Arriving directly from work without even having had dinner, my attention was distracted by an empty stomach. I ended up leaving the room for 20 minutes to order some fries at the hotel bar. Otherwise it was an interesting meetup! regards, -- Reinout van Schouwen - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: WYSIWYG component
I solved the problem. The problem was due a incompatibility of TinyMCE with AjaxTabbedPanel. After I change it to TabbedPanel it worked. On Tue, Mar 24, 2009 at 6:19 PM, Daniel Ferreira Castro dfcas...@gmail.comwrote: I am still trying to make tinymce work on my project. But I only get a simple text area. So I start to look for dependencies that could be missing. I downloaded the TinyMCE from here - http://tinymce.moxiecode.com/ Unzipped and imported every artificat to my project. Added all the resources, javascripts and css, present on the examples on my Panel add(JavascriptPackageResource.getHeaderContribution(CadastroNewsletterPanel.class, ./javascript/tiny_mce.js)); add(JavascriptPackageResource.getHeaderContribution(CadastroNewsletterPanel.class, ./javascript/lists/template_list.js)); add(JavascriptPackageResource.getHeaderContribution(CadastroNewsletterPanel.class, ./javascript/lists/link_list.js)); add(JavascriptPackageResource.getHeaderContribution(CadastroNewsletterPanel.class, ./javascript/lists/image_list.js)); add(JavascriptPackageResource.getHeaderContribution(CadastroNewsletterPanel.class, ./javascript/lists/media_list.js)); add(CSSPackageResource.getHeaderContribution(CadastroNewsletterPanel.class, ./css/content.css)); Cleaned the project Built the Project Restarted the jetty and launched the application. Nothing happened. Please, could anyone help me? On Fri, Mar 13, 2009 at 7:32 PM, Daniel Ferreira Castro dfcas...@gmail.com wrote: Great :) Thanks :) The Exception stopped from ocurring, but I still have the problem of only showing a TextArea without the look of an WYSWYG edit text area. I looked inside https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/tinymce-parent/tinymce-examples/src/main/java/wicket/contrib/examples/tinymce/and subdirs but did not find any war file that I could look inside for how the markup html is written. I did as the example showed, but did not have success. If anyone can help me... This is my implementation --- NewsletterForm.java --- package com.jasp.ecommfwk.pages.newsleter.forms; import org.apache.wicket.ajax.AjaxRequestTarget; import org.apache.wicket.ajax.markup.html.form.AjaxButton; import org.apache.wicket.markup.html.basic.Label; import org.apache.wicket.markup.html.form.Form; import org.apache.wicket.markup.html.form.TextArea; import org.apache.wicket.markup.html.panel.FeedbackPanel; import org.apache.wicket.model.Model; import org.apache.wicket.model.StringResourceModel; import wicket.contrib.tinymce.TinyMceBehavior; import wicket.contrib.tinymce.settings.ContextMenuPlugin; import wicket.contrib.tinymce.settings.DateTimePlugin; import wicket.contrib.tinymce.settings.DirectionalityPlugin; import wicket.contrib.tinymce.settings.EmotionsPlugin; import wicket.contrib.tinymce.settings.FullScreenPlugin; import wicket.contrib.tinymce.settings.IESpellPlugin; import wicket.contrib.tinymce.settings.MediaPlugin; import wicket.contrib.tinymce.settings.PastePlugin; import wicket.contrib.tinymce.settings.PreviewPlugin; import wicket.contrib.tinymce.settings.PrintPlugin; import wicket.contrib.tinymce.settings.SavePlugin; import wicket.contrib.tinymce.settings.SearchReplacePlugin; import wicket.contrib.tinymce.settings.SpellCheckPlugin; import wicket.contrib.tinymce.settings.TablePlugin; import wicket.contrib.tinymce.settings.TinyMCESettings; import com.jasp.ecommfwk.pages.forms.BaseForm; import com.jasp.persistence.admin.Newsletter; public class NewsletterForm extends BaseForm { private static final String TEXT = pimg src=\logo.jpg\ alt=\ \ hspace=\5\ vspace=\5\ width=\250\ height=\48\ align=\right\ / + TinyMCE is a platform independent web based Javascript HTML strongWYSIWYG/strong editor control released as Open Source under LGPL by Moxiecode Systems AB. + It has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances. TinyMCE is very easy to integrate into other Content Management Systems./p + pWe recommend a href=\http://www.getfirefox.com\; target=\_blank\Firefox/a and a href=\http://www.google.com\; target=\_blank\Google/a br //p; private static final long serialVersionUID = 2335975457449309765L; private final StringResourceModel labelNewsletterValue = new StringResourceModel( news.newsletter, this, null, new Object[] { getLocale() }); private Label labelNews; private TextArea StringnewsLetterContent; private AjaxButton cadastrar; private FeedbackPanel feedbackPanel; private Newsletter newsletter = new Newsletter(); private TinyMCESettings settings; private ContextMenuPlugin contextMenuPlugin; public NewsletterForm(String id) { super(id);
Re: WYSIWYG component
There is some fix, where you preload(use a headercontributer) the tinymce script on the page where the ajaxtabbedPanel are.. Last time I did this where for 1.3... 2009/3/25 Daniel Ferreira Castro dfcas...@gmail.com: I solved the problem. The problem was due a incompatibility of TinyMCE with AjaxTabbedPanel. After I change it to TabbedPanel it worked. On Tue, Mar 24, 2009 at 6:19 PM, Daniel Ferreira Castro dfcas...@gmail.comwrote: I am still trying to make tinymce work on my project. But I only get a simple text area. So I start to look for dependencies that could be missing. I downloaded the TinyMCE from here - http://tinymce.moxiecode.com/ Unzipped and imported every artificat to my project. Added all the resources, javascripts and css, present on the examples on my Panel add(JavascriptPackageResource.getHeaderContribution(CadastroNewsletterPanel.class, ./javascript/tiny_mce.js)); add(JavascriptPackageResource.getHeaderContribution(CadastroNewsletterPanel.class, ./javascript/lists/template_list.js)); add(JavascriptPackageResource.getHeaderContribution(CadastroNewsletterPanel.class, ./javascript/lists/link_list.js)); add(JavascriptPackageResource.getHeaderContribution(CadastroNewsletterPanel.class, ./javascript/lists/image_list.js)); add(JavascriptPackageResource.getHeaderContribution(CadastroNewsletterPanel.class, ./javascript/lists/media_list.js)); add(CSSPackageResource.getHeaderContribution(CadastroNewsletterPanel.class, ./css/content.css)); Cleaned the project Built the Project Restarted the jetty and launched the application. Nothing happened. Please, could anyone help me? On Fri, Mar 13, 2009 at 7:32 PM, Daniel Ferreira Castro dfcas...@gmail.com wrote: Great :) Thanks :) The Exception stopped from ocurring, but I still have the problem of only showing a TextArea without the look of an WYSWYG edit text area. I looked inside https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/tinymce-parent/tinymce-examples/src/main/java/wicket/contrib/examples/tinymce/and subdirs but did not find any war file that I could look inside for how the markup html is written. I did as the example showed, but did not have success. If anyone can help me... This is my implementation --- NewsletterForm.java --- package com.jasp.ecommfwk.pages.newsleter.forms; import org.apache.wicket.ajax.AjaxRequestTarget; import org.apache.wicket.ajax.markup.html.form.AjaxButton; import org.apache.wicket.markup.html.basic.Label; import org.apache.wicket.markup.html.form.Form; import org.apache.wicket.markup.html.form.TextArea; import org.apache.wicket.markup.html.panel.FeedbackPanel; import org.apache.wicket.model.Model; import org.apache.wicket.model.StringResourceModel; import wicket.contrib.tinymce.TinyMceBehavior; import wicket.contrib.tinymce.settings.ContextMenuPlugin; import wicket.contrib.tinymce.settings.DateTimePlugin; import wicket.contrib.tinymce.settings.DirectionalityPlugin; import wicket.contrib.tinymce.settings.EmotionsPlugin; import wicket.contrib.tinymce.settings.FullScreenPlugin; import wicket.contrib.tinymce.settings.IESpellPlugin; import wicket.contrib.tinymce.settings.MediaPlugin; import wicket.contrib.tinymce.settings.PastePlugin; import wicket.contrib.tinymce.settings.PreviewPlugin; import wicket.contrib.tinymce.settings.PrintPlugin; import wicket.contrib.tinymce.settings.SavePlugin; import wicket.contrib.tinymce.settings.SearchReplacePlugin; import wicket.contrib.tinymce.settings.SpellCheckPlugin; import wicket.contrib.tinymce.settings.TablePlugin; import wicket.contrib.tinymce.settings.TinyMCESettings; import com.jasp.ecommfwk.pages.forms.BaseForm; import com.jasp.persistence.admin.Newsletter; public class NewsletterForm extends BaseForm { private static final String TEXT = pimg src=\logo.jpg\ alt=\ \ hspace=\5\ vspace=\5\ width=\250\ height=\48\ align=\right\ / + TinyMCE is a platform independent web based Javascript HTML strongWYSIWYG/strong editor control released as Open Source under LGPL by Moxiecode Systems AB. + It has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances. TinyMCE is very easy to integrate into other Content Management Systems./p + pWe recommend a href=\http://www.getfirefox.com\; target=\_blank\Firefox/a and a href=\http://www.google.com\; target=\_blank\Google/a br //p; private static final long serialVersionUID = 2335975457449309765L; private final StringResourceModel labelNewsletterValue = new StringResourceModel( news.newsletter, this, null, new Object[] { getLocale() }); private Label labelNews; private TextArea StringnewsLetterContent; private AjaxButton cadastrar; private FeedbackPanel feedbackPanel;
Repeater component with dynamic column list
Hello, my goal is to display a table with dynamic number of columns (and of course rows) based on my EntryData class. ArrayListEntryData entries = ...; public class EntryData implements Serializable { private String entryID; private ArrayListFieldData entryFields; [...] } where public class FieldData implements Serializable { private int fieldId; private String fieldLabel; private String fieldValue; [...] } I would like to have a table presenting entryID and values of all the fields for each entry on the list. Entry ID | entryFields[0].fieldLabel | ... | entryFields[x].fieldLabel entries[0].entryID | entries[0].entryFields[0].fieldValue | ... | entries[0].entryFields[x].fieldValue ... entries[y].entryID | entries[y].entryFields[x].fieldValue | ... | entries[y].entryFields[x].fieldValue I am not really experienced in Wicket and tried to find some Repeater class example to use it as a base for building my own solution. Unfortunately I didn't find anything that suits my needs. I would like to know if it would be possible at all to use one of the repeater control family member to display such data structure. I'll appreciate any help and sample code. Kind regards R -- View this message in context: http://www.nabble.com/Repeater-component-with-dynamic-column-list-tp22700806p22700806.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Repeater component with dynamic column list
We've created a grid with dynamic columns similar to org.apache.wicket.extensions.markup.html.repeater.data.grid.AbstractDataGridView, except, of course, that the cell populators (the columns) don't come from a fixed array, but from a (dynamic) list. On Wed, Mar 25, 2009 at 1:35 PM, rora tempma...@go2.pl wrote: Hello, my goal is to display a table with dynamic number of columns (and of course rows) based on my EntryData class. ArrayListEntryData entries = ...; public class EntryData implements Serializable { private String entryID; private ArrayListFieldData entryFields; [...] } where public class FieldData implements Serializable { private int fieldId; private String fieldLabel; private String fieldValue; [...] } I would like to have a table presenting entryID and values of all the fields for each entry on the list. Entry ID | entryFields[0].fieldLabel | ... | entryFields[x].fieldLabel entries[0].entryID | entries[0].entryFields[0].fieldValue | ... | entries[0].entryFields[x].fieldValue ... entries[y].entryID | entries[y].entryFields[x].fieldValue | ... | entries[y].entryFields[x].fieldValue I am not really experienced in Wicket and tried to find some Repeater class example to use it as a base for building my own solution. Unfortunately I didn't find anything that suits my needs. I would like to know if it would be possible at all to use one of the repeater control family member to display such data structure. I'll appreciate any help and sample code. Kind regards R -- View this message in context: http://www.nabble.com/Repeater-component-with-dynamic-column-list-tp22700806p22700806.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Need Wicket Examples
buy Wicket in Action On Wed, Mar 25, 2009 at 12:50 PM, Farhan Bajwa farhan.ba...@ymail.com wrote: Is there any resource which provides detailed examples in Wicket framework, other than the examples provided in the wicket library http://www.wicket-library.com/wicket-examples/ or http://wicket.apache.org/examples.html ? -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.5 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Xml models [Was: Making wicket work with Dynamically created html]
do you really use such ugly id's? :) On Tue, Mar 24, 2009 at 15:15, Erik van Oosten e.vanoos...@grons.nl wrote: Interesting. I think we have something similar. We do stuff like new TextField(/addresses/address[1]/street) and this will automatically bind the text field to a node in the XML document that was attached to the form. Regards, Erik. Jan Kriesten wrote: I did something like that with XML specifying the form and having a ElementModel binding the form elements to JDOM nodes. Best regards, --- Jan. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicketstuff / ki / jsecurity
Yep, I agree - please feel free to contribute. We might want to hold off on the name change though. There *might* be a name discrepancy with ki and another project in the interwebs. We're still waiting on what we should do per the project Mentors after they come back from Apache Con, where they're currently discussing the situation with other ASF members. Regards, Les On Wed, Mar 25, 2009 at 4:12 AM, Maarten Bosteels mbosteels@gmail.comwrote: Hi Ryan, I added you to the Project Members, so feel free to commit your examples. Unfortunately, until now I haven't had time to work on it myself The idea was to let the code mature in http://code.google.com/p/wicket-jsecurity/ and maybe move it to wicket-stuff later on. Maybe we should move it to wicket-stuff already. My main problem with wicket-stuff is/was that it's not always very clear which projects are still alive and maintained and which are practically dead. And at the time, wicket-stuff had some problems with continuous integration, IIRC. Les, what do you think ? We should change the project name to wicket-ki anyway. regards, Maarten On Wed, Mar 25, 2009 at 7:47 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Yeah I've for one always been very pro for wicketstuff.. It's nice keeping things in one place.. Plus as you write if we share a somewhat similar structure it's potentially easier to maintain.. 2009/3/24 Ryan McKinley ryan...@gmail.com Hi- I've been looking to integrate a complex security model with wicket -- jsecurity seems really good. I tried messing with: http://code.google.com/p/wicket-jsecurity/ This appears to be a starting place, but does not have any running example. In an effort to get things running (and learn JSecurity) i took that + wicket-auth-roles and tried to make a functioning core + example. I've got something running and would love to share it... Should I post this to the google code site? It makes more sense (to me) if we keep it in the wicketstuff repos -- that way we get the benefit of Jeremy's work to make wickettuff-core much cleaner. Thoughts? Ryan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Repeater component with dynamic column list
I would like to know if it would be possible at all to use one of the repeater control family member to display such data structure. I'll appreciate any help and sample code. I would use a custom panel component which would have the following markup: tr thEntry Id/th th wicket:id=heading /th /tr tr wicket:id=row td wikcet:id=cell /td /tr And the code: RepeatingView heading = new RepeatingView(heading); for (FieldData fd : entries.get(0).entryFields) { heading.add(new Label(heading.newChildId(), fd.fieldLabel)); } add(heading); RepeatingView row = new RepeatingView(row); add(row); for (EntyData ed : entries) { WebMarkupContainer r = new WebMarkupContainer(row.newChildId()); RepeatingView cell = new RepeatingView('cell); row.add(r); r.add(cell); cell.add(new Label(cell.newChildId(), ed.entryId)); for (FieldData fd : ed.entryFields) { cell.add(new Label(cell.newChildId(), fd.fieldValue)); } } You need the WebMarkupContainer because it will get the same markup that the row repeatingview gets. This is quite basic, there is some room for optimization but I hope you get it. Janos
Re: Looking for a book on the jetty server
I'm not sure if most actually *deploy* their production servers on Jetty (there's nothing holding anyone back), but I think that Tomcat, Glassfish and JBoss are also very popular. Jetty is most commonly used during development because it is so easy to embed. AFAIK no books have been written for Jetty. Martijn - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Xml models [Was: Making wicket work with Dynamically created html]
Haha, yes ugly, but very clear. In any case, using bind (as on CompoundPropertyModel) works as well. That way you can use proper component ids in combination with XPath-like property expression. Johan Compagner wrote: do you really use such ugly id's? :) On Tue, Mar 24, 2009 at 15:15, Erik van Oosten e.vanoos...@grons.nl wrote: Interesting. I think we have something similar. We do stuff like new TextField(/addresses/address[1]/street) and this will automatically bind the text field to a node in the XML document that was attached to the form. Regards, Erik. Jan Kriesten wrote: I did something like that with XML specifying the form and having a ElementModel binding the form elements to JDOM nodes. Best regards, --- Jan. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: newbie question: HTTP 404 on the quickstart project
Pro Wicket has been written during Wicket 1.2 availability. Therefore you should not expect everything to work directly. If you use the wicket-quickstart download from Wicket 1.2 the example should match. Instead of using this part from Pro Wicket, why don't you download the free bonus chapter from Wicket in Action, and use that as your starting point: it is up to date regarding Wicket 1.3, and has an explanation for both ant and maven users. You can download the bonus chapter (and 2 other free chapters) from the official companion site to Wicket in Action: http://wicketinaction.com/downloads/ Martijn On Tue, Mar 24, 2009 at 9:57 PM, Chenini, Mohamed mchen...@geico.com wrote: OK! I guess I was mixing two examples scenarios: - One from the Wicket website (quickstart) - And the second from the Pro Wicket book, also (quickstart). I will work on it to make the example from the book works. Thanks for your feedback. Regards, Mohamed -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Tuesday, March 24, 2009 4:44 PM To: users@wicket.apache.org Subject: Re: newbie question: HTTP 404 on the quickstart project Because you're not using jetty-config.xml - look at Start.java - you are mounting the app on / WebAppContext bb = new WebAppContext(); bb.setServer(server); bb.setContextPath(/); bb.setWar(src/main/webapp); -- Jeremy Thomerson http://www.wickettraining.com On Tue, Mar 24, 2009 at 3:41 PM, Chenini, Mohamed mchen...@geico.comwrote: Why URL http://localhost:8081/quickstart Results on this error: HTTP ERROR: 404 NOT_FOUND RequestURI=/QuickStart While jetty-config.xml has this entry: Call name=addWebApplication Arg/QuickStart/Arg Argsrc/webapp/Arg /Call -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Tuesday, March 24, 2009 4:30 PM To: users@wicket.apache.org Subject: Re: newbie question: HTTP 404 on the quickstart project Okay - you found it. What's the question? -- Jeremy Thomerson http://www.wickettraining.com On Tue, Mar 24, 2009 at 3:28 PM, Chenini, Mohamed mchen...@geico.comwrote: Launching http://localhost:8081 produces this output: Wicket Quickstart Archetype Homepage If you see this message wicket is properly configured and running The jetty server is started and the console log shows this: INFO - WebApplication - [WicketApplication] Started Wicket version 1.4-rc2 in development mode *** WARNING: Wicket is running in DEVELOPMENT mode. *** *** ^^^ *** *** Do NOT deploy to your live server(s) without changing this. *** *** See Application#getConfigurationType() for more information. *** INFO - log - Started socketconnec...@0.0.0.0:8081 The Start.java code is as follows: mport org.mortbay.jetty.Connector; import org.mortbay.jetty.Server; import org.mortbay.jetty.bio.SocketConnector; import org.mortbay.jetty.webapp.WebAppContext; public class Start { public static void main(String[] args) throws Exception { Server server = new Server(); SocketConnector connector = new SocketConnector(); // Set some timeout options to make debugging easier. connector.setMaxIdleTime(1000 * 60 * 60); connector.setSoLingerTime(-1); connector.setPort(8081); server.setConnectors(new Connector[] { connector }); WebAppContext bb = new WebAppContext(); bb.setServer(server); bb.setContextPath(/); bb.setWar(src/main/webapp); // START JMX SERVER // MBeanServer mBeanServer = ManagementFactory.getPlatformMBeanServer(); // MBeanContainer mBeanContainer = new MBeanContainer(mBeanServer); // server.getContainer().addEventListener(mBeanContainer); // mBeanContainer.start(); server.addHandler(bb); try { System.out.println( STARTING EMBEDDED JETTY SERVER, PRESS ANY KEY TO STOP); server.start(); System.in.read(); System.out.println( STOPPING EMBEDDED JETTY SERVER); // while (System.in.available() == 0) { // Thread.sleep(5000); // } server.stop(); server.join(); } catch (Exception e) { e.printStackTrace(); System.exit(100);
Re: Info sobre el Softphone en Xubuntu
ok, i'll try to clarify that a bit :) javier, parece que te equivocaste de lista (esta es la de apache wicket, por lo tanto es improbable que recibas una respuesta a tu problema). probablemente quieras reenviar el mensaje a quien realmente corresponda. saludos francisco 2009/3/25 Jeremy Thomerson jer...@wickettraining.com: Pienso que usted tiene la lista de personas a quienes se mandan propaganda incorrecta. Esta lista está para el proyecto del Wicket de Apache ( http://wicket.apache.org). Usted tendría probablemente mejor éxito en http://ubuntuforums.org/ That was my babelfish translation of: I think that you have the wrong mailing list. This list is for the Apache Wicket project (http://wicket.apache.org). You probably would have better success at http://ubuntuforums.org/; -- Jeremy Thomerson http://www.wickettraining.com 2009/3/19 JaviR javierma...@gmail.com Sabes, hize lo que dices para poder hacer funcionar el softphone en linux, tengo Xubuntu, estoy usando crossover que es en base a wine emulando el vista, pero al hacer la llamada me dice que hay un fallo en la negociacion cuando contestan la llamada, me puedes ayudar porfa. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: newbie question: HTTP 404 on the quickstart project
Thanks for this advice. I agree I should perhaps switch to Wicket in Action since I do have the entire book in addition to the chapter 15 bonus. Regards, Mohamed -Original Message- From: Martijn Dashorst [mailto:martijn.dasho...@gmail.com] Sent: Wednesday, March 25, 2009 9:29 AM To: users@wicket.apache.org Subject: Re: newbie question: HTTP 404 on the quickstart project Pro Wicket has been written during Wicket 1.2 availability. Therefore you should not expect everything to work directly. If you use the wicket-quickstart download from Wicket 1.2 the example should match. Instead of using this part from Pro Wicket, why don't you download the free bonus chapter from Wicket in Action, and use that as your starting point: it is up to date regarding Wicket 1.3, and has an explanation for both ant and maven users. You can download the bonus chapter (and 2 other free chapters) from the official companion site to Wicket in Action: http://wicketinaction.com/downloads/ Martijn On Tue, Mar 24, 2009 at 9:57 PM, Chenini, Mohamed mchen...@geico.com wrote: OK! I guess I was mixing two examples scenarios: - One from the Wicket website (quickstart) - And the second from the Pro Wicket book, also (quickstart). I will work on it to make the example from the book works. Thanks for your feedback. Regards, Mohamed -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Tuesday, March 24, 2009 4:44 PM To: users@wicket.apache.org Subject: Re: newbie question: HTTP 404 on the quickstart project Because you're not using jetty-config.xml - look at Start.java - you are mounting the app on / WebAppContext bb = new WebAppContext(); bb.setServer(server); bb.setContextPath(/); bb.setWar(src/main/webapp); -- Jeremy Thomerson http://www.wickettraining.com On Tue, Mar 24, 2009 at 3:41 PM, Chenini, Mohamed mchen...@geico.comwrote: Why URL http://localhost:8081/quickstart Results on this error: HTTP ERROR: 404 NOT_FOUND RequestURI=/QuickStart While jetty-config.xml has this entry: Call name=addWebApplication Arg/QuickStart/Arg Argsrc/webapp/Arg /Call -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Tuesday, March 24, 2009 4:30 PM To: users@wicket.apache.org Subject: Re: newbie question: HTTP 404 on the quickstart project Okay - you found it. What's the question? -- Jeremy Thomerson http://www.wickettraining.com On Tue, Mar 24, 2009 at 3:28 PM, Chenini, Mohamed mchen...@geico.comwrote: Launching http://localhost:8081 produces this output: Wicket Quickstart Archetype Homepage If you see this message wicket is properly configured and running The jetty server is started and the console log shows this: INFO - WebApplication - [WicketApplication] Started Wicket version 1.4-rc2 in development mode *** WARNING: Wicket is running in DEVELOPMENT mode. *** *** ^^^ *** *** Do NOT deploy to your live server(s) without changing this. *** *** See Application#getConfigurationType() for more information. *** INFO - log - Started socketconnec...@0.0.0.0:8081 The Start.java code is as follows: mport org.mortbay.jetty.Connector; import org.mortbay.jetty.Server; import org.mortbay.jetty.bio.SocketConnector; import org.mortbay.jetty.webapp.WebAppContext; public class Start { public static void main(String[] args) throws Exception { Server server = new Server(); SocketConnector connector = new SocketConnector(); // Set some timeout options to make debugging easier. connector.setMaxIdleTime(1000 * 60 * 60); connector.setSoLingerTime(-1); connector.setPort(8081); server.setConnectors(new Connector[] { connector }); WebAppContext bb = new WebAppContext(); bb.setServer(server); bb.setContextPath(/); bb.setWar(src/main/webapp); // START JMX SERVER // MBeanServer mBeanServer = ManagementFactory.getPlatformMBeanServer(); // MBeanContainer mBeanContainer = new MBeanContainer(mBeanServer); // server.getContainer().addEventListener(mBeanContainer); // mBeanContainer.start(); server.addHandler(bb); try { System.out.println( STARTING EMBEDDED JETTY SERVER, PRESS ANY KEY TO STOP); server.start(); System.in.read();
Re: Xml models [Was: Making wicket work with Dynamically created html]
This again makes me wonder how the cglibproxy thing are comming along? 2009/3/25 Erik van Oosten e.vanoos...@grons.nl: Haha, yes ugly, but very clear. In any case, using bind (as on CompoundPropertyModel) works as well. That way you can use proper component ids in combination with XPath-like property expression. Johan Compagner wrote: do you really use such ugly id's? :) On Tue, Mar 24, 2009 at 15:15, Erik van Oosten e.vanoos...@grons.nl wrote: Interesting. I think we have something similar. We do stuff like new TextField(/addresses/address[1]/street) and this will automatically bind the text field to a node in the XML document that was attached to the form. Regards, Erik. Jan Kriesten wrote: I did something like that with XML specifying the form and having a ElementModel binding the form elements to JDOM nodes. Best regards, --- Jan. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Double submit issue - disabling HTML submit button causes form posting to be cancelled
On my continued google travels I found this page that I think provides the best work-around: http://blog.josh420.com/archives/2008/02/how-to-disable-the-submit-button-ofweb-form.aspx Cheers Jeremy Jeremy2009 wrote: Hello, I am implementing a 'double-submit' prevention strategy by pre-pending the relevant wicket component's 'onclick' handler with this.disabled=true. This works fine for components that are translated as normal HTML buttons ie input type='button' and that form submission only involves javascript in the onclick handler (eg using AjaxButton): Eg, input type=button onclick=this.disabled = true;wicketShow('ajaxIndicatore2');..bind(this));;; return false; value=Change password name=submitButton id=submitButtoned/ (NB I have removed the bulk of the ajax javascript code in the onclick handler for clarity). When uploading a file and using the wicket UploadProgressBar class, there's javascript placed in the HTML form's onsubmit handler. This handler is ONLY fired if you use a HTML submit button input type='submit'. Using a standard HTML button and using it's onclick handler to submit the form does NOT call the form's onsubmit handler before the form is posted to the server. This is expected browser behaviour as far as i can tell. Eg, input type='button' onclick='this.form.submit()'/ ...submits the form, but the form's onsubmit handler does not fire. My problem comes when the following happens: input type='submit' onclick='this.disabled=true'/ ...this disables the submit button and calls the form's onsubmit handler (as evidenced by placing javascript alert('here') messages in the generated HTML onsubmit handler) BUT it cancels the posting of the form and instead the page reloads, as far as i can tell. According to various web sites, it's expected behavour that disabling a submit button cancels the form being posting. So, if i want the form's onsubmit handler to fire and allow the UploadProgressBar to work, how am I to prevent a user from double-clicking the submit button when uploading a file? Hopefully, I am missing something obvious... Kinds regards Jeremy -- View this message in context: http://www.nabble.com/Double-submit-issue---disabling-HTML-submit-button-causes-form-posting-to-be-cancelled-tp22698742p22702058.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Need Wicket Examples
You have a Component Reference here: http://wicketstuff.org/wicket13/compref/ This and the two you mentioned are, in my opinion, the best collections of live examples you can find. Besides there are lots of other useful things scattered in many sites, and you can also look at the code in wicketstuff, etc. Hth, Daniel Farhan Bajwa wrote: Is there any resource which provides detailed examples in Wicket framework, other than the examples provided in the wicket library http://www.wicket-library.com/wicket-examples/ or http://wicket.apache.org/examples.html ? -- View this message in context: http://www.nabble.com/Need-Wicket-Examples-tp22700061p22702271.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Xml models [Was: Making wicket work with Dynamically created html]
What CGLIB proxy thing? On Wed, Mar 25, 2009 at 9:44 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: This again makes me wonder how the cglibproxy thing are comming along? 2009/3/25 Erik van Oosten e.vanoos...@grons.nl: Haha, yes ugly, but very clear. In any case, using bind (as on CompoundPropertyModel) works as well. That way you can use proper component ids in combination with XPath-like property expression. Johan Compagner wrote: do you really use such ugly id's? :) On Tue, Mar 24, 2009 at 15:15, Erik van Oosten e.vanoos...@grons.nl wrote: Interesting. I think we have something similar. We do stuff like new TextField(/addresses/address[1]/street) and this will automatically bind the text field to a node in the XML document that was attached to the form. Regards, Erik. Jan Kriesten wrote: I did something like that with XML specifying the form and having a ElementModel binding the form elements to JDOM nodes. Best regards, --- Jan. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: Looking for a book on the jetty server
Are you implying that in a production environment Glassfish, Tomcat, or JBoss are better to use with Wicket than jetty? I was planning to learn jetty to use it in development and in production and the 'Pro Wicket' book states that it [Wicket] was is a good fit for developing Wicket applications Please advise. Thanks, Mohamed -Original Message- From: Martijn Dashorst [mailto:martijn.dasho...@gmail.com] Sent: Wednesday, March 25, 2009 9:25 AM To: users@wicket.apache.org Subject: Re: Looking for a book on the jetty server I'm not sure if most actually *deploy* their production servers on Jetty (there's nothing holding anyone back), but I think that Tomcat, Glassfish and JBoss are also very popular. Jetty is most commonly used during development because it is so easy to embed. AFAIK no books have been written for Jetty. Martijn - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org This email/fax message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of this email/fax is prohibited. If you are not the intended recipient, please destroy all paper and electronic copies of the original message.
Re: wicketstuff / ki / jsecurity
On Mar 25, 2009, at 4:12 AM, Maarten Bosteels wrote: Hi Ryan, I added you to the Project Members, so feel free to commit your examples. Unfortunately, until now I haven't had time to work on it myself Thanks Maarten The idea was to let the code mature in http://code.google.com/p/wicket-jsecurity/ and maybe move it to wicket-stuff later on. Maybe we should move it to wicket-stuff already. My main problem with wicket-stuff is/was that it's not always very clear which projects are still alive and maintained and which are practically dead. And at the time, wicket-stuff had some problems with continuous integration, IIRC. yes, wicketstuff has some issues, but at least it has a continuous integration process in place -- and there is greater motivation for keeping it running as it gets more usage. Jeremy has done a lot of work to get wicketstuff-core projects working well, and the hope is that things in that directory are actively maintained for the current release. This directory will have branches for the various wicket releases etc. I vote we move any wicket/jsecurity/ki attention to the wicketstuff repository. We can add a big NOTICE describing the state of the project... it is currently broken as I try to figure out what an Enterprise Session is :) -- I'm following up on Les' suggestion on jsecurity-u...@incubator.apache.org now... ryan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Looking for a book on the jetty server
I think that it isn't a problem to use Jetty in production. In brazil there is a huge forum about java www.guj.com.br and they were using Tomcat, the forum was slow, they changed to Jetty and added some other techniques and now everything goes fine. Sure that if you want to use JEE, IMHO I suggest you to use glassfish. On Wed, Mar 25, 2009 at 11:13 AM, Chenini, Mohamed mchen...@geico.com wrote: Are you implying that in a production environment Glassfish, Tomcat, or JBoss are better to use with Wicket than jetty? I was planning to learn jetty to use it in development and in production and the 'Pro Wicket' book states that it [Wicket] was is a good fit for developing Wicket applications Please advise. Thanks, Mohamed -Original Message- From: Martijn Dashorst [mailto:martijn.dasho...@gmail.com] Sent: Wednesday, March 25, 2009 9:25 AM To: users@wicket.apache.org Subject: Re: Looking for a book on the jetty server I'm not sure if most actually *deploy* their production servers on Jetty (there's nothing holding anyone back), but I think that Tomcat, Glassfish and JBoss are also very popular. Jetty is most commonly used during development because it is so easy to embed. AFAIK no books have been written for Jetty. Martijn - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org This email/fax message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of this email/fax is prohibited. If you are not the intended recipient, please destroy all paper and electronic copies of the original message. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Looking for a book on the jetty server
No, I'm implying that more people use Jetty pure for development, and deploy on different production containers. Jetty is just fine afiak. Our company just uses tomcat (and one instance of glassfish) for production/test. Our devs use tomcat (with sysdeo plugin) and jetty (quickstart) in their daily development. Martijn On Wed, Mar 25, 2009 at 3:13 PM, Chenini, Mohamed mchen...@geico.com wrote: Are you implying that in a production environment Glassfish, Tomcat, or JBoss are better to use with Wicket than jetty? I was planning to learn jetty to use it in development and in production and the 'Pro Wicket' book states that it [Wicket] was is a good fit for developing Wicket applications Please advise. Thanks, Mohamed -Original Message- From: Martijn Dashorst [mailto:martijn.dasho...@gmail.com] Sent: Wednesday, March 25, 2009 9:25 AM To: users@wicket.apache.org Subject: Re: Looking for a book on the jetty server I'm not sure if most actually *deploy* their production servers on Jetty (there's nothing holding anyone back), but I think that Tomcat, Glassfish and JBoss are also very popular. Jetty is most commonly used during development because it is so easy to embed. AFAIK no books have been written for Jetty. Martijn - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org This email/fax message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of this email/fax is prohibited. If you are not the intended recipient, please destroy all paper and electronic copies of the original message. -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.5 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: best way to add tooltips in wicket
hey, thanks for all the input guys. I have already downloaded the 1.4 one and started playing with it according to the examples. I'm using prototip, it works like a charm! -- View this message in context: http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p22703168.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Looking for a book on the jetty server
I've asked this general question myself and came away with a few valuable thoughts: http://www.theserverside.com/news/thread.tss?thread_id=15073 http://developers.slashdot.org/developers/02/08/19/2042235.shtml?tid=108 http://www.webtide.com/choose/jetty.jsp http://raibledesigns.com/rd/entry/jetty_vs_tomcat_vs_resin -Luther On Wed, Mar 25, 2009 at 9:42 AM, Martijn Dashorst martijn.dasho...@gmail.com wrote: No, I'm implying that more people use Jetty pure for development, and deploy on different production containers. Jetty is just fine afiak. Our company just uses tomcat (and one instance of glassfish) for production/test. Our devs use tomcat (with sysdeo plugin) and jetty (quickstart) in their daily development. Martijn On Wed, Mar 25, 2009 at 3:13 PM, Chenini, Mohamed mchen...@geico.com wrote: Are you implying that in a production environment Glassfish, Tomcat, or JBoss are better to use with Wicket than jetty? I was planning to learn jetty to use it in development and in production and the 'Pro Wicket' book states that it [Wicket] was is a good fit for developing Wicket applications Please advise. Thanks, Mohamed -Original Message- From: Martijn Dashorst [mailto:martijn.dasho...@gmail.com] Sent: Wednesday, March 25, 2009 9:25 AM To: users@wicket.apache.org Subject: Re: Looking for a book on the jetty server I'm not sure if most actually *deploy* their production servers on Jetty (there's nothing holding anyone back), but I think that Tomcat, Glassfish and JBoss are also very popular. Jetty is most commonly used during development because it is so easy to embed. AFAIK no books have been written for Jetty. Martijn - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org This email/fax message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of this email/fax is prohibited. If you are not the intended recipient, please destroy all paper and electronic copies of the original message. -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.5 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: best way to add tooltips in wicket
Does anybody have any thoughts or preferences with regards to Mootips and Prototips? I've briefly glanced at both and Prototip seems to offer more settings, e.g. sticky tips, close buttons etc -- View this message in context: http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p22703439.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: best way to add tooltips in wicket
I've only tried prototip (obviously...) so far, and it seems to do everything i need. :) I have one more question though... For minis, all resources - images, js-files and most importantly, .css-files - are located in the same package as the java classes inside the jar. But i'll want to change most of the css-stuff related to the popup boxes. How is this best done with wicket? I can't just add it to a spontaneous CSS i have, since the prototip is included below my own css in the HTML header and will override anything in my css. -- View this message in context: http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p22703629.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicketstuff / ki / jsecurity
I run Continuum on my server and just started receiving notifications two days ago that inmethod grid was not compiling. It showed up right after the commit of this ki security stuff. I haven't looked at it yet, hoping that someone who was working with ki security or inmethod would do so. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 25, 2009 at 5:48 AM, Martin Funk mafulaf...@googlemail.comwrote: Am 25.03.2009 um 10:17 schrieb nino martinez wael: The problem with wicket stuff have been cleared up a bit, the part about which projects are dead and not.. Those in wicketstuff-core are alive, and if they become incompatible with the current version of wicket they will be kicked.. are they? I mean alive. Locking here: http://wicketstuff.org/teamcity/viewLog.html?buildId=3486tab=buildResultsDivbuildTypeId=bt35 I'd say it's at least not compiling no more. Could someone please fix that? mf 2009/3/25 Maarten Bosteels mbosteels@gmail.com Hi Ryan, I added you to the Project Members, so feel free to commit your examples. Unfortunately, until now I haven't had time to work on it myself The idea was to let the code mature in http://code.google.com/p/wicket-jsecurity/ and maybe move it to wicket-stuff later on. Maybe we should move it to wicket-stuff already. My main problem with wicket-stuff is/was that it's not always very clear which projects are still alive and maintained and which are practically dead. And at the time, wicket-stuff had some problems with continuous integration, IIRC. Les, what do you think ? We should change the project name to wicket-ki anyway. regards, Maarten On Wed, Mar 25, 2009 at 7:47 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Yeah I've for one always been very pro for wicketstuff.. It's nice keeping things in one place.. Plus as you write if we share a somewhat similar structure it's potentially easier to maintain.. 2009/3/24 Ryan McKinley ryan...@gmail.com Hi- I've been looking to integrate a complex security model with wicket -- jsecurity seems really good. I tried messing with: http://code.google.com/p/wicket-jsecurity/ This appears to be a starting place, but does not have any running example. In an effort to get things running (and learn JSecurity) i took that + wicket-auth-roles and tried to make a functioning core + example. I've got something running and would love to share it... Should I post this to the google code site? It makes more sense (to me) if we keep it in the wicketstuff repos -- that way we get the benefit of Jeremy's work to make wickettuff-core much cleaner. Thoughts? Ryan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: Looking for a book on the jetty server
Thanks to all for your feedback. -Original Message- From: Luther Baker [mailto:lutherba...@gmail.com] Sent: Wednesday, March 25, 2009 10:52 AM To: users@wicket.apache.org Subject: Re: Looking for a book on the jetty server I've asked this general question myself and came away with a few valuable thoughts: http://www.theserverside.com/news/thread.tss?thread_id=15073 http://developers.slashdot.org/developers/02/08/19/2042235.shtml?tid=108 http://www.webtide.com/choose/jetty.jsp http://raibledesigns.com/rd/entry/jetty_vs_tomcat_vs_resin -Luther On Wed, Mar 25, 2009 at 9:42 AM, Martijn Dashorst martijn.dasho...@gmail.com wrote: No, I'm implying that more people use Jetty pure for development, and deploy on different production containers. Jetty is just fine afiak. Our company just uses tomcat (and one instance of glassfish) for production/test. Our devs use tomcat (with sysdeo plugin) and jetty (quickstart) in their daily development. Martijn On Wed, Mar 25, 2009 at 3:13 PM, Chenini, Mohamed mchen...@geico.com wrote: Are you implying that in a production environment Glassfish, Tomcat, or JBoss are better to use with Wicket than jetty? I was planning to learn jetty to use it in development and in production and the 'Pro Wicket' book states that it [Wicket] was is a good fit for developing Wicket applications Please advise. Thanks, Mohamed -Original Message- From: Martijn Dashorst [mailto:martijn.dasho...@gmail.com] Sent: Wednesday, March 25, 2009 9:25 AM To: users@wicket.apache.org Subject: Re: Looking for a book on the jetty server I'm not sure if most actually *deploy* their production servers on Jetty (there's nothing holding anyone back), but I think that Tomcat, Glassfish and JBoss are also very popular. Jetty is most commonly used during development because it is so easy to embed. AFAIK no books have been written for Jetty. Martijn - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org This email/fax message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of this email/fax is prohibited. If you are not the intended recipient, please destroy all paper and electronic copies of the original message. -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.5 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org This email/fax message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of this email/fax is prohibited. If you are not the intended recipient, please destroy all paper and electronic copies of the original message. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicketstuff / ki / jsecurity
Hymm. I'm not sure what it could be... I did copy the inmethod-grid pom to cuild the ki-secuity pom, but I think i got rid of any conflicts. What is the error the Continuum server spits out? Perhaps it has something to do with syringe? (committed about the same time as ki- security) When I try to build wicketstuff-core now, I get the following error: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.apache.commons:commons-proxy:jar:1.1-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.commons - DartifactId=commons-proxy -Dversion=1.1-SNAPSHOT -Dpackaging=jar - Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.commons - DartifactId=commons-proxy -Dversion=1.1-SNAPSHOT -Dpackaging=jar - Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.wicketstuff:wicket-syringe:jar:1.4-SNAPSHOT 2) org.apache.commons:commons-proxy:jar:1.1-SNAPSHOT -- 1 required artifact is missing. for artifact: org.wicketstuff:wicket-syringe:jar:1.4-SNAPSHOT from the specified remote repositories: wicket-snaps (http://wicketstuff.org/maven/repository), central (http://repo1.maven.org/maven2) On Mar 25, 2009, at 11:21 AM, Jeremy Thomerson wrote: I run Continuum on my server and just started receiving notifications two days ago that inmethod grid was not compiling. It showed up right after the commit of this ki security stuff. I haven't looked at it yet, hoping that someone who was working with ki security or inmethod would do so. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 25, 2009 at 5:48 AM, Martin Funk mafulaf...@googlemail.com wrote: Am 25.03.2009 um 10:17 schrieb nino martinez wael: The problem with wicket stuff have been cleared up a bit, the part about which projects are dead and not.. Those in wicketstuff-core are alive, and if they become incompatible with the current version of wicket they will be kicked.. are they? I mean alive. Locking here: http://wicketstuff.org/teamcity/viewLog.html?buildId=3486tab=buildResultsDivbuildTypeId=bt35 I'd say it's at least not compiling no more. Could someone please fix that? mf 2009/3/25 Maarten Bosteels mbosteels@gmail.com Hi Ryan, I added you to the Project Members, so feel free to commit your examples. Unfortunately, until now I haven't had time to work on it myself The idea was to let the code mature in http://code.google.com/p/wicket-jsecurity/ and maybe move it to wicket-stuff later on. Maybe we should move it to wicket-stuff already. My main problem with wicket-stuff is/was that it's not always very clear which projects are still alive and maintained and which are practically dead. And at the time, wicket-stuff had some problems with continuous integration, IIRC. Les, what do you think ? We should change the project name to wicket-ki anyway. regards, Maarten On Wed, Mar 25, 2009 at 7:47 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Yeah I've for one always been very pro for wicketstuff.. It's nice keeping things in one place.. Plus as you write if we share a somewhat similar structure it's potentially easier to maintain.. 2009/3/24 Ryan McKinley ryan...@gmail.com Hi- I've been looking to integrate a complex security model with wicket -- jsecurity seems really good. I tried messing with: http://code.google.com/p/wicket-jsecurity/ This appears to be a starting place, but does not have any running example. In an effort to get things running (and learn JSecurity) i took that + wicket-auth-roles and tried to make a functioning core + example. I've got something running and would love to share it... Should I post this to the google code site? It makes more sense (to me) if we keep it in the wicketstuff repos -- that way we get the benefit of Jeremy's work to make wickettuff-core much cleaner. Thoughts? Ryan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: best way to add tooltips in wicket
I know on mootips you can create a Moosettings object where you can specify the css class. You can then add those settings to the mootip. I did a quick experiment before and it seemed change the style to the new class defined in my apps css file. Surely Prototips has something similar? -- View this message in context: http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p22704804.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicketstuff / ki / jsecurity
http://www.wickettraining.com/continuum/buildResult.action?buildId=6786projectId=248projectGroupId=2 That shows what commit it started failing on, etc. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 25, 2009 at 10:53 AM, Ryan McKinley ryan...@gmail.com wrote: Hymm. I'm not sure what it could be... I did copy the inmethod-grid pom to cuild the ki-secuity pom, but I think i got rid of any conflicts. What is the error the Continuum server spits out? Perhaps it has something to do with syringe? (committed about the same time as ki-security) When I try to build wicketstuff-core now, I get the following error: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.apache.commons:commons-proxy:jar:1.1-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.commons -DartifactId=commons-proxy -Dversion=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.commons -DartifactId=commons-proxy -Dversion=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.wicketstuff:wicket-syringe:jar:1.4-SNAPSHOT 2) org.apache.commons:commons-proxy:jar:1.1-SNAPSHOT -- 1 required artifact is missing. for artifact: org.wicketstuff:wicket-syringe:jar:1.4-SNAPSHOT from the specified remote repositories: wicket-snaps (http://wicketstuff.org/maven/repository), central (http://repo1.maven.org/maven2) On Mar 25, 2009, at 11:21 AM, Jeremy Thomerson wrote: I run Continuum on my server and just started receiving notifications two days ago that inmethod grid was not compiling. It showed up right after the commit of this ki security stuff. I haven't looked at it yet, hoping that someone who was working with ki security or inmethod would do so. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 25, 2009 at 5:48 AM, Martin Funk mafulaf...@googlemail.com wrote: Am 25.03.2009 um 10:17 schrieb nino martinez wael: The problem with wicket stuff have been cleared up a bit, the part about which projects are dead and not.. Those in wicketstuff-core are alive, and if they become incompatible with the current version of wicket they will be kicked.. are they? I mean alive. Locking here: http://wicketstuff.org/teamcity/viewLog.html?buildId=3486tab=buildResultsDivbuildTypeId=bt35 I'd say it's at least not compiling no more. Could someone please fix that? mf 2009/3/25 Maarten Bosteels mbosteels@gmail.com Hi Ryan, I added you to the Project Members, so feel free to commit your examples. Unfortunately, until now I haven't had time to work on it myself The idea was to let the code mature in http://code.google.com/p/wicket-jsecurity/ and maybe move it to wicket-stuff later on. Maybe we should move it to wicket-stuff already. My main problem with wicket-stuff is/was that it's not always very clear which projects are still alive and maintained and which are practically dead. And at the time, wicket-stuff had some problems with continuous integration, IIRC. Les, what do you think ? We should change the project name to wicket-ki anyway. regards, Maarten On Wed, Mar 25, 2009 at 7:47 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Yeah I've for one always been very pro for wicketstuff.. It's nice keeping things in one place.. Plus as you write if we share a somewhat similar structure it's potentially easier to maintain.. 2009/3/24 Ryan McKinley ryan...@gmail.com Hi- I've been looking to integrate a complex security model with wicket -- jsecurity seems really good. I tried messing with: http://code.google.com/p/wicket-jsecurity/ This appears to be a starting place, but does not have any running example. In an effort to get things running (and learn JSecurity) i took that + wicket-auth-roles and tried to make a functioning core + example. I've got something running and would love to share it... Should I post this to the google code site? It makes more sense (to me) if we keep it in the wicketstuff repos -- that way we get the benefit of Jeremy's work to make wickettuff-core much cleaner. Thoughts? Ryan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands,
Re: wicketstuff / ki / jsecurity
dooh -- totally my fault. I unintentionally posted some local changes: /trunk/wicketstuff-core/inmethod-grid-parent/inmethod-grid/src/main/ java/com/inmethod/grid/DataProviderAdapter.java /trunk/wicketstuff-core/inmethod-grid-parent/inmethod-grid/src/main/ java/com/inmethod/grid/IDataSource.java /trunk/wicketstuff-core/inmethod-grid-parent/inmethod-grid-examples/ pom.xml /trunk/wicketstuff-core/inmethod-grid-parent/inmethod-grid-examples/ src/main/java/com/inmethod/grid/examples/WicketApplication.java /trunk/wicketstuff-core/inmethod-grid-parent/inmethod-grid-examples/ src/main/java/com/inmethod/grid/examples/contact/ DetachableContactModel.java /trunk/wicketstuff-core/inmethod-grid-parent/inmethod-grid-examples/ src/main/java/com/inmethod/grid/examples/pages/BaseExamplePage.html /trunk/wicketstuff-core/inmethod-grid-parent/inmethod-grid-examples/ src/main/java/com/inmethod/grid/examples/pages/datagrid/ ContactDataSource.java /trunk/wicketstuff-core/inmethod-grid-parent/inmethod-grid-examples/ src/main/java/com/inmethod/grid/examples/pages/datagrid/ ContactDataSourceWithUnknownItemCount.java now I'll figure out how to revert that... ryan On Mar 25, 2009, at 11:59 AM, Jeremy Thomerson wrote: http://www.wickettraining.com/continuum/buildResult.action?buildId=6786projectId=248projectGroupId=2 That shows what commit it started failing on, etc. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 25, 2009 at 10:53 AM, Ryan McKinley ryan...@gmail.com wrote: Hymm. I'm not sure what it could be... I did copy the inmethod- grid pom to cuild the ki-secuity pom, but I think i got rid of any conflicts. What is the error the Continuum server spits out? Perhaps it has something to do with syringe? (committed about the same time as ki- security) When I try to build wicketstuff-core now, I get the following error: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.apache.commons:commons-proxy:jar:1.1-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.commons -DartifactId=commons-proxy -Dversion=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.commons -DartifactId=commons-proxy -Dversion=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.wicketstuff:wicket-syringe:jar:1.4-SNAPSHOT 2) org.apache.commons:commons-proxy:jar:1.1-SNAPSHOT -- 1 required artifact is missing. for artifact: org.wicketstuff:wicket-syringe:jar:1.4-SNAPSHOT from the specified remote repositories: wicket-snaps (http://wicketstuff.org/maven/repository), central (http://repo1.maven.org/maven2) On Mar 25, 2009, at 11:21 AM, Jeremy Thomerson wrote: I run Continuum on my server and just started receiving notifications two days ago that inmethod grid was not compiling. It showed up right after the commit of this ki security stuff. I haven't looked at it yet, hoping that someone who was working with ki security or inmethod would do so. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 25, 2009 at 5:48 AM, Martin Funk mafulaf...@googlemail.com wrote: Am 25.03.2009 um 10:17 schrieb nino martinez wael: The problem with wicket stuff have been cleared up a bit, the part about which projects are dead and not.. Those in wicketstuff-core are alive, and if they become incompatible with the current version of wicket they will be kicked.. are they? I mean alive. Locking here: http://wicketstuff.org/teamcity/viewLog.html?buildId=3486tab=buildResultsDivbuildTypeId=bt35 I'd say it's at least not compiling no more. Could someone please fix that? mf 2009/3/25 Maarten Bosteels mbosteels@gmail.com Hi Ryan, I added you to the Project Members, so feel free to commit your examples. Unfortunately, until now I haven't had time to work on it myself The idea was to let the code mature in http://code.google.com/p/wicket-jsecurity/ and maybe move it to wicket-stuff later on. Maybe we should move it to wicket-stuff already. My main problem with wicket-stuff is/was that it's not always very clear which projects are still alive and maintained and which are practically dead. And at the time, wicket-stuff had some problems with continuous integration, IIRC. Les, what do you think ? We should change the project name to wicket-ki anyway. regards, Maarten On Wed, Mar 25, 2009 at 7:47 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Yeah I've for one always been very pro for wicketstuff.. It's nice keeping things in one place.. Plus as you
Re: wicketstuff / ki / jsecurity
The commons-proxy snapshots will be in the repository on the build server, because it's also running in the build server. On Wed, Mar 25, 2009 at 11:53 AM, Ryan McKinley ryan...@gmail.com wrote: Hymm. I'm not sure what it could be... I did copy the inmethod-grid pom to cuild the ki-secuity pom, but I think i got rid of any conflicts. What is the error the Continuum server spits out? Perhaps it has something to do with syringe? (committed about the same time as ki-security) When I try to build wicketstuff-core now, I get the following error: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.apache.commons:commons-proxy:jar:1.1-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.commons -DartifactId=commons-proxy -Dversion=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.commons -DartifactId=commons-proxy -Dversion=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.wicketstuff:wicket-syringe:jar:1.4-SNAPSHOT 2) org.apache.commons:commons-proxy:jar:1.1-SNAPSHOT -- 1 required artifact is missing. for artifact: org.wicketstuff:wicket-syringe:jar:1.4-SNAPSHOT from the specified remote repositories: wicket-snaps (http://wicketstuff.org/maven/repository), central (http://repo1.maven.org/maven2) On Mar 25, 2009, at 11:21 AM, Jeremy Thomerson wrote: I run Continuum on my server and just started receiving notifications two days ago that inmethod grid was not compiling. It showed up right after the commit of this ki security stuff. I haven't looked at it yet, hoping that someone who was working with ki security or inmethod would do so. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 25, 2009 at 5:48 AM, Martin Funk mafulaf...@googlemail.comwrote: Am 25.03.2009 um 10:17 schrieb nino martinez wael: The problem with wicket stuff have been cleared up a bit, the part about which projects are dead and not.. Those in wicketstuff-core are alive, and if they become incompatible with the current version of wicket they will be kicked.. are they? I mean alive. Locking here: http://wicketstuff.org/teamcity/viewLog.html?buildId=3486tab=buildResultsDivbuildTypeId=bt35 I'd say it's at least not compiling no more. Could someone please fix that? mf 2009/3/25 Maarten Bosteels mbosteels@gmail.com Hi Ryan, I added you to the Project Members, so feel free to commit your examples. Unfortunately, until now I haven't had time to work on it myself The idea was to let the code mature in http://code.google.com/p/wicket-jsecurity/ and maybe move it to wicket-stuff later on. Maybe we should move it to wicket-stuff already. My main problem with wicket-stuff is/was that it's not always very clear which projects are still alive and maintained and which are practically dead. And at the time, wicket-stuff had some problems with continuous integration, IIRC. Les, what do you think ? We should change the project name to wicket-ki anyway. regards, Maarten On Wed, Mar 25, 2009 at 7:47 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Yeah I've for one always been very pro for wicketstuff.. It's nice keeping things in one place.. Plus as you write if we share a somewhat similar structure it's potentially easier to maintain.. 2009/3/24 Ryan McKinley ryan...@gmail.com Hi- I've been looking to integrate a complex security model with wicket -- jsecurity seems really good. I tried messing with: http://code.google.com/p/wicket-jsecurity/ This appears to be a starting place, but does not have any running example. In an effort to get things running (and learn JSecurity) i took that + wicket-auth-roles and tried to make a functioning core + example. I've got something running and would love to share it... Should I post this to the google code site? It makes more sense (to me) if we keep it in the wicketstuff repos -- that way we get the benefit of Jeremy's work to make wickettuff-core much cleaner. Thoughts? Ryan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Double submit issue - disabling HTML submit button causes form posting to be cancelled
search this list for SecureForm, might give you some ideas for the form-token pattern. -igor On Wed, Mar 25, 2009 at 3:22 AM, Jeremy2009 jscol...@gmail.com wrote: Hello, I am implementing a 'double-submit' prevention strategy by pre-pending the relevant wicket component's 'onclick' handler with this.disabled=true. This works fine for components that are translated as normal HTML buttons ie input type='button' and that form submission only involves javascript in the onclick handler (eg using AjaxButton): Eg, input type=button onclick=this.disabled = true;wicketShow('ajaxIndicatore2');..bind(this));;; return false; value=Change password name=submitButton id=submitButtoned/ (NB I have removed the bulk of the ajax javascript code in the onclick handler for clarity). When uploading a file and using the wicket UploadProgressBar class, there's javascript placed in the HTML form's onsubmit handler. This handler is ONLY fired if you use a HTML submit button input type='submit'. Using a standard HTML button and using it's onclick handler to submit the form does NOT call the form's onsubmit handler before the form is posted to the server. This is expected browser behaviour as far as i can tell. Eg, input type='button' onclick='this.form.submit()'/ ...submits the form, but the form's onsubmit handler does not fire. My problem comes when the following happens: input type='submit' onclick='this.disabled=true'/ ...this disables the submit button and calls the form's onsubmit handler (as evidenced by placing javascript alert('here') messages in the generated HTML onsubmit handler) BUT it cancels the posting of the form and instead the page reloads, as far as i can tell. According to various web sites, it's expected behavour that disabling a submit button cancels the form being posting. So, if i want the form's onsubmit handler to fire and allow the UploadProgressBar to work, how am I to prevent a user from double-clicking the submit button when uploading a file? Hopefully, I am missing something obvious... Kinds regards Jeremy -- View this message in context: http://www.nabble.com/Double-submit-issue---disabling-HTML-submit-button-causes-form-posting-to-be-cancelled-tp22698742p22698742.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: best way to add tooltips in wicket
The newer version of prototip js is a commercial license, so im not sure what the future are for it.. Mootip are not.. 2009/3/25 RoyBatty math...@afjochnick.net: I've only tried prototip (obviously...) so far, and it seems to do everything i need. :) I have one more question though... For minis, all resources - images, js-files and most importantly, .css-files - are located in the same package as the java classes inside the jar. But i'll want to change most of the css-stuff related to the popup boxes. How is this best done with wicket? I can't just add it to a spontaneous CSS i have, since the prototip is included below my own css in the HTML header and will override anything in my css. -- View this message in context: http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p22703629.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Form validation without a form component
Nope. As far as I can tell, you can only add Validators to subclasses of FormComponent. James Carman-3 wrote: You could add a validator to the form itself, right? -- View this message in context: http://www.nabble.com/Form-validation-without-a-form-component-tp22682572p22705787.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Form validation without a form component
see IFormValidator -igor On Wed, Mar 25, 2009 at 9:39 AM, triswork tristan.k...@gmail.com wrote: Nope. As far as I can tell, you can only add Validators to subclasses of FormComponent. James Carman-3 wrote: You could add a validator to the form itself, right? -- View this message in context: http://www.nabble.com/Form-validation-without-a-form-component-tp22682572p22705787.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Xml models [Was: Making wicket work with Dynamically created html]
yup thats the one, and thanks for answering 2009/3/25 Johan Compagner jcompag...@gmail.com: you mean the PropertyModel based on proxies (there is an issue in jira for that) I have some code working yes. But the problem is that commons-proxy isnt good enough yet to use (because we in wicket need to make a decision which proxy to use up front) Or i could just go for the default jdk proxy. the best thing was if commons proxy would work like slf4j johan On Wed, Mar 25, 2009 at 14:44, nino martinez wael nino.martinez.w...@gmail.com wrote: This again makes me wonder how the cglibproxy thing are comming along? 2009/3/25 Erik van Oosten e.vanoos...@grons.nl: Haha, yes ugly, but very clear. In any case, using bind (as on CompoundPropertyModel) works as well. That way you can use proper component ids in combination with XPath-like property expression. Johan Compagner wrote: do you really use such ugly id's? :) On Tue, Mar 24, 2009 at 15:15, Erik van Oosten e.vanoos...@grons.nl wrote: Interesting. I think we have something similar. We do stuff like new TextField(/addresses/address[1]/street) and this will automatically bind the text field to a node in the XML document that was attached to the form. Regards, Erik. Jan Kriesten wrote: I did something like that with XML specifying the form and having a ElementModel binding the form elements to JDOM nodes. Best regards, --- Jan. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: what is the state of wicket-contrib?
There is no wicket-contrib project. There is a project that was wicket-contrib-yui. If that's what you need, the source is here: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/yui-parent/ Run these three commands and you'll have it: svn co https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core cd wicketstuff-core mvn clean install Or you can find snapshots here: http://wicketstuff.org/maven/repository/org/wicketstuff/yui/ Or the 1.4-RC2 release in this repo: http://www.wickettraining.com/ws-repo -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 25, 2009 at 12:07 PM, Vladimir K koval...@gmail.com wrote: Anyone? Is wicket-contrib a dead project? Vladimir K wrote: I'm concerned about where I can get wicket-contrib-yui? Sourceforge download page privide several outdated projects and does not provide wicket-contrib-yui at all. -- View this message in context: http://www.nabble.com/what-is-the-state-of-wicket-contrib--tp22679385p22706493.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Appfuse Role and User models
Hi Matt, I'm trying to use your framework but have come unstuck with the following : 1. I wanted to extend User but because you have marked it as an Entity with no inheritence annotation I have had to have my own User entity which has a one2one mapping to the appFuse user. Is it possible you could mark the User class as @Inheritance(strategy=InheritanceType.JOINED) or even better just as a SuperMappedClass ? Or is there another way to integrate into the appfuse user ? 2. I want to use the User entity within GWT but because it uses apache string builders,etc I cant without doing some sourcey with the apache files. Do you have very simple version of these entities that can be used within GWT ? Thanks for your efforts. -- View this message in context: http://www.nabble.com/Appfuse-Role-and-User-models-tp22707425p22707425.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Appfuse Role and User models
Did you intend to send this to Matt Raible's AppFuse mailing list? -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 25, 2009 at 12:43 PM, asif11 a...@mailinator.com wrote: Hi Matt, I'm trying to use your framework but have come unstuck with the following : 1. I wanted to extend User but because you have marked it as an Entity with no inheritence annotation I have had to have my own User entity which has a one2one mapping to the appFuse user. Is it possible you could mark the User class as @Inheritance(strategy=InheritanceType.JOINED) or even better just as a SuperMappedClass ? Or is there another way to integrate into the appfuse user ? 2. I want to use the User entity within GWT but because it uses apache string builders,etc I cant without doing some sourcey with the apache files. Do you have very simple version of these entities that can be used within GWT ? Thanks for your efforts. -- View this message in context: http://www.nabble.com/Appfuse-Role-and-User-models-tp22707425p22707425.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: what is the state of wicket-contrib?
Thanks Jeremy. I will have a look at snaphot. But what I'm concerned about ... I would like to include just stable versions of components into my project. Is it possible to find a stable version of yui integration for wicket 1.3.5? Jeremy Thomerson-5 wrote: There is no wicket-contrib project. There is a project that was wicket-contrib-yui. If that's what you need, the source is here: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/yui-parent/ Run these three commands and you'll have it: svn co https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core cd wicketstuff-core mvn clean install Or you can find snapshots here: http://wicketstuff.org/maven/repository/org/wicketstuff/yui/ Or the 1.4-RC2 release in this repo: http://www.wickettraining.com/ws-repo -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 25, 2009 at 12:07 PM, Vladimir K koval...@gmail.com wrote: Anyone? Is wicket-contrib a dead project? Vladimir K wrote: I'm concerned about where I can get wicket-contrib-yui? Sourceforge download page privide several outdated projects and does not provide wicket-contrib-yui at all. -- View this message in context: http://www.nabble.com/what-is-the-state-of-wicket-contrib--tp22679385p22706493.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/what-is-the-state-of-wicket-contrib--tp22679385p22707493.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: what is the state of wicket-contrib?
Wicketstuff has not had a history of creating point releases. That is the goal that we recently set with moving everything to wicketstuff-core. I would suggest checking out the code (you may need to check the old 1.3.X branch), and modifying the pom to give it a name like 1.3.5-CUSTOM-BUILT-DATE and run mvn clean install. Then modify your project to depend on that version, and deploy that version to your company repo. Then just test that it all works. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 25, 2009 at 1:00 PM, Vladimir K koval...@gmail.com wrote: Thanks Jeremy. I will have a look at snaphot. But what I'm concerned about ... I would like to include just stable versions of components into my project. Is it possible to find a stable version of yui integration for wicket 1.3.5? Jeremy Thomerson-5 wrote: There is no wicket-contrib project. There is a project that was wicket-contrib-yui. If that's what you need, the source is here: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/yui-parent/ Run these three commands and you'll have it: svn co https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core cd wicketstuff-core mvn clean install Or you can find snapshots here: http://wicketstuff.org/maven/repository/org/wicketstuff/yui/ Or the 1.4-RC2 release in this repo: http://www.wickettraining.com/ws-repo -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 25, 2009 at 12:07 PM, Vladimir K koval...@gmail.com wrote: Anyone? Is wicket-contrib a dead project? Vladimir K wrote: I'm concerned about where I can get wicket-contrib-yui? Sourceforge download page privide several outdated projects and does not provide wicket-contrib-yui at all. -- View this message in context: http://www.nabble.com/what-is-the-state-of-wicket-contrib--tp22679385p22706493.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/what-is-the-state-of-wicket-contrib--tp22679385p22707493.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Xml models [Was: Making wicket work with Dynamically created html]
i am fully conviced that james can do all that. :) On Wed, Mar 25, 2009 at 19:31, James Carman jcar...@carmanconsulting.comwrote: Ok, ok. I get it. I get it. I've got a request in to make Commons Proxy more like SLF4J in that the implementation is discoverable at runtime. I personally agree with you. I also think ProxyFactory should be made an interface, not a concrete class. What I would do is jack up the release number if I ever wanted to change it. On Wed, Mar 25, 2009 at 12:50 PM, Johan Compagner jcompag...@gmail.com wrote: you mean the PropertyModel based on proxies (there is an issue in jira for that) I have some code working yes. But the problem is that commons-proxy isnt good enough yet to use (because we in wicket need to make a decision which proxy to use up front) Or i could just go for the default jdk proxy. the best thing was if commons proxy would work like slf4j johan On Wed, Mar 25, 2009 at 14:44, nino martinez wael nino.martinez.w...@gmail.com wrote: This again makes me wonder how the cglibproxy thing are comming along? 2009/3/25 Erik van Oosten e.vanoos...@grons.nl: Haha, yes ugly, but very clear. In any case, using bind (as on CompoundPropertyModel) works as well. That way you can use proper component ids in combination with XPath-like property expression. Johan Compagner wrote: do you really use such ugly id's? :) On Tue, Mar 24, 2009 at 15:15, Erik van Oosten e.vanoos...@grons.nl wrote: Interesting. I think we have something similar. We do stuff like new TextField(/addresses/address[1]/street) and this will automatically bind the text field to a node in the XML document that was attached to the form. Regards, Erik. Jan Kriesten wrote: I did something like that with XML specifying the form and having a ElementModel binding the form elements to JDOM nodes. Best regards, --- Jan. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Xml models [Was: Making wicket work with Dynamically created html]
Oh, I have no problem doing that. The issue is getting the other PMC members to agree to it. I had ProxyFactory set up as an interface in the first place and they strongly suggested that I change it to a class. As for the SFL4J-likeness request, I don't think that's too tough. On Wed, Mar 25, 2009 at 2:33 PM, Johan Compagner jcompag...@gmail.com wrote: i am fully conviced that james can do all that. :) On Wed, Mar 25, 2009 at 19:31, James Carman jcar...@carmanconsulting.comwrote: Ok, ok. I get it. I get it. I've got a request in to make Commons Proxy more like SLF4J in that the implementation is discoverable at runtime. I personally agree with you. I also think ProxyFactory should be made an interface, not a concrete class. What I would do is jack up the release number if I ever wanted to change it. On Wed, Mar 25, 2009 at 12:50 PM, Johan Compagner jcompag...@gmail.com wrote: you mean the PropertyModel based on proxies (there is an issue in jira for that) I have some code working yes. But the problem is that commons-proxy isnt good enough yet to use (because we in wicket need to make a decision which proxy to use up front) Or i could just go for the default jdk proxy. the best thing was if commons proxy would work like slf4j johan On Wed, Mar 25, 2009 at 14:44, nino martinez wael nino.martinez.w...@gmail.com wrote: This again makes me wonder how the cglibproxy thing are comming along? 2009/3/25 Erik van Oosten e.vanoos...@grons.nl: Haha, yes ugly, but very clear. In any case, using bind (as on CompoundPropertyModel) works as well. That way you can use proper component ids in combination with XPath-like property expression. Johan Compagner wrote: do you really use such ugly id's? :) On Tue, Mar 24, 2009 at 15:15, Erik van Oosten e.vanoos...@grons.nl wrote: Interesting. I think we have something similar. We do stuff like new TextField(/addresses/address[1]/street) and this will automatically bind the text field to a node in the XML document that was attached to the form. Regards, Erik. Jan Kriesten wrote: I did something like that with XML specifying the form and having a ElementModel binding the form elements to JDOM nodes. Best regards, --- Jan. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: best way to add tooltips in wicket
ohh and yeah mootip supports ajax tips, tool tips loaded via ajax... very usefull if you have lots of tips with images / animations... 2009/3/25 nino martinez wael nino.martinez.w...@gmail.com: The newer version of prototip js is a commercial license, so im not sure what the future are for it.. Mootip are not.. 2009/3/25 RoyBatty math...@afjochnick.net: I've only tried prototip (obviously...) so far, and it seems to do everything i need. :) I have one more question though... For minis, all resources - images, js-files and most importantly, .css-files - are located in the same package as the java classes inside the jar. But i'll want to change most of the css-stuff related to the popup boxes. How is this best done with wicket? I can't just add it to a spontaneous CSS i have, since the prototip is included below my own css in the HTML header and will override anything in my css. -- View this message in context: http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p22703629.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: freelance gig
Don't do it: http://www.joelonsoftware.com/articles/fog69.html ** Martin 2009/3/25 Phillip Rhodes spamsu...@rhoderunner.com: I apologize for this posting, but being a fellow wicket enthusiast who needs some help, I wouldn't have minded seeing such a posting. For our project, we are implementing a new user interface. The existing UI is written using another java-based web framework, and many of the elements of the new interface requires components (i.e. Modal popups, trees) that either do not exist in this framework or are buggy. Most of the application code is in the service layer and not the UI layer, so given the vastly different UI, a total UI rewrite is necessary. The project is to implement a newly redesigned UI using wicket. The wicket UI will interface with an already written suite of spring services that work with hibernate to persist data to the database. In addition to hibernate, the spring services layer will integrate with Lucene. Ideally, the person to do this work is already familiar with wicket, spring, hibernate and Lucene. Of most importance is familiarity with wicket. The work can be done remotely, and we will be working together (splitting out the components, pages, etc) to deliver a new UI. Delivery is slated for mid-may. Please email me (off the mailing list of course) if you are interested, how your experience matches what i need and what your rate requirements are. Thanks, and I apologize for the non-development question. Phillip - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: number of active users
yeah search the list i did something once but its not a great solution and it does not work when clustering 2009/3/25 Andreas Kaluza kal...@rhrk.uni-kl.de: Hi @ all, I'm using Wicket 1.35 with a jetty server. My question is if I can get the number of the active users, who are logged in the system. Perhaps getting the number of active sessions or something like that. Is there a solution for my problem? Greetings - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: freelance gig
It's just rewriting the UI. Most of the code is behind spring services, so this is hardly a 100% rewrite, it's just a rewrite of the UI layer. Please bear in mind that we are not rewriting the application just to get from webframework a into webframework b. Even if I kept it in webframe a, everything needs to be changed. The entire security paradigm has changed, every screen has changed. Not much reuse will be achieved by trying to enhance the old application. -Original Message- From: Martin Makundi martin.maku...@koodaripalvelut.com Sent: Wednesday, March 25, 2009 2:58pm To: users@wicket.apache.org Subject: Re: freelance gig Don't do it: http://www.joelonsoftware.com/articles/fog69.html ** Martin 2009/3/25 Phillip Rhodes spamsu...@rhoderunner.com: I apologize for this posting, but being a fellow wicket enthusiast who needs some help, I wouldn't have minded seeing such a posting. For our project, we are implementing a new user interface. The existing UI is written using another java-based web framework, and many of the elements of the new interface requires components (i.e. Modal popups, trees) that either do not exist in this framework or are buggy. Most of the application code is in the service layer and not the UI layer, so given the vastly different UI, a total UI rewrite is necessary. The project is to implement a newly redesigned UI using wicket. The wicket UI will interface with an already written suite of spring services that work with hibernate to persist data to the database. In addition to hibernate, the spring services layer will integrate with Lucene. Ideally, the person to do this work is already familiar with wicket, spring, hibernate and Lucene. Of most importance is familiarity with wicket. The work can be done remotely, and we will be working together (splitting out the components, pages, etc) to deliver a new UI. Delivery is slated for mid-may. Please email me (off the mailing list of course) if you are interested, how your experience matches what i need and what your rate requirements are. Thanks, and I apologize for the non-development question. Phillip - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Repeater component with dynamic column list
Hi Janos, I did what you advised me to do but got the following exception (in this case I used a list of 3 entries with 3 fields): Unexpected RuntimeException WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered). 1. [MarkupContainer [Component id = cell]] 2. [Component id = 1] 3. [Component id = 2] 4. [Component id = 3] 5. [Component id = 4] 6. [MarkupContainer [Component id = cell]] 7. [Component id = 1] 8. [Component id = 2] 9. [Component id = 3] 10. [Component id = 4] Root cause: org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered). 1. [MarkupContainer [Component id = cell]] 2. [Component id = 1] 3. [Component id = 2] 4. [Component id = 3] 5. [Component id = 4] 6. [MarkupContainer [Component id = cell]] 7. [Component id = 1] 8. [Component id = 2] 9. [Component id = 3] 10. [Component id = 4] at org.apache.wicket.Page.checkRendering(Page.java:1121) at org.apache.wicket.Page.renderPage(Page.java:914) at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:249) at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:104) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1194) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1265) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1366) at org.apache.wicket.RequestCycle.request(RequestCycle.java:498) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:444) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) //* File listings //* //EntryListPage.html html xmlns:wicket head meta http-equiv=Content-Type content=text/html; charset=UTF-8/ titleEntryListPage/title link rel=stylesheet type=text/css href=style.css/ /head body /body /html //** // EntryListPage.java public final class EntryListPage extends WebPage { public EntryListPage() { super (); ArrayListEntryData entries = createSampleEntries(); EntryDataPanel entryDataPanel = new EntryDataPanel(entryDataPanel, entries); add(entryDataPanel); [...] } } //** // EntryDataPanel.html html xmlns:wicket head meta http-equiv=Content-Type content=text/html; charset=UTF-8/ titleEntryDataPanel/title /head body wicket:panel table border=1 tr thEntry Id/th th wicket:id=heading /th /tr tr wicket:id=row td wikcet:id=cell /td /tr /table /wicket:panel /body /html //** // EntryDataPanel.java public final class EntryDataPanel extends Panel { public EntryDataPanel(String id, ArrayListEntryData entries) { super (id); RepeatingView heading = new RepeatingView(heading); for (FieldData fd : entries.get(0).entryFields) { heading.add(new Label(heading.newChildId(), fd.fieldLabel)); } add(heading); RepeatingView row = new RepeatingView(row); add(row);
DataView starting Page number
I just discovered my problem, but I decided to post this because it may help someone. When using a DataView, be sure to use .setItemsPerPage( before using .setCurrentPage( or else you will get the exception: IndexOutOfBoundsException: argument [page]=1, must be 0=page1 Perhaps the documentation could make this obvious. ciao. -- View this message in context: http://www.nabble.com/DataView-starting-Page-number-tp22710223p22710223.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Re: freelance gig
So it's not a rewrite but a new application. On Mar 25, 2009 4:28pm, Phillip Rhodes spamsu...@rhoderunner.com wrote: It's just rewriting the UI. Most of the code is behind spring services, so this is hardly a 100% rewrite, it's just a rewrite of the UI layer. Please bear in mind that we are not rewriting the application just to get from webframework a into webframework b. Even if I kept it in webframe a, everything needs to be changed. The entire security paradigm has changed, every screen has changed. Not much reuse will be achieved by trying to enhance the old application. -Original Message- From: Martin Makundi martin.maku...@koodaripalvelut.com Sent: Wednesday, March 25, 2009 2:58pm To: users@wicket.apache.org Subject: Re: freelance gig Don't do it: http://www.joelonsoftware.com/articles/fog69.html ** Martin 2009/3/25 Phillip Rhodes spamsu...@rhoderunner.com: I apologize for this posting, but being a fellow wicket enthusiast who needs some help, I wouldn't have minded seeing such a posting. For our project, we are implementing a new user interface. The existing UI is written using another java-based web framework, and many of the elements of the new interface requires components (ie Modal popups, trees) that either do not exist in this framework or are buggy. Most of the application code is in the service layer and not the UI layer, so given the vastly different UI, a total UI rewrite is necessary. The project is to implement a newly redesigned UI using wicket. The wicket UI will interface with an already written suite of spring services that work with hibernate to persist data to the database. In addition to hibernate, the spring services layer will integrate with Lucene. Ideally, the person to do this work is already familiar with wicket, spring, hibernate and Lucene. Of most importance is familiarity with wicket. The work can be done remotely, and we will be working together (splitting out the components, pages, etc) to deliver a new UI. Delivery is slated for mid-may. Please email me (off the mailing list of course) if you are interested, how your experience matches what i need and what your rate requirements are. Thanks, and I apologize for the non-development question. Phillip - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: newbie question: HTTP 404 on the quickstart project
Hi, Can you, please, be more explicit when you said Because you're not using jetty-config.xml I changed bb.setContextPath(/); to bb.setContextPath(/QuickStart); And the result is the same. But I do not see how can I refer to the jetty-config.xml in the Start.java file. Regards. Mohamed -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Tuesday, March 24, 2009 4:44 PM To: users@wicket.apache.org Subject: Re: newbie question: HTTP 404 on the quickstart project Because you're not using jetty-config.xml - look at Start.java - you are mounting the app on / WebAppContext bb = new WebAppContext(); bb.setServer(server); bb.setContextPath(/); bb.setWar(src/main/webapp); -- Jeremy Thomerson http://www.wickettraining.com On Tue, Mar 24, 2009 at 3:41 PM, Chenini, Mohamed mchen...@geico.comwrote: Why URL http://localhost:8081/quickstart Results on this error: HTTP ERROR: 404 NOT_FOUND RequestURI=/QuickStart While jetty-config.xml has this entry: Call name=addWebApplication Arg/QuickStart/Arg Argsrc/webapp/Arg /Call -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Tuesday, March 24, 2009 4:30 PM To: users@wicket.apache.org Subject: Re: newbie question: HTTP 404 on the quickstart project Okay - you found it. What's the question? -- Jeremy Thomerson http://www.wickettraining.com On Tue, Mar 24, 2009 at 3:28 PM, Chenini, Mohamed mchen...@geico.comwrote: Launching http://localhost:8081 produces this output: Wicket Quickstart Archetype Homepage If you see this message wicket is properly configured and running The jetty server is started and the console log shows this: INFO - WebApplication - [WicketApplication] Started Wicket version 1.4-rc2 in development mode *** WARNING: Wicket is running in DEVELOPMENT mode. *** *** ^^^*** *** Do NOT deploy to your live server(s) without changing this. *** *** See Application#getConfigurationType() for more information. *** INFO - log- Started socketconnec...@0.0.0.0:8081 The Start.java code is as follows: mport org.mortbay.jetty.Connector; import org.mortbay.jetty.Server; import org.mortbay.jetty.bio.SocketConnector; import org.mortbay.jetty.webapp.WebAppContext; public class Start { public static void main(String[] args) throws Exception { Server server = new Server(); SocketConnector connector = new SocketConnector(); // Set some timeout options to make debugging easier. connector.setMaxIdleTime(1000 * 60 * 60); connector.setSoLingerTime(-1); connector.setPort(8081); server.setConnectors(new Connector[] { connector }); WebAppContext bb = new WebAppContext(); bb.setServer(server); bb.setContextPath(/); bb.setWar(src/main/webapp); // START JMX SERVER // MBeanServer mBeanServer = ManagementFactory.getPlatformMBeanServer(); // MBeanContainer mBeanContainer = new MBeanContainer(mBeanServer); // server.getContainer().addEventListener(mBeanContainer); // mBeanContainer.start(); server.addHandler(bb); try { System.out.println( STARTING EMBEDDED JETTY SERVER, PRESS ANY KEY TO STOP); server.start(); System.in.read(); System.out.println( STOPPING EMBEDDED JETTY SERVER); // while (System.in.available() == 0) { // Thread.sleep(5000); // } server.stop(); server.join(); } catch (Exception e) { e.printStackTrace(); System.exit(100); } } } -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Tuesday, March 24, 2009 4:23 PM To: users@wicket.apache.org Subject: Re: newbie question: HTTP 404 on the quickstart project Try http://localhost:8080 and http://localhost:8081 The answer really will be in Start.java - see what port it is on and where the app is mounted. Then make that into a URL. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Mar 24, 2009 at 3:19 PM, Chenini, Mohamed mchen...@geico.comwrote: I tried http://localhost:8081/quickstart And the content of web.xml
Re: Thanks everybody for attending the meetup
I've created a small impression of our event based on the photo's I and a coworker took during the meetup. Check out the video: http://wicketinaction.com/2009/03/wicket-meetup-amsterdam-2009-video-online/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
AW: number of active users
Thx for the reply! 1) In which class do I find the list? 2) Has someone another idea, for my problem? Greetz -Ursprüngliche Nachricht- Von: nino martinez wael [mailto:nino.martinez.w...@gmail.com] Gesendet: Mittwoch, 25. März 2009 20:18 An: users@wicket.apache.org Betreff: Re: number of active users yeah search the list i did something once but its not a great solution and it does not work when clustering 2009/3/25 Andreas Kaluza kal...@rhrk.uni-kl.de: Hi @ all, I'm using Wicket 1.35 with a jetty server. My question is if I can get the number of the active users, who are logged in the system. Perhaps getting the number of active sessions or something like that. Is there a solution for my problem? Greetings - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: number of active users
If you use some sort of database, you can easily do that, on any kind of environment (like clustered). If not, another way is syncing with some rest service between all instances in a clustered application. In one instance, of course you can do that in many ways. Cheers Bruno Borges blog.brunoborges.com.br +55 21 76727099 The glory of great men should always be measured by the means they have used to acquire it. - Francois de La Rochefoucauld On Wed, Mar 25, 2009 at 4:18 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: yeah search the list i did something once but its not a great solution and it does not work when clustering 2009/3/25 Andreas Kaluza kal...@rhrk.uni-kl.de: Hi @ all, I'm using Wicket 1.35 with a jetty server. My question is if I can get the number of the active users, who are logged in the system. Perhaps getting the number of active sessions or something like that. Is there a solution for my problem? Greetings - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: newbie question: HTTP 404 on the quickstart project
Why do you so badly want it to be on /QuickStart? It was working for you on / - now start learning Wicket with it - that was the intention of the quickstart. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 25, 2009 at 4:01 PM, Chenini, Mohamed mchen...@geico.comwrote: Hi, Can you, please, be more explicit when you said Because you're not using jetty-config.xml I changed bb.setContextPath(/); to bb.setContextPath(/QuickStart); And the result is the same. But I do not see how can I refer to the jetty-config.xml in the Start.java file. Regards. Mohamed -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Tuesday, March 24, 2009 4:44 PM To: users@wicket.apache.org Subject: Re: newbie question: HTTP 404 on the quickstart project Because you're not using jetty-config.xml - look at Start.java - you are mounting the app on / WebAppContext bb = new WebAppContext(); bb.setServer(server); bb.setContextPath(/); bb.setWar(src/main/webapp); -- Jeremy Thomerson http://www.wickettraining.com On Tue, Mar 24, 2009 at 3:41 PM, Chenini, Mohamed mchen...@geico.comwrote: Why URL http://localhost:8081/quickstart Results on this error: HTTP ERROR: 404 NOT_FOUND RequestURI=/QuickStart While jetty-config.xml has this entry: Call name=addWebApplication Arg/QuickStart/Arg Argsrc/webapp/Arg /Call -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Tuesday, March 24, 2009 4:30 PM To: users@wicket.apache.org Subject: Re: newbie question: HTTP 404 on the quickstart project Okay - you found it. What's the question? -- Jeremy Thomerson http://www.wickettraining.com On Tue, Mar 24, 2009 at 3:28 PM, Chenini, Mohamed mchen...@geico.comwrote: Launching http://localhost:8081 produces this output: Wicket Quickstart Archetype Homepage If you see this message wicket is properly configured and running The jetty server is started and the console log shows this: INFO - WebApplication - [WicketApplication] Started Wicket version 1.4-rc2 in development mode *** WARNING: Wicket is running in DEVELOPMENT mode. *** *** ^^^*** *** Do NOT deploy to your live server(s) without changing this. *** *** See Application#getConfigurationType() for more information. *** INFO - log- Started socketconnec...@0.0.0.0:8081 The Start.java code is as follows: mport org.mortbay.jetty.Connector; import org.mortbay.jetty.Server; import org.mortbay.jetty.bio.SocketConnector; import org.mortbay.jetty.webapp.WebAppContext; public class Start { public static void main(String[] args) throws Exception { Server server = new Server(); SocketConnector connector = new SocketConnector(); // Set some timeout options to make debugging easier. connector.setMaxIdleTime(1000 * 60 * 60); connector.setSoLingerTime(-1); connector.setPort(8081); server.setConnectors(new Connector[] { connector }); WebAppContext bb = new WebAppContext(); bb.setServer(server); bb.setContextPath(/); bb.setWar(src/main/webapp); // START JMX SERVER // MBeanServer mBeanServer = ManagementFactory.getPlatformMBeanServer(); // MBeanContainer mBeanContainer = new MBeanContainer(mBeanServer); // server.getContainer().addEventListener(mBeanContainer); // mBeanContainer.start(); server.addHandler(bb); try { System.out.println( STARTING EMBEDDED JETTY SERVER, PRESS ANY KEY TO STOP); server.start(); System.in.read(); System.out.println( STOPPING EMBEDDED JETTY SERVER); // while (System.in.available() == 0) { // Thread.sleep(5000); // } server.stop(); server.join(); } catch (Exception e) { e.printStackTrace(); System.exit(100); } } } -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Tuesday, March 24, 2009 4:23 PM To: users@wicket.apache.org Subject: Re: newbie question: HTTP 404 on
Re: number of active users
the list = this mailing list search it on nabble -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 25, 2009 at 7:10 PM, Andreas Kaluza kal...@rhrk.uni-kl.dewrote: Thx for the reply! 1) In which class do I find the list? 2) Has someone another idea, for my problem? Greetz -Ursprüngliche Nachricht- Von: nino martinez wael [mailto:nino.martinez.w...@gmail.com] Gesendet: Mittwoch, 25. März 2009 20:18 An: users@wicket.apache.org Betreff: Re: number of active users yeah search the list i did something once but its not a great solution and it does not work when clustering 2009/3/25 Andreas Kaluza kal...@rhrk.uni-kl.de: Hi @ all, I'm using Wicket 1.35 with a jetty server. My question is if I can get the number of the active users, who are logged in the system. Perhaps getting the number of active sessions or something like that. Is there a solution for my problem? Greetings - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Extending the ModalWindow
Hi there ! I'm polishing the first prototype of my web application before release. When I wanted to modify the look and feel of Wicket's modal windows I was surprised to notice that the HTML is hardcoded Javascript code ! I was expecting to extend the ModalWindow class, for instance, changing the associated HTML template. But I discovered that this seems not possible. Can someone explain me why this component uses hardcoded Javascript for the HTML parts ? Is there somewhere a more reusable implementation of a ModalWindow ? I could try to hack my way with tricky CSS but even that seems unlikely to give me what I want (for instance the close cross is inside the title div, I want it in a separate place). Playing to much with CSS magic risk to break the cross browser compatibility. The final result I'm searching for is something much like http://famspam.com/facebox I was also considering using Wickext to do the trick http://www.wickext.org/ (which I'm already using for some forms magic) but I fail to see how to implement the onClose server side Java call method... Could someone help me with this ? How to get a full featured ModalWindow that looks like the facebox example ? Regards, rodrigob. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
problems with back button
Hi, I notice when I hit the back button it takes me to the last page without hitting the server. I read some posts that mentioned the method in WebPage that should disable caching by default protected void setHeaders(WebResponse response) { response.setHeader(Pragma, no-cache); response.setHeader(Cache-Control, no-cache, max-age=0, must-revalidate); // no-store } But it doesn't seem to work-- I'm using Firefox version 3.0.7. Has anyone encountered this problem before? Thanks, Jason -- View this message in context: http://www.nabble.com/problems-with-back-button-tp22714651p22714651.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: problems with back button
http://www.nabble.com/Back-button-retrieving-cached-data-even-with-proper-headers.-to17260832.html#a17260832 -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 25, 2009 at 8:44 PM, novotny novo...@gridsphere.org wrote: Hi, I notice when I hit the back button it takes me to the last page without hitting the server. I read some posts that mentioned the method in WebPage that should disable caching by default protected void setHeaders(WebResponse response) { response.setHeader(Pragma, no-cache); response.setHeader(Cache-Control, no-cache, max-age=0, must-revalidate); // no-store } But it doesn't seem to work-- I'm using Firefox version 3.0.7. Has anyone encountered this problem before? Thanks, Jason -- View this message in context: http://www.nabble.com/problems-with-back-button-tp22714651p22714651.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
toString( ) and naming conventions in Component class
Hi, This concerns Wicket Version : 1.4-rc2 In componentModelChange class, we see the following : @Override public String toString() { return ComponentModelChange[component: + getPath() + ]; } ComponentModelChange[ piece of it, in toString( ) shouldn't that be this.getClass().getSimpleName( ) + [ or something in those lines, I see that most of the component change classes are based on a format like that ... am i missing something? If we see the Behaviour Change code that follows , we use more dynamic this.getClass() to spit out toString( ); If I may ask, is the Behavior change toString ( ) and OtherChange format different by some agreeable convention ? Also the toString( ) seems to be missing on ComponentBorderChange class. One more small observation, our naming conventions on Change class are inconsistent in many cases, for example, VisibilityChange and EnabledChange .. for what? question comes to mind, and the answer is component ... that to me infers that either it should be: 1.) ChangeCOMPONENT extends Component if above is not acceptable, then 2.) name it like ComponentEnabledChange or something in those lines? Just some thoughts. Sorry If questions have already been answered or are not appropriate, thought i'd ask the programming elites of wicket ;) Regards Vyas, Anirudh || ॐ ||
Re: toString( ) and naming conventions in Component class
or better have a something like IChangeCLUSTERABLE extends IClusterable, that would simply the change component type hierarchy and make our naming conventions more apparent ... is that a valid opinion? Regards Vyas, Anirudh On Wed, Mar 25, 2009 at 9:49 PM, Ricky ricky...@gmail.com wrote: Hi, This concerns Wicket Version : 1.4-rc2 In componentModelChange class, we see the following : @Override public String toString() { return ComponentModelChange[component: + getPath() + ]; } ComponentModelChange[ piece of it, in toString( ) shouldn't that be this.getClass().getSimpleName( ) + [ or something in those lines, I see that most of the component change classes are based on a format like that ... am i missing something? If we see the Behaviour Change code that follows , we use more dynamic this.getClass() to spit out toString( ); If I may ask, is the Behavior change toString ( ) and OtherChange format different by some agreeable convention ? Also the toString( ) seems to be missing on ComponentBorderChange class. One more small observation, our naming conventions on Change class are inconsistent in many cases, for example, VisibilityChange and EnabledChange .. for what? question comes to mind, and the answer is component ... that to me infers that either it should be: 1.) ChangeCOMPONENT extends Component if above is not acceptable, then 2.) name it like ComponentEnabledChange or something in those lines? Just some thoughts. Sorry If questions have already been answered or are not appropriate, thought i'd ask the programming elites of wicket ;) Regards Vyas, Anirudh || ॐ ||