Re: Reporting Framework Wicket

2009-10-15 Thread Pieter Degraeuwe
I had used JasperReports in de near past and was very happy with it. The fact that you want to use it with Wicket doesn't actually matter. Just generate a PDF/Excel with jasper and make it avilable with a DynamicWebResource. A sample of a DynamicWebResource can you find at

Re: Reporting Framework Wicket

2009-10-15 Thread Douglas Ferguson
Does this resource link lock the pagemap? D/ On Oct 15, 2009, at 1:06 AM, Pieter Degraeuwe wrote: I had used JasperReports in de near past and was very happy with it. The fact that you want to use it with Wicket doesn't actually matter. Just generate a PDF/Excel with jasper and make it

Re: Reporting Framework Wicket

2009-10-15 Thread Ernesto Reinaldo Barreiro
I have used it in combination with BIRT. But, there was nothing special on the Wicket side, except for: 1-some logic that would read REPORT parameters and dynamically build a form allowing to fill in those. 2-extended BIRT with some classes, implementing some BIRT interfaces, that would stream

Ajax Update ListMultipleChoice

2009-10-15 Thread Peter Arnulf Lustig
Hi, how can I refresh the ListMultipleChoice compononent? I use the IModel and IChoiceRenderer Component for filling the list. But it should be refreshed automaticly when doing an update. - To unsubscribe, e-mail:

Re: Reporting Framework Wicket

2009-10-15 Thread Peter Thomas
there was this article on DZone recently on integrating BIRT with Wicket, may be useful http://java.dzone.com/articles/integrating-birt-your-wicket On Thu, Oct 15, 2009 at 12:48 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: I have used it in combination with BIRT. But, there was

Re: Hippo's patch for wicket ids

2009-10-15 Thread Daniel Frisk
Ok, I'm lazy and couldn't decipher that code at a glance. What does it do? // Daniel jalbum.net On 2009-10-15, at 03:09, Douglas Ferguson wrote: Has anybody seen this: http://www.onehippo.org/cms7/integration_testing.html Seems like a nice alternative vs. having to set markupIds on all

Re: Integrating Separate Different Wicket Applications Into One

2009-10-15 Thread nino martinez wael
what about osgi? http://www.ops4j.org/projects/pax/wicket/ ..? 2009/10/14 ralf.eichin...@pixotec.de perhaps have a look on www.devproof.org. it is a portal like wicket application, which hosts different modules (JARs). Quoting Carlo Camerino carlo.camer...@gmail.com: Hi, I was

Re: Integrating Separate Different Wicket Applications Into One

2009-10-15 Thread nino martinez wael
Heres something.. :Pax Wicket Applications Pax Wicket Service supports many Pax Wicket applications being deployed simultaneously onto the same instance of Pax Wicket Service. For each Pax Wicket application, a separate Servlet will be created and mounted on to a configurable mount point in the

Wicket + Spring + Hibernate event in ISTANBUL (Turkey)

2009-10-15 Thread Altuğ B . Altıntaş
Hi all; Today we will organize a medium size event. In that event, we will present hands on session about Wicket + Spring + Hibernate. This event will be in Istanbul, Besiktasi Bahcesehir University at 19.00 (local time) http.//www.java.org.tr Feel free to attend this event. Regards. --

Re: Reporting Framework Wicket

2009-10-15 Thread Ernesto Reinaldo Barreiro
Just one caveat about the article: as far as I remember creating a platform and report engine were costly operations. I do not have the code at hand but I remember we created some kind of singleton that was used to launch the reports. Additionally we added some logic that would: 1-scan report for

Question about Javascript DOM + Wicket

2009-10-15 Thread Erik Pragt
Hi all, I'm relatively new to Wicket, and I have a small question. I have a dynamic form in Javascript, which can have an unlimited set of input fields. For example, I can have a form to manage persons, and the user can enter multiple addresses, which are currently handled by a jQuery

Re: Integrating Separate Different Wicket Applications Into One

2009-10-15 Thread Martijn Dashorst
Why not put all components/pages/etc for each application in an application jar, and include those in the aggregate application? You're already deploying a new app so it wouldn't be too much extra effort. Martijn On Wed, Oct 14, 2009 at 2:39 PM, Carlo Camerino carlo.camer...@gmail.com wrote:

Re: Question about Javascript DOM + Wicket

2009-10-15 Thread Pedro Santos
My question is: is this also possible with Wicket? I don't want to use Ajax forms, I'd rather do everything in the DOM of the browser and then submit it yes, you can work on your form dom, adding form components with known names, and dial with then on your onSubmit method like:

Re: Hippo's patch for wicket ids

2009-10-15 Thread Per Lundholm
Looks like a patch to make it easier to use Selenium to test your webapplication. Selenium is very fond of id in tags. /Per On Thu, Oct 15, 2009 at 9:58 AM, Daniel Frisk dan...@jalbum.net wrote: Ok, I'm lazy and couldn't decipher that code at a glance. What does it do? // Daniel jalbum.net

Wickettester change locale of request

2009-10-15 Thread Per Newgro
Hi i would like to test my code on new session creation in application. A task in this process is to validate the resulting session locale. Because the session locale will be taken from the request i have to provide my test value in the Wickettester.servletRequest attribute. But how can i set

How to add list-entities dynamicly to ListMultipleChoice Component?

2009-10-15 Thread Peter Arnulf Lustig
And how is that done via AJAX ? Basicly I'd like to have a input textfield where the user can type a word into, and then after submitting the field he can see it in a ListMultipleChoice Component. - To unsubscribe, e-mail:

DropDownChoice: get selected object even if validation fails?

2009-10-15 Thread Christian Reiter
Hello! I've got a DropDownChoice in one of my forms, with which the user can select a icon. I want to display a preview of this icon beneath the drop down choice box. Therefore I added an AjaxFormValidatingBehavior to the DropDownChoice. Now, when the user changes the value of the

Re: How to add list-entities dynamicly to ListMultipleChoice Component?

2009-10-15 Thread Pedro Santos
for the textfield you can use an ajax behaviour, or put it into an form with ajax submit. in your handle code, you update the model object on your listmultiplechoise, and add it or its parent component to ajaxrequesttarget On Thu, Oct 15, 2009 at 9:56 AM, Peter Arnulf Lustig

Re: Date Picker in Editable TreeTable in IE7 and IE8

2009-10-15 Thread John MacEnri
Hi, just to close this off in case it's of use to anyone else. I gave up trying to get the DatePicker working from within a wicket-extensions TreeTable (v1.4.2) in IE. Instead I downloaded and used the new TableTree component from http://code.google.com/p/wicket-tree/ (Thanks to Sven Meier) This

AW: How to add list-entities dynamicly to ListMultipleChoice Component?

2009-10-15 Thread Peter Arnulf Lustig
thank you -- that helped me out! - Ursprüngliche Mail Von: Pedro Santos pedros...@gmail.com An: users@wicket.apache.org Gesendet: Donnerstag, den 15. Oktober 2009, 15:07:15 Uhr Betreff: Re: How to add list-entities dynamicly to ListMultipleChoice Component? for the textfield you can

Updating Component On a Different Page

2009-10-15 Thread nwallman
Hello, I have 2 pages, one is called HomePage and the other is called SignInPage. On the HomePage I have a MyAccountPanel that is hidden until the user is signed in. On the SignInPage I have a form that I want to have update the MyAccountPanel to visible if the sign in is successful. The

Re: Updating Component On a Different Page

2009-10-15 Thread Pedro Santos
IMO: MyAccountPanel{ public boolean isVisible{ return getSession().isSignedIn(); } } On Thu, Oct 15, 2009 at 11:24 AM, nwall...@cox.net wrote: Hello, I have 2 pages, one is called HomePage and the other is called SignInPage. On the HomePage I have a MyAccountPanel that is hidden until the

Re: Reporting Framework Wicket

2009-10-15 Thread Decebal Suiu
Hello, We use Wicket with NextReports (http://www.next-reports.com/) and Jasper. Basically, in Wicket you will have logic for the form that will fill report parameters. For Jasper we also have a logic for edit parameters (we added more functionality to parameter definition that we could not

Re: Hippo's patch for wicket ids

2009-10-15 Thread Igor Vaynberg
see idebugsettings.setoutputcomponentpath, this will add wicket:path='component's page relative path' attribute which is stable as long as you do not change the hierarchy and can be used for writing selenium tests. -igor On Thu, Oct 15, 2009 at 4:14 AM, Per Lundholm per.lundh...@gmail.com wrote:

Re: DropDownChoice: get selected object even if validation fails?

2009-10-15 Thread Igor Vaynberg
you can use getinput() to get the raw value or override wantOnSelectionChangedNotifications() to return true and implement a listener in onSelectionChanged, but then its not ajax. -igor On Thu, Oct 15, 2009 at 6:02 AM, Christian Reiter c.rei...@gmx.net wrote: Hello! I've got a DropDownChoice

Re: Hippo's patch for wicket ids

2009-10-15 Thread Douglas Ferguson
Is there any drawback to using this in production? On Oct 15, 2009, at 10:53 AM, Igor Vaynberg wrote: see idebugsettings.setoutputcomponentpath, this will add wicket:path='component's page relative path' attribute which is stable as long as you do not change the hierarchy and can be used for

Re: Reporting Framework Wicket

2009-10-15 Thread nino martinez wael
I've been using jasper reports, in conjunction with ireport http://jasperforge.org/plugins/mwiki/index.php/Ireport/Product_Tour . Giving a powerful combo, you can give the possibility to let your users design their own reports. Almost in line with some of the software from SAS Institute (though it

Re: Hippo's patch for wicket ids

2009-10-15 Thread Igor Vaynberg
the only drawback is that it makes your markup longer and that it will take slightly more cpu because the page-relative path has to be computed for every component on the page. -igor On Thu, Oct 15, 2009 at 9:04 AM, Douglas Ferguson doug...@douglasferguson.us wrote: Is there any drawback to

Re: DropDownChoice: get selected object even if validation fails?

2009-10-15 Thread t3_chris
Thanks a lot, Igor! I'll try this tomorrow. -- View this message in context: http://www.nabble.com/DropDownChoice%3A-get-selected-object-even-if-validation-fails--tp25908263p25912489.html Sent from the Wicket - User mailing list archive at Nabble.com.

Question about new Type Safety changes in Wicket 1.4

2009-10-15 Thread Andrig T. Miller
I have been going through the Wicket in Action book, but using the 1.4.2 release.  I figured the changes where minimal enough I could get through things.  In the Cheese store example I have the following code: package org.miller.wicket.example; import org.apache.wicket.markup.html.basic.Label;

Re: Question about new Type Safety changes in Wicket 1.4

2009-10-15 Thread Jeremy Thomerson
the key is in getCheeses... It should be something like private IModelListCheese getCheeses() -- Jeremy Thomerson http://www.wickettraining.com On Thu, Oct 15, 2009 at 4:55 PM, Andrig T. Miller andrig.t.mil...@gmail.com wrote: I have been going through the Wicket in Action book, but using

Re: Question about new Type Safety changes in Wicket 1.4

2009-10-15 Thread Andrig T. Miller
I have in CheesrPage the following: private ListCheese getCheeses() { return CheeseApplication.get().getCheeses(); } If I change that to: private IModelListCheese getCheeses() { return CheeseApplication.get().getCheeses(); } I then just get the same warning here, and of course then I

Re: Question about new Type Safety changes in Wicket 1.4

2009-10-15 Thread Jeremy Thomerson
Can you pastebin the entire java file? -- Jeremy Thomerson http://www.wickettraining.com On Thu, Oct 15, 2009 at 5:09 PM, Andrig T. Miller andrig.t.mil...@gmail.com wrote: I have in CheesrPage the following: private ListCheese getCheeses() { return

Re: Question about new Type Safety changes in Wicket 1.4

2009-10-15 Thread Andrig T. Miller
Sure: package org.miller.wicket.example; import org.apache.wicket.markup.html.basic.Label; import org.apache.wicket.markup.html.link.Link; import org.apache.wicket.markup.html.list.ListItem; import org.apache.wicket.markup.html.list.ListView; import org.apache.wicket.model.IModel; public class

Re: Question about new Type Safety changes in Wicket 1.4

2009-10-15 Thread Jeremy Thomerson
Ah, yes - sorry I missed it. There are a couple of errors. 1 - change your Cheese cheese = (Cheese) line (see below) 2 - change getDefaultModel to getModel - the generic version of the method public Index() { add(new ListViewCheese(cheeses, getCheeses()) { private

Re: Question about new Type Safety changes in Wicket 1.4

2009-10-15 Thread Andrig T. Miller
Ah, thanks, that did the trick. The migration guide says to use getDefaultModel instead of getModel, but I guess that's not true all the time. Andy On Thu, Oct 15, 2009 at 4:26 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Ah, yes - sorry I missed it.  There are a couple of errors. 1

Re: Question about new Type Safety changes in Wicket 1.4

2009-10-15 Thread Jeremy Thomerson
getDefaultModel still requires a cast - that was the direct migration. getModel was then added back in to genericized components. So, where you want to use generics, you must use the getModel variation. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Oct 15, 2009 at 5:30 PM, Andrig

Open Source projects using Wicket

2009-10-15 Thread Dave B
Hi, I'm in the process of evaluating Wicket (after an arduous JSF project, that has made us re-evaluate our web platform.) I've read Wicket in Action and whole bunch of blog and mailing list posts, done some proof-of-concept work and am now interested in reading source code from a project using

Re: Open Source projects using Wicket

2009-10-15 Thread Jeremy Thomerson
Beware - just like any other app, OS or not, you will find OS projects out there that will teach you all kind of wrong ways to use Wicket. I know of a couple because I tried to use them, thinking they would be easier to build on because they used Wicket. But they were so poorly written that it

Re: Open Source projects using Wicket

2009-10-15 Thread Igor Vaynberg
keeping that in mind, i wouldnt look at brix, most wicket-related code there has to do with plumbing and implementing a development model that is unlike wicket but works better for cmses. maybe look at http://www.jtrac.info/ , i think that uses wicket... -igor On Thu, Oct 15, 2009 at 4:40 PM,

Re: Open Source projects using Wicket

2009-10-15 Thread Jeremy Thomerson
Don't look at jtrac. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Oct 15, 2009 at 6:42 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: keeping that in mind, i wouldnt look at brix, most wicket-related code there has to do with plumbing and implementing a development model

Re: Open Source projects using Wicket

2009-10-15 Thread Ralf Eichinger
see here: http://cwiki.apache.org/WICKET/products-based-on-wicket.html Igor Vaynberg wrote: keeping that in mind, i wouldnt look at brix, most wicket-related code there has to do with plumbing and implementing a development model that is unlike wicket but works better for cmses. maybe look at

Re: Open Source projects using Wicket

2009-10-15 Thread Dave B
Great, thanks Ralf. That'll give me plenty of stuff to digest. I'm not against looking at bad Wicket usage either, I don't need to see just best practices. The pitfalls of Wicket used in the wild are also interesting. I'm largely sold on the premise of Wicket, though I'd be concerned if you

Re: Open Source projects using Wicket

2009-10-15 Thread Dave B
Any particular reason? Form a (very) cursory ten minute look, the lack of tests was glaring, though not an indictment of the actual Wicket usage. Thanks, Dave On Fri, Oct 16, 2009 at 11:04 AM, Jeremy Thomerson jer...@wickettraining.com wrote: Don't look at jtrac. -- Jeremy Thomerson

Re: Open Source projects using Wicket

2009-10-15 Thread Jeremy Thomerson
Sorry, that was an overly terse statement. Peter Thomas has put a lot of work into JTrac, and has done a lot of things that I admire (for instance, some of his performance testing blog entries, etc). He is also very helpful on the mailing list. The reason I said not to look at it is that when I

Re: Open Source projects using Wicket

2009-10-15 Thread Peter Thomas
On Fri, Oct 16, 2009 at 7:52 AM, Jeremy Thomerson jer...@wickettraining.com wrote: Sorry, that was an overly terse statement. Peter Thomas has put a lot of work into JTrac, and has done a lot of things that I admire (for instance, some of his performance testing blog entries, etc). He is

Re: Open Source projects using Wicket

2009-10-15 Thread Martin Makundi
Pushing definitely is more performance efficient - you know exactly when and where you push it and it's easy (happy-day-scenario) to optimize. Partly the ease of optimization results from difficulty of making complex relations. However, if you pull from models, you might end up with very complex

Wicket pages development orgnization

2009-10-15 Thread Ding Zenberg
Hi all, We'll plan to use wicket in our application for one enterprise's information management system. the app's portal layout is someting like this: - | Header |

Re: Wicket pages development orgnization

2009-10-15 Thread Martin Makundi
http://blog.ehour.nl/index.php/archives/18 2009/10/16 Ding Zenberg zenberg.d...@gmail.com: Hi all,   We'll plan to use wicket in our application for one enterprise's information management system.   the app's portal layout is someting like this:   -

Re: Wicket pages development orgnization

2009-10-15 Thread Igor Vaynberg
put nav and client into iframes. -igor On Thu, Oct 15, 2009 at 8:27 PM, Ding Zenberg zenberg.d...@gmail.com wrote: Hi all,   We'll plan to use wicket in our application for one enterprise's information management system.   the app's portal layout is someting like this:  

Re: Wicket pages development orgnization

2009-10-15 Thread Martin Makundi
And http://www.xaloon.org/tabs * http://www.xaloon.org/blog/advanced-wicket-tabs-with-jquery ** Martin 2009/10/16 Martin Makundi martin.maku...@koodaripalvelut.com: http://blog.ehour.nl/index.php/archives/18 2009/10/16 Ding Zenberg zenberg.d...@gmail.com: Hi all, Is there a nice way

Re: Open Source projects using Wicket

2009-10-15 Thread Jeremy Thomerson
Thanks Peter for being a good sport and not beating me up for what I said in a public forum! And it is certainly a great first project! I used it to track issues for multiple clients until I recently changed everything that I have over to trac (regular trac, not jtrac :) just so that I have some

Re: Open Source projects using Wicket

2009-10-15 Thread Eelco Hillenius
Pushing definitely is more performance efficient - you know exactly when and where you push it and it's easy (happy-day-scenario) to optimize. Partly the ease of optimization results from difficulty of making complex relations. I would expect push to put more load on your servers due to

Re: Question about new Type Safety changes in Wicket 1.4

2009-10-15 Thread Andrig T. Miller
Okay, thanks. That's helpful. I should be able to translate to 1.4 from what's in the book much more easily now. I really appreciate the help. Andy On Thu, Oct 15, 2009 at 4:36 PM, Jeremy Thomerson jer...@wickettraining.com wrote: getDefaultModel still requires a cast - that was the direct