Re: handling not mounted URLs

2009-03-23 Thread Jan Kriesten
Hi Jeremy, Can you mount another filter that, if Wicket does not respond, instead responds with either a valid page or a redirect back to a valid Wicket page? no, that's no option. I got the ErrorPage-Version working in the way that I manually set the status code with val uri =

Re: handling not mounted URLs

2009-03-23 Thread Jeremy Thomerson
Maybe I'm just sleepy - but where did you put that code? It's not java. On Mon, Mar 23, 2009 at 1:00 AM, Jan Kriesten kries...@mail.footprint.dewrote: Hi Jeremy, Can you mount another filter that, if Wicket does not respond, instead responds with either a valid page or a redirect back

Re: handling not mounted URLs

2009-03-23 Thread Brill Pappin
Ahh... are you try to set up an RESTful type of URI where the path is relevant to the request being executed? I had to do something like that for an images resource recently... although it may be more at the mercy of Wicket than what you need. Hmm... how about a

YUI DateField not setting model object property?

2009-03-23 Thread Brill Pappin
I'm using the YUI DateField on a form that has a CompoundPropertyModel as its object, however the field doesn't seem to be setting the property on the base POJO. The form components are all using the simple wicket id method of accessing the POJO properties via the CompoundPropertyModel.

Re: handling not mounted URLs

2009-03-23 Thread Jan Kriesten
Hi Jeremy, Maybe I'm just sleepy - but where did you put that code? It's not java. heh - that's Scala. :-) The code belongs to the HomePage class. Best regards, --- Jan. - To unsubscribe, e-mail:

Wicket Page Expired Exception

2009-03-23 Thread Sandyc
Hi, we are developing a website with apache wicket. I have scenario where i have to go back to the previous page from the current page.i tried using the MixedParamUrlCodingStrategy for passing the parameters from the current page to the previous page but i get a page expired exception.Please

Re: handling not mounted URLs

2009-03-23 Thread Jan Kriesten
Hi Brill, Ahh... are you try to set up an RESTful type of URI where the path is relevant to the request being executed? no, not really, my usecase is much simpler. :) If I encounter an unmounted path I just want to create a frameset which has a target on another server. And the target url

Re: Wicket-auth-roles + EJB 3 (Authentication and Authorization)

2009-03-23 Thread Marc Ende
Hi Barry, I've running three webapps using wicket (1.3) wicket-security (SWARM/WASP) together with JAAS. It's working great. Ok, the logout isn't very nice but it's doing it's job. At first I had the same impression that's a hack and complicated but now, using it several times. It looks easy

Re: Wicket Page Expired Exception

2009-03-23 Thread Per Newgro
Sandyc schrieb: Hi, we are developing a website with apache wicket. I have scenario where i have to go back to the previous page from the current page.i tried using the MixedParamUrlCodingStrategy for passing the parameters from the current page to the previous page but i get a page expired

Re: Wicket serialization problems for OSGi users

2009-03-23 Thread reiern70
Hi David, Nice post! Just one question why not use buddy class-loading techniques to solve serialization problem? To me this is the same kind of problem you encounter when you have a basic bundle handling Hibernate persistence and you want Hibernate to load classes from a bundle containing your

Re: Wicket serialization problems for OSGi users

2009-03-23 Thread David Leangen
Hi Ernesto, Thanks. Just one question why not use buddy class-loading techniques to solve serialization problem? Simple: at least for now, this is a non-standard extension for Eclipse/ Equinox. :-) I am aware of some proposals to modify the OSGi spec, but as far as I know, that's not

Re: Wicket Page Expired Exception

2009-03-23 Thread Sandyc
Please check following code. Actually i am calling the page from a Panel add(new StatelessLink(abstract){ private static final long serialVersionUID = 1L; @Override public void onClick() { MapString,String mapName = new

Testing a Form with AjaxButton

2009-03-23 Thread rodrigo benenson
Hello there ! Could someone point me out the correct way of testing a Form that has an AjaxButton in Wicket 1.4-rc2 ? calling form_tester.submit() or form_tester.submit(button-id) or tester.executeAjaxEvent(button-id, onclick); does not seem to do what I expect. The first cases does not call

Re: WicketStuff yui-parent yui examples war not deploying correctly

2009-03-23 Thread Joshua Lim
Hi I was updating yui examples but I run the examples using Jetty in eclipse. It was working for me. there was a missing dependency for slf4j in yui-example but I am not sure if had caused any problem for you in tomcat. regards josh 2009/3/22 Flavius flav...@silverlion.com I just

Re: Wicket serialization problems for OSGi users

2009-03-23 Thread reiern70
Hi David, Thank for your answer! Yes, your are right buddy class loading is Equinox proprietary. For me that's not a problem because I tied myself to use equinox. I did so because if you want to deploy in a traditional application sever you will have to use a bridge approach and equinox already

Re: Testing a Form with AjaxButton

2009-03-23 Thread Per Newgro
rodrigo benenson schrieb: Hello there ! Could someone point me out the correct way of testing a Form that has an AjaxButton in Wicket 1.4-rc2 ? calling form_tester.submit() or form_tester.submit(button-id) or tester.executeAjaxEvent(button-id, onclick); does not seem to do what I expect. The

Re: Wicket Page Expired Exception

2009-03-23 Thread Per Newgro
Sandyc schrieb: Please check following code. Actually i am calling the page from a Panel add(new StatelessLink(abstract){ private static final long serialVersionUID = 1L; @Override public void onClick() {

Re: WicketStuff yui-parent yui examples war not deploying correctly

2009-03-23 Thread James Carman
Yes, that was my bad. I've been doing some clean-up of the dependencies in wicketstuff-core. It appears to be working now, though. On Mon, Mar 23, 2009 at 5:59 AM, Joshua Lim lim.j...@gmail.com wrote: Hi I was updating yui examples but I run the examples using Jetty in eclipse. It was

Re: Wicket Page Expired Exception

2009-03-23 Thread Sandyc
The problem is no link or form element in the page or the panels in the page works. probably this might be a problem in rendering the page. All the other links are normal links.Please suggest me if is a right idea to use isversioned(false) for all the components in the page. I am also getting

radio button ajax behaviour

2009-03-23 Thread srinivas
Hi, I am unable to apply ajax behaviour to radio button. I want my components to be shown and hide with RadioChoice. Regards, Srinivasa Raju CH. Get your world in your inbox! Mail, widgets, documents, spreadsheets, organizer and much more with your Sifymail WIYI id! Log on to

Re: London Wicket Event - 1st of April @ Google

2009-03-23 Thread jWeekend
Alastair Maw has just informed me of the catchy little title he's come up with for his talk: Why Making Table Components Is Hard. You've probably heard by now that we're flying in Martijn Dashorst for a whirlwind, one night trip to give a couple of presentations at our upcoming London Wicket

Re: London Wicket Event - 1st of April @ Google

2009-03-23 Thread Jan Kriesten
Alastair Maw has just informed me of the catchy little title he's come up with for his talk: Why Making Table Components Is Hard. hehe - didn't we have kind of talk the last time as well? ;-) Have a nice meetup! Best regards, --- Jan.

Re: WicketStuff yui-parent yui examples war not deploying correctly

2009-03-23 Thread Flavius
Very cool. Thanks guys. I appreciate your help. josh02 wrote: Hi I was updating yui examples but I run the examples using Jetty in eclipse. It was working for me. there was a missing dependency for slf4j in yui-example but I am not sure if had caused any problem for you in tomcat.

[ANNOUNCE] Syringe: A New IoC Framework for Wicket...

2009-03-23 Thread James Carman
All, I've added a new wicketstuff project to the Wicket Stuff Core project called wicket-syringe. Syringe lets you do dependency injection using any container you want using the same @Inject annotation. Right now, it has built-in support for Spring, Guice, and the new Web Beans API (JSR-299).

Re: AutoCompleteTextField and accentuated characters

2009-03-23 Thread Michael Sparer
it isn't the 'wrong character' it's é in UTF8 which is perfectly fine -so you end up with an é at the end of the line - so what's the problem again? :-) regards, Michael tleveque wrote: Hi, I have a problem AutoCompleteTextField and accentuated characters. When I type characters within

Re: AutoCompleteTextField and accentuated characters

2009-03-23 Thread Thierry Leveque
The problem is that with any other form fields, what is saved in my models is fine. All the accentuated characters are fine. If I output (in a log file for example) the content of a string field, I can see the accentuated character. But with the AutocompleteTextField, if I try to do that in the

Re: Wicket Portlets in WebLogic Portal?

2009-03-23 Thread jakewicket
Just FYI, I was able to get a Wicket portlet to render initially in WebLogic Portal using Java portlets (the Pageables example from the Wicket Examples page - http://www.wicket-library.com/wicket-examples/ajax/pageables.1), but none of the links to page through the results work with no errors. I

Re: Wicket Portlets in WebLogic Portal?

2009-03-23 Thread Thijs
What version of liferay are you using? Wicket 1.3.x needs the portlet bridge implementation. (to cater for portlet1.0 spec). And for weblogic I think you'r on your own. This bridge implementation is portlet container specific. Wicket 1.4 you shouldn't need the portlet bridges any more but

Re: AutoCompleteTextField and accentuated characters

2009-03-23 Thread Michael Sparer
i can't reproduce your problem, if I send café up to the server caf%C3%A9 gets send and I receive café at the end of the line ... tleveque wrote: The problem is that with any other form fields, what is saved in my models is fine. All the accentuated characters are fine. If I output (in a

Re: Wicket Portlets in WebLogic Portal?

2009-03-23 Thread jakewicket
Thanks for the quick reply. I'm using WebLogic Portal, not Liferay. I'll have to see if WebLogic Portal fully supports the portlet 2.0 spec, and try upgrading to Wicket 1.4 (I was trying this with Wicket 1.3.5). -- View this message in context:

Re: radio button ajax behaviour

2009-03-23 Thread dtoffe
Have you tried with an AjaxEventBehavior and an onchange event ? See the javadocs for AjaxEventBehavior. Daniel SrinivasaRaju Ch wrote: Hi, I am unable to apply ajax behaviour to radio button. I want my components to be shown and hide with RadioChoice. Regards, Srinivasa

Re: Wicket Portlets in WebLogic Portal?

2009-03-23 Thread Thijs
duh.. :-) I was just discussing a Liferay issue with a colleague and by mistake typed that instead of Wicket :-) Thijs On 23-3-2009 16:09, jakewicket wrote: Thanks for the quick reply. I'm using WebLogic Portal, not Liferay. I'll have to see if WebLogic Portal fully supports the portlet

Re: [ANNOUNCE] Syringe: A New IoC Framework for Wicket...

2009-03-23 Thread Jeremy Thomerson
Great news James! For those who are looking to decide between the two, how does this differ from / improve on the existing wicket-ioc project? -- Jeremy Thomerson http://www.wickettraining.com On Mon, Mar 23, 2009 at 9:06 AM, James Carman ja...@carmanconsulting.comwrote: All, I've added a

Re: Wicket Page Expired Exception

2009-03-23 Thread Jeremy Thomerson
Have you looked in your logs to see if there are serialization issues when the page is first rendered? This causes most page expiration problems, because the page can't be serialized into the pagestore, which means when you come back to it via a link, wicket can't retrieve the page. -- Jeremy

Re: AutoCompleteTextField and accentuated characters

2009-03-23 Thread Thierry Leveque
Using Wicket 1.3.5? Mmmm, I will have to get the source code and check what is happening. Maybe it have something to do with the fact that I am under Mac OS X? But if it was the case, why all other fields are ok? I think I will also try with another ajax component. Thierry Sent from: Montreal

Re: Wicket Portlets in WebLogic Portal?

2009-03-23 Thread jakewicket
No problem, thanks for the reply anyway! Thijs wrote: duh.. :-) I was just discussing a Liferay issue with a colleague and by mistake typed that instead of Wicket :-) Thijs On 23-3-2009 16:09, jakewicket wrote: Thanks for the quick reply. I'm using WebLogic Portal, not Liferay.

Re: AutoCompleteTextField and accentuated characters

2009-03-23 Thread Marcelo Morales
This may be a stupid answer, but every time I hear something like this, I turn to the usual suspect: bad enconding on source files or the web page itself. Make sure EVERYTHING is properly encoded UTF-8 and not Mac Roman or ISO-8859-1 and not a mix. On Mon, Mar 23, 2009 at 11:33 AM, Thierry

Wicket stuff Dojo and Wicket 1.4rc2 compatibilty

2009-03-23 Thread CrocodileShoes
Am I correct in thinking that there isn't a maven release for Dojo that is compatible with Wicket 1.4? From my quick searches and the wicket-stuff wiki it looks like you have to download the Dojo source and build it yourself in order to use it. Unfortunately my work proxy prevents this so I

Re: Wicket Portlets in WebLogic Portal?

2009-03-23 Thread jakewicket
Just FYI, it looks like the next release of WebLogic Portal will fully support the JSR-268 spec (http://forums.oracle.com/forums/thread.jspa?messageID=3310572#3310572), so it looks like no Wicket 1.4.x with WebLogic Portal for now. If anyone has an implementation of those Apache Portals Bridges

Re: Testing a Form with AjaxButton

2009-03-23 Thread rodrigo benenson
that was the solution ! Thanks for your answer. Regards, rodrigob. On Mon, Mar 23, 2009 at 12:46 PM, Per Newgro per.new...@gmx.ch wrote: rodrigo benenson schrieb: Hello there ! Could someone point me out the correct way of testing a Form that has an AjaxButton in Wicket 1.4-rc2 ? calling

Re: AutoCompleteTextField and accentuated characters

2009-03-23 Thread Thierry Leveque
Thanks. I think everything is fine. At least on the markup side. ... meta http-equiv=Content-Type content=text/html; charset=UTF-8 / ... form id=form1 wicket:id=form1 name=form1 method=post action= enctype=UTF-8 Is there something I need to set on the code side? Thierry Sent from: Montreal

maven, eclipse and wicket

2009-03-23 Thread Luther Baker
I am having a slight bit of trouble getting Eclipse to step into the Wicket source code while using the m2eclipse plugin. The m2eclpse has successfully downloaded the Wicket 1.3.5 distribution. My application fires up and works just fine in Eclipse. I have also enabled the m2eclipse plugin to

Re: maven, eclipse and wicket

2009-03-23 Thread Pointbreak
Right-click project - Maven - Download sources You can see for which jar's m2eclipse has downloaded sources via the icon displayed in front of the jar under Maven dependencies in the project explorer. On Mon, 23 Mar 2009 12:23 -0500, Luther Baker lutherba...@gmail.com wrote: I am having a

Re: maven, eclipse and wicket

2009-03-23 Thread francisco treacy
i'm not sure i'm using m2eclipse (but i think so). to download sources just right click on your eclipse project, go to maven download sources. if we're using the same plugin, this should work. francisco On Mon, Mar 23, 2009 at 6:23 PM, Luther Baker lutherba...@gmail.com wrote: I am having a

Re: maven, eclipse and wicket

2009-03-23 Thread Luther Baker
Yep - the sources came down. The problem is in automatically attaching them to the debugger. I have an Eclipse DEBUG configuration invoking mvn jetty:run and it breaks just fine into my own source code - but when I go to step into the Wicket source, it can't find it the source code. The sources

Re: [ANNOUNCE] Syringe: A New IoC Framework for Wicket...

2009-03-23 Thread James Carman
On Mon, Mar 23, 2009 at 11:26 AM, Jeremy Thomerson jer...@wickettraining.com wrote: Great news James!  For those who are looking to decide between the two, how does this differ from / improve on the existing wicket-ioc project? 1. Much easier to extend. All you need to do is implement the

Re: [ANNOUNCE] Syringe: A New IoC Framework for Wicket...

2009-03-23 Thread Jeremy Thomerson
Sweet! I'm going to take a look. Sounds very promising. -- Jeremy Thomerson http://www.wickettraining.com On Mon, Mar 23, 2009 at 1:13 PM, James Carman jcar...@carmanconsulting.comwrote: On Mon, Mar 23, 2009 at 11:26 AM, Jeremy Thomerson jer...@wickettraining.com wrote: Great news

Re: AutoCompleteTextField and accentuated characters

2009-03-23 Thread Marcelo Morales
Thierry Meta tags?, don't know about that. Have you seen the Content-type header on the HTTP response? What about the choices source for your autocompleter?. Is it in proper UTF-8 encoded?. What about -encoding flag passed to javac or encodingUTF-8/encoding on

Re: maven, eclipse and wicket

2009-03-23 Thread Brill Pappin
make sure your m2e knows where your user repo is... it might not have it set. fyi - not all projects have source. - brill On 23-Mar-09, at 1:44 PM, Luther Baker wrote: Yep - the sources came down. The problem is in automatically attaching them to the debugger. I have an Eclipse DEBUG

Re: [ANNOUNCE] Syringe: A New IoC Framework for Wicket...

2009-03-23 Thread James Carman
I'm getting ready to upgrade the version of Commons Proxy to 1.1-SNAPSHOT, though. The 1.1 version ensures that the proxies are serializable. I'll get a release of 1.1 out soon (sending email to commons group now to start up a discussion). On Mon, Mar 23, 2009 at 2:23 PM, Jeremy Thomerson

Re: [ANNOUNCE] Syringe: A New IoC Framework for Wicket...

2009-03-23 Thread Igor Vaynberg
On Mon, Mar 23, 2009 at 11:13 AM, James Carman jcar...@carmanconsulting.com wrote: On Mon, Mar 23, 2009 at 11:26 AM, Jeremy Thomerson jer...@wickettraining.com wrote: Great news James!  For those who are looking to decide between the two, how does this differ from / improve on the existing

Re: AutoCompleteTextField and accentuated characters

2009-03-23 Thread Marcelo Morales
BTW it still may be a stupid answer. On Mon, Mar 23, 2009 at 2:25 PM, Marcelo Morales marcelomorales.n...@gmail.com wrote: Thierry Meta tags?, don't know about that. Have you seen the Content-type header on the HTTP response? What about the choices source for your autocompleter?. Is it

Re: [ANNOUNCE] Syringe: A New IoC Framework for Wicket...

2009-03-23 Thread James Carman
On Mon, Mar 23, 2009 at 2:51 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: what happens when features of differnet containers need to bleed through? for example Guice's @Inject has an optional() attribute. Since users of wicket-guice use guice's own @Inject it is all transparently

Re: [ANNOUNCE] Syringe: A New IoC Framework for Wicket...

2009-03-23 Thread Igor Vaynberg
On Mon, Mar 23, 2009 at 11:57 AM, James Carman jcar...@carmanconsulting.com wrote: On Mon, Mar 23, 2009 at 2:51 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: what happens when features of differnet containers need to bleed through? for example Guice's @Inject has an optional() attribute.

Re: [ANNOUNCE] Syringe: A New IoC Framework for Wicket...

2009-03-23 Thread James Carman
On Mon, Mar 23, 2009 at 3:22 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: if i want to use guice i should use guice...that toally makes sense :) I mean that if you want to use all of the features that Guice offers in your wicket components, then Syringe is not for you. Syringe is perfectly

Re: maven, eclipse and wicket

2009-03-23 Thread Pointbreak
I guess that if you use mvn jetty:run, maven will deploy your application (including the dependent jars). Thus it is not directly using the jars in the maven repo, but the deployed copies, therefore eclipse would be unable to find the sources. You could make a Start.java that just starts jetty (I

Re: AutoCompleteTextField and accentuated characters

2009-03-23 Thread mbrictson
Are you using Tomcat? I had a similar problem (with the word café specifically) and it turned out to be caused by Tomcat's URL encoding. By default, Tomcat uses the system encoding for URLs. You will have to edit the Tomcat configuration to change this: 1. Open $CATALINA_HOME/conf/server.xml

Re: [ANNOUNCE] Syringe: A New IoC Framework for Wicket...

2009-03-23 Thread Matej Knopp
Hi, The wicket-plugin architecture doesn't define any callbacks.  You can register any object you want as a plugin.  That's why I pass in the application instance.  I tinkered with the idea of having a WicketPlugin interface with an initialize(Application) method, but decided to keep it

Re: radio button ajax behaviour

2009-03-23 Thread mbrictson
I suggest using the onclick event instead. In Internet Explorer, the onchange event does not work for radio buttons. -- Matt dtoffe wrote: Have you tried with an AjaxEventBehavior and an onchange event ? See the javadocs for AjaxEventBehavior. Daniel SrinivasaRaju Ch wrote: Hi,

Re: [ANNOUNCE] Syringe: A New IoC Framework for Wicket...

2009-03-23 Thread James Carman
On Mon, Mar 23, 2009 at 4:40 PM, Matej Knopp matej.kn...@gmail.com wrote: Hi, The wicket-plugin architecture doesn't define any callbacks.  You can register any object you want as a plugin.  That's why I pass in the application instance.  I tinkered with the idea of having a WicketPlugin

Re: maven, eclipse and wicket

2009-03-23 Thread Luther Baker
I guess that does seem to make the most sense ... Thanks, -Luther On Mon, Mar 23, 2009 at 3:10 PM, Pointbreak pointbreak+wicketst...@ml1.netpointbreak%2bwicketst...@ml1.net wrote: I guess that if you use mvn jetty:run, maven will deploy your application (including the dependent jars).

Re: maven, eclipse and wicket

2009-03-23 Thread Brill Pappin
I actually use that toolset all the time, run inside eclipse and have no trouble. If the java source is there it finds it. I can only assume there is a problem with his configuration some place. - Brill On 23-Mar-09, at 4:10 PM, Pointbreak wrote: I guess that if you use mvn jetty:run, maven

Re: AutoCompleteTextField and accentuated characters

2009-03-23 Thread Thierry Leveque
It is working!!! Thanks!!! But I hope this is standard on Linux server, because I don't think I will have access that on the server where I am hosting my web site. Do you know if there is another way to set that per web application? Thanks again! Thierry Sent from: Montreal Quebec Canada. On

Re: AutoCompleteTextField and accentuated characters

2009-03-23 Thread mbrictson
I checked the Tomcat source code and the default URIEncoding is ISO-8859-1 (not the system default encoding as I previously stated). AFAIK it is a global setting; I don't think you can set it per web application. If you don't have access to change the URIEncoding in the server.xml, then perhaps

Re: AutoCompleteTextField and accentuated characters

2009-03-23 Thread Thierry Leveque
Well I was still perplex, because other fields, and even other ajax components seems to work fine with the default Tomcat config. So I used the Firefox extension TamperData to see exactly what is sent by the browser. The difference is obvious: Other ajax components and normal submit link are doing