Problem with AjaxLazyLoad panel in IE7 and IE8

2010-05-10 Thread Kailash Yadav
Hi, I am using AjaxLazyLoad panel and it's working fine in mozilla firefox but in IE7 and IE8, it's not working. when i press F5 ( refresh page) than it's work. Please help !!! Thanks in advance. -- View this message in context:

Re: Inline Javascript comments

2010-05-10 Thread Jérôme Schell
Le 08/05/2010 22:41, Igor Vaynberg a écrit : strange that its a problem for nothing else but liferay... Hello, Yes but I would rather say that the problem is revealed by Liferay because of its remove line feeds behavior. I'm still wondering why the sequence added by Wicket looks like that. If

Re: Call Ajax on Parent Page from Popup page.

2010-05-10 Thread Serban Balamaci
Thank you Jeremy, It's working this way, although that label was a simple container for the script: script language=JavaScript wicket:id=refreshJS/script I do not understand why it was not working. Now I have a problem in the sense that it's working only let's say the first time. Because I get:

Re: Call Ajax on Parent Page from Popup page.

2010-05-10 Thread Serban Balamaci
I have solved it by overiding getPreconditionScript() in the behaviour to return return true;: protected CharSequence getPreconditionScript() { return return true; } I hope I do not run into any problems with this. Cheers. -

Wicket + Spring + WicketTester: org.apache.wicket.WicketRuntimeException: There is no application attached to current thread main

2010-05-10 Thread Lauwers, Kim
Hello everybody, I'm having problems with testing my wicket application with WicketTester I get this error: org.apache.wicket.WicketRuntimeException: There is no application attached to current thread main è See below for fulle stacktrace. I have been looking everywhere on the

RE: Wicket + Spring + WicketTester: org.apache.wicket.WicketRuntimeException: There is no application attached to current thread main

2010-05-10 Thread Lauwers, Kim
Okay, Got my test green :-) Here it is: package be.thomascook.ui.pages.admin; import be.thomascook.wicket.component.WicketFilter; import org.apache.wicket.spring.injection.annot.SpringComponentInjector; import org.apache.wicket.util.tester.WicketTester; import

Re: CSS Templating

2010-05-10 Thread Eric Hamel
Good Point. In all honesty, I'm looking for a practical way to skin 2 applications which are identical layout wise. Inherently, I don't want to manage 2 different stylesheets as that will lead to maintenance hell. The idea was to build a Template implemented in both applications to which I would

Re: Wicket + security, what are the best options? Spring Security reached almost all the way...

2010-05-10 Thread PDiefent
Thanks for this fast respnse. I will have a deeper look at it. Actually I hoped to find a much more simple solution, because I wanted to avoid Spring in my application and only use it for authentication ... -- View this message in context:

Re: root context, IE, home page is not found

2010-05-10 Thread Jimi
Erik van Oosten wrote: This might be related to https://issues.apache.org/jira/browse/WICKET-2600? Well, it sure is related, and that ticket is marked as resolved with 1.4.5. But the bug still exist in 1.4.7, at least for me. /Jimi -- View this message in context:

AutoCompleteTextField uses wrong encoding?

2010-05-10 Thread Matthias Keller
Hi I'm using an autocompletefield and it works fine so far. Except that when entering special characters, they don't get encoded correctly. The query String is correct and sends the special character in encoded UTF-8: GET http://localhost:9080/.../...q=%C3%B6random=... %C3%B6 is UTF8 for ö

WicketStuff jWicket - Where is it?

2010-05-10 Thread Charles Deal
I am currently using wicketstuff-jquery for jQuery integration. However, that project seems to be stalled. I've seen many good references to both wiQuery and jWicket on the list and jWicket seems to line up closer to what wicketstuff-jquery was. Which I'm hoping will lead to less pain when

Re: WicketStuff jWicket - Where is it?

2010-05-10 Thread Charles Deal
Crap, doesn't that just figure. Is this the correct location for the jWicket svn codebase? https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/jwicket-parent On Mon, May 10, 2010 at 9:41 AM, Charles Deal chuckdea...@gmail.com wrote: I am currently using

Re: AutoCompleteTextField uses wrong encoding?

2010-05-10 Thread Eike Kettner
Hi Matt some long time ago I had a similiar problem with AjaxEditableLabel. I used tomcat and there you need to configure the connector using useBodyEncodingForURI=true to make tomcat use utf8 for encoding ajax requests. Connector port=8009 protocol=AJP/1.3 redirectPort=8443

Re: Inline Javascript comments

2010-05-10 Thread Igor Vaynberg
the core issue here is that liferay is removing linefeeds inside a CDATA block, which it obviously shouldnt. -igor On Sun, May 9, 2010 at 11:48 PM, Jérôme Schell jerome.sch...@cpe.fr wrote: Le 08/05/2010 22:41, Igor Vaynberg a écrit : strange that its a problem for nothing else but liferay...

Re: Wicket + security, what are the best options? Spring Security reached almost all the way...

2010-05-10 Thread Fernando Wermus
you can try shiro. There is a shiro-wicket-web-app example which could help you. On Mon, May 10, 2010 at 9:54 AM, PDiefent pdief...@csc.com wrote: Thanks for this fast respnse. I will have a deeper look at it. Actually I hoped to find a much more simple solution, because I wanted to avoid

Re: Wicket + security, what are the best options? Spring Security reached almost all the way...

2010-05-10 Thread Adrian Wiesmann
3. Doesn't seem stable. [wicket-shiro] No maven repository (you have to check out trunk and build yourself) and has three different SNAPSHOT dependencies. I can't talk for wicket-shiro, but using plain Shiro from your Wicket project is quite straightforward. Use the integration from

RE: WicketStuff jWicket - Where is it?

2010-05-10 Thread Stefan Lindner
Yes! It is. It's based upon jQuery 1.4.2 and jQuery-ui 1.8.0. Version 1.8.1 of jQuery-ui is now available. If this new version is required I could integrate it next weekend. Let me know. Stefan -Ursprüngliche Nachricht- Von: Charles Deal [mailto:chuckdea...@gmail.com] Gesendet: Montag,

[wiQuery] Custom Link to wiQuery Page doest not initialize target page

2010-05-10 Thread Jens Zastrow
Hi experts, The following code (Link-example-code) breaks all of my wiQuery-enabled Pages. add(new LinkMyObject(link, listItem.getModel()) { public void onClick() { setResponsePage(new MyPage()); } } The specified MyPage() ist entered, but without initializing the

Re: [wiQuery] Custom Link to wiQuery Page doest not initialize target page

2010-05-10 Thread Zilvinas Vilutis
Why don't you try: setResponsePage( MyPage.class ); In your case - the constructor is invoked earlier, that may cause problems. Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Mon, May 10, 2010 at 9:17 AM, Jens Zastrow m...@jens-zastrow.de wrote: Hi experts, The

is possible that CryptedUrlWebRequestCodingStrategy not working

2010-05-10 Thread Fernando Wermus
Hi all, I create a PagingNavigator stateless. Instead of using a model to have the number page shown, my StatelessPagingNavigator shows the number through parameters. I hope that the page number wouldnt have been showed using CryptedUrlWebRequestCodingStrategy, but It does. This is rather

Re: is possible that CryptedUrlWebRequestCodingStrategy not working

2010-05-10 Thread Igor Vaynberg
afair crypted strategy only encodes non-bookmarkable urls. it does not encode bookmarkable urls because those are meant as entrypoints into your application. -igor On Mon, May 10, 2010 at 11:38 AM, Fernando Wermus fernando.wer...@gmail.com wrote: Hi all,    I create a PagingNavigator

Re: is possible that CryptedUrlWebRequestCodingStrategy not working

2010-05-10 Thread Fernando Wermus
Igor, Wicket in Action explains ... Using this code, Wicket will encrypt all your URLs—including bookmarkable URLs. I need fixed entry point for my stateless page, but not readable for humans, because some hacker would like to extract all the information from the site. How can I

Re: is possible that CryptedUrlWebRequestCodingStrategy not working

2010-05-10 Thread Jeremy Thomerson
What is a hacker going to get from a URL like /somepage? -- Jeremy Thomerson http://www.wickettraining.com On Mon, May 10, 2010 at 2:06 PM, Fernando Wermus fernando.wer...@gmail.comwrote: Igor, Wicket in Action explains ... Using this code, Wicket will encrypt all your URLs—including

Re: CSS Templating

2010-05-10 Thread Jeremy Thomerson
Instead of doing this, use cascading stylesheets like they were intended to be used: In both applications, have a global.css or similar that handles all of the layout, etc, that is common to both sites. Then, in each application, include a appXYZ.css that simply changes colors, background

Re: root context, IE, home page is not found

2010-05-10 Thread Jeremy Thomerson
Can you reopen that issue and attach a quickstart that demonstrates the problem? -- Jeremy Thomerson http://www.wickettraining.com On Mon, May 10, 2010 at 8:26 AM, Jimi jimi.hulleg...@mogul.com wrote: Erik van Oosten wrote: This might be related to

html namespace, formatting...

2010-05-10 Thread Marzia Forli
Could someone more experienced with eclipse help me with configuring correctly the html documents to make eclipse happy and my documents valid, as I would like to use auto-completion, and later to parse them as xml... right now I am writing something like this: ?xml version=1.0 encoding=UTF-8?

XJC NPA switch...

2010-05-10 Thread Craig Tataryn
Just thought I'd ask: recently for reasons unknown, we've started to have to add a -xjc-npa extraarg to our cxf-codegen-plugin configuration for our WSDLs. The error which caused us to use this parameter essentially states: package annotations should be in file package-info.java. This seemed

Re: is possible that CryptedUrlWebRequestCodingStrategy not working

2010-05-10 Thread Igor Vaynberg
indeed, looking at the code everything is encrypted, so the problem must be in your BookmarkablePageIncrementLink. only urls that are generated via the coding strategy are encrypted, if you concatenate strings yourself they will not be encrypted obviously. -igor On Mon, May 10, 2010 at 12:06 PM,

Re: XJC NPA switch...

2010-05-10 Thread Jeremy Thomerson
Was that really a question? If so, I certainly didn't see a question. I think maybe you inadvertently sent this to the wrong list. -- Jeremy Thomerson http://www.wickettraining.com On Mon, May 10, 2010 at 3:19 PM, Craig Tataryn crai...@tataryn.net wrote: Just thought I'd ask: recently for

error in customize FormComponentFeedbackBorder

2010-05-10 Thread David Chang
I am hoping to write a component customizing FormComponentFeedbackBorder. In the related HTML (please ingore the blank content for span), the following is okay. wicket:border span wicket:id = errorIndicator/span wicket:body/ /wicket:border But the following: wicket:border span wicket:id

Re: XJC NPA switch...

2010-05-10 Thread Craig Tataryn
Ad, this would be the wrong mailing list to post to :) Nothing to see here people!!! Craig. On 2010-05-10, at 3:19 PM, Craig Tataryn wrote: Just thought I'd ask: recently for reasons unknown, we've started to have to add a -xjc-npa extraarg to our cxf-codegen-plugin configuration for

Re: error in customize FormComponentFeedbackBorder

2010-05-10 Thread David Chang
Igor, thanks for chiming. I got what you mean. Regards, David --- On Mon, 5/10/10, Igor Vaynberg igor.vaynb...@gmail.com wrote: From: Igor Vaynberg igor.vaynb...@gmail.com Subject: Re: error in customize FormComponentFeedbackBorder To: users@wicket.apache.org Date: Monday, May 10, 2010,

Is there any out-of-box form validator for checkbox input?

2010-05-10 Thread David Chang
I am curious about this. I am playing wicket based on the book WIA. I am unable to find an out-of-box form validator for checkbox input. I know I can write one. But just wanted to ask folks here to confirm. Regards, David

Re: Is there any out-of-box form validator for checkbox input?

2010-05-10 Thread Igor Vaynberg
what would you validate with a CheckBox of type boolean? i believe if you want to always require it be checked then simply call setrequired(true). -igor On Mon, May 10, 2010 at 6:18 PM, David Chang david_q_zh...@yahoo.com wrote: I am curious about this. I am playing wicket based on the book

Re: efficient resource downloading

2010-05-10 Thread Joe Fawzy
Hi dear actually , access control and dynamic file generation requires using services which is injected by spring this cannot be easily done in pure servlet my current solution using spring @Controller and write diretly to the servlet response is somethingvery similar to writing a servlet but as

Html root tag and contents repeating in response after 302 redirect?

2010-05-10 Thread orange80
Hey guys, I noticed this today when I was working on a project and examining responses in Firebug. It looks like I'm getting the html root tag and all of its contents twice in the http response after 302 redirects. I have posted a very simple quickstart that will demonstrate the problem