Re: [OFF TOPIC] Java desktop applications

2009-06-15 Thread nino martinez wael
My conclusion are.. Go for Wicket solution if you can (also because I want to hear some experiences with it as a desktop solution) :) The only thing holding you back are if need todo heavy graphics or need to manipulate the desktop somehow (control mouse or keyboard etc).. The largest issue about

Re: EmailAddressValidator does not conform RFC'

2009-06-15 Thread Harrie Hazewinkel
HI, Thanks! Any chance that, for instance', the allowed '+' sign in the localpart of the email address becomes allowed in the standard EmailAddressValidator? Some services, like gmail with the '+', sign use that to enable multiple mailboxes for the same account. regards, Harrie On 14

Re: [OFF TOPIC] Java desktop applications

2009-06-15 Thread Per Lundholm
To clarify: JavaFX is another language, which is what I believe Nino means by some scripting language. It has some features that makes GUI design easier, such as binding variable to position of a slider. You can skin your JavaFX app with CSS, if you like. It is seamlessly integrated with Java.

Wicket + Spring DM + Hibernate

2009-06-15 Thread Daniel Dominik Holúbek
Hello,has anybody here successfully used Spring DM with Hibernate (the OSGi way) in Wicket? I am totally hopeless about this... The goal is to create modular app with this features: - every module (bundle) has its own applicationContext and DAO classes. - i.e. if I have a module which loads

SV: Two null choices in a DropDownChoice?

2009-06-15 Thread Wilhelmsen Tor Iver
Does anyone know of a simple way to have more than one option with a null value in a DropDownChoice? Well, how would you disambiguate between them? Null usually means unset in the context of DDC, but here you have semantic meanings to the choices, so they should be real objects. A better

what's too big for a session size?

2009-06-15 Thread Steve Swinsburg
Hi all, I'm monitoring my Wicket app via the RequestLogger and going through making improvements where needed. I am wondering what the size of a session would be before it is considered too large? Is the value given in the 'sessionsize' attribute of the logging output a reasonable way to

Re: what's too big for a session size?

2009-06-15 Thread Martijn Dashorst
Sessionsize recording is rather expensive, I wouldn't turn that on unless you're hunting for something. So the request times should be taken with a jar of salt. Session size per se is not the only factor. A session size of 1MiB can be perfectly ok, which would still support 1k users on one box

Re: [OFF TOPIC] Java desktop applications

2009-06-15 Thread Christopher L Merrill
nino martinez wael wrote: The largest issue about going towards a desktop solution with java are that designing the ui really are a pain if you dont use something like mattise, it's even worse that hacking html.. I'll agree on the javaFX Granted, HTML frameworks have come a long way in the

Re: [OFF TOPIC] Java desktop applications

2009-06-15 Thread Luther Baker
I'd agree with Chris too. Swing apps can really attack a different a class of problems ... a completely different solution space. And in that regard - I think Swing (and/or strict desktop GUI development) would be a beneficial understanding/perspective to have in your toolbelt. I find this

Re: [OFF TOPIC] Java desktop applications

2009-06-15 Thread Johan Compagner
+1000 On Mon, Jun 15, 2009 at 14:14, Christopher L Merrill ch...@webperformance.com wrote: nino martinez wael wrote: The largest issue about going towards a desktop solution with java are that designing the ui really are a pain if you dont use something like mattise, it's even worse that

Re: EmailAddressValidator does not conform RFC'

2009-06-15 Thread Igor Vaynberg
just use the one from extensions for now. we will most likely move the rfc one into core and replace the existing one. open a jira issue so we dont forget :) -igor On Sun, Jun 14, 2009 at 11:39 PM, Harrie Hazewinkelhar...@tipspot.com wrote: HI, Thanks! Any chance that, for instance', the

Re: Wicket + Spring DM + Hibernate

2009-06-15 Thread Igor Vaynberg
isnt this a question for the spring dmserver forum? -igor On Mon, Jun 15, 2009 at 3:49 AM, Daniel Dominik Holúbekdankodo...@gmail.com wrote: Hello,has anybody here successfully used Spring DM with Hibernate (the OSGi way) in Wicket? I am totally hopeless about this... The goal is to create

Re: what's too big for a session size?

2009-06-15 Thread Igor Vaynberg
there are two things to take into account: memory and network like martijn said, a session is too big when it is greater then available heap/target number of users if you are using session replication for clustering or failover the session is too big when the time to replicate it becomes a

DojoContextualMenuBehavior problem

2009-06-15 Thread Wojciech Żaboklicki
Hi, does anyone use DojoMenu class? I've got some problem with it. I use it for implementing interactive tree panel. The problem is: When the tree is rendered once, it works all right, but when I collapse/expand some node, it stopps working, the node I colapse/expand and all nodes below

Wicket-like JavaScript Components

2009-06-15 Thread Dane Laverty
I'm working on a small project where I'm limited to using only JavaScript. I love the Wicket programming model, especially reusable components. Is anyone aware of a JavaScript framework or JavaScript techniques that would allow me to approximate Wicket components?

Re: Wicket-like JavaScript Components

2009-06-15 Thread Juan Carlos Garcia M.
Have you take a look at http://extjs.com/ http://extjs.com/ insom wrote: I'm working on a small project where I'm limited to using only JavaScript. I love the Wicket programming model, especially reusable components. Is anyone aware of a JavaScript framework or JavaScript techniques

Re: Wicket-like JavaScript Components

2009-06-15 Thread Marvan Spagnolo
Not wanting to go offtopic on the list or start a flame war I would just say to have a look to their license before doing any experiment .. To develop anything not GPL'ed you will need to purchase a commercial license for ExtJS. That is why many migrated to other JS frameworks some time ago when

Re: DojoContextualMenuBehavior problem

2009-06-15 Thread alexander.elsholz
Hi, i think its the same problem like here: http://www.nabble.com/DOJO-Menu-Items-and-AJAX-Target-Components-td24020833.html i opened a call: http://wicketstuff.org/jira/browse/DOJO-92 alex -- View this message in context:

Re: Wicket + Spring DM + Hibernate

2009-06-15 Thread Daniel Dominik Holúbek
Well, may be, but won't they send me back to this mailinglist? :)To be honest, I have only a little problem with Spring DM itself (there are couple of tutorials out there), I was only curious about whether somebody has successfully tried this. For example, now it seems that the dependency is not

Re: Wicket + Spring DM + Hibernate

2009-06-15 Thread Igor Vaynberg
your original message did not specify what problems you were having. further, springbean does not require anything in web.xml, it simply needs the applicationcontext reference, and if you dont give it one it will look it up using spring's utils so everything should work. -igor On Mon, Jun 15,

using a guice-injected service in a created thread

2009-06-15 Thread Aaron Dixon
I'm using Guice component injection with Wicket and it works grreat: MyPanel { @Inject private MyService myService; MyPanel(String id) { super(id); myService.doSomething(); } //... } HOWEVER, now I'm tryin' to send my service to a thread that I create, like

Re: using a guice-injected service in a created thread

2009-06-15 Thread Igor Vaynberg
why not simply have MyThread injected by guice... Thread t=injector.getinstance(MyThread.class); -igor On Mon, Jun 15, 2009 at 1:34 PM, Aaron Dixonatdi...@gmail.com wrote: I'm using Guice component injection with Wicket and it works grreat: MyPanel {   �...@inject    private MyService

Re: using a guice-injected service in a created thread

2009-06-15 Thread Aaron Dixon
But then I need an injector in that context...I suppose the suggestion is to inject the injector into MyPanel? @Inject Injector injector; It looks funny, but probably cleaner than pulling the services. On Mon, Jun 15, 2009 at 3:56 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: why

Re: using a guice-injected service in a created thread

2009-06-15 Thread Igor Vaynberg
also you can look it up from the servlet context (if that is where you keep it) -igor On Mon, Jun 15, 2009 at 3:06 PM, Aaron Dixonatdi...@gmail.com wrote: But then I need an injector in that context...I suppose the suggestion is to inject the injector into MyPanel?   �...@inject    Injector

Re: Wicket-like JavaScript Components

2009-06-15 Thread Jade
Hi, Jquery is one more good choice. But, I am sure it does not work in a similar way wicket does. You could always wrap around stuff to make it work with a model, but you may have to re-invent the wheel again :-s /Jade On Mon, Jun 15, 2009 at 11:00 PM, Marvan Spagnolo marv...@gmail.com wrote: