ResourceModel class isn't extensible

2009-03-24 Thread Vladimir K
Althought it is not final and does not contain final methods it is still not so extensible as expected. The idea is to delegate the real work from AssignmentWrapper back to ResourceModel class, for instance: private class AssignmentWrapper extends AbstractReadOnlyModel implements

wicket-auth-roles documentation

2009-03-24 Thread Linda van der Pal
Quick question, where can I find the documentation for wicket-auth-roles? So far all I've been able to find is where I could download it. Regards, Linda - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: wicket-auth-roles documentation

2009-03-24 Thread Martijn Dashorst
There are examples in the Wicket-examples project. And Wicket in Action has a short chapter on wicket security, together with a section on wicket-auth-roles. Martijn On Tue, Mar 24, 2009 at 9:53 AM, Linda van der Pal lvd...@heritageagenturen.nl wrote: Quick question, where can I find the

Re: wicket-auth-roles documentation

2009-03-24 Thread Linda van der Pal
Thanks! Martijn Dashorst wrote: There are examples in the Wicket-examples project. And Wicket in Action has a short chapter on wicket security, together with a section on wicket-auth-roles. Martijn On Tue, Mar 24, 2009 at 9:53 AM, Linda van der Pal lvd...@heritageagenturen.nl wrote: Quick

Wicket Meetup Tonight in Amsterdam!

2009-03-24 Thread Martijn Dashorst
The Apache Wicket Meetup in Amsterdam tonight (24 March) has grown considerably: over 70 people have already registered! Our program is still growing and just this morning we got an additional presentation! The Meetup is free thanks to our generous sponsors: - Hippo (http://onehippo.com) - Func

Re: Wicket Meetup Tonight in Amsterdam!

2009-03-24 Thread Daan van Etten
What's the surprise?! I'm very curious now, can't wait! See you all tonight... Regards, Daan van Etten Op 24 mrt 2009, om 10:22 heeft Martijn Dashorst het volgende geschreven: The Apache Wicket Meetup in Amsterdam tonight (24 March) has grown considerably: over 70 people have already

Re: Wicket Meetup Tonight in Amsterdam!

2009-03-24 Thread Linda van der Pal
You'll just have to wait for them to surprise you! ;) Daan van Etten wrote: What's the surprise?! I'm very curious now, can't wait! See you all tonight... Regards, Daan van Etten Op 24 mrt 2009, om 10:22 heeft Martijn Dashorst het volgende geschreven: The Apache Wicket Meetup in Amsterdam

Client-side models for zero-state scalability

2009-03-24 Thread Alex Objelean
After reviewing the Wicket feature list, I accidentally noticed the following statement: The next version of Wicket will support client-side models for zero-state scalability. I am wondering if this feature will be indeed implemented in (which?) next version or this is just some feature which

Re: Client-side models for zero-state scalability

2009-03-24 Thread Matej Knopp
Well, there possibly will be extended support for stateless application - something like we implemented in brix. So in a way the statement is true. But there is no timeline for it. -Matej On Tue, Mar 24, 2009 at 11:47 AM, Alex Objelean alex_objel...@yahoo.com wrote: After reviewing the Wicket

Re: Client-side models for zero-state scalability

2009-03-24 Thread Alex Objelean
Matej, thank you for your reply! Could you provide some examples (links) where I can see how it works? Thank you! Alex Matej Knopp-2 wrote: Well, there possibly will be extended support for stateless application - something like we implemented in brix. So in a way the statement is true.

Re: Client-side models for zero-state scalability

2009-03-24 Thread Matej Knopp
http://code.google.com/p/brix-cms/source/browse/trunk/brix-demo/src/main/java/brix/demo/web/tile/stockquote/stateless/StatelessStockQuotePanel.java -Matej On Tue, Mar 24, 2009 at 12:01 PM, Alex Objelean alex_objel...@yahoo.com wrote: Matej, thank you for your reply! Could you provide some

Re: Client-side models for zero-state scalability

2009-03-24 Thread Johan Compagner
Our first try just failed. Because that had pretty huge performance issues and the pages are way bigger because of the serialized state everything needs then to be rewritten like a post, the list goes on and on. At that point we just came the the conclusion that this was not the way to go.

Bingind a bean that has getters, but no setters

2009-03-24 Thread Andrea Aime
Hi, I'm trying to make a component that edits the corners of a rectangle. The model of this component should be a JTS Envelope class: http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html?is-external=true This class has getters for minX,minY,maxX,maxY, but has no

Re: Bingind a bean that has getters, but no setters

2009-03-24 Thread Johan Compagner
The latest code in 1.3 and 1.4 are working with private fields and only getters If you have a property model on those fields it will use the field reference directly to set it. johan On Tue, Mar 24, 2009 at 13:15, Andrea Aime aa...@opengeo.org wrote: Hi, I'm trying to make a component that

what is the state of wicket-contrib?

2009-03-24 Thread Vladimir K
I'm concerned about where I can get wicket-contrib-yui? Sourceforge download page privide several outdated projects and does not provide wicket-contrib-yui at all. -- View this message in context: http://www.nabble.com/what-is-the-state-of-wicket-contrib--tp22679385p22679385.html Sent from the

HTML tags case sensitive in Wicket?

2009-03-24 Thread Linda van der Pal
Is it true that HTML tags have become case sensitive in Wicket? I just tried to link to a page that I knew existed TestPage.html with a wicket link. It gave me a resource not found message when I had the following link: wicket:link A HREF=TestPage.htmlTest/A /wicket:link If this is true, is

Re: Making wicket work with Dynamically created html

2009-03-24 Thread Vasu Srinivasan
Thanks for the replies. I experimented with wicket-velocity, it was very easy to get started.. The velocity template is pretty good at displaying the html elements dynamically, but im not finding an easy way to bind the data back... The model I have is dynamic , ie I do not know beforehand the

Re: Making wicket work with Dynamically created html

2009-03-24 Thread Jan Kriesten
Hi Vasya, The velocity template is pretty good at displaying the html elements dynamically, but im not finding an easy way to bind the data back... I'm not really sure what you're trying to accomplish. You can't use the velocity to create wicket-components on the fly and have them bound to a

Security Framework that best fits to Wicket

2009-03-24 Thread Eduardo Nunes
Hi guys, This is another of my posts best fits to Wicket. Now my doubt is about security frameworks. I came from the JEE world (jboss and glassfish) and I'm used to work with JAAS and Spring acegi (tomcat). Now I'm taking a easy/fast to development set of frameworks, I'm using Jetty,

Re: Bingind a bean that has getters, but no setters

2009-03-24 Thread Andrea Aime
James Carman ha scritto: Or, you could provide a wrapper A wrapper... how? In particular, how is the wrapper notified that it's time to set all the properties back in the envelope? (sorry, model rookie here). Btw, Johan suggestion works, but bombs out in the case the envelope is null

Re: Bingind a bean that has getters, but no setters

2009-03-24 Thread nino martinez wael
Hi Andrea Did you use the openlayers integration project? just curious... regards Nino 2009/3/24 Andrea Aime aa...@opengeo.org Hi, I'm trying to make a component that edits the corners of a rectangle. The model of this component should be a JTS Envelope class:

Re: Client-side models for zero-state scalability

2009-03-24 Thread Martin Grotzke
Hi Matej, sounds interesting, also the approach with PageParametersAware (and PageParametersForm). Do you thought about writing a short description of how this approach works? This would be really helpful, as I don't see the whole picture until now. Cheers, Martin On Tue, 2009-03-24 at 12:04

Xml models [Was: Making wicket work with Dynamically created html]

2009-03-24 Thread Erik van Oosten
Interesting. I think we have something similar. We do stuff like new TextField(/addresses/address[1]/street) and this will automatically bind the text field to a node in the XML document that was attached to the form. Regards, Erik. Jan Kriesten wrote: I did something like that with

Re: Bingind a bean that has getters, but no setters

2009-03-24 Thread Andrea Aime
nino martinez wael ha scritto: Hi Andrea Did you use the openlayers integration project? just curious... Nope, so far I did not. GeoServer has its own way to generate a OL client preview page which uses FreeMarker templates. Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert

Re: Bingind a bean that has getters, but no setters

2009-03-24 Thread nino martinez wael
Ok, was just because the openlayer integration exposes the JTD objects... No problem there.. 2009/3/24 Andrea Aime aa...@opengeo.org nino martinez wael ha scritto: Hi Andrea Did you use the openlayers integration project? just curious... Nope, so far I did not. GeoServer has its own

Re: Bingind a bean that has getters, but no setters

2009-03-24 Thread nino martinez wael
I guess you could look into the integration for inspiration on howto use wicket it does some of the same stuf you are talking about 2009/3/24 nino martinez wael nino.martinez.w...@gmail.com Ok, was just because the openlayer integration exposes the JTD objects... No problem there..

Re: Bingind a bean that has getters, but no setters

2009-03-24 Thread Johan Compagner
hmm normally i think we try to create the object by calling the default constructor And i see it does have a default constructor But is that Envelope object really your model object? Do you have a simple test case that i can add to the PropertyResolverTest ? On Tue, Mar 24, 2009 at 15:11,

Re: Bingind a bean that has getters, but no setters

2009-03-24 Thread Andrea Aime
Johan Compagner ha scritto: hmm normally i think we try to create the object by calling the default constructor And i see it does have a default constructor But is that Envelope object really your model object? Well, it's actually a property of a larger object, which I provide to my panel

Re: Bingind a bean that has getters, but no setters

2009-03-24 Thread Michael O'Cleirigh
Hi Andrea, I'm trying to make a component that edits the corners of a rectangle. The model of this component should be a JTS Envelope class: http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html?is-external=true This class has getters for

ajax request and reload the datview model

2009-03-24 Thread fachhoch
I have a dataview in my page , a delete or add action should repaint or rerender the dataview , to acheieve this I am adding the dataview container to AjaxRequestTarget, the method populateItem of dataview gets called but not the constructor , the constructor loads the data from database ,

Form validation without a form component

2009-03-24 Thread triswork
One of my forms is used to dynamically construct a linked list using Ajax. I would like to apply some form of validation to this form that will show an error unless the size of the list is greater than 0. The trouble is that there is no form component that I can add my validator to. Is there a

Re: Wicket Meetup Tonight in Amsterdam!

2009-03-24 Thread jWeekend
Enjoy yourselves tonight and remember that you are all invited to our http://jweekend.com/dev/LWUGReg/ London Wicket Event next Wednesday evening too! Regards - Cemal http://jWeekend.com jWeekend Martijn Dashorst wrote: The Apache Wicket Meetup in Amsterdam tonight (24 March) has grown

Re: Form validation without a form component

2009-03-24 Thread Martijn Dashorst
You could try adding a hidden field and register a validator to that field... I have no idea if that would work though Martijn On Tue, Mar 24, 2009 at 4:12 PM, triswork tristan.k...@gmail.com wrote: One of my forms is used to dynamically construct a linked list using Ajax. I would like

OT: How to connect Wicket layer to underlying service layer

2009-03-24 Thread Kaspar Fischer
I am trying to figure out the architecture of a prototype application. In it, the presentation layer (Wicket) needs to work with a service layer to display and edit lists (among other things). The service layer also exposes some Web Services via SOAP/REST which I intend to use for a

Re: OT: How to connect Wicket layer to underlying service layer

2009-03-24 Thread James Carman
Put your services in the same webapp. On Tue, Mar 24, 2009 at 11:37 AM, Kaspar Fischer fisch...@inf.ethz.ch wrote: I am trying to figure out the architecture of a prototype application. In it, the presentation layer (Wicket) needs to work with a service layer to display and edit lists (among

Re: OT: How to connect Wicket layer to underlying service layer

2009-03-24 Thread Eduardo Nunes
Yes, I suggest to you the same approach. Put everything in the same webapp, just take care to separate the tiers. For example: don't modify inside a service method the method parameters because it won't work in a EJB for example. I used to build a huge environment n-tier with different jar files

Re: OT: How to connect Wicket layer to underlying service layer

2009-03-24 Thread James Carman
On Tue, Mar 24, 2009 at 11:56 AM, Eduardo Nunes esnu...@gmail.com wrote: I always use DTO in service methods. My point of view is that if you have a method named getSimpleUserList and your User entity has 10 attributes and for this simple list you just need 3 of them, doesn't make sense to me

Re: Form validation without a form component

2009-03-24 Thread triswork
Hi Martijn, The hidden worked fine. I thought there might be a more elegant way though :) Tristan Martijn Dashorst wrote: You could try adding a hidden field and register a validator to that field... I have no idea if that would work though Martijn -- View this message in

Wicket architecture diagram?

2009-03-24 Thread Jeremy Thomerson
Has anyone done a nice Wicket architecture diagram? I know about the architecture chapter in WiA, but someone I know is looking for something more along the lines of: http://www.icesoft.com/developer_guides/icefaces/htmlguide/devguide/sys_architecture.html

Re: Form validation without a form component

2009-03-24 Thread James Carman
You could add a validator to the form itself, right? On Tue, Mar 24, 2009 at 12:02 PM, triswork tristan.k...@gmail.com wrote: Hi Martijn, The hidden worked fine. I thought there might be a more elegant way though :) Tristan Martijn Dashorst wrote: You could try adding a hidden field

Re: OT: How to connect Wicket layer to underlying service layer

2009-03-24 Thread Jeremy Thomerson
I agree wholeheartedly with both of James' points. Put it all in the same webapp until you are absolutely certain that you've outgrown that. And I don't like DTO's. Why is it better to return an object that only has three fields when you don't need all ten? Doesn't this imply that you've

Re: OT: How to connect Wicket layer to underlying service layer

2009-03-24 Thread Eduardo Nunes
Yes, I understand you too. What do you do when you have to send a set of entities and a calculation for each entity? you encapsulate it inside another class? On Tue, Mar 24, 2009 at 1:02 PM, James Carman jcar...@carmanconsulting.com wrote: On Tue, Mar 24, 2009 at 11:56 AM, Eduardo Nunes

Re: OT: How to connect Wicket layer to underlying service layer

2009-03-24 Thread James Carman
On Tue, Mar 24, 2009 at 12:08 PM, Eduardo Nunes esnu...@gmail.com wrote: Yes, I understand you too. What do you do when you have to send a set of entities and a calculation for each entity? you encapsulate it inside another class? A domain-driven design advocate would say that the entity knows

Re: OT: How to connect Wicket layer to underlying service layer

2009-03-24 Thread Jeremy Thomerson
Agree again. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Mar 24, 2009 at 11:11 AM, James Carman jcar...@carmanconsulting.com wrote: On Tue, Mar 24, 2009 at 12:08 PM, Eduardo Nunes esnu...@gmail.com wrote: Yes, I understand you too. What do you do when you have to send a set

Re: OT: How to connect Wicket layer to underlying service layer

2009-03-24 Thread Eduardo Nunes
Ok I got it. One question, consider that you have this model: Person 1xN Address You have a screen that list a detailed view of a person, including a list of addresses. What approach do you use to implement it? - A service method that returns a Person entity with eager load of the list of

Re: Wicket architecture diagram?

2009-03-24 Thread jWeekend
Jeremy, It's one of the first things I looked for when I first stumbled upon Wicket 2 years ago, and it is a common request from many architects and even some project managers evaluating Wicket. If the core devs come up with some rough (but correct) sketch they're all agreed on, even if it's

Re: OT: How to connect Wicket layer to underlying service layer

2009-03-24 Thread Kaspar Fischer
James, Eduardo, Jeremy, thank you very much for your input! I follow your discussions with great interest. Can you recommend a book on this sort of questions? I have read books on Spring and Hibernate but not from this high-level point of view. Cheers, Kaspar On 24.03.2009, at 17:38,

Re: OT: How to connect Wicket layer to underlying service layer

2009-03-24 Thread jWeekend
Kaspar, Flick through Martin Fowler's Patterns of Enterprise Application Architecture to see if you like it. Regards - Cemal http://jWeekend.com jWeekend hbf wrote: James, Eduardo, Jeremy, thank you very much for your input! I follow your discussions with great interest. Can you

Re: OT: How to connect Wicket layer to underlying service layer

2009-03-24 Thread Dave Schoorl
Maybe Eric Evans Book 'Domain-Driven Design'? Kaspar Fischer wrote: James, Eduardo, Jeremy, thank you very much for your input! I follow your discussions with great interest. Can you recommend a book on this sort of questions? I have read books on Spring and Hibernate but not from this

Re: OT: How to connect Wicket layer to underlying service layer

2009-03-24 Thread James Carman
On Tue, Mar 24, 2009 at 12:53 PM, Dave Schoorl mailli...@cyber-d.com wrote: Maybe Eric Evans Book 'Domain-Driven Design'? Yep, that's the one I would suggest. Although, I am going to check out Fowler's book too. That's one I don't have yet! :)

Re: AutoCompleteTextField and accentuated characters

2009-03-24 Thread Thierry Leveque
Ok, I fixed my problem. I should say I patched it! And it is pretty ugly The problem is from the fact that on the client side the ajax get URI is encoded from as utf-8. But the default Tomcat's URIEncoding is ISO-8859-1 and for me it is something I cannot change. So when Tomcat is receiving

Re: OT: How to connect Wicket layer to underlying service layer

2009-03-24 Thread Eduardo Nunes
Me too, it's not easy to find these books in Brazil, I will try to buy a electronic copy of it. On Tue, Mar 24, 2009 at 2:40 PM, James Carman jcar...@carmanconsulting.com wrote: On Tue, Mar 24, 2009 at 12:53 PM, Dave Schoorl mailli...@cyber-d.com wrote: Maybe Eric Evans Book 'Domain-Driven

TextField setPersistent is not remembering emails, only the username part of them

2009-03-24 Thread fafa
Hi there! First of all, i am a newbie, and I might be all the way wrong, but, I cannot think of any other alternative than ask you guys. Sorry if this is a sd question. :-$ I am using the lastest rc of wicket wicket.version1.4-rc2/wicket.version and using as a reference the

page mask and file download

2009-03-24 Thread fachhoch
I am using page mask java script function suggested by wicket wiki site. http://www.nabble.com/generalized-way-to-ignore-mouse-input-during-screen-refresh--td21379945.html#a21381260 here is the java script script type=text/javascript window.onload = setupFunc; var busySymbol;

Re: AutoCompleteTextField and accentuated characters

2009-03-24 Thread Maarten Bosteels
try calling this method as early as possible 9eg with a servlet filter): http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletRequest.html#setCharacterEncoding(java.lang.String) see also:

Re: ajax request and reload the datview model

2009-03-24 Thread Dariusz Wojtas
I have faced similar problem recently. The solution was to modify your dataProvider parameters. Instead of passing new dataProvider, playing with the constructors, just load it with new properties. Some pseudocode. final ISortableDataProvider myDataProvider = ... final DataView dataView = new

Re: newbie question: HTTP 404 on the quickstart project

2009-03-24 Thread Jeremy Thomerson
Have you tried going to http://localhost:8081/quickstart ? or simply http://localhost:8081 ? -- Jeremy Thomerson http://www.wickettraining.com On Tue, Mar 24, 2009 at 3:09 PM, Chenini, Mohamed mchen...@geico.comwrote: Hi, I setup the quickstart project using the imbedded jetty server and

RE: newbie question: HTTP 404 on the quickstart project

2009-03-24 Thread Chenini, Mohamed
Launching http://localhost:8081 produces this output: Wicket Quickstart Archetype Homepage If you see this message wicket is properly configured and running The jetty server is started and the console log shows this: INFO - WebApplication - [WicketApplication] Started Wicket

Re: newbie question: HTTP 404 on the quickstart project

2009-03-24 Thread Jeremy Thomerson
Okay - you found it. What's the question? -- Jeremy Thomerson http://www.wickettraining.com On Tue, Mar 24, 2009 at 3:28 PM, Chenini, Mohamed mchen...@geico.comwrote: Launching http://localhost:8081 produces this output: Wicket Quickstart Archetype Homepage If you see this message

RE: newbie question: HTTP 404 on the quickstart project

2009-03-24 Thread Chenini, Mohamed
Why URL http://localhost:8081/quickstart Results on this error: HTTP ERROR: 404 NOT_FOUND RequestURI=/QuickStart While jetty-config.xml has this entry: Call name=addWebApplication Arg/QuickStart/Arg Argsrc/webapp/Arg /Call -Original Message- From: Jeremy Thomerson

Re: newbie question: HTTP 404 on the quickstart project

2009-03-24 Thread Jeremy Thomerson
Because you're not using jetty-config.xml - look at Start.java - you are mounting the app on / WebAppContext bb = new WebAppContext(); bb.setServer(server); bb.setContextPath(/); bb.setWar(src/main/webapp); -- Jeremy Thomerson

Looking for a book on the jetty server

2009-03-24 Thread Chenini, Mohamed
Hi, Is there a good book on the jetty server to learn more on it? Since Wicket users seems to use Jetty as the Servlet/Web container. Thanks, Mohamed This email/fax message is for the sole use of the intended recipient(s) and may contain confidential and privileged

Re: Palette and Require Validator

2009-03-24 Thread TahitianGabriel
Here's what I do to have the Palette required : Palette palette = new Palette(...) { @Override protected Recorder newRecorderComponent() { Recorder rec = super.newRecorderComponent(); rec.setRequired(true);

Re: Wicket Meetup Tonight in Amsterdam!

2009-03-24 Thread Jonathan Locke
So true! So true! Can someone tell me what the surprise was afterwards? ;-) I'll still be surprised on account of not knowing what it was since Seattle is a bit too far from Amsterdam. Darn, I kinda miss Holland right now... jon Linda van der Pal wrote: You'll just have to wait for

deploy:deploy

2009-03-24 Thread Antony Stubbs
Is there a way to set the timeout for the deploy plugin? I seem to suffer from a very slow connection to my target server, and it keeps timing out. I need to set the time out to about 2 minutes :-/ - ___ http://stubbisms.wordpress.com http://stubbisms.wordpress.com

Re: deploy:deploy timeout

2009-03-24 Thread Antony Stubbs
apologies for the half assed title - must have been distracted Antony Stubbs wrote: Is there a way to set the timeout for the deploy plugin? I seem to suffer from a very slow connection to my target server, and it keeps timing out. I need to set the time out to about 2 minutes :-/

Re: deploy:deploy timeout

2009-03-24 Thread Jeremy Thomerson
Have you tried posting this to a maven list? -- Jeremy Thomerson http://www.wickettraining.com On Tue, Mar 24, 2009 at 9:31 PM, Antony Stubbs antony.stu...@gmail.comwrote: apologies for the half assed title - must have been distracted Antony Stubbs wrote: Is there a way to set the

Re: deploy:deploy timeout

2009-03-24 Thread Antony Stubbs
lol omg i really am half asleep. Jeremy Thomerson-5 wrote: Have you tried posting this to a maven list? -- Jeremy Thomerson http://www.wickettraining.com On Tue, Mar 24, 2009 at 9:31 PM, Antony Stubbs antony.stu...@gmail.comwrote: apologies for the half assed title - must