Re: [Wicket-user] wicket-2.0 snapshots

2006-12-30 Thread Erik van Oosten
Some searching led me to believe it is run by Stefan Arentz from Polar Roze in the same city as I am writing this (Amsterdam, The Netherlands). http://stefan.arentz.nl/2006/05/18/new-maven-repository/ http://stefan.arentz.nl/2006/11/02/17407-jar-files-later/ Regards, Erik. Ryan Sonnek

[Wicket-user] page without markup file

2006-12-30 Thread Ryan Sonnek
I'm building an rss page similar to the one on the wiki ( http://cwiki.apache.org/WICKET/rss-page.html), but I'd like to have the rss library i'm using write out the rss instead of duplicating all the markup and components. Is it possible for a page to programatically write out to the stream

Re: [Wicket-user] page without markup file

2006-12-30 Thread Ryan Sonnek
As a followup, I was able to override the onRender() method to stream my content, but I still need an empty markup file or else wicket throws an exception. are any risks with going with this approach, and is there any way to get around the empty markup file? On 12/30/06, Ryan Sonnek [EMAIL

Re: [Wicket-user] page without markup file

2006-12-30 Thread Ryan Sonnek
I wrote up a quick blog to demonstrate this solution in case anyone is interested. I've built a better wicket RSS page that can handle any of the RSS formats along with Atom. if anyone's interested, this could probably go into wicket-stuff too.

Re: [Wicket-user] page without markup file

2006-12-30 Thread Igor Vaynberg
have your page implement IMarkupResourceStreamProvider -igor On 12/30/06, Ryan Sonnek [EMAIL PROTECTED] wrote: I'm building an rss page similar to the one on the wiki ( http://cwiki.apache.org/WICKET/rss-page.html), but I'd like to have the rss library i'm using write out the rss instead of

Re: [Wicket-user] page without markup file

2006-12-30 Thread Igor Vaynberg
instead of building a page why not just build a link - like DownloadLink - but instead of streaming a file stream an output of your rss library. or a combination link/shared resource if you want mounting. -igor On 12/30/06, Ryan Sonnek [EMAIL PROTECTED] wrote: I'm building an rss page

[Wicket-user] simulating javascript events in WicketTester

2006-12-30 Thread Ivo van Dongen
Hi, I'm trying to write some tests for a page that uses ajax to update itself. The page initializes in an accessible mode (not dependent on Javascipt) and when the javascript callback is made the page adds the javascript dependent components. To test this I wanted to check that all components

Re: [Wicket-user] page without markup file

2006-12-30 Thread Ryan Sonnek
I would like to use a page so that I can have bookmarkable urls to my rss feeds. On 12/30/06, Igor Vaynberg [EMAIL PROTECTED] wrote: instead of building a page why not just build a link - like DownloadLink - but instead of streaming a file stream an output of your rss library. or a combination

Re: [Wicket-user] page without markup file

2006-12-30 Thread Igor Vaynberg
you can use a shared resource (which can also be mounted) instead -igor On 12/30/06, Ryan Sonnek [EMAIL PROTECTED] wrote: I would like to use a page so that I can have bookmarkable urls to my rss feeds. On 12/30/06, Igor Vaynberg [EMAIL PROTECTED] wrote: instead of building a page why

Re: [Wicket-user] Session Store to EJB3/AJP Entity

2006-12-30 Thread Igor Vaynberg
it would be nice if this could be put into wicket-contrib-ejb project in wicket stuff we have been thinking aout providing a JdbcSessionStore which is the same thing but more generic. -igor On 12/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello! What do you think about storing

Re: [Wicket-user] Session Store to EJB3/AJP Entity

2006-12-30 Thread bednarz-hannover
Hey Igor ! I am happy that this is welcome. I will clean up the code a little bit and put it to public for review. Maciej -Ursprüngliche Nachricht- Von: wicket-user@lists.sourceforge.net Gesendet: 31.12.06 01:42:45 An: wicket-user@lists.sourceforge.net Betreff: Re: [Wicket-user]

[Wicket-user] DropDownChoice binding question

2006-12-30 Thread Flavius
Greetings, I am trying to take the value (only) of a DropDownChoice and put it in a model set on the Form. Ideally, I'd like to use a (java 5) enum, but any type of name value pair will work. For example, if I'm trying to set the size of a Shirt class, here is my Shirt, and a sample enum:

Re: [Wicket-user] DropDownChoice binding question

2006-12-30 Thread Nick Heudecker
IChoiceRenderer allows you to specify the id and display values for a DropDownChoice. It's exactly what you're looking for. To explain a bit: getDisplayValue(...) - returns the value you want the user to see. Small, Medium, etc. This is where you'd return SIZE.getName(). getIdValue(...)

Re: [Wicket-user] DropDownChoice binding question

2006-12-30 Thread Flavius
I tried this: DropDownChoice severityChoice = new DropDownChoice(size, Arrays.asList(SIZE.values()), new ChoiceRenderer() { public Object

Re: [Wicket-user] DropDownChoice binding question

2006-12-30 Thread Nick Heudecker
Can I see a bit more of your code? What you've posted looks good, so it's possible something else is causing the problem. You could try ##wicket on Freenode for more help. On 12/30/06, Flavius [EMAIL PROTECTED] wrote: I tried this: DropDownChoice severityChoice =

Re: [Wicket-user] Session Store to EJB3/AJP Entity

2006-12-30 Thread Igor Vaynberg
looking forward to it maciej -igor On 12/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hey Igor ! I am happy that this is welcome. I will clean up the code a little bit and put it to public for review. Maciej -Ursprüngliche Nachricht- Von: wicket-user@lists.sourceforge.net

Re: [Wicket-user] DropDownChoice binding question

2006-12-30 Thread Igor Vaynberg
you are passing a list of enum objects into the list model of the dropdown choice, that means the one selected object out of that list - of type enum - will be set into the model object. so there are two ways to do this you can pass in a list of ints into the choice component, that way the

Re: [Wicket-user] DropDownChoice binding question

2006-12-30 Thread Jonathan Locke
not sure what's wrong with your code, but i've done enum selection in voicetribe with code that looks like the following: add(new DropDownChoice(genre, new Model() { @Override public Object getObject(Component component) {