[Wicket-user] invalid XHTML

2006-07-06 Thread Nili Adoram
Hi all, I tried to validate the following HTML code in http://validator.w3.org/ but received validation errors. Does anyone know what is the correct namespace declaration? Input HTML: == !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN

Re: [Wicket-user] too much synchronization in wicket?

2006-07-06 Thread Ittay Dror
anyone care to comment? just to reiterate the problem: if i work with two windows/tabs, pointing to the same wicket app, and in one i do some lengthy operation, then in the other i cannot work. i'm not sure if this is the case, but if i want to build a flicker like site, then i can't browse

Re: [Wicket-user] RadioChoice, default selection

2006-07-06 Thread Martijn Dashorst
This is not what Jeremy meant I think. I've written a blog entry on this subject: http://www.jroller.com/page/dashorst?entry=wicket_goodie_selecting_a_value I'll try to incorporate the example into our documentation at a later stage (writing a blog entry is soo much easier) Martijn On 05 Jul

Re: [Wicket-user] form processing

2006-07-06 Thread Martijn Dashorst
It is of course assumed that you return to the specific page instance instead of a new instance. So give the originating instance to the popup or new page, and when you are ready to return, set that specific instance as the response page. Martijn On 7/5/06, Eelco Hillenius [EMAIL PROTECTED]

Re: [Wicket-user] too much synchronization in wicket?

2006-07-06 Thread Matej Knopp
I can say that current synchronization policy of wicket seems to me too coarse grained. But having no synchronization at it would be very easy to achieve inconsistent internal state. There's no easy way around this right now. There was a thread about this lately, maybe you'll find something

Re: [Wicket-user] too much synchronization in wicket?

2006-07-06 Thread Johan Compagner
As Matej already said that will be to difficutl internally in wicket (for example the rendering of a page and another thread setting stuff like new components)And for the developer code itself. Threading is one of the most difficult things there is in programming, there are so many loopholes. So

Re: [Wicket-user] SSL

2006-07-06 Thread Johan Compagner
Redirect to a full url or use an ExternalLink (pointing to your own site but then with ssl)Do that redirect with a IRequestTarget.I don't know how you do it now but doing a redirect should always be donethrough request targets. johanOn 7/6/06, Joe Toth [EMAIL PROTECTED] wrote: How can I implement

Re: [Wicket-user] too much synchronization in wicket?

2006-07-06 Thread Martijn Dashorst
Especially if you have a user object retrieved from the database using Hibernate in your sessoin, that will not work when handling multpile requests. A hibernate object can only be attached to one hibernate session at a time. It is a very convenient and useful programming paradigm to put such

Re: [Wicket-user] too much synchronization in wicket?

2006-07-06 Thread Ittay Dror
the thing is that an application in the 90% group may evolve into the 10% group. it may be a simple thing such as a new report, pdf generation, file upload or anything else. it seems easy to add to your application, but then you discover that it influences all of it. and, there's no way out.

Re: [Wicket-user] too much synchronization in wicket?

2006-07-06 Thread Johan Compagner
pdf generation and that kind of stuff should be done in a seperate thread.Else you could have browser just time out your request. And with an ajax call/progress bar it is also much nicer.FileUpload would be a thing that we can optimze (if that is not already the case or something like that) that

[Wicket-user] Images to button

2006-07-06 Thread gangadhar
Hi All I want to add external images to button . Regards Gangadhar Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

[Wicket-user] Creating a component / dynamic casting / implicit casting

2006-07-06 Thread Nino Wael
Hi Im currently working on a component that consists of a dropdown list and two listbox's, lb1 and lb2. This is pretty simple to do. My issue isnt really a wicket one, but I guess it has relevance since this is something I need to solve to create my component. The hard part is that the

[Wicket-user] Master-details form

2006-07-06 Thread Paolo Di Tommaso
I'm using wicket to developer a budget application. I've a classic Master-Details data entry form and relative POJOs. For example public class Order { private Long id; private Data date; private Float amout; private Float tax; private ListOrderItem items; } public class OrderItem { private

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread V. Jenks
Again, I did this at home on my Gentoo box in a separate project...and got the same result. My log4j.properties: logger.wicket.protocol.http=INFO The exception stack: wicket.WicketRuntimeException: Internal error cloning object. Make sure all dependent objects implement Serializable. Class:

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Vincent Jenks
My problem w/ that is; the application is done and I can't go back through and re-work it to get something working that already works on another container. This application runs well on JBoss's EJB3 implemenation w/o that kind of tweaking. However, going forward, JBoss probably isn't an option

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Matej Knopp
Anyway, I don't really understand, why is the ejb object actually being serialized. Do you store your service objects in session? -Matej Igor Vaynberg wrote: well, the problem might be that it is serialized by wicket itself. this is done because you have the logger set to debug to help

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Thomas R. Corbin
On Thursday, 06 July 2006 09:16 am, Vincent Jenks escreveu: My problem w/ that is; the application is done and I can't go back through and re-work it to get something working that already works on another container. This application runs well on JBoss's EJB3 implemenation w/o that kind of

Re: [Wicket-user] Images to button

2006-07-06 Thread Frank Bille Jensen
What do you mean? Like the entire button is just your image or that you both have text and an icon? Try taking a look at: http://wicket.sourceforge.net/apidocs/wicket/markup/html/form/ImageButton.html Regards Frank On Thu, 2006-07-06 at 16:00 +0530, [EMAIL PROTECTED] wrote: Hi All I want

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Vincent Jenks
Well, this was the first app I've ever built w/ EJB technology of *any* version...it's sort of a pilot app for future in-house effortsso far it's worked out great. So, correct me if I'm wrong but it's my understanding that if I do not store the stub to the interface of the stateful bean in an

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Vincent Jenks
OK, I've created a small test-app in Netbeans where I'm using a Wicket page and have overridden ISessionFactory in the app class to create a session. I have a page where I call the stateful bean, create it and store it in session if it's non-existent, and supply a link to clear the bean from

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Johan Compagner
that it just works is logical. It is just a test we try to serialize it sothat you get a warning if that is not possible because of a non serializeable object.On 7/6/06, Vincent Jenks [EMAIL PROTECTED] wrote: OK, I've created a small test-app in Netbeans where I'm using a Wicketpage and have

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Vincent Jenks
Excellent, I'll move forward then and see how it goes...thanks! On 7/6/06, Johan Compagner [EMAIL PROTECTED] wrote: that it just works is logical. It is just a test we try to serialize it so that you get a warning if that is not possible because of a non serializeable object. On 7/6/06,

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Vincent Jenks
For whatever reason, I'm unable to supress this exception in the storefront application (where I really need it.) I've tried wrapping a try/catch around the assignment and retrieval of the SFSB stub in the custom Session class...I can't pull the bean data up w/o the exception occuring, it would

Re: [Wicket-user] too much synchronization in wicket?

2006-07-06 Thread Igor Vaynberg
i agree with johan,the web is based around processing a lot of short lived requests. if you have something that takes a long time do it in a separate thread with some kind of notification. now what we may need is support for long-running tasks that makes implementing them and their notifications

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Vincent Jenks
That's where I put it - nothing changed so you're obviously right...it won't make a difference anyways. Hmm...this is bad...this puts me in a rough spot as I have no idea how to use a spring like proxy and am not at all familiar w/ Springand in effect I'd have no idea how to do this in Wicket

Re: [Wicket-user] Creating a component / dynamic casting / implicit casting

2006-07-06 Thread Igor Vaynberg
why not use models, see how the ajax dropdown example works.-IgorOn 7/6/06, Nino Wael [EMAIL PROTECTED] wrote:I solved the problem by requiring a interface instead of the object. But that means that, every where my component are used the user needs to implement the interface. That doesnt seem to

Re: [Wicket-user] Images to button

2006-07-06 Thread Eelco Hillenius
That, or just use a SubmitLink coupled to a a tag with an img tag embedded. Or use CSS. Eelco On 7/6/06, Frank Bille Jensen [EMAIL PROTECTED] wrote: What do you mean? Like the entire button is just your image or that you both have text and an icon? Try taking a look at:

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Vincent Jenks
log4j.debug=false log4j.rootLogger=INFO log4j.logger.org=INFO log4j.logger.com=INFO log4j.logger.net=INFO log4j.logger.nl=INFO log4j.logger.wicket=INFO log4j.logger.wicket.protocol.http.HttpSessionStore=INFO log4j.logger.org.apache.catalina.cluster=INFO log4j.logger.wicket.version=INFO

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Eelco Hillenius
It must be in the wrong place somehow, if glassfish doesn't pick it up. You should try to figure out how Glassfish works with commons logging. Typically there is logging configuration for the whole application server, and then for specific web applications. Not all containers behave the same

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Eelco Hillenius
In fact log4j.logger.wicket=INFO should be enough. Eelco On 7/6/06, Vincent Jenks [EMAIL PROTECTED] wrote: log4j.debug=false log4j.rootLogger=INFO log4j.logger.org=INFO log4j.logger.com=INFO log4j.logger.net=INFO log4j.logger.nl=INFO log4j.logger.wicket=INFO

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Matej Knopp
Wicket uses commons-logging. I wonder whether glassfish doesn't have it's own weird logger factory, just like jetty does. -Matej Eelco Hillenius wrote: In fact log4j.logger.wicket=INFO should be enough. Eelco On 7/6/06, Vincent Jenks [EMAIL PROTECTED] wrote: log4j.debug=false

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Vincent Jenks
I have no idea...but I'm lost at this point. I have both commons-logging and log4j in the glassfish/lib folder because it is a requirement for using Hibernate as the persistence engine. I put the log4j.properties in there w/ the suggested entries and restarted...the error is the same - didn't

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Eelco Hillenius
Did you try asking around on the glassfish list/ IRC channel (if they have one)? Eelco On 7/6/06, Vincent Jenks [EMAIL PROTECTED] wrote: I have no idea...but I'm lost at this point. I have both commons-logging and log4j in the glassfish/lib folder because it is a requirement for using

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Vincent Jenks
At 8:30 this morning...it's now 2:30pm here and I was the *last* person to post to this forum at all...which is weird...it's normally pretty busy. http://forums.java.net/jive/thread.jspa?threadID=16673tstart=0 This is the first time I haven't gotten an answer to my problem on the same

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Vincent Jenks
OK, checked it out and I made my changebut bare w/ me...I'm almost completely unfamiliar w/ Ant and I figured that'd be the easiest way to build it? So, how do I build this sucker? On 7/6/06, Igor Vaynberg [EMAIL PROTECTED] wrote: well, if it comes down to it just check out wicket, remove

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Vincent Jenks
I've heard of it but am not familiar...I'll look into it. I was going to make a lib project in eclipse or netbeans and build it that way but realized there's probably a pile of dependencies I don't have...won't that be an issue even w/ maven? All the lib folders only contain clover On

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Gwyn Evans
On 06/07/06, Igor Vaynberg [EMAIL PROTECTED] wrote: so there are people out there not using log4j? :) I'm quite taken with Simple Log, myself! [https://simple-log.dev.java.net/] (It includes an CommonsLoggingAdapter for use with clogging.) /Gwyn Using Tomcat but need to do more? Need to

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-06 Thread Eelco Hillenius
Why would you want to make logging easy? :) If SUN had just adopted Log4J instead of IBM's kit like the whole world besides IBM asked them to do, we wouldn't have been in this mess. Eelco On 7/6/06, Gwyn Evans [EMAIL PROTECTED] wrote: On 06/07/06, Igor Vaynberg [EMAIL PROTECTED] wrote: so

Re: [Wicket-user] SSL

2006-07-06 Thread Joe Toth
Weird...I'm only getting the error in Jetty 6 (Beta17). wicket.WicketRuntimeException: Internal Error: Could not render error page class wicket.markup.html.pages.InternalErrorPage at wicket.request.compound.DefaultExceptionResponseStrategy.respond (DefaultExceptionResponseStrategy.java:109) at

[Wicket-user] I require Ajax TextArea

2006-07-06 Thread Imran M Yousuf
Dear users, I have a situation where I need to get a value from a text area without submitting the form. To do this I think Ajax is the perfect candidate, but I cant get the value. How do I get that value from Ajax? Thanks for the help in advance. I am using the following code: import