Re: best practice for a wait page

2008-01-24 Thread Evan Chooly
What about IndicatingAjaxButton? On Jan 24, 2008 1:16 PM, Scott Swank [EMAIL PROTECTED] wrote: I'll try Thijs' suggestion first, but if the unforseen arises I might try a meta refresh. Thank Nick. On Jan 24, 2008 9:48 AM, Nick Heudecker [EMAIL PROTECTED] wrote: You could set a flag in the

Re: How to create a PDF file - NotSerializableException

2008-01-15 Thread Evan Chooly
You should probably look into using Resources. the wicketcontrib-jasperreports has this done for you already. On Jan 15, 2008 12:01 PM, Marco Aurélio Silva [EMAIL PROTECTED] wrote: Hi I'm trying to create a PDF file with Jasper inside a page with wicket 1.2.6, but I'm getting an exception:

Re: Resizable and reorderable grid components

2008-01-13 Thread Evan Chooly
of components being used beyond the rather vanilla components on the examples page might have made the conversations easier. On Jan 12, 2008 7:25 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: On Jan 12, 2008 12:50 PM, Evan Chooly [EMAIL PROTECTED] wrote: I know what I was trying to convince my

Re: Resizable and reorderable grid components

2008-01-12 Thread Evan Chooly
still stuff for wicket On 1/11/08, Evan Chooly [EMAIL PROTECTED] wrote: Is that not the official website for the wicket stuff projects? Just kinda struck me as odd is all. On Jan 10, 2008 6:26 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: dont really see this as that weird

Re: Resizable and reorderable grid components

2008-01-12 Thread Evan Chooly
vanilla components on the examples page might have made the conversations easier. On Jan 12, 2008 7:25 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: On Jan 12, 2008 12:50 PM, Evan Chooly [EMAIL PROTECTED] wrote: I know what I was trying to convince my current company to use wicket the question

Re: Resizable and reorderable grid components

2008-01-10 Thread Evan Chooly
this is very cool to start. i'm working on a similar component. my biggest complaint is that it seems odd to me that commercial component demos are being hosted on wicket stuff. but that just might be me. Other than that, they look pretty sharp. On Jan 10, 2008 3:42 PM, Matej Knopp [EMAIL

Re: Is wicket-contrib-jasperreports alive?

2007-11-30 Thread Evan Chooly
The project lives in svn in the wicket-stuff repo. Last I worked with it, I had started migrating it to wicket 1.3 but that was back when there was a wicket 2.0 in the works. It should still be compatible with today's 1.3 but I haven't touched it in months as I haven't had to use JR in sometime.

only 1 version of page in the cache at a time?

2007-11-27 Thread Evan Chooly
We have a page that presents a report in which we can drill down into the data. When this happens, we setResponsePage() back to a new instance of the page with some different parameters and that all works dandy. But when we hit the back button, it seems the old version is gone. All the model

Re: only 1 version of page in the cache at a time?

2007-11-27 Thread Evan Chooly
the transient fields? Why aren't those reloaded from a database or something? johan On Nov 27, 2007 5:01 PM, Evan Chooly [EMAIL PROTECTED] wrote: We have a page that presents a report in which we can drill down into the data. When this happens, we setResponsePage() back to a new instance

Re: only 1 version of page in the cache at a time?

2007-11-27 Thread Evan Chooly
as empty standard jdk collections instead of hibernate proxies sometimes -igor On Nov 27, 2007 8:49 AM, Evan Chooly [EMAIL PROTECTED] wrote: No transient fields. Everything is serializable. We're storing the complete objects in the model for a number of reasons. When we come back

Re: only 1 version of page in the cache at a time?

2007-11-27 Thread Evan Chooly
just something like: setModel(new CompoundPropertyModel(report)); On Nov 27, 2007 1:04 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: ok, so the model is there, but the object inside it suddenly is null? what kind of model is it? -igor On Nov 27, 2007 9:56 AM, Evan Chooly [EMAIL PROTECTED

Re: only 1 version of page in the cache at a time?

2007-11-27 Thread Evan Chooly
Just about every field in my model object. Though it would appear that the date object(s) is set to now. On Nov 27, 2007 2:23 PM, Johan Compagner [EMAIL PROTECTED] wrote: But what field is then exactly null??? On Nov 27, 2007 7:05 PM, Evan Chooly [EMAIL PROTECTED] wrote: just something

Re: only 1 version of page in the cache at a time?

2007-11-27 Thread Evan Chooly
: what is this report object? -igor On Nov 27, 2007 11:27 AM, Evan Chooly [EMAIL PROTECTED] wrote: Just about every field in my model object. Though it would appear that the date object(s) is set to now. On Nov 27, 2007 2:23 PM, Johan Compagner [EMAIL PROTECTED] wrote

Re: only 1 version of page in the cache at a time?

2007-11-27 Thread Evan Chooly
can focus on without having to worry about all the other wicket layers. I'll let you know what I find out. On Nov 27, 2007 2:36 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: run it through Objects.clone() and see what you get back -igor On Nov 27, 2007 11:35 AM, Evan Chooly [EMAIL PROTECTED

Today's installment of well, duh. Was: Re: only 1 version of page in the cache at a time?

2007-11-27 Thread Evan Chooly
thanks to igor for pointing me to the Objects.cloneObject() method to help write unit tests to highlight my otherwise obvious error. On Nov 27, 2007 5:29 PM, Evan Chooly [EMAIL PROTECTED] wrote: Thanks for the tip, igor. i wasn't sure how to get at the serialization code directly without going

Re: Today's installment of well, duh. Was: Re: only 1 version of page in the cache at a time?

2007-11-27 Thread Evan Chooly
I actually *do* have that, but this code recently went through some ... surgery that left things in a rather sloppy state. Clearly not the most prize worthy section of code. :) On Nov 27, 2007 10:43 PM, Timo Rantalaiho [EMAIL PROTECTED] wrote: On Tue, 27 Nov 2007, Evan Chooly wrote: So

more back button fun

2007-11-14 Thread Evan Chooly
Using rc1 when I click on a link in a DataView, click the back button, and click on another link I get the following stack trace. Now, this data view is populated after an ajax update from another link on the page which might contribute to the problem. Any ideas what the story is?

Re: Problem with DefaultDataTable filtering?

2007-11-13 Thread Evan Chooly
bwahahahahaha. ahem. To each his own, I suppose. On Nov 13, 2007 12:26 AM, Eelco Hillenius [EMAIL PROTECTED] wrote: On Nov 12, 2007 6:33 PM, anita nichols [EMAIL PROTECTED] wrote: Please unsubscribe Nah. Nick is a good guy. Let's keep him around ;-) Eelco

data tables and debugging session serialization

2007-11-13 Thread Evan Chooly
I'm having some strange behavior with a DataTable and the back button. When I back up to the page with the DT, it rerenders fine, but all my object state is gone. I click a link and the object is there but not the ID in the the object so that I get hibernate errors trying to load without an ID.

Re: JPA best-practices?

2007-11-12 Thread Evan Chooly
a maven2 archetype for qwicket? Evan Chooly wrote: There's also qwicket.sf.net that specifically uses JPA+spring. I'm finishing up updates now for 1.3 support and improved project setup. SVN is your best bet there but I'm hoping to put up the new version this weekend. On Nov 9, 2007 10:04

Re: JPA best-practices?

2007-11-10 Thread Evan Chooly
There's also qwicket.sf.net that specifically uses JPA+spring. I'm finishing up updates now for 1.3 support and improved project setup. SVN is your best bet there but I'm hoping to put up the new version this weekend. On Nov 9, 2007 10:04 AM, Francis De Brabandere [EMAIL PROTECTED] wrote: You

Re: Multiple wicket:child / tags on a single base page?

2007-11-06 Thread Evan Chooly
In our app we have a ListView into which we can dump panels for, in our case, various different filtering options depending on the page. The base page keeps a List and that's used as the model for the ListView. If the subclass doesn't add anything, nothing shows up. But the pages that need them

Re: spring acegi injection question

2007-10-22 Thread Evan Chooly
You can do this: InjectorHolder.getInjector().inject(this); You need to do it in init(), though. The constructor is too early for the injector to be configured. Other than that, you can @SpringBean any bean you want. otherwise spring wouldn't be able to inject the bean - this is

body onload contribution

2007-10-08 Thread Evan Chooly
I used the following in my page constructor, but I'm not seeing the change in the HTML. What am I missing? add(new BodyTagAttributeModifier(onload, true, new Model(foo()), this));

Re: body onload contribution

2007-10-08 Thread Evan Chooly
/renderOnDomReady javascript on IHeaderResponse. -Matej On 10/8/07, Evan Chooly [EMAIL PROTECTED] wrote: I used the following in my page constructor, but I'm not seeing the change in the HTML. What am I missing? add(new BodyTagAttributeModifier(onload, true, new Model(foo

FilterToolbar

2007-09-20 Thread Evan Chooly
Apparently the API between beta3 and the latest SNAPSHOT changed for FilterToolbar and now it needs a FilterForm. I can't find any examples (not even unit tests) that show how I should build my page/table with this new API. Does anyone have an example working with the latest code? Thanks.

Re: Passing Parameters to Bookmarkable Page

2007-09-20 Thread Evan Chooly
bookmarkable (e.g. included in the built url), and others that were not (passed along, but not part of the generated url). Maybe that's something that could be done on a custom RequestCycle. Or maybe it's not so bad having the obj on the session. :-) Evan Chooly wrote: Put the Filter ID

Re: Ajax - Long process indicator ?

2007-09-13 Thread Evan Chooly
We're using matej's modal window to do just that. Works quite well. On 9/13/07, Erik van Oosten [EMAIL PROTECTED] wrote: Besides showing a progress indicator, you could also disable mouse interaction by overlaying a div that has the height and width of the entire page. Add a bit of

Re: First Day Disgust!

2007-09-11 Thread Evan Chooly
You could also look at how qwicket uses ant+maven tasks to build a system. The maven tasks handle downloading dependencies and ant does everything else. I know there's still that dependency on maven libs but it's just for the dependencies. And that's still miles ahead of using get to manage

Re: First Day Disgust!

2007-09-09 Thread Evan Chooly
I know i'm a little late on this thread, but as the author of qwicket, i take particular issue with saying because it's glued with hibernate and spring that it's no good. The express purpose of qwicket is to create a template for spring/hibernate/wicket based applications. So if it's no good

Re: How to set wicket's locale?

2007-09-06 Thread Evan Chooly
T-37 minutes until sushi time! On 9/6/07, Igor Vaynberg [EMAIL PROTECTED] wrote: sushi -igor On 9/6/07, Martijn Dashorst [EMAIL PROTECTED] wrote: new PropertyModel(Page.this, session.foo.sushi.bar); ? On 9/6/07, Gabor Szokoli [EMAIL PROTECTED] wrote: On 9/5/07,

Re: How to integrate wicket frame work with spring

2007-08-31 Thread Evan Chooly
You can also look at qwicket.sf.net for some ideas on integrating spring and wicket. It's a little out of date atm but the ideas are the same either way On 8/30/07, bhupat parmar [EMAIL PROTECTED] wrote: hi i need help in integrating wicket frame work with spring frame .i am using direct

wicket:container beta3 and post snapshots

2007-08-31 Thread Evan Chooly
I suddenly started getting errors using wicket:container saying it failed to handle it. Is anyone else seeing this or is my env just really busted?

Re: Can we do straight print in a java web application?

2007-08-20 Thread Evan Chooly
There's an onLoad event on a PDF (sounds vaguely familiar) in which you can initiate a print. I've done this on previous projects and works just fine. I can't recall if I autoclosed that PDF as well but it seems likely. On 8/20/07, hillj2 [EMAIL PROTECTED] wrote: Actually, this is available.

Re: Reacting to DateField change

2007-08-09 Thread Evan Chooly
Don't you need to setOutputMarkupId(true) as well on the component? On 8/9/07, Federico Fanton [EMAIL PROTECTED] wrote: On Thu, 9 Aug 2007 14:10:58 +0100 Dipu Seminlal [EMAIL PROTECTED] wrote: Did you add onchange in the markup as well, you need to add it in the markup as well input

Re: wicket-spring Javadoc

2007-08-06 Thread Evan Chooly
Could somebody please point me to the location of the javadoc/api for the wicket.spring package? http://wicketstuff.org/maven/repository/org/apache/wicket/wicket-spring/1.3.0-SNAPSHOT/wicket-spring-1.3.0-SNAPSHOT-javadoc.jar