visural-wicket 0.7.0 released with Wicket 1.5 support
Hi all, I've just pushed out a new version 0.7.0 of visural-wicket, component library for Wicket. There are now two packages, one for Wicket 1.4 and one for Wicket 1.5 Full details on my blog - http://www.richardnichols.net/2011/09/visural-wicket-0-7-0-release-with-support-for-apache-wicket-1-5/ This release includes a number of bug fixes and minor enhancements also - it's been quite a while since the last release. Please let me know if you experience any issues with the Wicket 1.5 version as I am still using Wicket 1.4 for most of my projects. cheers, Richard -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
Re: visural-wicket running on wicket 1.5?
Hi Nino, The version in the public respository 1.5 branch is still a direct copy of 1.4 - sorry I haven't commited the WIP 1.5 changes yet. I'll aim to get the WIP committed in this week. cheers, Richard. On Mon, Mar 7, 2011 at 6:47 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: Strange it compiles well, but does not work as wanted.. Any idea on which parts are causing the problems? On my dropdowns the dropdowns are empty, and in my textfields both the text and the span are added if in view mode, and if not 2 textfields are added. 2011/3/5 Richard Nichols r...@richardnichols.net I've created a 1.5 branch and it's in the works. 1.5 broke more stuff than expected :) Hopefully I can have a beta 1.5 branch functional within a few weeks Sent from my iPhone On 05/03/2011, at 6:15 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: So does has anybody run it on wicket 1.5, or is there something in the works for it? regards Nino - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
Re: visural-wicket running on wicket 1.5?
I've committed what appears to be a mostly working visural-wicket with 1.5 (rc2) compatibility. http://code.google.com/p/visural-wicket/source/browse/#svn%2Fbranches%2F1.5 If there are any issues found, please report them at http://code.google.com/p/visural-wicket/ cheers, Richard. On Wed, Mar 9, 2011 at 4:30 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: ok great.. I'll probably take at look at it monday then.. 2011/3/8 Richard Nichols r...@visural.com Hi Nino, The version in the public respository 1.5 branch is still a direct copy of 1.4 - sorry I haven't commited the WIP 1.5 changes yet. I'll aim to get the WIP committed in this week. cheers, Richard. On Mon, Mar 7, 2011 at 6:47 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: Strange it compiles well, but does not work as wanted.. Any idea on which parts are causing the problems? On my dropdowns the dropdowns are empty, and in my textfields both the text and the span are added if in view mode, and if not 2 textfields are added. 2011/3/5 Richard Nichols r...@richardnichols.net I've created a 1.5 branch and it's in the works. 1.5 broke more stuff than expected :) Hopefully I can have a beta 1.5 branch functional within a few weeks Sent from my iPhone On 05/03/2011, at 6:15 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: So does has anybody run it on wicket 1.5, or is there something in the works for it? regards Nino - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/ -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
Re: shift / ctrl / alt keys + ajax
You can do this on the client side relatively easily. Just bind a javascript event handler to the onkeydown event in the browser. When these key(s) are depressed change a form input to indicate which keys are pressed. When your Ajax event submits, you can check the model of the component the input is bound to to determine if the key(s) were pressed. cheers, Richard. On Tue, Mar 8, 2011 at 9:59 PM, Antoine van Wel antoine.van@gmail.comwrote: Hi, when clicking an (ajax)link, or a checkbox, etc, on the server side I'd like to know whether the shift, ctrl or alt keys are pressed at the same time. So I figure I need to fetch via JavaScript and adapt the ajax call with some extra parameters. Any thoughts how to do that in a nice clean way in 1.5 without too much hacking involved? regards, Antoine - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
Re: visural-wicket running on wicket 1.5?
I've created a 1.5 branch and it's in the works. 1.5 broke more stuff than expected :) Hopefully I can have a beta 1.5 branch functional within a few weeks Sent from my iPhone On 05/03/2011, at 6:15 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: So does has anybody run it on wicket 1.5, or is there something in the works for it? regards Nino - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: visural-wicket 0.6.5 released!
Hi Marc, Yes I will intend to improve the Maven support for the next release. For now I have updated the wiki on Maven support to include the required references to the visural-common library. http://code.google.com/p/visural-wicket/wiki/MavenSupport cheers, Richard. On Fri, Nov 26, 2010 at 9:45 PM, Marc Ende mli...@e-beyond.de wrote: May be you should mention the need for visural-common in the basic-usage. When using the InputHintBehavior I got an ClassNotFound exception. anyway: a visural-wicket is a great collection of components. ;) marc 2010/11/25 Richard Nichols r...@visural.com What error are you getting? It may be related to my separating the visural-common dependency from the main visural-wicket JAR. On Fri, Nov 26, 2010 at 8:56 AM, Paul Szulc paul.sz...@gmail.com wrote: maven repo is not working On Thu, Nov 25, 2010 at 9:19 PM, Richard Nichols r...@visural.com wrote: Thanks for all the positive comments :) If anyone has any suggestions / ideas for the next release (0.7) then let me know. Currently the only things on the RoadMap, are Wicket 1.5 support and some refactoring on the DropDown control (which has become a bit of a maintenance time-sink). cheers, RIch On Fri, Nov 26, 2010 at 6:19 AM, Mark Doyle markjohndo...@googlemail.com wrote: Great library. I always expected more of these since component creation and reuse is one of Wickets a key strengths. What I like about this lib is it's clean and finished. There is no feeling of immaturity or of a project that has died off. On Thu, Nov 25, 2010 at 2:02 PM, alex shubert alex.shub...@gmail.com wrote: I must ask it: why did you make such fat header at your page? Did you every try to take a look at this in 1600*900 notebook screen? All you writings begins in bottom second part of the screen. It is not my busenees of course, but why dont you kill that nice picture and resize header to just contain pragmatic without strong empty white line? Ah, forget it. At least you did not add banner on the top of all of that :) -- Best regards Alex - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/ -- Best regards, Paul Szulc http://www.paulszulc.com -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/ -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
visural-wicket 0.6.5 released!
Hi all, It's a little overdue, but the next release of the visural-wicket component library is now available. For a detailed list of the enhancements / fixes in this release - http://www.richardnichols.net/2010/11/visural-wicket-0-6-5-release-is-available/ http://www.richardnichols.net/2010/11/visural-wicket-0-6-5-release-is-available/Or if you're just after the download - http://code.google.com/p/visural-wicket/downloads/detail?name=visural-wicket-0.6.5.zip Hope you find it useful - please let me know if you discover any problems with this release. cheers, Rich -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
Re: visural-wicket 0.6.5 released!
Thanks for all the positive comments :) If anyone has any suggestions / ideas for the next release (0.7) then let me know. Currently the only things on the RoadMap, are Wicket 1.5 support and some refactoring on the DropDown control (which has become a bit of a maintenance time-sink). cheers, RIch On Fri, Nov 26, 2010 at 6:19 AM, Mark Doyle markjohndo...@googlemail.comwrote: Great library. I always expected more of these since component creation and reuse is one of Wickets a key strengths. What I like about this lib is it's clean and finished. There is no feeling of immaturity or of a project that has died off. On Thu, Nov 25, 2010 at 2:02 PM, alex shubert alex.shub...@gmail.com wrote: I must ask it: why did you make such fat header at your page? Did you every try to take a look at this in 1600*900 notebook screen? All you writings begins in bottom second part of the screen. It is not my busenees of course, but why dont you kill that nice picture and resize header to just contain pragmatic without strong empty white line? Ah, forget it. At least you did not add banner on the top of all of that :) -- Best regards Alex - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
Re: visural-wicket 0.6.5 released!
What error are you getting? It may be related to my separating the visural-common dependency from the main visural-wicket JAR. On Fri, Nov 26, 2010 at 8:56 AM, Paul Szulc paul.sz...@gmail.com wrote: maven repo is not working On Thu, Nov 25, 2010 at 9:19 PM, Richard Nichols r...@visural.com wrote: Thanks for all the positive comments :) If anyone has any suggestions / ideas for the next release (0.7) then let me know. Currently the only things on the RoadMap, are Wicket 1.5 support and some refactoring on the DropDown control (which has become a bit of a maintenance time-sink). cheers, RIch On Fri, Nov 26, 2010 at 6:19 AM, Mark Doyle markjohndo...@googlemail.com wrote: Great library. I always expected more of these since component creation and reuse is one of Wickets a key strengths. What I like about this lib is it's clean and finished. There is no feeling of immaturity or of a project that has died off. On Thu, Nov 25, 2010 at 2:02 PM, alex shubert alex.shub...@gmail.com wrote: I must ask it: why did you make such fat header at your page? Did you every try to take a look at this in 1600*900 notebook screen? All you writings begins in bottom second part of the screen. It is not my busenees of course, but why dont you kill that nice picture and resize header to just contain pragmatic without strong empty white line? Ah, forget it. At least you did not add banner on the top of all of that :) -- Best regards Alex - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/ -- Best regards, Paul Szulc http://www.paulszulc.com -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
Re: Getting client IP address
There may be a more correct way of doing it, but this will work - getWebRequestCycle().getWebRequest().getHttpServletRequest().getRemoteAddr(); On Wed, Oct 6, 2010 at 9:46 PM, Josh Kamau joshnet2...@gmail.com wrote: Hi Team; Is it possible to get the IP address of the client and how? kind regards. -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
Re: chrome + wicket ajax + back button = problem?
Take a look at http://www.richardnichols.net/2010/03/apache-wicket-force-page-reload-to-fix-ajax-back/ On Wed, Sep 22, 2010 at 12:58 PM, Ryan Crumley crum...@gmail.com wrote: All, I ran into strange behavior involving wicket ajax updates + chrome + back button. I am pretty sure the issue is not caused by wicket but I am hoping the problem might sound familiar to someone and they can point me in the right direction. The scenario goes like this: - An ajax request is made that updates the DOM. - The user navigates to another page by clicking on a link. - The user uses the browser back button to go back to the original page. After clicking back Google Chrome shows the page as it was originally rendered (before the DOM update). All other browsers show the page as it was when the user left the page (with the DOM update). Besides the possibility of showing stale data the other problem is that the page state has been altered by the ajax request and links that were originally rendered may no longer be valid. I found a few links where people are having similar issues: http://www.maintaino.com/nuts-and-bolts/2010/04/08/teaching-chrome-not-to-cache-your-rails-pages/ Possibly related to using jQuery and/or window.onUnload() and bfcache: http://stackoverflow.com/questions/158319/cross-browser-onload-event-and-the-back-button https://developer.mozilla.org/En/Using_Firefox_1.5_caching In addition to using Wicket 1.4.12 I am also using jQuery 1.4.2 and google analytics on these pages. I don't think any unload handlers have been added however my only check was looking at all the attributes on the window object via the inspector. Has anyone else seen similar behavior? Even better, anyone else have a solution? You may be seeing errors like this one in your logs: org.apache.wicket.protocol.http.request.InvalidUrlException: org.apache.wicket.WicketRuntimeException: component wid1:wid2:1:wid3 not found on page com.foo.xxx Thanks! Ryan -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
Re: Wicket Visural Confirmers
Hi Josh, The code you have looks right. Have you added JQuery to your application's header as per http://code.google.com/p/visural-wicket/wiki/BasicUsage Also, are you using any other Javascript toolkits (e.g. Dojo, Mootolos etc.) that might be conflicting with JQuery? It sounds like a Javascript/client issue. cheers, Richard. On Wed, Sep 15, 2010 at 6:30 PM, Josh Kamau joshnet2...@gmail.com wrote: I am trying to use Wicket Visural to Confirm delete but its not poping up anything. Here is my code: private ConfirmerLink lnkDelete ; . . . lnkDelete = new ConfirmerLink(lnkDelete){ private static final long serialVersionUID = 1L; @Override public void onClick() { dao.delete(item); setResponsePage(DeleteJobGradePage.class); } }; I have tried with ConfirmerAjaxLink and no confirmation dialog is poping up,, Where am i going wrong? Josh -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
Re: Conditional Validation (Save versus Submit)
I've done this before by implementing the notion of Draft Mode in the form. Like Igor suggested, if you have fields that are incompatible with your model (i.e. string in a number field) you'll either need to decide to force the user to fix those things in all cases, or alternatively change your model to accept strings across the board. All you need to do to implement a draft mode is to have your form's onSubmit essentially do nothing. Then any validations that you add just check the am I in draft mode flag. Then you can override the process method of your form to change the draft mode on the basis of which submit button (i.e. save or submit) was pressed - e.g. private final SubmitButton submitButton = new SubmitButton(submit); private boolean draftMode = true; @Override public void process(IFormSubmittingComponent submittingComponent) { draftMode = !(submittingComponent == submitButton); super.process(submittingComponent); } This is necessary since we need to update the flag prior to validation being run. This does mean that you can't use Wicket's built in required field validator, you'll need to create your own. For our application we do this quite a bit, so we built our own standard way of doing this internally. HTH On Thu, Sep 16, 2010 at 6:16 AM, Clint Checketts checke...@gmail.comwrote: I have a form with 2 buttons: Save and Submit. If the user hits Save I want to bypass my validations, but still update the underlying model objects so i can persist them in a partially completed state, then have the full validation run when the Submit button is clicked. If I call setDefaultFormProcessing(false) then the underlying model isn't updated either, right? This seems like a pretty common issue, has anyone else implemented a genius way of dealing with save/submit logic? Thanks, -Clint -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
Re: How would you pass your character limits in reusable forms?
Hi Anthony, My wicket project http://code.google.com/p/visural-wicket has a JSR303 based form which might be of use for this. Take a look at http://visural-wicket-examples.appspot.com/app/jsr303 Essentially you can annotate your model bean properties with JSR303 annotations e.g. @Size(max=200) and assuming your form uses a property model, it will pick up the appropriate validations from the model bean that the property model is bound to. I think this should solve your problem? On Thu, Sep 16, 2010 at 10:54 AM, Anthony DePalma fatef...@gmail.comwrote: I have a reusable form panel for some of my applications, but many of the text fields and text areas have different max lengths depending on the application using them. So I was thinking of the best ways to pass these lengths and came up with a bunch of ideas. The obvious way is to pass the limits in the constructor, but having a constructor like Panel(String id, IModel model, int nameLength, intContentLength, many more) is error prone and ugly with alot of arguments. Then I looked at injecting integers via spring, which was clean but its not obvious they are required and the application fails to load the panel if the beans werent defined. Another option is having abstract or protected getters that can be overridden, which I am leaning towards: protected int getNameMaxLength() { return someDefault; } protected abstract int getContentMaxLength(); And finally I could create some configuration object and pass that along to the constructor, but that means a new object and maybe overkill since it wouldn't work well with panels with only one or two length parameters. Which way would you choose? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
Re: production quality wicket applications running on GAE
Since I replied to that post, I've read in other threads about the notion of using a Memcache based PageStore on GAE. This may eliminate some of the issues I had with GAE/Wicket. I haven't had a chance to experiment since. Maybe someone else could comment if they've got production sites running with a non-HttpSessionStore and using the Memcache instead? That aside, what I said in the older thread still stands - HttpSessionStore = slow (due to speed of writes) and the serialization issues are still present. Essentially any HttpSession deserialization error will break the application for that user. This is made worse as Google still hasn't implemented any good way of cleaning up the _ah_session store. There's a servlet filter to do it, but it uses a lot of CPU and you may find the session table grows faster than you can clean it up. This isn't really much of a problem for apps that only store a few strings, etc. in HttpSession, so I guess that's why it's not seen as a priority. On 15 July 2010 16:29, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Dear All, With a little bit of effort on my side, and the help of a couple of tutorials out there, I have managed to deploy a little demo application on GAE [1]. Encouraged by this limited success I'm considering using GAE for the deployment of a production quality application... but over the last few months I have read some, sometimes scary, posts on this list regarding Wicket on GAE... e.g. [2]. I would greatly appreciate if someone can point out examples of production quality Wicket applications running on GAE... Moreover, I would even be more grateful if some of you can comment on the issues you faced and so on. Best, Ernesto 1-http://wiquery-plugins-demo.appspot.com/demo/ 2-http://apache-wicket.1842946.n4.nabble.com/Wicket-And-GAE-tt1892457.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
Re: open Modal Window without AjaxRequestTarget
The dialog component in visural-wicket has an onclick behavior which will open or close the dialog without an Ajax callback. http://visural-wicket-examples.appspot.com/app/dialog On 1 July 2010 08:03, Pierre Goupil goupilpie...@gmail.com wrote: Hello, I'm well aware of https://issues.apache.org/jira/browse/WICKET-12 but I can't figure out how to open a modal window without an AjaxRequestTarget. My guess is that it's related to getWindowOpenJavascript() but is there any example available, please? I use Wicket 1.4.9. Thanks in advance, Pierre Goupil -- Les deux règles universelles du bide : 1) on n'explique pas un bide 2) dans le futur, un bide sera toujours un bide. -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
Re: Announcing: visural-wicket 0.6 released - open source wicket components
Yep noted for 0.6.1 :) On 24 June 2010 16:53, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Nice post Nino... Or simply add a check on the component constructor adding the ExCanvas JS reference if browser is IE. That way you don't need to modify the page or need to remember adding it. Ernesto On Thu, Jun 24, 2010 at 8:35 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: why not like this: http://ninomartinez.wordpress.com/2008/12/11/wicket-never-stops-to-impress-me/ 2010/6/24 Ernesto Reinaldo Barreiro reier...@gmail.com Richard. why not make the component that needs it sniff the request and if browser is IE then add ExCanvasHeaderContributor. Then users will not forget to follow your advice;-) Ernesto On Wed, Jun 23, 2010 at 11:24 PM, Richard Nichols r...@visural.com wrote: Internet Explorer requires that you use the ExCanvas javascript add-in. You can do this by: class MyPage extends Page { public MyPage() { add(new com.google.excanvas.ExCanvasHeaderContributor()); } } That's from the ToolTips page of the example app. Ironically, I didn't follow my own advice, and forgot to add it to the example! :) I'll push an update to the example app today. Rest assured though the tooltip does work in IE, assuming you add the explorer canvas extension. cheers, Rich On 24 June 2010 01:44, Fernando Wermus fernando.wer...@gmail.com wrote: Tooltip is not working on Internet Explorer 8 and windows xp On Wed, Jun 23, 2010 at 6:31 AM, James Carman ja...@carmanconsulting.com wrote: Why not just get it published to the main Maven repository? It's not that difficult. On Wed, Jun 23, 2010 at 9:27 AM, Paul Szulc paul.sz...@gmail.com wrote: If you would like to, I can elp you create maven repository on google code for this project. Let me know. On Wed, Jun 23, 2010 at 1:05 PM, Richard Nichols r...@visural.com wrote: It's just hosted in SVN w/ .pom http://code.google.com/p/visural-wicket/wiki/MavenSupport http://code.google.com/p/visural-wicket/wiki/MavenSupportIt should work ok though - let me know if you have issues. cheers, Richard. On 23 June 2010 20:24, Maris Orbidans maris.orbid...@ingg.com wrote: Looks great! I will give it a try. Is it maven repo ? -Original Message- From: r...@richardnichols.net [mailto:r...@richardnichols.net] On Behalf Of Richard Nichols Sent: 23 June 2010 01:31 To: users@wicket.apache.org Subject: Announcing: visural-wicket 0.6 released - open source wicket components Hi all, I'm pleased to announce the next major version of visural-wicket - 0.6 This version includes a bunch of new components and behaviours. For the full run down, follow the link - http://www.richardnichols.net/2010/06/visural-wicket-0-6-released-new- components/ visural-wicket is Apache 2.0 licensed open source. Let me know if you have any problems, suggestions or feedback. cheers, Richard. -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/ _ This e-mail has been scanned for viruses by MessageLabs. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/ -- Best regards, Paul Szulc http://paulszulc.wordpress.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Fernando Wermus. www.linkedin.com/in/fernandowermus -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/ - 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 -- Richard Nichols http
Re: Announcing: visural-wicket 0.6 released - open source wicket components
It's just hosted in SVN w/ .pom http://code.google.com/p/visural-wicket/wiki/MavenSupport http://code.google.com/p/visural-wicket/wiki/MavenSupportIt should work ok though - let me know if you have issues. cheers, Richard. On 23 June 2010 20:24, Maris Orbidans maris.orbid...@ingg.com wrote: Looks great! I will give it a try. Is it maven repo ? -Original Message- From: r...@richardnichols.net [mailto:r...@richardnichols.net] On Behalf Of Richard Nichols Sent: 23 June 2010 01:31 To: users@wicket.apache.org Subject: Announcing: visural-wicket 0.6 released - open source wicket components Hi all, I'm pleased to announce the next major version of visural-wicket - 0.6 This version includes a bunch of new components and behaviours. For the full run down, follow the link - http://www.richardnichols.net/2010/06/visural-wicket-0-6-released-new- components/ visural-wicket is Apache 2.0 licensed open source. Let me know if you have any problems, suggestions or feedback. cheers, Richard. -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/ _ This e-mail has been scanned for viruses by MessageLabs. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
Re: Announcing: visural-wicket 0.6 released - open source wicket components
Internet Explorer requires that you use the ExCanvas javascript add-in. You can do this by: class MyPage extends Page { public MyPage() { add(new com.google.excanvas.ExCanvasHeaderContributor()); } } That's from the ToolTips page of the example app. Ironically, I didn't follow my own advice, and forgot to add it to the example! :) I'll push an update to the example app today. Rest assured though the tooltip does work in IE, assuming you add the explorer canvas extension. cheers, Rich On 24 June 2010 01:44, Fernando Wermus fernando.wer...@gmail.com wrote: Tooltip is not working on Internet Explorer 8 and windows xp On Wed, Jun 23, 2010 at 6:31 AM, James Carman ja...@carmanconsulting.com wrote: Why not just get it published to the main Maven repository? It's not that difficult. On Wed, Jun 23, 2010 at 9:27 AM, Paul Szulc paul.sz...@gmail.com wrote: If you would like to, I can elp you create maven repository on google code for this project. Let me know. On Wed, Jun 23, 2010 at 1:05 PM, Richard Nichols r...@visural.com wrote: It's just hosted in SVN w/ .pom http://code.google.com/p/visural-wicket/wiki/MavenSupport http://code.google.com/p/visural-wicket/wiki/MavenSupportIt should work ok though - let me know if you have issues. cheers, Richard. On 23 June 2010 20:24, Maris Orbidans maris.orbid...@ingg.com wrote: Looks great! I will give it a try. Is it maven repo ? -Original Message- From: r...@richardnichols.net [mailto:r...@richardnichols.net] On Behalf Of Richard Nichols Sent: 23 June 2010 01:31 To: users@wicket.apache.org Subject: Announcing: visural-wicket 0.6 released - open source wicket components Hi all, I'm pleased to announce the next major version of visural-wicket - 0.6 This version includes a bunch of new components and behaviours. For the full run down, follow the link - http://www.richardnichols.net/2010/06/visural-wicket-0-6-released-new- components/ visural-wicket is Apache 2.0 licensed open source. Let me know if you have any problems, suggestions or feedback. cheers, Richard. -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/ _ This e-mail has been scanned for viruses by MessageLabs. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/ -- Best regards, Paul Szulc http://paulszulc.wordpress.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Fernando Wermus. www.linkedin.com/in/fernandowermus -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
Re: Announcing: visural-wicket 0.6 released - open source wicket components
Yes if you could lend me some assistance let me know. I don't use Maven, and the project builds with Ant. Currently I have a build target to generate the .pom and directory structure for the Maven folder. On 23 June 2010 23:27, Paul Szulc paul.sz...@gmail.com wrote: If you would like to, I can elp you create maven repository on google code for this project. Let me know. On Wed, Jun 23, 2010 at 1:05 PM, Richard Nichols r...@visural.com wrote: It's just hosted in SVN w/ .pom http://code.google.com/p/visural-wicket/wiki/MavenSupport http://code.google.com/p/visural-wicket/wiki/MavenSupportIt should work ok though - let me know if you have issues. cheers, Richard. On 23 June 2010 20:24, Maris Orbidans maris.orbid...@ingg.com wrote: Looks great! I will give it a try. Is it maven repo ? -Original Message- From: r...@richardnichols.net [mailto:r...@richardnichols.net] On Behalf Of Richard Nichols Sent: 23 June 2010 01:31 To: users@wicket.apache.org Subject: Announcing: visural-wicket 0.6 released - open source wicket components Hi all, I'm pleased to announce the next major version of visural-wicket - 0.6 This version includes a bunch of new components and behaviours. For the full run down, follow the link - http://www.richardnichols.net/2010/06/visural-wicket-0-6-released-new- components/ visural-wicket is Apache 2.0 licensed open source. Let me know if you have any problems, suggestions or feedback. cheers, Richard. -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/ _ This e-mail has been scanned for viruses by MessageLabs. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/ -- Best regards, Paul Szulc http://paulszulc.wordpress.com -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
Announcing: visural-wicket 0.6 released - open source wicket components
Hi all, I'm pleased to announce the next major version of visural-wicket - 0.6 This version includes a bunch of new components and behaviours. For the full run down, follow the link - http://www.richardnichols.net/2010/06/visural-wicket-0-6-released-new-components/ visural-wicket is Apache 2.0 licensed open source. Let me know if you have any problems, suggestions or feedback. cheers, Richard. -- Richard Nichols http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
Re: Just launched - www.onmydoorstep.com.au
I pretty much used the code from https://cwiki.apache.org/WICKET/adding-facebook-connect.html You need to set up the /xd_reciever.htm for it to work correctly (take a look at the facebook connect api docs), either using a Wicket mapped resource, or using a servlet filter to return it. The other trap is that you can't test it locally. I spent an hour trying to debug why it wasn't working - the only reason was the API will not connect from any host other than the one registered in your Facebook App Config. If you try from localhost it just opens your site inside the Facebook login popup - really unhelpful (an error would be nice). If you follow the wiki article though, it should be fairly easy to get going. On 18 May 2010 22:56, Fernando Wermus fernando.wer...@gmail.com wrote: I need a hand with facebook connect and wicket in some weeks. Could you share your wicket facebook code? I imagine it is pretty easy. thanks in advance On Mon, May 17, 2010 at 10:31 PM, Richard Nichols r...@visural.com wrote: Hey all, Just thought fellow Wicketeers might be interested to take a look at a site I have just launched built 100% with Wicket - http://www.onmydoorstep.com.au/ The site is a community portal for people living in Victoria, Australia and displays government data about every suburb, city and town in the state. It also allows users to find government services and business nearby and submit community events/festivals and ask questions of other users. It integrates Wicket with Facebook Connect, Google Maps, Google Charts, Google's Weather API, plus on the backend, warp-persist, Guice and Hibernate/JPA. I also made extensive use of http://code.google.com/p/visural-wicket Anyhow - happy to answer any questions about the above technologies and the experience of building the site with Wicket. Also welcome feedback criticism should you have some :) cheers, Richard. -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Fernando Wermus. www.linkedin.com/in/fernandowermus -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Just launched - www.onmydoorstep.com.au
I think there was a network connectivity issue at Linode last night (where I am hosting the site). The server has been up for 2 months but I even stopped getting Linode admin console graphs for 2 hrs last night - weird! Seems to be stable now though. Has anyone else using Linode had something like that before? On 19 May 2010 03:07, Zilvinas Vilutis cika...@gmail.com wrote: Is it broken? URL http://www.onmydoorstep.com.au/ does not open any page for me Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Tue, May 18, 2010 at 6:59 AM, Ajayi Yinka iamstyaj...@googlemail.comwrote: good job. On Tue, May 18, 2010 at 4:49 AM, Jeremy Thomerson jer...@wickettraining.com wrote: I concur - very nice. -- Jeremy Thomerson http://www.wickettraining.com On Mon, May 17, 2010 at 8:43 PM, Cristi Manole cristiman...@gmail.com wrote: cool site! I like it! congrats. On Mon, May 17, 2010 at 9:31 PM, Richard Nichols r...@visural.com wrote: Hey all, Just thought fellow Wicketeers might be interested to take a look at a site I have just launched built 100% with Wicket - http://www.onmydoorstep.com.au/ The site is a community portal for people living in Victoria, Australia and displays government data about every suburb, city and town in the state. It also allows users to find government services and business nearby and submit community events/festivals and ask questions of other users. It integrates Wicket with Facebook Connect, Google Maps, Google Charts, Google's Weather API, plus on the backend, warp-persist, Guice and Hibernate/JPA. I also made extensive use of http://code.google.com/p/visural-wicket Anyhow - happy to answer any questions about the above technologies and the experience of building the site with Wicket. Also welcome feedback criticism should you have some :) cheers, Richard. -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Cristi Manole Nova Creator Software www.novacreator.com -- Ajayi S . Yinka +2348022684477 -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Just launched - www.onmydoorstep.com.au
Hey all, Just thought fellow Wicketeers might be interested to take a look at a site I have just launched built 100% with Wicket - http://www.onmydoorstep.com.au/ The site is a community portal for people living in Victoria, Australia and displays government data about every suburb, city and town in the state. It also allows users to find government services and business nearby and submit community events/festivals and ask questions of other users. It integrates Wicket with Facebook Connect, Google Maps, Google Charts, Google's Weather API, plus on the backend, warp-persist, Guice and Hibernate/JPA. I also made extensive use of http://code.google.com/p/visural-wicket Anyhow - happy to answer any questions about the above technologies and the experience of building the site with Wicket. Also welcome feedback criticism should you have some :) cheers, Richard. -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Any mature work on integrating Hibernate Validator with Wicket?
Hey all, I had also created a JSR-303 integration solution as part of visural-wicket. It's not been fully documented yet w/ examples, but is fully functional and is a really handy addition. I planned to include/document it in the next release of visural-wicket (0.6). http://code.google.com/p/visural-wicket/source/browse/#svn/trunk/visural-wicket/src/com/visural/wicket/behavior/jsr303 There is a sample Form class to extend from to enable this functionality, but it is not mandatory. (see JSR303ValidatedForm.java#onBeforeRender() ... ) cheers, Rich On 12 April 2010 11:46, Ben Tilford bentilf...@gmail.com wrote: If you find anything useful heres some stuff I have put together https://docs.google.com/leaf?id=0ByQjVcAVDuP9MWE4NDcxODMtODZlOC00Mzk0LThhOTUtYmI2MmNlYzEwNWFihl=en I'd upload it somewhere else but it looks like there are already like 4 different projects for this. 2010/4/10 Uwe Schäfer u...@thomas-daily.de David Chang schrieb: hi, did you get the jsr 303 validation code released? where can i find it? i am really excited looking forward to it. about to. just finishing examples tomorrow. stay tuned. cu uwe - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket And GAE
Biggest problem, and IMO a show stopper, is the Serialization issues. Since Wicket serializes session data (pagemap etc) you have to enable the GAE session-store to get wicket working correctly on GAE. GAE clusters sessions by writing them to the GAE data store to spread the session across the cluster - and writes are *slow*. Worse though, if you create an incompatible change to a serialized page/component/model, when that user returns to your application, GAE will quietly fail and the user will get a blank page. Checking the GAE error log reveals a deserialization error in the core GAE engine. This is because the session reserialization in GAE is handled at the GAE/Jetty level and any error in reconsitution of the error currently breaks GAE completely. Google has acknowledged this problem, but for most frameworks it's not a big deal as you don't store large Objects in the HttpSession. I had planned to deploy the site I'm currently working on http://www.onmydoorstep.com.au/ on GAE but after a few weeks of running the prototypes on GAE, I found the performance to be too poor and the infrastructure too flakey for a production site. NB - It's certainly possible to create high-performance/reliable sites using GAE/J, but Wicket is not a suitable framework due to the Serialization data store write problem. Even if the performance were better and the deserialization issue was fixed, you would blow through your data store quota in no-time due to the amount of data store in the session. If anyone has solutions or further experience with these issues - I'm all ears! :) cheers, Rich On 8 April 2010 17:00, Josh Kamau joshnet2...@gmail.com wrote: What are the main issues with wicket and Google app engine -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AjaxSubmitLink not calling the onsubmit event handler
Yeah, maybe one of the wicket devs could comment on whether this is expected behaviour? In any case, I have built a workaround as part of my open source http://code.google.com/p/visural-wicket/ project. See - http://code.google.com/p/visural-wicket/source/browse/trunk/visural-wicket/src/com/visural/wicket/util/InvokeClientSideFormSubmitHandlerDecorator.java This AjaxCallDecorator will invoke the form's onsubmit handler prior to invoking the ajax call. So you can: add(new AjaxSubmitLink(blah) { @Override protected IAjaxCallDecorator getAjaxCallDecorator() { return new InvokeClientSideFormSubmitHandlerDecorator(MyForm.this); } }); And have any ajax submission work the same as SubmitLink / SubmitButton. On 26 March 2010 19:51, Anantha Kumaran ananthakuma...@gmail.com wrote: Did you get a resolution to this issue? I have the same problem. currently i am using this techniques to do the my stuff.But it breaks when the user press return key. // save this so we can call it later var wicketOnClick = ajaxSubmitLink.onclick; ajaxSubmitLink.onclick = function() { // do your stuff return wicketOnClick(); }; Is this expected behavior I wonder, or a bug? SubmitLink will call the form's onsubmit='???' handler, AjaxSubmitLink does not. AFAIK AjaxSubmitLink doesn't fire the submit event. Is serializes the form data and then makes a post call. I guess this can't be fixed easily because wicket is using *inline event registration model*. On 4 January 2010 23:05, Anantha Kumaran ananthakuma...@gmail.com wrote: hi pieter my problem is that the AjaxSubmitLink is not behaving like the SubmitLink which calls the onsubmit before submitting the form.currently i am using the mousedown(can't use onclick) of the AjaxSubmitLink to do the validation stuffs but it breaks when the user submit the form by pressing the return. On Mon, Jan 4, 2010 at 12:03 AM, Pieter Degraeuwe pieter.degrae...@systemworks.be wrote: If you want to do some additional stuff, you can do it in the form a a Behaviour.. I did use such behaviour to ask a javascript confirm. If user does not confirm, the form is not submitted. new AttributeModifier(onclick, true, new ModelString(if (!confirm(' + msg + ')) { /* do some additional stuff if not confirmed*/return;} else { /*do some stuff beform submitting the form*/})) { �...@override protected String newValue(String currentValue, String replacementValue) { return replacementValue + currentValue; } }; On Mon, Jan 4, 2010 at 5:30 AM, Anantha Kumaran ananthakuma...@gmail.com wrote: is there any way to do this on the client side.I want to do some client side stuff before submitting the form. On Sun, Jan 3, 2010 at 9:36 AM, Mathias Nilsson wicket.program...@gmail.com wrote: form.add ( new AjaxSubmitLink(){ protected void onSubmit(AjaxRequestTarget target, Form form){ // Add feedback and do ajax stuff. } protected void onError(AjaxRequestTarget target, Form form){ // Add FeedbackPanel here target.add( feedback ); }}); -- View this message in context: http://old.nabble.com/AjaxSubmitLink-not-calling-the-onsubmit-event-handler-tp2718p27002962.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 -- Pieter Degraeuwe Systemworks bvba Belgiëlaan 61 9070 Destelbergen GSM: +32 (0)485/68.60.85 Email: pieter.degrae...@systemworks.be visit us at http://www.systemworks.be -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Anantha Kumaran(http://ananthakumaran.github.com) -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Export wicket rendered page to pdf
I've used PD4ML - http://pd4ml.com/ with some success, but you need to tailor the HTML/CSS to it's renderer for best results. On 24 March 2010 05:08, Rodolfo Cartas rodolfocar...@gmail.com wrote: Hi all! Is there a way to export a page rendered in wicket to a pdf file within the application? Best regards, Rodolfo -- Rodolfo Cartas rodolfocar...@gmail.com http://www.flickr.com/photos/rodolfocartas http://www.facebook.com/rodolfo.cartas - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AjaxSubmitLink not calling the onsubmit event handler
Hi Anantha, Did you get a resolution to this issue? I have the same problem. Is this expected behavior I wonder, or a bug? SubmitLink will call the form's onsubmit='???' handler, AjaxSubmitLink does not. On 4 January 2010 23:05, Anantha Kumaran ananthakuma...@gmail.com wrote: hi pieter my problem is that the AjaxSubmitLink is not behaving like the SubmitLink which calls the onsubmit before submitting the form.currently i am using the mousedown(can't use onclick) of the AjaxSubmitLink to do the validation stuffs but it breaks when the user submit the form by pressing the return. On Mon, Jan 4, 2010 at 12:03 AM, Pieter Degraeuwe pieter.degrae...@systemworks.be wrote: If you want to do some additional stuff, you can do it in the form a a Behaviour.. I did use such behaviour to ask a javascript confirm. If user does not confirm, the form is not submitted. new AttributeModifier(onclick, true, new ModelString(if (!confirm(' + msg + ')) { /* do some additional stuff if not confirmed*/return;} else { /*do some stuff beform submitting the form*/})) { �...@override protected String newValue(String currentValue, String replacementValue) { return replacementValue + currentValue; } }; On Mon, Jan 4, 2010 at 5:30 AM, Anantha Kumaran ananthakuma...@gmail.com wrote: is there any way to do this on the client side.I want to do some client side stuff before submitting the form. On Sun, Jan 3, 2010 at 9:36 AM, Mathias Nilsson wicket.program...@gmail.com wrote: form.add ( new AjaxSubmitLink(){ protected void onSubmit(AjaxRequestTarget target, Form form){ // Add feedback and do ajax stuff. } protected void onError(AjaxRequestTarget target, Form form){ // Add FeedbackPanel here target.add( feedback ); }}); -- View this message in context: http://old.nabble.com/AjaxSubmitLink-not-calling-the-onsubmit-event-handler-tp2718p27002962.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 -- Pieter Degraeuwe Systemworks bvba Belgiëlaan 61 9070 Destelbergen GSM: +32 (0)485/68.60.85 Email: pieter.degrae...@systemworks.be visit us at http://www.systemworks.be -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Announcing: visural-wicket 0.5 released - open source wicket components
Can you post a code snippet? You have to give the datasources unique name properties, as the name is used in the client side javascript to link the component to the datasource. On 10 March 2010 01:52, danisevsky danisev...@gmail.com wrote: hello, I have another problem, with DropDown this time. If I have only one DropDown on my page, everything works great. But when I add another DropDown to the page, with diferent datasource, the first DropDown shows data from the second datasource. All DropDowns share the same datasource. -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Announcing: visural-wicket 0.5 released - open source wicket components
I've looked into this a bit more and it could be because Fancybox attempts to detect the content type automatically. I've made an update to visural-wicket, so that the content type is explicitly forced. I think this may fix issues such as yours where the content-type is difficult to figure out in Javascript. Try out the patch and let me know if it works for you - http://www.richardnichols.net/wp-content/uploads/2010/02/visural-wicket-0.5.1.zip On 27 February 2010 22:17, danisevsky danisev...@gmail.com wrote: thank you. I tryed this, but do not work. I think problem is that image has no .jpg suffix. I do not know, how to solve it.. :( here is the result preview: http://img5.imgup.eu/prevzfs.jpg -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Announcing: visural-wicket 0.5 released - open source wicket components
Could it be a content type issue? I haven't served images in this way before using dynamic resource refs, but if you were doing a similar thing with a servlet then you would need to ensure the mime type was being sent as image/jpeg. If the http headers all look good, it may be a limitation of fancybox being used in this way. On 27 February 2010 22:17, danisevsky danisev...@gmail.com wrote: thank you. I tryed this, but do not work. I think problem is that image has no .jpg suffix. I do not know, how to solve it.. :( here is the result preview: http://img5.imgup.eu/prevzfs.jpg -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Announcing: visural-wicket 0.5 released - open source wicket components
To apply Fancybox to an image it's best to use a a href tag pointing to the image instead. Otherwise it tries to calculate based on the size of the DOM element, which might be a bit hit-and-miss (check out examples at http://fancybox.net/ also) e.g. -- markup: a href=# wicket:id=myImgMy Image Fancybox/a -- java: new Fancybox(myImg, ImageReferenceFactory.fromURL(+urlFor(new ResourceReference(image))+?pictureId=08d7463i4mh53bavkkmr)).setGroup(group).setBoxTitle(Photo 1 of 4)); -- The example source does this type of thing also - http://visural-wicket-examples.appspot.com/app/fancybox?wicket:bookmarkablePage=:com.visural.wicket.examples.ViewSourcePageresource=/com/visural/wicket/examples/fancybox/FancyBoxExamplePage.java HTH On 26 February 2010 08:24, danisevsky danisev...@gmail.com wrote: visural-wicket is great, thank you very much for sharing! I have one small issue, Fancybox does not calculate width of my images right. This is part of rendered html: div id=fancybox-inner style=overflow: auto; top: 10px; left: 10px; width: 1024px; height: 501px; display: block; heigh: 501px - correct width: 1024px - not correct, this is width of original image, this could be smaller as a result is that Fancybox is wider then image. I serve images like shared resources. java code: WebMarkupContainer container = new WebMarkupContainer(img) { �...@override protected void onComponentTag(ComponentTag tag) { super.onComponentTag(tag); tag.put(src, urlFor(new ResourceReference(image)) + ?pictureId=08d7463i4mh53bavkkmr); } }; add(container); container.setOutputMarkupId(true); add(new Fancybox(image1, container).setGroup(group).setBoxTitle(Photo 1 of 4)); markup: a class=button href=# wicket:id=image1Image 1/a div style=display: none; img style=height:100%; wicket:id=img/ /div Could you gime me some advice? -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Announcing: visural-wicket 0.5 released - open source wicket components
Hi wicket-users, I'm currently the sole developer of an open-source set of Wicket components and utilties - visural-wicket. *visural-wicket is a useful set of light-weight, loosely coupled components and utilities for the Apache Wicket web framework.* *Each component is designed to be easily integrated into any existing Wicket application with minimal dependencies.* *Other than components, visural-wicket includes some other utilities that assist in the development of Wicket applications, such as an annotation-based mounting system, model templates and automatic form view mode component.* The project is licensed under the *Apache 2.0* licence. The download package includes full source + javadocs. The project page is at http://code.google.com/p/visural-wicket/ and there are live examples at http://visural-wicket-examples.appspot.com/ I've been working on this project for around 4 months and it is now a mature and pretty stable set of tools for developing Wicket apps. I'm using it in my day-to-day work in some very large applications. I'd like to get some feedback and/or collaborators on the current state of the project, and hope that other members of the wicket community may find these components and utilities useful. cheers, Rich. -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/
Re: Announcing: visural-wicket 0.5 released - open source wicket components
Thanks, any ideas/contributions are welcome - I've created a discussion group, or alternatively raise an Enhancement on the google code project. GAE deployment is pretty easy - I'd suggest anyone curious about GAE deployment for Wicket download the example application WAR and check out the appengine-cfg.xml and the main Wicket application class, that's pretty much all the customisation required. On 24 February 2010 23:01, Roman Ilin roman.i...@gmail.com wrote: Nice components! I currently work on an application that should be deployed on GAE. I think I'll need some new components because wickets three and some other do not work on GAE. So I think I could commit some new components/ideas to your project as well. Regards Roman On Wed, Feb 24, 2010 at 11:53 AM, Pedro Sena sena.pe...@gmail.com wrote: Great Job! I was looking for a Drop Down like that. Thanks and keep the good work. Regards, On Wed, Feb 24, 2010 at 7:49 AM, Richard Nichols r...@visural.com wrote: Hi wicket-users, I'm currently the sole developer of an open-source set of Wicket components and utilties - visural-wicket. *visural-wicket is a useful set of light-weight, loosely coupled components and utilities for the Apache Wicket web framework.* *Each component is designed to be easily integrated into any existing Wicket application with minimal dependencies.* *Other than components, visural-wicket includes some other utilities that assist in the development of Wicket applications, such as an annotation-based mounting system, model templates and automatic form view mode component.* The project is licensed under the *Apache 2.0* licence. The download package includes full source + javadocs. The project page is at http://code.google.com/p/visural-wicket/ and there are live examples at http://visural-wicket-examples.appspot.com/ I've been working on this project for around 4 months and it is now a mature and pretty stable set of tools for developing Wicket apps. I'm using it in my day-to-day work in some very large applications. I'd like to get some feedback and/or collaborators on the current state of the project, and hope that other members of the wicket community may find these components and utilities useful. cheers, Rich. -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ -- /** * Pedro Sena * Systems Architect * Sun Certified Java Programmer * Sun Certified Web Component Developer */ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/
Re: Announcing: visural-wicket 0.5 released - open source wicket components
I think GAE is slowest when the site isn't getting much traffic - they start JVMs on demand so low traffic often means usually means a JVM start for every user. http://code.google.com/appengine/kb/java.html#What_Is_A_Loading_Request On 25 February 2010 08:21, Roman Ilin roman.i...@gmail.com wrote: No I haven't seen it before. Thank you Christian. It does all I need, but GAE is slow :( On Wed, Feb 24, 2010 at 10:07 PM, Christian Hülsmeier wic...@christianhuelsmeier.de wrote: Hi Roman, did you try this tree component with GAE? http://code.google.com/p/wicket-tree/ I used it in a project before, but the app has not been hosted on GAE. Christian -Ursprüngliche Nachricht- Von: Roman Ilin [mailto:roman.i...@gmail.com] Gesendet: Mittwoch, 24. Februar 2010 13:02 An: users@wicket.apache.org Betreff: Re: Announcing: visural-wicket 0.5 released - open source wicket components Nice components! I currently work on an application that should be deployed on GAE. I think I'll need some new components because wickets three and some other do not work on GAE. So I think I could commit some new components/ideas to your project as well. Regards Roman On Wed, Feb 24, 2010 at 11:53 AM, Pedro Sena sena.pe...@gmail.com wrote: Great Job! I was looking for a Drop Down like that. Thanks and keep the good work. Regards, On Wed, Feb 24, 2010 at 7:49 AM, Richard Nichols r...@visural.com wrote: Hi wicket-users, I'm currently the sole developer of an open-source set of Wicket components and utilties - visural-wicket. *visural-wicket is a useful set of light-weight, loosely coupled components and utilities for the Apache Wicket web framework.* *Each component is designed to be easily integrated into any existing Wicket application with minimal dependencies.* *Other than components, visural-wicket includes some other utilities that assist in the development of Wicket applications, such as an annotation-based mounting system, model templates and automatic form view mode component.* The project is licensed under the *Apache 2.0* licence. The download package includes full source + javadocs. The project page is at http://code.google.com/p/visural-wicket/ and there are live examples at http://visural-wicket-examples.appspot.com/ I've been working on this project for around 4 months and it is now a mature and pretty stable set of tools for developing Wicket apps. I'm using it in my day-to-day work in some very large applications. I'd like to get some feedback and/or collaborators on the current state of the project, and hope that other members of the wicket community may find these components and utilities useful. cheers, Rich. -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ -- /** * Pedro Sena * Systems Architect * Sun Certified Java Programmer * Sun Certified Web Component Developer */ - 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 -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/
Re: [OT] Wicket App Hosting
+1 linode - been using them for a year, no problems at all. On 25 February 2010 12:42, s...@sambarrow.com wrote: Linode. Best vps provider I've ever had by far, never had any problems at all. Very good prices too. --Original Message-- From: Mauro Ciancio To: Wicket Mailing List ReplyTo: users@wicket.apache.org Subject: [OT] Wicket App Hosting Sent: Feb 24, 2010 7:50 PM Hello everyone, I need to deploy a couple of wicket apps (2 or 3 apps). I'm looking for advices in order to get a good hosting service. In fact, I think i'll get a vps service. Any advices? Which vps providers are good? Thanks in advance. Cheers! -- Mauro Ciancio maurociancio at gmail dot com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org Sent via BlackBerry from T-Mobile - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/
Help with Repeater containing form components with NavigationToolbar
Hi, I've spent several hours trying to figure this out and to try to understand how repeaters work with form processing, but some help would be appreciated! :) I have a page with a list of questions answers. The questions are read from a database and are displayed in a DefaultDataTable repeater, with one question per row. I had wanted to display the questions over a number of pages and allow the user to use the NavigationToolbar to navigate through the list of questions. However whenever I click the page links, the entered data on the current page is lost and reverts to the original model values. But if the form is submitted then the data on that page is retained. Is it possible to make the NavigationToolbar bind the new values of the form inputs for the page(s) when navigating between pages? Is this sort of behaviour allowed? thanks in advance, Richard. -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/
Re: Help with Repeater containing form components with NavigationToolbar
Makes sense, thank you! 2009/11/2 Igor Vaynberg igor.vaynb...@gmail.com some rough pseudo code new navigationtoolbar() { new pagingnavigator() { return new pagingnavigator() { new pagingnavigationlink() { return new submitlink(); } new pagingnavigationincrementlink() { return new submitlink(); }}} -igor On Sun, Nov 1, 2009 at 6:09 PM, Richard Nichols r...@visural.com wrote: Hi, I've spent several hours trying to figure this out and to try to understand how repeaters work with form processing, but some help would be appreciated! :) I have a page with a list of questions answers. The questions are read from a database and are displayed in a DefaultDataTable repeater, with one question per row. I had wanted to display the questions over a number of pages and allow the user to use the NavigationToolbar to navigate through the list of questions. However whenever I click the page links, the entered data on the current page is lost and reverts to the original model values. But if the form is submitted then the data on that page is retained. Is it possible to make the NavigationToolbar bind the new values of the form inputs for the page(s) when navigating between pages? Is this sort of behaviour allowed? thanks in advance, Richard. -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/
How to change raw body content of SubmitLink?
Hi everyone, I'm a new Wicket user and I have (what I hope is) a simple question - I have a SubmitLink - a href=# wicket:id=loginLogin/a ... add(new SubmitLink(login)); I want to change the rendered content of the a/a tag such that it is - a href=# wicket:id=login onClick= ... (all the regular wicket stuff) ...spanLogin/span/a i.e. just wrap the raw content of the a tag with span. This is to support CSS link styling. Because the CSS requirements might change over time, I'd like wicket to add this markup, rather than putting it in the HTML. I've tried to figure out how to do this from the examples and the wicket source, but I feel like I'm missing something obvious... cheers, Richard. -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to change raw body content of SubmitLink?
Is there a way to have it added by wicket (see orig. msg)? The requirement or content of the span might change if the CSS style changes. I'd like to encapsulate that logic as a wicket component if possible. 2009/10/7 Jeremy Thomerson jer...@wickettraining.com: Just add the span to your markup in your *.html file. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Oct 6, 2009 at 11:20 PM, Richard Nichols r...@visural.com wrote: Hi everyone, I'm a new Wicket user and I have (what I hope is) a simple question - I have a SubmitLink - a href=# wicket:id=loginLogin/a ... add(new SubmitLink(login)); I want to change the rendered content of the a/a tag such that it is - a href=# wicket:id=login onClick= ... (all the regular wicket stuff) ...spanLogin/span/a i.e. just wrap the raw content of the a tag with span. This is to support CSS link styling. Because the CSS requirements might change over time, I'd like wicket to add this markup, rather than putting it in the HTML. I've tried to figure out how to do this from the examples and the wicket source, but I feel like I'm missing something obvious... cheers, Richard. -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to change raw body content of SubmitLink?
Jeremy - I understand your point, but the issue is more with HTML/CSS that it would be best not to have to put in the unnecessary span/span markup in order to make a nice looking link/button. At least this way, the HTML stays clean (of layout markup) - I'm essentially using wicket to abstract the styling into the component, rather than polluting the HTML. Anton - thank you, that was exactly what I was looking for - problem solved. 2009/10/7 Jeremy Thomerson jer...@wickettraining.com: Override oncomponenttagbody Seems strange that you'd tie your JAVA file to a CSS styling requirement rather than your HTML file. Doesn't seem like the right separation to me, but hey - your app. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Oct 6, 2009 at 11:28 PM, Richard Nichols r...@richardnichols.netwrote: Is there a way to have it added by wicket (see orig. msg)? The requirement or content of the span might change if the CSS style changes. I'd like to encapsulate that logic as a wicket component if possible. 2009/10/7 Jeremy Thomerson jer...@wickettraining.com: Just add the span to your markup in your *.html file. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Oct 6, 2009 at 11:20 PM, Richard Nichols r...@visural.com wrote: Hi everyone, I'm a new Wicket user and I have (what I hope is) a simple question - I have a SubmitLink - a href=# wicket:id=loginLogin/a ... add(new SubmitLink(login)); I want to change the rendered content of the a/a tag such that it is - a href=# wicket:id=login onClick= ... (all the regular wicket stuff) ...spanLogin/span/a i.e. just wrap the raw content of the a tag with span. This is to support CSS link styling. Because the CSS requirements might change over time, I'd like wicket to add this markup, rather than putting it in the HTML. I've tried to figure out how to do this from the examples and the wicket source, but I feel like I'm missing something obvious... cheers, Richard. -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Richard Nichols :: http://www.visural.com/ :: http://www.richardnichols.net/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org