Wicket widget for deployment to third party site

2012-12-11 Thread Mike Comb
Hi, I have a need to create some javascript based widgets that will be deployed to a variety of websites that are out of my control. I was planning on using one of the existing javascript UI frameworks with json for callbacks to my servers (which are running Wicket for normal consumer facing st

Re: WebSockets questions

2012-12-11 Thread Maxim Solodovnik
Hello Martin, just have added the patch for this issue. can you please take a look it and probably accept? :) I would really appreciate it since this issue blocks me Thanks in advance On Sat, Dec 8, 2012 at 10:23 PM, Maxim Solodovnik wrote: > Hello Martin, > > Thanks for the quick reply > The i

RE: Incorrect double slash when jsessionid included in link URL in 6.x [Fixed]

2012-12-11 Thread Chris Colman
Just confirming that this is fixed for our scenario. >Please create a JIRA issue, hopefully with some details on how to >reproduce it. >I'm still trying to figure out what I've done to trigger the double >slash :/. > >Sven > >On 12/11/2012 09:12 AM, Chris Colman wrote: >> Did you still want me to

Re: TinyMCE ImageUploadPlugin problem

2012-12-11 Thread Sandor Feher
If I would have some time I would upgrade wicket to 6.x series and test it with 6.0. Until I appreciate any comments :). thnx, Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/TinyMCE-ImageUploadPlugin-problem-tp4654616p4654713.html Sent from the Users forum m

Re: what is Wicket 2.x?

2012-12-11 Thread Kees van Dieren
We are using Wicket 6 .0 on OC4j 10.1.3.5. This is a Servlet 2.4 container with support of some Servlet api 2.5 features. Work well here. The quickstart application works on OC4J ( http://wicket.apache.org/start/quickstart.html). (some slight modification is needed when using Wicket via a web.xml

Re: what is Wicket 2.x?

2012-12-11 Thread Joachim Schrod
Martijn Dashorst wrote: > On Mon, Dec 10, 2012 at 4:39 PM, Joachim Schrod wrote: >> I'd like to add my voice to Martijn's comment that there are still >> people out there who have no choice but to use 1.4. Typically guys >> who have to support Wicket apps on app servers with no servlet-2.5-api. >

RE: Redirect to login page on UnauthorizedActionException(Page,RENDER)

2012-12-11 Thread Paul Bors
Cool, so if I understand your use-case correctly you want to redirect the user to the log-in page when a component on a page should be protected. And you're running this logic at the RENDER or ENABLE stages for each of your components. I opted not to do so because of performance reasons. I rather

Re: Expiration page not shown in case of back button usage

2012-12-11 Thread Rob Sonke
Yes I know but by using the back button it seems to be ignored. Like it tries to serve the same page no matter we have a session or not. On Tue, Dec 11, 2012 at 9:59 AM, Martin Grigorov wrote: > On Mon, Dec 10, 2012 at 9:04 AM, Rob Sonke wrote: > > > Last week we fixed an issue with Wicket 6 wh

Re: Redirect to login page on UnauthorizedActionException(Page,RENDER)

2012-12-11 Thread Jesse Long
Hi Paul, Thanks for the reply. I think you are misunderstanding me. I have the my instantiation authorization working perfectly the way I want it. I now want my action (RENDER or ENABLE) authorization to work the same way. IAuthorizationStrategy says yes or no to instantiations and actions.

Chrome warning with CSSHeaderItem

2012-12-11 Thread Jered Myers
Wicket 6.3 Chromium 18.0.1025.168(Developer Build134367)Ubuntu 11.10 browser I get the following warning in my console: Resource interpreted as Image but transferred with MIME type text/css I have a JavaScriptResourceReference that is like the Dependency Management section on www.wicketinaction

Re: Form submit with Collection

2012-12-11 Thread Nick Pratt
It works well, but not ideal - making it work with JPA does require some tweaking to prevent the Collection being replaced (and thus Hibernate will complain about the Collection not being the one it was managing) or duplicates being created. On Mon, Dec 10, 2012 at 4:11 PM, Nick Pratt wrote: > I

RE: Redirect to login page on UnauthorizedActionException(Page,RENDER)

2012-12-11 Thread Paul Bors
Maybe this helps you a bit more... I have my own CompoundAuthorizationStrategy that in turn uses a few nested IAuthorizationStrategy and one of them throws RestartResponseAtInterceptPageException depending on the condition inside isInstantiationAuthorized() similar to: public boolean isInstantiat

Re: MarkupNotFoundException

2012-12-11 Thread Sven Meier
Check the first answer here: http://stackoverflow.com/questions/2689198/wicket-war-in-jetty-html-files-not-on-classpath Sven On 12/11/2012 02:10 PM, cosmindumy wrote: I checked that ans is not the cause. I noticed that html files are not in war. I just have a page that subclass WebPage and a c

Re: MarkupNotFoundException

2012-12-11 Thread Sven Meier
Check spelling, upper/lower case and the location of the html file for your home page. Sven On 12/11/2012 12:59 PM, cosmindumy wrote: Hi, I started a new application and I receive the following exception. /"org.apache.wicket.markup.MarkupNotFoundException: Can not determine Markup. Component i

MarkupNotFoundException

2012-12-11 Thread cosmindumy
Hi, I started a new application and I receive the following exception. /"org.apache.wicket.markup.MarkupNotFoundException: Can not determine Markup. Component is not yet connected to a parent"/ The application is quite simple. I subclassed the application and a home page. Which is usually the cau

Re: stateless pages

2012-12-11 Thread Martin Grigorov
On Tue, Dec 11, 2012 at 10:02 AM, René Vangsgaard wrote: > Thank you > > I understand that Wicket reverts back to statefulness if required. Can I > get Wicket to log when and why (the offending component) is reverts to > statefulness? > There are two ways: 1) add wicket-devutils dependency and u

Re: stateless pages

2012-12-11 Thread René Vangsgaard
Thank you I understand that Wicket reverts back to statefulness if required. Can I get Wicket to log when and why (the offending component) is reverts to statefulness? Is it correct that the number after an URL (ex. host/path?8) indicates the page is stateful? Statefulness concerns me, as I supp

Re: hot to set Unicoding to UTF-8

2012-12-11 Thread Sven Meier
With UtfPropertiesFilePropertiesLoader you can use properties with UTF-8 encoding, no XML involved there. Sven On 12/11/2012 09:42 AM, Martin Grigorov wrote: On Tue, Dec 11, 2012 at 8:38 AM, Sven Meier wrote: Give your file the suffix ".utf8.properties". In Wicket 6 you have to use .prop

Re: Expiration page not shown in case of back button usage

2012-12-11 Thread Martin Grigorov
On Mon, Dec 10, 2012 at 9:04 AM, Rob Sonke wrote: > Last week we fixed an issue with Wicket 6 where mounted pages were being > reconstructed after the session expired. That was due to this (new) setting > which we set to false now: > > getPageSettings().setRecreateMountedPagesAfterExpiry(false);

Re: understanding ajax response

2012-12-11 Thread Martin Grigorov
Did the patch solve the issue for you ? On Mon, Dec 10, 2012 at 7:58 PM, saty wrote: > Thanks, do you still need a quick start app to look into this, sorry i was > occupied in other pressing needs but i can try one if required. > On a different note, the problem seem to be only with Firefox 17

Re: hot to set Unicoding to UTF-8

2012-12-11 Thread Martin Grigorov
On Tue, Dec 11, 2012 at 8:38 AM, Sven Meier wrote: > Give your file the suffix ".utf8.properties". In Wicket 6 you have to use .properties.xml as file extension when using the XML format. The XML format is supported in Wicket 1.5/JDK 1.5 too just the file extension there was just .xml (com.exam

Re: hot to set Unicoding to UTF-8

2012-12-11 Thread Ernesto Reinaldo Barreiro
Yep! On Tue, Dec 11, 2012 at 9:37 AM, Sven Meier wrote: > IIRC you have to run on Java 6 for that feature. > > Sven > > > On 12/11/2012 09:36 AM, Ernesto Reinaldo Barreiro wrote: > >> Hi, >> >> I think to be able to use UTF-8 you have to encode the properties files as >> XML properties files (ot

Re: hot to set Unicoding to UTF-8

2012-12-11 Thread Sven Meier
IIRC you have to run on Java 6 for that feature. Sven On 12/11/2012 09:36 AM, Ernesto Reinaldo Barreiro wrote: Hi, I think to be able to use UTF-8 you have to encode the properties files as XML properties files (otherwise you have to escape characters that cannot be directly represented on IS

Re: hot to set Unicoding to UTF-8

2012-12-11 Thread Ernesto Reinaldo Barreiro
Hi, I think to be able to use UTF-8 you have to encode the properties files as XML properties files (otherwise you have to escape characters that cannot be directly represented on ISO 8859-1). On Tue, Dec 11, 2012 at 8:33 AM, oliver.stef wrote: > Hi all, > > When i'm saving my properties file

Re: Incorrect double slash when jsessionid included in link URL in 6.x

2012-12-11 Thread Sven Meier
Please create a JIRA issue, hopefully with some details on how to reproduce it. I'm still trying to figure out what I've done to trigger the double slash :/. Sven On 12/11/2012 09:12 AM, Chris Colman wrote: Did you still want me to raise a JIRA issue for this or will you do that? Regards, Ch

RE: Incorrect double slash when jsessionid included in link URL in 6.x

2012-12-11 Thread Chris Colman
Did you still want me to raise a JIRA issue for this or will you do that? Regards, Chris >-Original Message- >From: Sven Meier [mailto:s...@meiers.net] >Sent: Tuesday, 11 December 2012 8:04 AM >To: users@wicket.apache.org >Subject: RE: Incorrect double slash when jsessionid included in li