RE: doctype and markup inheritance

2010-05-10 Thread Stefan Lindner
Yes, but both are missing in HTML A. -Ursprüngliche Nachricht- Von: Sven Meier [mailto:s...@meiers.net] Gesendet: Di 11.05.2010 08:52 An: users@wicket.apache.org Betreff: Re: doctype and markup inheritance #setStripXmlDeclarationFromOutput() has nothing to do with doctype - it controls

Re: doctype and markup inheritance

2010-05-10 Thread Sven Meier
#setStripXmlDeclarationFromOutput() has nothing to do with doctype - it controls the xml prolog. Sven -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Html-root-tag-and-contents-repeating-in-response-after-302-redirect-tp2173315p2173399.html Sent from the Wicket - Use

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

2010-05-10 Thread Les Hazlewood
Just a quick note to Wicket and Wicket-Stuff Shiro users: Shiro 1.0 is right around the corner. We should be code-complete for 1.0 in a day or two and then we being the ASF voting process to release the software. A concrete (non snapshot) release is coming very soon! Best, Les ---

Re: doctype and markup inheritance

2010-05-10 Thread Dr. Wolf Blecher
Hi Stefan, as far as I understood markup inheritance correctly, the xml and doctype of B is ignored and only the part that is specified inside the ... tags is taken over in A instead of the ... part. Everything that is specified additionally in B is only for previewing B in a browser of your choic

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

2010-05-10 Thread PDiefent
where can I find the wicket-shiro-example stuff? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-security-what-are-the-best-options-Spring-Security-reached-almost-all-the-way-tp2068415p2173369.html Sent from the Wicket - User mailing list archive at Nabble.com.

doctype and markup inheritance

2010-05-10 Thread Stefan Lindner
Dear Wicket wizzards, given is a page A with a HTML file that has no doctype, just starting with ... The Page's class is extended by B and the markup of B has a proper HTML file with XML and doctype lines. What is the intended behavior of wicket? 1. Ignore the exdending B's xml and doctype an

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 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 consistently

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 i

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 wrote: > I am curious about this. I am playing wicket based on the book WIA. I am > unable to fin

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: 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 wrote: > From: Igor Vaynberg > Subject: Re: error in customize FormComponentFeedbackBorder > To: users@wicket.apache.org > Date: Monday, May 10, 2010, 7:16 PM > you cannot change the nesting of > c

RE: CSS Templating

2010-05-10 Thread Chris Colman
Have you looked at Compass/SCSS? That introduces variables/parameterization/mixins into a higher level CSS language that then generates CSS that browsers understand. I've used it a bit and it's quite powerful and you end up writing heaps less css even if you're only managing the CSS for a single si

Re: error in customize FormComponentFeedbackBorder

2010-05-10 Thread Igor Vaynberg
you cannot change the nesting of components, it has to be in sync with java code -igor On Mon, May 10, 2010 at 2:42 PM, David Chang wrote: > I am hoping to write a component customizing FormComponentFeedbackBorder. > > In the related HTML (please ingore the blank content for ), the > following

Gmap2 and Wicket 1.4.8

2010-05-10 Thread Doug Leeper
I just upgraded to Wicket 1.4.8 from 1.4.6. I am using Gmap2 (1.4.1). Upon doing so, my maps are no longer showing a map...just a blank area with the google controls that are non-functional. Has anyone else experienced this? Any work arounds? Thanks in advance, - Doug

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" to our cxf-codegen-plugin configuration for our >

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 ), the following is okay. But the following: always produces runtime error saying WicketMessage: Expected close tag for The component (wi

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 wrote: > Just thought I'd ask: recently for reasons unknown, we

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,

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" 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 to a

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: http://www.w3.org/TR/html4/strict

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 wrote: > > Erik van Oosten wrote: > > This might be related to > > https://issues.apache.org/jira/browse/WICKET-2600? > > We

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 ima

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 wrote: > Igor, >Wicket in Action explains > "... Using this code, Wicket will encrypt all your URLs—including > bookmarkable URLs. .

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 achie

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 wrote: > Hi all, >    I create a PagingNavigator stateless. Instead of using a mod

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 weird

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 wrote: > Hi experts, > > The following code (L

[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 Link("link", listItem.getModel()) { public void onClick() { setResponsePage(new MyPage()); } } The specified MyPage() ist entered, but without initializing the "wiQuery-Subsyste

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,

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 wicket-shir

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 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 Spring in my ap

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 wrote: > Le 08/05/2010 22:41, Igor Vaynberg a écrit : >> strange that its a problem for nothing else but liferay... > > Hello, > > Yes

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. eike On 10.05.2010 15:27, Matthias Keller wrote: Hi I'm usi

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 wrote: > I am currently using wicketstuff-jquery for jQu

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 swapp

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%B6&random=... %C3%B6 is UTF8 for "ö"

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: http://apache-wicket.1842

Re: Problem with AjaxLazyLoad panel in IE7 and IE8

2010-05-10 Thread Kailash Yadav
After investigation, i fount that... add(new AbstractDefaultAjaxBehavior() { private static final long serialVersionUID = 1L; @Override protected void respond(AjaxRequestTarget target)

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: http://apache-wicket.1842946.n4.nabble.com/Wicket-securi

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 + 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 org.springframework.beans.factory

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 net

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. - http://balamaci.wordp

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: 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: Ajax GET stopped because of precondition check, url