Re: MenuPanel gets menu item from the .property file

2008-07-23 Thread Nino Saturnino Martinez Vazquez Wael
Well it's just java, listview just requires a list or model that contains lists.. So give it a list:) If you are building a menu you can take a look at the accordion menu on wicket stuff... Rick Shen wrote: I am write a MenuPanel using ListView. How can I load the each menu item from

Re: YuiMenuBar in WicketStuff

2008-07-23 Thread Nino Saturnino Martinez Vazquez Wael
There should be a method that you can overwrite(although not so pretty but it should work), there were that for the YUI rich editor... Karen Schaper wrote: Hi, I've switched to using the YuiMenuBar in wicket stuff from directly using the Yui javascript. The YuiMenuBar automatically adds this

Re: how to register IConverters

2008-07-23 Thread lars vonk
Hi Timo, thanks for replying. Normally you can just register converters in init() of your Application subclass. How is this done? What method do I call? The only way I see to add your own converters is the way I described previously or explicitly cast the IConverterLocator an

Re: How to identify if any of a page's components failed validation after a submit

2008-07-23 Thread Ned Collyer
er... form.hasError()? form.onError()? What do you mean by page? - are there lots of forms on the page all with errors? -- View this message in context: http://www.nabble.com/How-to-identify-if-any-of-a-page%27s-components-failed-validation-after-a-submit-tp18599562p18605378.html Sent from

Re: Wicket 1.4M3 migration

2008-07-23 Thread Ned Collyer
I've just converted over a project to 1.4-m3 from m1. I skipped m2 because of the drastic changes between 1, 2 and 3. I must say, I think generics at a component level - when I initially started using it felt like unneeded overhead - but it became more and more useful. now that I've

Re: MenuPanel gets menu item from the .property file

2008-07-23 Thread Rick Shen
I wish to store the menu item information in the properties file, so when I add or remove one it is easy. Nino.Martinez wrote: Well it's just java, listview just requires a list or model that contains lists.. So give it a list:) If you are building a menu you can take a look at the

Re: Wicket 1.4M3 migration

2008-07-23 Thread Ned Collyer
Thinking about this - generifying panel would probably fix it - or i can just make my own base panel with generics. Ned Collyer wrote: I've just converted over a project to 1.4-m3 from m1. I skipped m2 because of the drastic changes between 1, 2 and 3. I must say, I think generics

Re: DateTextField question

2008-07-23 Thread Cristi Manole
I solved it on my project. The problem was due to a conflict between inMethod's grid yui and wicket yui. Although I updated both of them to use the same yui version, this didn't fix my problem - the calendar would still not show. Then I moved the code that generated the grid after the one that

Re: Asynchronous Components

2008-07-23 Thread Erik van Oosten
Hi Sebastian, If you intend to use Wicket's default detachable models to get data from those services, they will be called sequentially. So those are out. I see 2 options: - In the panel constructor get the data in parallel threads through standard java 5 constructs (dump all your

Re: how to register IConverters

2008-07-23 Thread Jason Lea
We followed the wiki: http://cwiki.apache.org/WICKET/using-custom-converters.html So in our Application class we have @Override protected IConverterLocator newConverterLocator() { final ConverterLocator converterLocator=new ConverterLocator();

DropDownChoice, PropertyModel and stateful pages

2008-07-23 Thread pixologe
Hi everybody, This may be an idiot question, but no matter how many articles and examples I read about this, I seem not to be able to grasp how to use DropDownChoice with PropertyModel. I would very very highly appreciate if someone could point out to me why the code below is not working as I

Re: DropDownChoice, PropertyModel and stateful pages

2008-07-23 Thread Michael Sparer
try using setResponsePage(TestPage.this); the way you did is results in a redirect to a new instance of TestPage regards, Michael pixologe wrote: Hi everybody, This may be an idiot question, but no matter how many articles and examples I read about this, I seem not to be able to

Re: DropDownChoice, PropertyModel and stateful pages

2008-07-23 Thread Martijn Dashorst
setResponsePage(getPage().getClass()) is what you do wrong. This tells wicket to render a bookmarkable response to your page - creates the page again. remove that call and it should work. Martijn On Wed, Jul 23, 2008 at 11:16 AM, pixologe [EMAIL PROTECTED] wrote: Hi everybody, This may be

Re: DropDownChoice, PropertyModel and stateful pages

2008-07-23 Thread Martijn Dashorst
this call is not necessary. Wicket defaults to rendering the current page when no responsepage was set. Martijn On Wed, Jul 23, 2008 at 11:47 AM, Michael Sparer [EMAIL PROTECTED] wrote: try using setResponsePage(TestPage.this); the way you did is results in a redirect to a new instance of

Re: DropDownChoice, PropertyModel and stateful pages

2008-07-23 Thread Michael Sparer
yes, right, of course, i forgot :-) Martijn Dashorst wrote: this call is not necessary. Wicket defaults to rendering the current page when no responsepage was set. Martijn On Wed, Jul 23, 2008 at 11:47 AM, Michael Sparer [EMAIL PROTECTED] wrote: try using

Re: Asynchronous Components

2008-07-23 Thread Erik van Oosten
O, I forgot, be aware that Wicket does not really tolerate pages that take too long to render. Make sure that the page rendering does not take more then 60 seconds in total. (Luckily the Future#get method accepts a timeout argument.) Erik van Oosten wrote: ...dump all your Callables in a

Re: Asynchronous Components

2008-07-23 Thread Martijn Dashorst
I think users are less forgiving than Wicket :) Martijn On Wed, Jul 23, 2008 at 12:05 PM, Erik van Oosten [EMAIL PROTECTED] wrote: O, I forgot, be aware that Wicket does not really tolerate pages that take too long to render. Make sure that the page rendering does not take more then 60

Re: UrlCodingStrategy and overriding the decodeParamaters()

2008-07-23 Thread Michael Sparer
Maybe I didn't get the point, but why not subclassing and overriding the method? try { super.decodeParameters(...); } catch (... or am I misunderstanding you completely? w_user wrote: hallo, How can i override the AbstractRequestTargetUrlCodingStrategy.decodeParameters() function to

Re: DropDownChoice, PropertyModel and stateful pages

2008-07-23 Thread pixologe
Thanks a lot, Michael, that was very helpful :) I have spent quite some time puzzling... unfortunately, this raises another question right away: there are methods: setResponsePage(java.lang.Class cls) setResponsePage(java.lang.Class cls, PageParameters parameters) setResponsePage(Page page)

Re: DropDownChoice, PropertyModel and stateful pages

2008-07-23 Thread Martijn Dashorst
On Wed, Jul 23, 2008 at 12:25 PM, pixologe [EMAIL PROTECTED] wrote: there are methods: setResponsePage(java.lang.Class cls) setResponsePage(java.lang.Class cls, PageParameters parameters) setResponsePage(Page page) but not: setResponsePage(Page page, PageParameters parameters) correct. is

Re: DropDownChoice, PropertyModel and stateful pages

2008-07-23 Thread pixologe
Thanks Martijn, of course, you are right. I came to put it in there after consulting the example at http://www.wicket-library.com/wicket-examples/forminput/ where this call is inserted to ensure the responding page is still bookmarkable, also I planned to hand over the PageParameters object in

Re: DropDownChoice, PropertyModel and stateful pages

2008-07-23 Thread pixologe
Thanks, please ignore my latest message (I wrote it before seeing yours) Of course, I want to use Wicket's state management, that's why I asked this question in the first place :) Just for explanation: The page I am working on currently is a page that displays a list of products, which displays

This time last year .... is Wicket really a disappointment?

2008-07-23 Thread Alex Objelean
I've recently found this post on dzone: http://java.dzone.com/news/this-time-last-year This time last year ... What is your oppinion about this? -- View this message in context: http://www.nabble.com/%22This-time-last-year%22--is-Wicket-really-a-disappointment--tp18608440p18608440.html

Re: This time last year .... is Wicket really a disappointment?

2008-07-23 Thread pixologe
no not at all. it's great. Alex Objelean wrote: I've recently found this post on dzone: http://java.dzone.com/news/this-time-last-year This time last year ... What is your oppinion about this? -- View this message in context:

Re: This time last year .... is Wicket really a disappointment?

2008-07-23 Thread Martijn Dashorst
He's uninformed. Nobody is concerned about the future of wicket. At least nobody I know (and I don't know him). He seems to drink the JSF coolaid, and his co-workers the flex coolaid. Good for them, but that doesn't mean a thing about the state of Wicket. Any non-Sun/Adobe/Microsoft project has

Re: This time last year .... is Wicket really a disappointment?

2008-07-23 Thread Alex Objelean
For the last 7 months, the project we are working with uses JSF (Icefaces). It indeed have nice features, but still it does not compare at all with Wicket (easy of componet development, flexibility, testability, etc, etc). I do love wicket, but I must agree that ..a lot but corporations still

Re: This time last year .... is Wicket really a disappointment?

2008-07-23 Thread James Carman
On Wed, Jul 23, 2008 at 7:32 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: Any non-Sun/Adobe/Microsoft project has problems growing their community when put against the millions of marketing $$$. Take a look at JavaOne: we submitted a proposal but were not admitted, however the esplanade was

Re: This time last year .... is Wicket really a disappointment?

2008-07-23 Thread Fabrizio Giudici
On Jul 23, 2008, at 13:19 , Alex Objelean wrote: I've recently found this post on dzone: http://java.dzone.com/news/this-time-last-year This time last year ... What is your oppinion about this? In short, I could compare (partially) it with my feelings about Apple. I was so excited when I

Re: This time last year .... is Wicket really a disappointment?

2008-07-23 Thread Michael Sparer
The thing that really frustrates me is the fact you're forcing me to use serializable objects, even if I don't need to (and when I go with clustering, I'll use Terracotta). But I'm confident I'll find some design work-around on that. I don't agree with you in this point. The design

Re: This time last year .... is Wicket really a disappointment?

2008-07-23 Thread Fabrizio Giudici
On Jul 23, 2008, at 13:52 , Michael Sparer wrote: The thing that really frustrates me is the fact you're forcing me to use serializable objects, even if I don't need to (and when I go with clustering, I'll use Terracotta). But I'm confident I'll find some design work-around on that. I don't

Re: This time last year .... is Wicket really a disappointment?

2008-07-23 Thread Alex Objelean
I must also say that in our company the popularity of wicket is growing up. We completed at least 3 small-medium sized projects using Wicket. There is another project in progress and few prospects. Number of developers who had a contact with wicket grew from 1 to 5 developers. It is not very

strange behavior with DropDown

2008-07-23 Thread Eyal Golan
Hello all, I have a class that holds two DropDownChoice object. We have a generic behavior: According to one DropDown value, we set the list to the other. Here's a code snippet of the 1st component: private DropDownChoice createUniverseDropDown() { IModel universesModel =

Re: strange behavior with DropDown

2008-07-23 Thread Eyal Golan
One more thing, If I put a break point in the onSubmit of the Button, the debugger doesn't even reach it if the configuration DropDown is not chosen. On Wed, Jul 23, 2008 at 3:34 PM, Eyal Golan [EMAIL PROTECTED] wrote: Hello all, I have a class that holds two DropDownChoice object. We have a

Re: strange behavior with DropDown

2008-07-23 Thread Martijn Dashorst
override onError and set a breakpoint there. And add a feedbackpanel to your page. Martijn On Wed, Jul 23, 2008 at 2:40 PM, Eyal Golan [EMAIL PROTECTED] wrote: One more thing, If I put a break point in the onSubmit of the Button, the debugger doesn't even reach it if the configuration

Re: Wicket 1.4M3 migration

2008-07-23 Thread Anders Peterson
I used M2 and had no problem with it. When I heard talk about decoupling the components and the models, for M3, I thought that seemed a good idea. Now I use M3. It works fine, but I think generics for components is implemented upside down. I think M3 should have been M2 with generics turned

Re: strange behavior with DropDown

2008-07-23 Thread Eyal Golan
thanks, It really stopped at the onError. As I understand, and correct me if I'm wrong, I need to implement something in that method. Something like, check if the user pressed cancel, and if so, to continue to whatever I want. BTW, can I force the onSubmit of a button (my CANCEL button) even if

WebPage: empty response

2008-07-23 Thread Milan Křápek
Hi, I need your advice. I am using wicket for generating VoiceXML for my application. In response my application sends some recorded audio as multipart/form-data content. Another wicket page stores this audio to HDD. The problem is that wicket returns HTTP status code 500, because there was

Re: WebPage: empty response

2008-07-23 Thread Martijn Dashorst
2 options: 1. don't use Wicket but a normal servlet for this 2. getRequestCycle().setRequestTarget(new EmptyRequestTarget()); #2 should work, but I haven't tried it :) Martijn On Wed, Jul 23, 2008 at 3:03 PM, Milan Křápek [EMAIL PROTECTED] wrote: Hi, I need your advice. I am using wicket

How to render component markup to string?

2008-07-23 Thread Enes Fazli
Hello, I want to create markup with wicket components but I do not want to send it to a browser, I want to store it in a String. Is there a way to do so? With regards, Enes F.

Re: How to render component markup to string?

2008-07-23 Thread Martijn Dashorst
getRequestCycle().setRequestTarget(new StringRequestTarget()); On Wed, Jul 23, 2008 at 3:41 PM, Enes Fazli [EMAIL PROTECTED] wrote: Hello, I want to create markup with wicket components but I do not want to send it to a browser, I want to store it in a String. Is there a way to do so? With

Re: Problems with character encoding of text from data model

2008-07-23 Thread sstendal
Thanks Timo. I'm compiling on a mac using maven. This has not been a problem before, so I simply didn't think of it. My java source files are stored in iso-8859-1 (which gives less problems when interacting with people using windows). I specified the encoding in the maven pom-file, and that

error doesn't seem to work (?)

2008-07-23 Thread Eyal Golan
Hi, We have a page that has a form in it and also a FeedbackPanel. The form has a button that can be pressed only 4 times (never mind why). On the fifth press we call in the onSubmit of the button: error(my message); Break pointing stopped there. The feedback panel wasn't shown. I tried using

RE: New Wicket Grails Plug-in Available + about the Groovy wicket builder

2008-07-23 Thread Zappaterrini, Larry
Anonymous inner classes are nice for their brevity but they are not required. You can declare those as concrete classes. I'm not too sure about Groovy but you should be able to put them in the same file. -Original Message- From: JulianS [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22,

Re: strange behavior with DropDown

2008-07-23 Thread Eyal Golan
Martijn, This is what I was looking for: myButton.setDefaultFormProcessing(false); Thanks On Wed, Jul 23, 2008 at 3:42 PM, Martijn Dashorst [EMAIL PROTECTED] wrote: override onError and set a breakpoint there. And add a feedbackpanel to your page. Martijn On Wed, Jul 23, 2008 at 2:40 PM,

Re: How to identify if any of a page's components failed validation after a submit

2008-07-23 Thread Louis Savoldy
Ned Collyer wrote: er... form.hasError()? form.onError()? What do you mean by page? - are there lots of forms on the page all with errors? Thanks Ned for pointing out the form’s hasError() and onError(). I could make use of these wtihin my visitor rather looking at all components.

Re: How to render component markup to string?

2008-07-23 Thread Enes Fazli
Hello Martijn Dashorst, thank you for your fast response, but I cannot see how this could solve my problem as I do not want to send a String to the browser. I want to store the Markup, which gets rendered by a panel for example, in a String. Thank you in advance for any advice to this topic.

Re: How to render component markup to string?

2008-07-23 Thread Martijn Dashorst
Why do you want to store it in a string? Martijn On Wed, Jul 23, 2008 at 4:27 PM, Enes Fazli [EMAIL PROTECTED] wrote: Hello Martijn Dashorst, thank you for your fast response, but I cannot see how this could solve my problem as I do not want to send a String to the browser. I want to store

Re: [announce] Apache Wicket 1.4-m3 is released

2008-07-23 Thread Reinout van Schouwen
Hi James, Op maandag 14-07-2008 om 11:15 uur [tijdzone -0400], schreef James Carman: It's just in the wicket-spring jar now, since we're JDK5+ But how about the Wicket quickstart archetype? Latest available appears to be 1.4m2 still. regards, -- Reinout van Schouwen

Re: How to render component markup to string?

2008-07-23 Thread Enes Fazli
I use rome to create Atom feeds and my intention was to use wicket generated markup for the feed entries content. On Wed, Jul 23, 2008 at 4:31 PM, Martijn Dashorst [EMAIL PROTECTED] wrote: Why do you want to store it in a string? Martijn On Wed, Jul 23, 2008 at 4:27 PM, Enes Fazli [EMAIL

Re: How to render component markup to string?

2008-07-23 Thread Martijn Dashorst
Are you using wicketstuff-rome? Or building it yourself? Martijn On Wed, Jul 23, 2008 at 4:39 PM, Enes Fazli [EMAIL PROTECTED] wrote: I use rome to create Atom feeds and my intention was to use wicket generated markup for the feed entries content. On Wed, Jul 23, 2008 at 4:31 PM, Martijn

Re: How to render component markup to string?

2008-07-23 Thread Enes Fazli
As I understand wicketstuff- rome it is just used to create a webresource from my feed and it provides a custom listmodel for consuming feeds. The Feed itself gets build by me. On Wed, Jul 23, 2008 at 4:43 PM, Martijn Dashorst [EMAIL PROTECTED] wrote: Are you using wicketstuff-rome? Or

Getting hold of Container's markup

2008-07-23 Thread Ricky
Hi, I have two questions (related) : 1.) Is there a way in wicket to get Not the raw markup but markup *AFTER*the actual data has been inserted? (meaning the final HTML as we see it on the page?). 2.) Similar to above scenario, can you use container to spit out markup in some other form, for

Re: error doesn't seem to work (?)

2008-07-23 Thread Michael Sparer
Is it an AjaxRequest and you're not adding the feedback panel? or provide some code ... would be easier to find the fault ... egolan74 wrote: Hi, We have a page that has a form in it and also a FeedbackPanel. The form has a button that can be pressed only 4 times (never mind why). On the

Re: Asynchronous Components

2008-07-23 Thread Igor Vaynberg
if you want the page to render all at once you have to spin off as many threads as there are components and block rendering until all threads are done. you can do this in page#onbeforerender() which is called before any components start to render. the problem with this is that if it takes a while

Re: WebPage: empty response

2008-07-23 Thread Igor Vaynberg
throw new AbortResponseWithStatusCode(HttpServletResponse.SC_OK); should do it -igor 2008/7/23 Martijn Dashorst [EMAIL PROTECTED]: 2 options: 1. don't use Wicket but a normal servlet for this 2. getRequestCycle().setRequestTarget(new EmptyRequestTarget()); #2 should work, but I haven't

Re: Getting hold of Container's markup

2008-07-23 Thread Igor Vaynberg
see IResponseFilter. as far as spitting out text, wicket works with xml not plain text. but if you call setrenderbodyonly(true) on all components there wont be any xml tags left in the output. -igor On Wed, Jul 23, 2008 at 8:20 AM, Ricky [EMAIL PROTECTED] wrote: Hi, I have two questions

Re: How to render component markup to string?

2008-07-23 Thread Igor Vaynberg
myrequestcycle extends requestcycle { onbeginrequest() { setresponse(new stringresponse()); } onendrequest() { string str=((stringresponse)getresponse()).getstring(); // do whatever } } -igor On Wed, Jul 23, 2008 at 6:41 AM, Enes Fazli [EMAIL PROTECTED] wrote: Hello,

RE: YuiMenuBar in WicketStuff

2008-07-23 Thread Karen Schaper
There should be a method that you can overwrite(although not so pretty but it should work), there were that for the YUI rich editor... I don't see any method to overwrite. These configuration values look like they are in the javascript files. Maybe I am missing something?

[ANN] Brix 1.0 beta1

2008-07-23 Thread Igor Vaynberg
we have released Brix 1.0 beta1 [1] yesterday. for those of you who do not know what Brix is, it is an embeddable CMS for wicket apps based on wicket (of course) and the jcr (jackrabbit). Brix is pretty much feature-complete for 1.0, next we are going to focus on stabilizing it for the 1.0

Spring injection not working

2008-07-23 Thread David Nedrow
I believe (though I'm clearly wrong in that belief) that I have everything properly configured to allow spring injection along the lines of: import com.foo.dao.UserDAO; @Spring private UserDAO userDAO; Meaning that for a bean defined in the applicationContext as . . . bean id=UserDAO

Re: Spring injection not working

2008-07-23 Thread James Carman
Have you tried using @SpringBean? On Wed, Jul 23, 2008 at 12:04 PM, David Nedrow [EMAIL PROTECTED] wrote: I believe (though I'm clearly wrong in that belief) that I have everything properly configured to allow spring injection along the lines of: import com.foo.dao.UserDAO; @Spring private

Re: [announce] Apache Wicket 1.4-m3 is released

2008-07-23 Thread James Carman
Well, it's easy enough to upgrade once you generate your project. Just change the wicket version. On Wed, Jul 23, 2008 at 10:30 AM, Reinout van Schouwen [EMAIL PROTECTED] wrote: Hi James, Op maandag 14-07-2008 om 11:15 uur [tijdzone -0400], schreef James Carman: It's just in the

Re: DropDownChoice, PropertyModel and stateful pages

2008-07-23 Thread pixologe
In case anybody is interested in what I ended up with: I defined an inner class within the Page which declares the page state properties (and defines their default values) for the enclosing page. An instance of the state Object is stored in the session using memento pattern (no longer within the

expires header

2008-07-23 Thread Scott Swank
A co-worker who is not on the wicket user list asked me to ask: How do you change the expires header being returned by the wicket javascript (e.g. /mytrip/app/resources/org.apache.wicket.markup.html.WebResource/wicket-event.js)? Are there any options for this, or would we have to dig into the

Wicket position NYC

2008-07-23 Thread Eelco Hillenius
Hey folks, Teachscape is looking for someone with Wicket experience for a full time position located in downtown New York City. Please see http://newyork.craigslist.org/mnh/sof/759242907.html for details. Hope to get some resumes! :-) Cheers, Eelco

Re: error doesn't seem to work (?)

2008-07-23 Thread Eyal Golan
thanks, I'll look into it tomorrow On Wed, Jul 23, 2008 at 6:21 PM, Michael Sparer [EMAIL PROTECTED] wrote: Is it an AjaxRequest and you're not adding the feedback panel? or provide some code ... would be easier to find the fault ... egolan74 wrote: Hi, We have a page that has a

Re: [ANN] Brix 1.0 beta1

2008-07-23 Thread jWeekend
Igor, This looks like it's fast becoming another high quality and useful piece of well conceived, professional equipment in the Wicket application developer's arsenal. I've been keeping an eye on the project's progress, via SVN, and how fast you guys have got this far has been impressive. If

Re: expires header

2008-07-23 Thread Johan Compagner
I think the package resources just does something default. Have to check if this is already configurable. Check resource and resource request target On 7/23/08, Scott Swank [EMAIL PROTECTED] wrote: A co-worker who is not on the wicket user list asked me to ask: How do you change the expires

Getting selections from DropDownChoice and Palette components

2008-07-23 Thread kag1526
I'm new to wicket and although I have seen a bunch of examples using both DropDownChoice and Palette I can not get the selected values from either list. Currently this is what I'm doing: this.setModel(new CompoundPropertyModel(profile)); ListPaletteObject paletteList = new

Re: Spring injection not working

2008-07-23 Thread David Nedrow
On Jul 23, 2008, at 12:10 PM, James Carman wrote: Have you tried using @SpringBean? On Wed, Jul 23, 2008 at 12:04 PM, David Nedrow [EMAIL PROTECTED] wrote: I believe (though I'm clearly wrong in that belief) that I have everything properly configured to allow spring injection along the

RE: Spring injection not working

2008-07-23 Thread Zappaterrini, Larry
Should UserDAO in the XML be userDAO? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2008 3:14 PM To: users@wicket.apache.org Subject: Re: Spring injection not working On Jul 23, 2008, at 12:10 PM, James Carman wrote: Have you tried

Re: Spring injection not working

2008-07-23 Thread James Carman
Try downloading my example code from: http://svn.carmanconsulting.com/public/wicket-advanced/trunk/ See if there's anything you're doing differently. On Wed, Jul 23, 2008 at 3:13 PM, David Nedrow [EMAIL PROTECTED] wrote: On Jul 23, 2008, at 12:10 PM, James Carman wrote: Have you tried using

Re: expires header

2008-07-23 Thread Scott Swank
Thank you Johan. On Wed, Jul 23, 2008 at 11:14 AM, Johan Compagner [EMAIL PROTECTED] wrote: I think the package resources just does something default. Have to check if this is already configurable. Check resource and resource request target On 7/23/08, Scott Swank [EMAIL PROTECTED] wrote: A

Re: Spring injection not working

2008-07-23 Thread landry soules
Actually, if the class using userDAO doesn't extend Component, you have to add InjectorHolder.getInjector().inject(this) in the constructor of the calling class. David Nedrow wrote: I believe (though I'm clearly wrong in that belief) that I have everything properly configured to allow

Getting selections from DropDownChoice and Palette components

2008-07-23 Thread kag1526
I'm new to wicket and although I have seen a bunch of examples using both DropDownChoice and Palette I can not get the selected values from either list. Currently this is what I'm doing: this.setModel(new CompoundPropertyModel(profile)); ListPaletteObject paletteList = new

Re: [ANN] Brix 1.0 beta1

2008-07-23 Thread Igor Vaynberg
cemal, thanks. unfortunately i cant be in london at that time, so you will have to see if matej can make it out. its a lot closer for him anyways :) -igor On Wed, Jul 23, 2008 at 11:08 AM, jWeekend [EMAIL PROTECTED] wrote: Igor, This looks like it's fast becoming another high quality and

Re: Asynchronous Components

2008-07-23 Thread Serkan Camurcuoglu
you may also consider using a portal framework and portlets, for example apache jetspeed portal (and possibly others) has parallel portlet rendering option.. Igor Vaynberg wrote: if you want the page to render all at once you have to spin off as many threads as there are components and block

Re: UrlCodingStrategy and overriding the decodeParamaters()

2008-07-23 Thread w_user
yes, that exactly what i wont to catch the exception. The problem is that i have only wicket pages with some parameters and the exception occurs befor the constructor in the page instance is called. so I wont to catch this exception but i dont find the way or the position where to write the catch

Re: Spring injection not working

2008-07-23 Thread James Carman
Oops! Yeah non-component classes aren't injected automatically. In this case, you might be able to use @configurable, as long as you don't need to pass the reference to anyone else. But, what you're doing might be easier. On 7/23/08, David Nedrow [EMAIL PROTECTED] wrote: On Jul 23, 2008, at

Re: UrlCodingStrategy and overriding the decodeParamaters()

2008-07-23 Thread w_user
Another thing is that i have a wicket application and i would like to know how to explitely assign the subclassed class that i override to the application? thanks for help!! w_user wrote: hallo, How can i override the AbstractRequestTargetUrlCodingStrategy.decodeParameters() function

Re: This time last year .... is Wicket really a disappointment?

2008-07-23 Thread Eelco Hillenius
On Wed, Jul 23, 2008 at 4:40 AM, James Carman [EMAIL PROTECTED] wrote: On Wed, Jul 23, 2008 at 7:32 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: Any non-Sun/Adobe/Microsoft project has problems growing their community when put against the millions of marketing $$$. Take a look at JavaOne:

Re: Spring injection not working

2008-07-23 Thread David Nedrow
On Jul 23, 2008, at 3:27 PM, landry soules wrote: Actually, if the class using userDAO doesn't extend Component, you have to add InjectorHolder.getInjector().inject(this) in the constructor of the calling class. Is that in addition to addComponentInstantiationListener(), or in

Re: Spring injection not working

2008-07-23 Thread James Carman
The TestDataLoader is configured in the META-INF/beans.xml file: http://svn.carmanconsulting.com/public/wicket-advanced/trunk/src/main/resources/META-INF/beans.xml It's injected that way On Wed, Jul 23, 2008 at 5:10 PM, David Nedrow [EMAIL PROTECTED] wrote: On Jul 23, 2008, at 3:23 PM, James

PageableListView + AJax and loading DB contents

2008-07-23 Thread ej595
Hi all, im from a JSF background and so far ive been really impressed with what ive seen on the Wicket side of things. Im a little confused on the pagable lists, pagable datatables, ajax navigators etc. It seems that when retrieving records, the 'paging' is more client-side. By that i mean it

Re: PageableListView + AJax and loading DB contents

2008-07-23 Thread James Carman
Some of the components require you to pass in a list of objects to page through (ListView for example). Others, like DataTable, etc., let you use an IDataProvider instance which allows you to let the database do the paging. Take a look at my StudentDataProvider implementation (an inner class):

Re: expires header

2008-07-23 Thread Scott Swank
My coworker says: I see that one of the headers is being added from WebRequestCycleProcessor but the other headers must be added using something other than setHeader. Where else might headers originate? Thank you. On Wed, Jul 23, 2008 at 11:14 AM, Johan Compagner [EMAIL PROTECTED] wrote: I

Re: expires header

2008-07-23 Thread Jeremy Thomerson
https://issues.apache.org/jira/browse/WICKET-1602 http://www.nabble.com/Wicket-javascripts---reloading-every-one-hour-to17117009.html#a17137997 Hope this helps. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Jul 23, 2008 at 5:58 PM, Scott Swank [EMAIL PROTECTED] wrote: My coworker

Re: expires header

2008-07-23 Thread Scott Swank
Thank you Jeremy. On Wed, Jul 23, 2008 at 4:17 PM, Jeremy Thomerson [EMAIL PROTECTED] wrote: https://issues.apache.org/jira/browse/WICKET-1602 http://www.nabble.com/Wicket-javascripts---reloading-every-one-hour-to17117009.html#a17137997 Hope this helps. -- Jeremy Thomerson