Attribute modifier to track location on pages stops request from completing

2009-11-01 Thread pieter claassen
I am sure I am doing something very silly here but When I add the following AttributeModifier in my onBeforeRender() method, the solution works as expected (so I load an image that indicates that this page is selected) icon.add(new AttributeModifier("this.src='", null, true, new Model(urlFor

AW: OSGi Wicket

2009-11-01 Thread Giambalvo, Christian
Maybe OSGi ist o much overhead for my needs. I just want to be able to load WicketPages from a jar during runtime. Lets say i have a wicket app with just the wicketapplication and a homepage (extendable through plugins (jar)). Then during runtime i dropin a jar containing some Pages and i want wi

Re: Bookmarkable images from db

2009-11-01 Thread Vytautas Racelis
Hi, you may find this class useful for your requirements: http://xaloon.googlecode.com/svn/trunk/xaloon-wicket-repository/src/main/java/org/xaloon/wicket/component/resource/ImageLink.java This class takes image from JCR and shows as image. Peter Dotchev wrote: Hi, My app allows users to uploa

Re: Help with Repeater containing form components with NavigationToolbar

2009-11-01 Thread Richard Nichols
Makes sense, thank you! 2009/11/2 Igor Vaynberg > some rough pseudo code > > new navigationtoolbar() { > new pagingnavigator() { > return new pagingnavigator() { > new pagingnavigationlink() { return new submitlink(); } > new pagingnavigationincrementlink() { re

Re: Help with Repeater containing form components with NavigationToolbar

2009-11-01 Thread Igor Vaynberg
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

Help with Repeater containing form components with NavigationToolbar

2009-11-01 Thread Richard Nichols
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

Re: wicket + jdbc template app

2009-11-01 Thread Pedro Santos
Hi, I got it working using spring. You can see an template application using spring on wicket stuff: phone book http://static.springsource.org/spring/docs/2.0.8/reference/jdbc.html On Sun, Nov 1, 2009 at 5:07 PM, dtoffe wrote: > >Just set up your connection in your Application subclass and

Re: Wicket Release Plans for 1.5

2009-11-01 Thread Martin Funk
Am 30.10.2009 um 16:42 schrieb Igor Vaynberg: possibly. i think i would like this release to be as small as possible, centered around the new url stuff. once that is in release 1.5 and put the new ajax support from ng into 1.6. trying to release more and more often instead of taking over a yea

Re: Bookmarkable images from db

2009-11-01 Thread Alex Objelean
Besides the servlet, there is also a wicket way of do it: - Use shared resource, which is stateless and bookmarkable If you need more informations about this approach, search on forum or just ask... and I'll provide you with some examples of how I do it.. Alex Objelean Peter Dotchev wrote: >

Re: Wicket Release Plans for 1.5

2009-11-01 Thread Vit Rozkovec
+100 for that, I am looking forward to new url stuff. vitek Igor Vaynberg wrote: possibly. i think i would like this release to be as small as possible, centered around the new url stuff. once that is in release 1.5 and put the new ajax support from ng into 1.6. trying to release more and more

Re: Bookmarkable images from db

2009-11-01 Thread Igor Vaynberg
i would write a servlet. -igor On Sun, Nov 1, 2009 at 1:41 PM, Peter Dotchev wrote: > Hi, > > My app allows users to upload images and I store them in JCR > . I can get > InputStream for each one of them. > I want to display images in

Bookmarkable images from db

2009-11-01 Thread Peter Dotchev
Hi, My app allows users to upload images and I store them in JCR . I can get InputStream for each one of them. I want to display images in specific pages and I want image URLs to be stable/bookmarkable. Also I don't want these pages

Re: wicket + jdbc template app

2009-11-01 Thread dtoffe
Just set up your connection in your Application subclass and provide a method to get it from wherever you need it. Use connection pooling. Daniel idudko wrote: > > Hello, guys! > > I want to use wicket with plain jdbc without any persistence framework. > Where i can find template applicat

Re: Wicket Release Plans for 1.5

2009-11-01 Thread Igor Vaynberg
do you guys want a release cycle that will take a year? the auto-detaching models are perfectly possible now by implementing a IDetachListener and detaching all fields that implement IDetachable via reflection. -igor On Sun, Nov 1, 2009 at 3:05 AM, Vladimir K wrote: > > what about promiced aut

Re: wicket + jdbc template app

2009-11-01 Thread James Carman
Do you want to use spring On Nov 1, 2009 10:12 AM, "Ivan Dudko" wrote: Hello, guys! I want to use wicket with plain jdbc without any persistence framework. Where i can find template application for this type of data source? Thank you for answer!

wicket + jdbc template app

2009-11-01 Thread Ivan Dudko
Hello, guys! I want to use wicket with plain jdbc without any persistence framework. Where i can find template application for this type of data source? Thank you for answer!

Re: Wicket Release Plans for 1.5

2009-11-01 Thread Vladimir K
what about promiced auto-detaching models? may we expect it in 1.5? igor.vaynberg wrote: > > possibly. i think i would like this release to be as small as > possible, centered around the new url stuff. once that is in release > 1.5 and put the new ajax support from ng into 1.6. > > trying to r