Re: Adding to response header (filename)?

2007-10-07 Thread Stanczak Group
-link-from-DynamicWebResource--tf4353363.html#a12404601 regards, --- jan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Justin Stanczak Stanczak Group 812-735-3600 All

Re: Adding to response header (filename)?

2007-10-06 Thread Stanczak Group
Well, I still don't see a way to get around this error. I'll have to live with it for now until I can look into it deeper. Has anyone else had this error? Stanczak Group wrote: Instead of setRequestTarget(rsrt) I use this rsrt.respond(getRequestCycle());, is that correct? It does work, but I

Re: Yanıt: Re: Adding to response header (filename)?

2007-10-06 Thread Stanczak Group
) { } } } }; Eelco Hillenius [EMAIL PROTECTED] wrote: On 10/6/07, Stanczak Group wrote: Well, I still don't see a way to get around this error. I'll have to live with it for now until I can look into it deeper. Has anyone else had this error? But you shouldn't call respond

Re: Adding to response header (filename)?

2007-10-06 Thread Stanczak Group
Oh, then what should I do? Sorry if I'm missing the obvious here. Eelco Hillenius wrote: On 10/6/07, Stanczak Group [EMAIL PROTECTED] wrote: What do you mean? This is all I'm doing, but still get the HTTP Response has already been committed. error. Is there something there that wrong

Re: Adding to response header (filename)?

2007-10-05 Thread Stanczak Group
); } }; export.setCacheable(false); add(new ResourceLink(exportLink, export)); Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Justin Stanczak Stanczak Group

Re: Adding to response header (filename)?

2007-10-05 Thread Stanczak Group
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Justin Stanczak Stanczak Group 812-735-3600 All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke

Re: RequestCycle?

2007-10-04 Thread Stanczak Group
, or is there an easier way? Sam Hough wrote: I think it is setup with ThreadLocal so you can get it easily with RequestCycle.get(). You can also provide your own version from Application.newRequestCycle which might be more what you need to hook in start/end events. Stanczak Group wrote: How

Re: RequestCycle?

2007-10-04 Thread Stanczak Group
If I create my own request cycle, then what class do I extend? RequestCycle, WebRequestCycle or... ? RequestCycle requires you to implement other methods? Is there a wrapper class? Stanczak Group wrote: I'm not for sure what to use. I tried to override the newRequestCycle() but I had trouble

Re: RequestCycle?

2007-10-04 Thread Stanczak Group
I see DataBinder is just casting them and using WebRequestCycle, is that the right way? Stanczak Group wrote: If I create my own request cycle, then what class do I extend? RequestCycle, WebRequestCycle or... ? RequestCycle requires you to implement other methods? Is there a wrapper class

Re: RequestCycle?

2007-10-04 Thread Stanczak Group
getHibernateSession() { return hibernateSession; } } Eelco Hillenius wrote: On 10/4/07, Stanczak Group [EMAIL PROTECTED] wrote: How can I access the request cycle so I can open and close a Hibernate session on each request? In your application class: @Override public

Going back after save or cancel method?

2007-10-04 Thread Stanczak Group
can I just send the user back to the list page in it last state? -- Justin Stanczak Stanczak Group 812-735-3600 All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke - To unsubscribe, e-mail

Re: Going back after save or cancel method?

2007-10-04 Thread Stanczak Group
) { previousPage = back; ... @override protected void onSubmit() { setResponsePage(previousPage); } } } On 10/4/07, Stanczak Group [EMAIL PROTECTED] wrote: I have a classic list and edit page setup. You select an object that you then pass

Javadocs download?

2007-10-04 Thread Stanczak Group
I can't seem to find a download versions of the javadocs, anyone know? Do I need to use maven? -- Justin Stanczak Stanczak Group 812-735-3600 All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke

Re: Javadocs download?

2007-10-04 Thread Stanczak Group
Thanks. Igor Vaynberg wrote: http://wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.3.0-SNAPSHOT/ -igor On 10/4/07, Stanczak Group [EMAIL PROTECTED] wrote: I can't seem to find a download versions of the javadocs, anyone know? Do I need to use maven? -- Justin Stanczak

Re: More on Wicket/Hibernate...

2007-10-04 Thread Stanczak Group
? Much obliged, nbc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Justin Stanczak Stanczak Group 812-735-3600 All that is necessary for the triumph of evil is that good men

A button that does NOT submit form?

2007-10-04 Thread Stanczak Group
I don't want the cancel button to submit the form, is this the best method? I'm not sure I see how to do this. Is there examples? @Override protected void delegateSubmit(IFormSubmittingComponent component) { } -- Justin Stanczak Stanczak Group 812-735-3600 All that is necessary

Re: More on Wicket/Hibernate...

2007-10-04 Thread Stanczak Group
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Justin Stanczak Stanczak Group 812-735-3600 All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke

Re: A button that does NOT submit form?

2007-10-04 Thread Stanczak Group
Really new, but do you mean use the new Link() and input... ? Like this: in code: add(new Link(cancel){...}); in html: input type=button wicket:id=cancel... Like that? Igor Vaynberg wrote: best method is to add a Link to input type=button -igor On 10/4/07, Stanczak Group [EMAIL PROTECTED

Re: A button that does NOT submit form?

2007-10-04 Thread Stanczak Group
Ah, yes. Link-O-Matic. Use the docs, that's what they're there for. Sorry. Stanczak Group wrote: Really new, but do you mean use the new Link() and input... ? Like this: in code: add(new Link(cancel){...}); in html: input type=button wicket:id=cancel... Like that? Igor Vaynberg wrote: best

Re: RequestCycle?

2007-10-04 Thread Stanczak Group
Probably not. I'll probably use it when I get a chance. I just downloaded the 1.0 tar and saw it's using 1.2 Wicket. Shot me the link and I'll see if I can give it a shot tonight. ChuckDeal wrote: Stanczak Group wrote: I'm not for sure what to use. I tried to override the newRequestCycle

Adding to response header (filename)?

2007-10-04 Thread Stanczak Group
Stanczak Stanczak Group 812-735-3600 All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Wicket training:50% discount this weekend on next 3 bookings

2007-10-04 Thread Stanczak Group
- Cemal http://jWeekend.co.uk jWeekend.co.uk -- Justin Stanczak Stanczak Group 812-735-3600 All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke - To unsubscribe, e-mail: [EMAIL

Re: Adding to response header (filename)?

2007-10-04 Thread Stanczak Group
WebResponse:190 - Unable to redirect to: ?wicket:interface=:2, HTTP Response has already been committed. Stanczak Group wrote: This maybe? Should I be using getWebRequestCycle().getWebResponse() instead of getResponse().? getWebRequestCycle().getWebResponse().setHeader() Stanczak Group

Re: Adding to response header (filename)?

2007-10-04 Thread Stanczak Group
This maybe? Should I be using getWebRequestCycle().getWebResponse() instead of getResponse().? getWebRequestCycle().getWebResponse().setHeader() Stanczak Group wrote: How can I do this in Wicket? I'm writing a csv generated file to the output, but I don't know how to tell the client what file

Passing Values Between Pages?

2007-10-02 Thread Stanczak Group
. Like a login id? @Override protected void onSubmit() { StudentInformationPage page = new StudentInformationPage(); page.setVisitDate(visitDate); setResponsePage(page); } -- Justin Stanczak Stanczak Group 812-735-3600 All that is necessary

Using Hibernate in Wicket?

2007-10-02 Thread Stanczak Group
protected void onDestroy() { System.out.println(Killing database connection\n\n); HibernateUtil.getSessionFactory().close(); } ### -- Justin Stanczak Stanczak Group 812-735-3600 All that is necessary

Re: Using Hibernate in Wicket?

2007-10-02 Thread Stanczak Group
Thanks. They are pretty much doing the same as me. I found it was the IDE causing the issue. From some reason Tomcat is deploying it twice. Igor Vaynberg wrote: see databinder.net for ideas -igor On 10/2/07, Stanczak Group [EMAIL PROTECTED] wrote: I'm using Hibernate

Re: Passing Values Between Pages?

2007-10-02 Thread Stanczak Group
Ok, thanks. Igor Vaynberg wrote: On 10/2/07, Stanczak Group [EMAIL PROTECTED] wrote: Why would I need to override the WebSession? Can't I just use it as is? the idea is that you add your typesafe properties and getters/setters into your subclass. we do not provide a generic map