Re: WicketNotSerializableException

2008-01-22 Thread Joshua Jackson
Thanks Igor, I get the clear picture now, I'll make a workaround from your advice. I currently have problems with reference object that came from other libs that is not Serializable. Best Regards, On Jan 23, 2008 2:01 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > anything that a page keeps refe

Re: WicketNotSerializableException

2008-01-22 Thread Joshua Jackson
Looks like that this problem is viral. How do I work with objects that is not Serializable while on the other hand wicket want it to be Serializable? On Jan 23, 2008 11:31 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > see SpringWebApplcation, it has methods to create same proxies @SpringBean > d

Re: WicketNotSerializableException

2008-01-22 Thread Joshua Jackson
Hi All, I have take a loot at this. But is there any solution to fix this without using @SpringBean since I am still on JDK1.4. Thanks in advance On Dec 17, 2007 7:50 PM, Evan Chooly <[EMAIL PROTECTED]> wrote: > it's the ApplicationContextFacade that can't be serialized. you'll need to > mark t

Re: We are adopting Wicket in our Organization

2008-01-21 Thread Joshua Jackson
SEAM is not that bad actually. Though it still has some quirks. On 1/21/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I fully agree. I used JSF/SEAM before switching to Wicket. > My experience is that Wicket is "JSF-Done-Right" -- It's not going to be like this forever Blog: http://joshuaj

Re: WicketServlet vs. WicketFilter

2008-01-11 Thread Joshua Jackson
I think it's Websphere: http://joshuajava.wordpress.com/2007/11/12/my-first-impression-about-wicket/ On 1/11/08, Gwyn Evans <[EMAIL PROTECTED]> wrote: > On 10/01/2008, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > example weblogic has pretty broken filter support, > > Wasn't that Websphere rather t

WicketNotSerializableException

2007-12-17 Thread Joshua Jackson
Dear all, I got this message because there is a field that Wicket wants to serialize but it can not be serialized. Now how do I remove this error since I can not make tomcat's ApplicationContextFacade to be Serializable. 2007-12-17 17:49:12,498 - [ERROR] - Objects- Error seria

Re: How to send a non-html response ?

2007-12-15 Thread Joshua Jackson
I saw that there is a FileResponse class, but I still could not figure out how to use it. Has anyone figured out on how to use it? Thanks in advance On 12/13/07, wicket user <[EMAIL PROTECTED]> wrote: > Create a YourResponsePage that extends Page instead of WebPage and set the > appropriate mime

Re: Where is the required validator?

2007-12-15 Thread Joshua Jackson
Thanks it worked now :) On 12/15/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > field.setRequired(true) > -- I'm a coder not a drag-n-dropper Blog: http://joshuajava.wordpress.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED

Where is the required validator?

2007-12-15 Thread Joshua Jackson
Dear all, When I read the wicket wiki, for required validation we use RequiredValidator class. But I can not find this class in wicket.jar and wicket-extensions.jar. Have I missed out on something that I should have read here? Thanks in advance for the hint. :) -- I'm a coder not a drag-n-drop

How to send a non-html response ?

2007-12-13 Thread Joshua Jackson
Dear all, Is there any guide anyone can redirect me to send a non-html response ? Where do I set this up? I wanted to give an MS-Word format document back to the client. Can anyone give me a clue on this? Thanks in advance. -- I'm a coder not a drag-n-dropper Blog: http://joshuajava.wordpress

Re: How to get resources from our web-app context ?

2007-12-12 Thread Joshua Jackson
Thank you so much. That was helpful. It works now :) On 12/12/07, wicket user <[EMAIL PROTECTED]> wrote: > this is what spec says > getRealPath > > public java.lang.String *getRealPath*(java.lang.String path) > > Returns a String containing the real path for a given virtual path. For > example, t

Re: How to get resources from our web-app context ?

2007-12-12 Thread Joshua Jackson
Yeah, It doesn't work with ServletContext.getRealPath(""). I have a template.vm that is located under my web-app context and I want to read that file from wicket. But since Servlet is not exposed direclty, I don't know how to do this in wicket. Thanks in advance, On 12/12/07, wicket user <[EMAI

How to get resources from our web-app context ?

2007-12-11 Thread Joshua Jackson
Dear all, In my wicket apps, I have a use case to read a file that is located in my web-app context. How do I do this in wicket? Thanks in advance, -- I'm a coder not a drag-n-dropper Blog: http://joshuajava.wordpress.com/ -

Stateless Form

2007-11-25 Thread Joshua Jackson
Dear all, I've made a Page with the usual Form component. The use case is users are able to enter data from this form more than once when they are still on that page. But the problem is the state of the object from that form is kept, so it looks like that user enters the same data. So I tried usi

Re: Create custom component

2007-11-21 Thread Joshua Jackson
Hi Eelco, Thanks for the response. Maybe tutorial doesn't sound good, but I think this kind of information you've written here is important and worth written on the wicket wiki. Thanks. On 11/22/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > It doesn't make sense to have such a tutorial. You n

Re: Create custom component

2007-11-21 Thread Joshua Jackson
Yes that's what I mean, I couldn't find document on creating custom component that extend from Component. Ok I'm gonna try looking at the existing component and try build my own component from there. Thanks. On 11/22/07, Timo Rantalaiho <[EMAIL PROTECTED]> wrote: > On

Create custom component

2007-11-21 Thread Joshua Jackson
Dear all, Is there any tutorial on creating custom component in Wicket? The ones I found only shows creating custom component by extending from the existing component but not creating from scratch. If anyone has created those tutorial, can anyone here please point me to there. Thanks in advance

Re: How to add sortable header into ListView

2007-11-19 Thread Joshua Jackson
situation before? Thanks in advance On 11/19/07, Erik van Oosten <[EMAIL PROTECTED]> wrote: > Hi Joshua, > > There are many examples on http://www.wicketstuff.org/wicket13/repeater/. > > Regards, >Erik. > > > Joshua Jackson wrote: > > Dear all, > &g

How to add sortable header into ListView

2007-11-19 Thread Joshua Jackson
Dear all, Is there any Sortable header component in wicket? I could not find it under wicket core library. And is there any tutorial on how to add sortable header? Thanks in advance -- What you want today, may not exist tommorrow Blog: http://joshuajava.wordpress.com/

Re: Matt Raible's ApacheCon presentation

2007-11-15 Thread Joshua Jackson
It's better to have too much Java than too much XML :) I think that's one of the consequences in using Wicket On 11/16/07, Joe Toth <[EMAIL PROTECTED]> wrote: > I agree with the "Too much java" statement. Sometimes you have to > create a bunch of stuff that would be a lot easier to do in a veloci

Search Form and Search List on one page

2007-11-12 Thread Joshua Jackson
Dear all, Is it possible to have a Page with Search Form and Search List on the same Page? It seems that the List object that is retrieved from onSubmit() is not updated to my DataView that lies inside the Page constructor. Or is there anyway I can have something like afterRender after the button

Re: Displaying feedback

2007-11-12 Thread Joshua Jackson
Thanks Roland, It worked. I didn't understand what's written on the wiki. Thanks alot. :) On 11/12/07, Roland Kaercher <[EMAIL PROTECTED]> wrote: > Hello Joshua, > > if you just want to display the feedback in your default feedback > panel all you have to do is add it to your page, there is no n

Displaying feedback

2007-11-11 Thread Joshua Jackson
Dear all, How do I display the feedback/message upon validation failure/error? When I read the doc here: http://cwiki.apache.org/WICKET/newuserguide.html#Newuserguide-Validation , we insert the feedback instance into the Form constructor, but the latest Wicket release don't have a constructor that

Re: Border component

2007-11-11 Thread Joshua Jackson
Thanks Martijn I guess I have to get used to this inheritance markup for page composition. The doc is very useful. Thank you so much :) On 11/9/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > For page composition I would suggest using markup inheritance. Borders > are not deprecated, but not re

Re: Page Expired issue

2007-11-11 Thread Joshua Jackson
Thanks Gwyn. I already added the configuration to the wiki that works on WAS. Cheers, On 11/9/07, Gwyn Evans <[EMAIL PROTECTED]> wrote: > Well, there are certainly advantages to using WicketFilter, so it > might well be deprecated, but I wouldn't expect it to be removed, > which would be the re

Re: Border component

2007-11-09 Thread Joshua Jackson
ml > > On 11/9/07, Joshua Jackson <[EMAIL PROTECTED]> wrote: > > Dear all, > > > > When I read this document: > > > > http://cwiki.apache.org/WICKET/consistent-page-layout-using-borders.html > > > > It is written that the border component is n

Border component

2007-11-09 Thread Joshua Jackson
Dear all, When I read this document: http://cwiki.apache.org/WICKET/consistent-page-layout-using-borders.html It is written that the border component is now updated and the document is not valid against the latest wicket distribution. Could anyone please give me a hint on what have changed? Th

Re: Page Expired issue

2007-11-09 Thread Joshua Jackson
I know :( But somehow I must use WicketServlet because: 1. Spring ContextLoaderListener doesn't work in WAS 5 2. The workaround is to use ContextLoaderServlet 3. If I use WicketFilter, it gets loaded first before ContextLoaderServlet -> This will cause an exception from Spring :( I hope WicketSer

Re: Page Expired issue

2007-11-09 Thread Joshua Jackson
On 11/9/07, Gwyn Evans <[EMAIL PROTECTED]> wrote: > Hi Joshua, > > One point to note might be that the 'traditional' Wicket advice for > using a Servlet mapping was not to use the root context "/*" but > rather use a sub mapping, e.g. "/app/*", which leaves you with the > option of having static fi

Re: Page Expired issue

2007-11-09 Thread Joshua Jackson
Thanks Eelco. I already did that. It worked with StatelessLink and StatelessForm. Anyway is there any issue if we use WicketServlet instead of WicketFilter as such: wicket.wicket org.apache.wicket.protocol.http.WicketServlet

Re: Page Expired issue

2007-11-08 Thread Joshua Jackson
Darn it doesn't work. I guess this is a problem with Websphere :( Thanks for your help though On 11/9/07, Joshua Jackson <[EMAIL PROTECTED]> wrote: > OK Igor. Sorry, I though I write it in my WebApplication class :) > > Thanks > > On 11/9/07, Igor Vaynberg <[EMAIL P

Re: Page Expired issue

2007-11-08 Thread Joshua Jackson
OK Igor. Sorry, I though I write it in my WebApplication class :) Thanks On 11/9/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > this is part of servlet config, youd do it in web.xml > > -igor -- What you want today, may not exist tommorrow Blog: http://joshuajava.wordpress.com/ -

Re: Page Expired issue

2007-11-08 Thread Joshua Jackson
Sorry Igor, But how do I do this in my WebApplication class? Thanks On 11/9/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > extend your webapp's session timeout? > > -igor > > -- What you want today, may not exist tommorrow Blog: http://joshuajava.wordpress.com/ -

Page Expired issue

2007-11-08 Thread Joshua Jackson
Dear all, What is the workaround so my request is not expired? I got this exception when clicking the Link component not long after the application is loaded: -- Page Expired The page you requested has expired. Return to home page --- This apps is deployed on IBM WAS 5.1 and I already set my a