Re: non-existent Springbean lazy beans only work when name specified

2009-05-07 Thread Marat Radchenko
Your setup seems to be broken. That's the whole point of nameless @SpringBean/@Resource/@Autowire - to find beans by _type_, not name. Relying on successful injection of beans of wrong type is a bad idea IMO. It'll break as soon as smth in your code tries to invoke that bean. I'd even say that

Re: best way to add tooltips in wicket

2009-05-07 Thread RoyBatty
Thanks Nino. A little bit more input on the Mootip performance bit, if you're interested. Basically, when we're using it it behaves quite differently from the mootip examples you can see on their page. here's what happens: When a Mootip is added to, for example, a label, and you drag the

calendar component with date TIME field

2009-05-07 Thread Christoph Grün
Hi! Is there a calendar component with date TIME field? The calendar components, that I know so far (e.g., YUI DatePicker) just provide a date field. I also would need a field for hours/minutes. Instead of adding textfields for hours/minutes seperately, it would be nice to have them

jquery slider component not working

2009-05-07 Thread Christoph Grün
Hello, I tried out different slider components jquery slider (jquery-examples-1.4-20090427.160726-150.war), yui slider (yui-examples-1.4-20090427.160726-141.war). Actually, none of them works out of the box with Wicket 1.4. The class below is the JQuery slider. The onChange method is

Re: non-existent Springbean lazy beans only work when name specified

2009-05-07 Thread Antony Stubbs
Sorry, not sure if I was clear enough? I know it's to wire by type, we want that. But the SpringBeanInjector is requesting a name be generated for our 'type' injected bean, which is causing a problem. We are _not_ relying on succesful injection of beans of the wrong type - unless you

Re: DateTextField design issue

2009-05-07 Thread Eyal Golan
I'm going to review on Sunday the code my team mate has made . I'll be able to give you more information and see if maybe we misunderstood something. Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't

Pimp your Wicket app!

2009-05-07 Thread Martijn Dashorst
I (and possibly the rest of the Wicket community) would like to know more about your deployed Wicket applications. Even though we have a page that enables everyone to list their Wicket application, it lacks the details we all crave for. So I'd like to invite everyone to share their setup with us.

Re: Pimp your Wicket app!

2009-05-07 Thread Martijn Dashorst
To start myself: Name of your application: Vocus Industry: education Intranet or internet: [ ] intranet [X] internet Public or private site: [ ] public [X] private [ ] both Average number of concurrent users: 400 Max number of concurrent users you have encountered: 500 Average number of Wicket

Re: Breadcrumbs and raw URLs

2009-05-07 Thread Wilhelmsen Tor Iver
Is there a way to use urlFor() or the like to create links that updates the breadcrumb model with our BreadCrumbPanel subclass for the linked id, i.e. IBreadCrumbModel.setActive(new ArticlePanel(...))? *crickets* Anyway, I finally found the likely answer in the form of an extended

Re: Pimp your Wicket app!

2009-05-07 Thread CrocodileShoes
Name of your application: Knowledge management research project for ESA - Name not yet decided! Intranet or internet: [X] intranet [ ] internet Public or private site: [ ] public [X] private [ ] both Average number of concurrent users: Not sure yet - We are deploying for the Rosetta mission

Editable select

2009-05-07 Thread Vladimir Kovalyuk
Does anybody know any editable select wicket-component that supports attaching 'onchange' AjaxFormComponentUpdatingBehavior?

Re: Pimp your Wicket app!

2009-05-07 Thread Daniel Frisk
Name of your application: http://jalbum.net Intranet or internet: [ ] intranet [X ] internet Public or private site: [ X] public [ ] private [ ] both Average number of concurrent users: ~500 Max number of concurrent users you have encountered: Don't know Average number of Wicket served requests

Re: Editable select

2009-05-07 Thread James Carman
Perhaps autocomplete? On Thu, May 7, 2009 at 5:55 AM, Vladimir Kovalyuk koval...@gmail.com wrote: Does anybody know any editable select wicket-component that supports attaching 'onchange' AjaxFormComponentUpdatingBehavior? -

AjaxResponse with control characters is not validated

2009-05-07 Thread Jens Alenius
Hi. Found something that might be a wicket ajax bug. This code wont work in Firefox and we believe that its the Ajax xml response that is invalid. The control characters is not properly escaped. Ex: \u0014 is written as 0014 in the xml Ajax Response but should be #0014. See:

Bug? Element hidden by wicket:enclosure is required?

2009-05-07 Thread Martin Makundi
Hi! Is it a bug that wicket requires a field which is in an enclosure which is then not visible? wicket:enclosure child=switch select wicket:id=combo/select !-- this will be required (if it is required) even though the switch is hidden -- wicket:container wicket:id=switch/ /wicket:enclosure

Re: Editable select

2009-05-07 Thread Vladimir K
Thanks. I'll try AutoCompleteSettings. James Carman-3 wrote: Perhaps autocomplete? On Thu, May 7, 2009 at 5:55 AM, Vladimir Kovalyuk koval...@gmail.com wrote: Does anybody know any editable select wicket-component that supports attaching 'onchange' AjaxFormComponentUpdatingBehavior?

AW: Lazy Open Session In View with AOP

2009-05-07 Thread Christian Helmbold
Thanks for your answer, James. I try to understand magic things. The missing peace in the puzzle was the difference between Hibernates openSession() and getCurrentSession(). More than one transaction within one session seems only to be possible with openSession() and manual flushing and

Re: Pimp your Wicket app!

2009-05-07 Thread David Brown
Hello, my Wicket app is still in alpha dev. Closer to reality I'm still trying to migrate the backend from MSSQL 2005 to MySQL embeddable. The entire project is just a pilot to see if I get the job. The current running enterprise web app to be replaced is a concoction of hundreds of

Re: Add a ui lock page over the page while waiting for response

2009-05-07 Thread Matthias Keller
Hi Thanks for the input. I now used wicketstuff-jquery and wrote a custom behaviour which adds the code to my form. For later reference: public class UIBlockerBehaviour extends JQueryBehavior { private static final ResourceReference BLOCKUI_JS = new

Re: Add a ui lock page over the page while waiting for response

2009-05-07 Thread Vladimir K
The following works for me pretty well: http://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html http://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html Matthias Keller wrote: Hi Thanks for the input. I now used

Re: calendar component with date TIME field

2009-05-07 Thread reiern70
Maybe org.apache.wicket.extensions.yui.calendar.DateTimeField Best, Ernesto Christoph Grün wrote: Hi! Is there a calendar component with date TIME field? The calendar components, that I know so far (e.g., YUI DatePicker) just provide a date field. I also would need a field

Re: DateTextField design issue

2009-05-07 Thread Igor Vaynberg
if you want to use your own converter then override getconverter() and return whatever you like. -igor On Thu, May 7, 2009 at 1:38 AM, Eyal Golan egola...@gmail.com wrote: I'm going to review on Sunday the code my team mate has made . I'll be able to give you more information and see if maybe

Re: AjaxResponse with control characters is not validated

2009-05-07 Thread Igor Vaynberg
open a jira issue and add a quickstart please. -igor On Thu, May 7, 2009 at 4:12 AM, Jens Alenius jens.alen...@megasol.se wrote: Hi. Found something that might be a wicket ajax bug. This code wont work in Firefox and we believe that its the Ajax xml response that is invalid. The control

Re: Bug? Element hidden by wicket:enclosure is required?

2009-05-07 Thread Igor Vaynberg
no it is not a bug. your hierarchy has to match the markup even if things are not visible. -igor On Thu, May 7, 2009 at 4:19 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! Is it a bug that wicket requires a field which is in an enclosure which is then not visible?

Re: Bug? Element hidden by wicket:enclosure is required?

2009-05-07 Thread Martin Makundi
no it is not a bug. your hierarchy has to match the markup even if things are not visible. That was pseudocode.. don't mind the hierarchy. It's all about the enclosure only. So I gather it is a bug. It does not throw exception, the problem is just that an element hidden (only via enclosure) is

bug in swfObject.java -- http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html

2009-05-07 Thread Fernando Wermus
Hi all, There is a small bug in swfObject in page: http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html. When SwfObject receives more than one parameter, instead of adding a comma between them, SwfObject omits it. This mini bug could be fixed as follows: private String

Re: validation message-keys differences on m3 to rc2

2009-05-07 Thread Brill Pappin
I'm having a bit of trouble with this as well. Are the properties document any place? I can't seem to find them anywhere. - brill On 6-Apr-09, at 5:59 AM, Gianni Doe wrote: ComponentStringResourceLoader's javadoc is very helpful here: quote assume a component hierarchy like

AW: calendar component with date TIME field

2009-05-07 Thread Christoph Grün
Dear Ernesto, thanks a lot - it works. Christoph -Ursprüngliche Nachricht- Von: reiern70 [mailto:reier...@gmail.com] Gesendet: Donnerstag, 07. Mai 2009 16:53 An: users@wicket.apache.org Betreff: Re: calendar component with date TIME field Maybe

Re: DateTextField design issue

2009-05-07 Thread Eyal Golan
if you want to use your own converter then override getconverter() and return whatever you like. True. This is what I suggested my mate when we discussed it. And I guess this what we'll do. But isn't using a converter for the whole application eliminates the need to create a custom component?

Re: Bug? Element hidden by wicket:enclosure is required?

2009-05-07 Thread Igor Vaynberg
ah, that is different and that should be fixed in latest versions i believe. -igor On Thu, May 7, 2009 at 9:26 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: no it is not a bug. your hierarchy has to match the markup even if things are not visible. That was pseudocode.. don't

Re: DateTextField design issue

2009-05-07 Thread Igor Vaynberg
problem is datetextfield suppports different formats which require different converters, so it is a bit of a special case with regard to using a global date converter. -igor On Thu, May 7, 2009 at 11:16 AM, Eyal Golan egola...@gmail.com wrote: if you want to use your own converter then override

Re: bug in swfObject.java -- http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html

2009-05-07 Thread Jeremy Thomerson
Please file a JIRA issue so that it doesn't get lost. -- Jeremy Thomerson http://www.wickettraining.com On Thu, May 7, 2009 at 12:46 PM, Fernando Wermus fernando.wer...@gmail.com wrote: Hi all,    There is a small bug in swfObject in page:

Re: bug in swfObject.java -- http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html

2009-05-07 Thread Maarten Bosteels
It's a wiki page, you can fix it yourself. Yes you can ! regards, Maarten On Thu, May 7, 2009 at 9:46 PM, Jeremy Thomerson jer...@wickettraining.comwrote: Please file a JIRA issue so that it doesn't get lost. -- Jeremy Thomerson http://www.wickettraining.com On Thu, May 7, 2009 at

HybridUrlCodingStrategy and parameters with .

2009-05-07 Thread Ryan McKinley
I'm using the HybridUrlCodingStrategy and ran into a glitch when I have parameter values that include the character . For example, if I make a link with: params.add( p, Hello 2.01.00 ) This creates a link to: http://host/context/path/p/Hello%202.01.00 and then that gets redirected to:

inmethod grid converter/formatter?

2009-05-07 Thread Brill Pappin
I'm spiking on the inmethod grid components from wicketstuff (1.4- SNAPSHOT) I need to be able to format the data in columns and or modify it for view only columns. the specific case is a description field that sometime needs and ellipsis. I can't see any way to add converters or

Re: inmethod grid converter/formatter?

2009-05-07 Thread Ryan McKinley
what about just implementing AbstractLightWeightColumn#newCell? this lets you write text directly to the output... On May 7, 2009, at 4:15 PM, Brill Pappin wrote: I'm spiking on the inmethod grid components from wicketstuff (1.4- SNAPSHOT) I need to be able to format the data in columns

Re: DateTextField design issue

2009-05-07 Thread Eyal Golan
What we actually want to do is, to use the regular converter for Date.class with a small addition. The converter uses a DateFormat. We want to set this DateFormat: setLenient(true). I thought to put it in the application scope as we want this everywhere in the application. Following this thread, I

Ajax Request Security

2009-05-07 Thread Douglas Ferguson
It just dawned on me that most users will protect their url parameters to make sure that end users can't fiddle with parameters and see inappropriate data, however, is it conceivable to issue ajax requests to get an app to do something it shouldn't? If so, any tips on how to build a request

Re: Ajax Request Security

2009-05-07 Thread Jeremy Thomerson
Ajax requests, like non-bookmarkable links within Wicket, are inherently secure through the fact that they are session-relative. That is, unless you specifically try to make it less secure, it is secure by default in that I can not just twiddle with an ID field in the request URL to edit an entity

Re: bug in swfObject.java -- http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html

2009-05-07 Thread Fernando Wermus
done On Thu, May 7, 2009 at 12:48 PM, Maarten Bosteels mbosteels@gmail.comwrote: It's a wiki page, you can fix it yourself. Yes you can ! regards, Maarten On Thu, May 7, 2009 at 9:46 PM, Jeremy Thomerson jer...@wickettraining.comwrote: Please file a JIRA issue so that it doesn't

Re: Wicket SWFObject

2009-05-07 Thread Fernando Wermus
I couldnt make it work with Modal Window :( On Tue, May 5, 2009 at 2:33 AM, Martin Grigorov mcgreg...@e-card.bg wrote: check this http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html El lun, 04-05-2009 a las 22:54 -0700, Douglas Ferguson escribió: I just figured out that the

RE: Ajax Request Security

2009-05-07 Thread Douglas Ferguson
How is this session relative security implemented? Is this really just security through obfuscation? I.E. If you know the session id could you make valid Ajax Requests? Douglas -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Thursday, May 07, 2009

Re: inmethod grid converter/formatter?

2009-05-07 Thread Brill Pappin
that would certainly work, but I'd lose the editor column I'm using ;) All i really need is to be able to add a display formatter so i can truncate the content with an ellipsis. Even a method i could override when its outputting the label content would work. If there is such a method, I'm

Form that gets data form multiple models.

2009-05-07 Thread Chris
I have a form that combines data from multiple pojo's. Currently I am creating two seperate IModels inside my form, something like this. IModel model1 = new LoadableDetachableModel() { @Override protected Object load() { ... } }; IModel model2 = new LoadableDetachableModel() { @Override

Re: Ajax Request Security

2009-05-07 Thread Jeremy Thomerson
If you have someone's session ID (within the lifetime of the session) you can break into any application - java, php, etc. That's just how it is. But if you have that level of information on them while the session is still live, then you are either already pulling off a man in the middle attack,

Re: Form that gets data form multiple models.

2009-05-07 Thread Jeremy Thomerson
Make those models private fields within your form. Make sure that you are overriding onDetach in the form and detaching them (even though the PropertyModel should chain the detach down to it's nested model - this is a good habit to get into so that you don't forget somewhere else). -- Jeremy