doctype and markup inheritance

2010-05-11 Thread Stefan Lindner
Dear Wicket wizzards, given is a page A with a HTML file that has no doctype, just starting with html...wicket:child 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

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

2010-05-11 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

Re: doctype and markup inheritance

2010-05-11 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 wicket:extend.../wicket:extend tags is taken over in A instead of the wicket:child.../wicket:child part. Everything that is specified additionally in

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

2010-05-11 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-11 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 -

RE: doctype and markup inheritance

2010-05-11 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

Re: Gmap2 and Wicket 1.4.8

2010-05-11 Thread Martin Funk
when the blank area is already rendered the app has already come quite far. out of my mind I'd check the Google Key. Also I remember Firefox beeing quite picky on 'wicket' elements. If they were present in or around the div element containing the map, it wouldn't be rendered. mf 2010/5/11 Doug

Re: html namespace, formatting...

2010-05-11 Thread Zilvinas Vilutis
My BasePage.html contains these lines in the beginning: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns:wicket= http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd; !-- some content here-- /html while ALL

Re: efficient resource downloading

2010-05-11 Thread Zilvinas Vilutis
See no problem of using spring services within a servlet, see my servlet example: http://pastebin.com/6tWstvAL http://pastebin.com/6tWstvAL Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Mon, May 10, 2010 at 8:10 PM, Joe Fawzy joewic...@gmail.com wrote: Hi dear

Re: Gmap2 and Wicket 1.4.8

2010-05-11 Thread dleeper
I believe I found the issue. Our wicket application has an iframe that shows the contents of an other wicket application. I changed the wicket version on the local wicket application. However, the iframe'd wicket application was not changed. When I synced up the wicket versions...everything

GMap2 and zoom_changed

2010-05-11 Thread Doug Leeper
I was under the impression that when the GMap2 zoomed in/out, the Wicket GMap2 object would be updated. When I query Wicket GMap2 upon a dblclick after I had zoomed in, the zoom level had not changed. Should this be the case? If not, I would like to be able to add a zoom_changed listener on

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

2010-05-11 Thread Jimi
I tried to recreate the issue in a simple quickstart project, but that seems to be easier said then done. The only time this bug shows its ugly face is when a logged in user uses the logout link, and is [supposed to be] redirected to the home page (ie the login page). I tried to debug it to see

Re: how to query in dataTable?

2010-05-11 Thread cleverpig
Thanks,Jeremy! I do not know how to express my thanks to you! I got the answer with a quiet heart.Because I doubt since too many unknown. 2010/5/8 Jeremy Thomerson jer...@wickettraining.com: look at the wicket examples [1] and see the data table examples. you will need to implement an

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

2010-05-11 Thread Martin Grigorov
On Mon, 2010-05-10 at 23:32 -0700, Les Hazlewood wrote: 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

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

2010-05-11 Thread Les Hazlewood
If it's any consolation, we only have a few remaining issues in Jira that should be finished today and tomorrow. 4 months ago, there was still over 50+ issues to resolve ;) Security frameworks are hard to get right - better to have a great 1.0 release than a crappy one :) On Tue, May 11, 2010

Re: GMap2 and zoom_changed

2010-05-11 Thread dleeper
This is what I am currently doing. zoomChangedListener = new ZoomChangedListener(); add(zoomChangedListener); map.add(new HeaderContributor(new IHeaderContributor() { private static final long serialVersionUID = 1L;

Re: html namespace, formatting...

2010-05-11 Thread Marzia Forli
Thanks Zilvinas, eclipse now it's quiet and I have a code-completion of html tags, but there is no help for 'wicket:XXX' attributes, is it possible to enable it somehow ? Also formatting, so nice for '.java' doesn't function for '.html' how do you handle those issues ? Thank you...

Re: html namespace, formatting...

2010-05-11 Thread Zilvinas Vilutis
Formatting should work fine, just I don't like it as it merges several lines into one and there is no never merge lines option as there is in java. Not sure about auto-completion - I've seen a DTD somewhere which supports autocompletion, but it was long ago... and I don't need it anymore, as

Re: GMap2 and zoom_changed

2010-05-11 Thread Martin Funk
you are aware of gmap2-examples? http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-gmap2 once there look at the 'Listen Examples' mf 2010/5/11 dleeper douglee...@yahoo.com This is what I am currently doing. zoomChangedListener = new ZoomChangedListener();

AjaxEditableLabel unicode issue

2010-05-11 Thread Jens Zastrow
Hi, I cannot enter/save unicode chars with a AjaxEditableLabel (e.g. german/arabic). Enter: 'ü' Value: 'ü' All unicode-chars seems to be converted to utf-8 since the single char ü is converter to double-bytes? Thanks Jens

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

2010-05-11 Thread James Carman
Martin, how many patches have you submitted? ;) On Tue, May 11, 2010 at 3:59 AM, Martin Grigorov mcgreg...@e-card.bg wrote: On Mon, 2010-05-10 at 23:32 -0700, Les Hazlewood wrote: Just a quick note to Wicket and Wicket-Stuff Shiro users: Shiro 1.0 is right around the corner.  We should be

Re: AjaxEditableLabel unicode issue

2010-05-11 Thread Steve Swinsburg
Hi, Is this after the value has been submitted and perhaps stored in a database, then retrieved and displayed again? If so, is your database setup as UTF-8? Also, if using Tomcat, is the connector setup as UTF-8 also? For Wicket, try setting this *:

Re: WicketStuff jWicket - Where is it?

2010-05-11 Thread Charles Deal
Thanks, I was able to get things sorted out. Is there a support site for this project? Live examples, wiki, jira. Are you using wicketstuff for those facilities? I found a couple of things that I'd like to report. Also, one of the things I did like about the wicketstuff-jquery project was how

Re: CSS Templating

2010-05-11 Thread Eric Hamel
Agreed. This is what I ended up doing. Thanks for the ideas all. On Mon, May 10, 2010 at 3:28 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Instead of doing this, use cascading stylesheets like they were intended to be used: In both applications, have a global.css or similar that

Re: AjaxEditableLabel unicode issue

2010-05-11 Thread Jens Zastrow
Hi, We switched from a http to a ajp based tomcat-connector and didnt configured the URIEncoding=UTF-8 properly. Thanks a lot, everything is working now. Am 11.05.2010 13:34, schrieb Steve Swinsburg: Hi, Is this after the value has been submitted and perhaps stored in a database, then

: WicketStuff jWicket - Where is it?

2010-05-11 Thread Stefan Lindner
Are you sure you are talking about jwicket? Where dou you see any JSON stuff in jwicket? -Ursprüngliche Nachricht- Von: Charles Deal [mailto:chuckdea...@gmail.com] Gesendet: Di 11.05.2010 13:39 An: users@wicket.apache.org Betreff: Re: WicketStuff jWicket - Where is it? Thanks, I was

Re: How make continous row index in dataTable

2010-05-11 Thread Erwin Bolwidt
Hi, You can do it like this: private private DefaultDataTableT dataTable; // ... new AbstractColumnWeekSchema(new ModelString(#)) { public void populateItem(ItemICellPopulatorWeekSchema cellItem, String componentId, IModelWeekSchema rowModel) { Item? item = (Item?)

Re: : WicketStuff jWicket - Where is it?

2010-05-11 Thread Charles Deal
In JQueryAjaxBehavior, you have five protected inner classes that (by my interpretation) are creating the JSON formatted string to pass to the jQuery methods. DraggableBehavior, for example, has an options property of type JsMap. In the getJsBuilder method of that class, you call toString() on

Does anybody use AjaxLazyLoadPanelTester

2010-05-11 Thread Stefan Lindner
Does anybody use AjaxLazyLoadPanelTester with success? We have to start a new request cycle manually before calling executeAjaxLazyLoadPanel. Stefan

AW: : WicketStuff jWicket - Where is it?

2010-05-11 Thread Stefan Lindner
Hi Charles, I see what you mean. Are you the maintainer of this json-lib project? I prefer to be independent from other projets at this stage because I suffered from some stalled projects in the past. If the 1.0 is in sight for the jwicket project I will rethink using json-lib project if

Re: is possible that CryptedUrlWebRequestCodingStrategy not working

2010-05-11 Thread Fernando Wermus
Jeremy, There is a database with huge amount of data that could be collected by someone else. If the url has a clear meaning, to say: /data/0, /data/1. They can get all the data from there. I would like to have fixed and encripted urls. On Mon, May 10, 2010 at 4:17 PM, Jeremy Thomerson

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

2010-05-11 Thread Fernando Wermus
try dependency groupIdorg.wicketstuff/groupId artifactIdwicket-shiro/artifactId version1.4-SNAPSHOT/version /dependency On Tue, May 11, 2010 at 3:15 AM, PDiefent pdief...@csc.com wrote: where can I find the wicket-shiro-example stuff? -- View this message in context:

Re: is possible that CryptedUrlWebRequestCodingStrategy not working

2010-05-11 Thread Fernando Wermus
I don't see anything weird in BookmarkablePageIncrementLink code, any help I do appreciate package com.misPartidos.web.widgets.seo.navigation; import org.apache.wicket.Page; import org.apache.wicket.PageParameters; import org.apache.wicket.markup.html.link.BookmarkablePageLink; import

Re: is possible that CryptedUrlWebRequestCodingStrategy not working

2010-05-11 Thread Istvan Soos
Fernando, It would be better to protect you application in an other way: e.g. create the ids with random, fixed-length postfixes. My practice is to create 4-length postfix with 0-9a-zA-Z random pattern. This is 62^4 possibility for each id in the sequence, e.g. 1aiP7, and 2pN63 is valid, but

warp persist, guice wicket: use warp persist during wicket application startup to load db objects

2010-05-11 Thread Christoph Grün
Hi all, I am using Wicket together with Guice and Warp Persist/Servlet. I have registered the PersistenceService in the contextInitialized method. However, I would like to do some data loading from the database when wicket starts, and like to access Hibernate Daos. I am getting the error:

RE: WicketStuff jWicket - Where is it?

2010-05-11 Thread Stefan Jozsa
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. please, Stefan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Customizing CheckBoxMultipleChoice Images?

2010-05-11 Thread Corbin, James
Hello, I would like to customize the images used for the selected and unselected states of the checkboxes rendered as part of the CheckBoxMultipleChoice component, but not sure how to do this... I've read a few sources that indicate this can be done by specifying a class=styled on the markup

Re: : WicketStuff jWicket - Where is it?

2010-05-11 Thread Charles Deal
Sorry, no. I became aware of the project when I began using the wicketstuff-jquery project. Here is the sourceforge page for it: https://sourceforge.net/projects/json-lib/ I'm actually using it in conjunction with your Behaviors now, by supplying its output to the rawOptions field. And I am

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

2010-05-11 Thread Igor Vaynberg
when i do view source in the browser i only see a single html page. what you are seeing may just be an artifact of having firebug enabled. -igor On Mon, May 10, 2010 at 10:01 PM, orange80 jpsw...@gmail.com wrote: Hey guys, I noticed this today when I was working on a project and examining

Re: is possible that CryptedUrlWebRequestCodingStrategy not working

2010-05-11 Thread Igor Vaynberg
no, nothing seems weird indeed. i guess the next step is for you to set a breakpoing in crypted encoding strategy and see why your url is not being encrypted. if you still cant figure it out you are welcome to create a quickstart. -igor On Tue, May 11, 2010 at 7:27 AM, Fernando Wermus

Ajax and JS

2010-05-11 Thread Eyal Golan
Hello, I want to perform an Ajax operation using a JS. The situation is that I have a Dialog (from JQuery, well actually WiQuery) and I want a button there to perform an Ajax operation. How do I bind JS and Ajax? I tried AbstractDefaultAjaxBehavior and getUrl. I tried to make an ajaxLink and then

Re: warp persist, guice wicket: use warp persist during wicket application startup to load db objects

2010-05-11 Thread Igor Vaynberg
if this was spring i would tell you that you need to start a transaction, which in turn will bind a hibernate session to a threadlocal context. it probably works in a request because you have a filter that does that for you, so look at that filter and see what it does. -igor On Tue, May 11, 2010

Re: Customizing CheckBoxMultipleChoice Images?

2010-05-11 Thread Igor Vaynberg
put the choice component into a div with a class attribute, then in css you can do div.the class you gave the div input[type=checkbox] css styles you want applied -igor On Tue, May 11, 2010 at 9:23 AM, Corbin, James jcor...@iqnavigator.com wrote: Hello, I would like to customize the images

Re: Ajax and JS

2010-05-11 Thread Igor Vaynberg
in wicket examples there is an example that shows ajax with the prototype js lib, adapt that to use jquery. -igor On Tue, May 11, 2010 at 10:05 AM, Eyal Golan egola...@gmail.com wrote: Hello, I want to perform an Ajax operation using a JS. The situation is that I have a Dialog (from JQuery,

Re: Ajax and JS

2010-05-11 Thread Ernesto Reinaldo Barreiro
Hi Eyal, Why not use wicket native AJAX? On wiQuery there is a DialogButton class you can use to add buttons to the dialog. This class has a method public void setJsScope(JsScope jsScope) { this.jsScope = jsScope; } which you can easily use to write wicket AJAX callback. e.g.

Re: efficient resource downloading

2010-05-11 Thread vladimir.kovalyuk
Since you wrote that you employ Spring MCV I presume you don't use any page state when constructing your dynamic resource, instead you parse URL parameters. Thus your resource seems to be shared resource. I used to extend WebResource (provide your own dynamic implementation of IResourceStream)

RE: Customizing CheckBoxMultipleChoice Images?

2010-05-11 Thread Corbin, James
Thanks Igor. I know this isn't a wicket issue...but, I'm able to style some aspects of the checkbox's by specifying css as in, div.div class name input[type=checkbox] { ... } Or div.div class name input[type=checkbox]:checked { ... } But if I specify the background attribute in either of

Re: efficient resource downloading

2010-05-11 Thread Zilvinas Vilutis
If you need to have the current session in a servlet, you may use the WicketSessionFilter which injects the wicket session into a ServletRequest. In any way you want to use it - your chosen implementation of security part will still be heavyweight. Not sure if you can submit authentification

Re: is possible that CryptedUrlWebRequestCodingStrategy not working

2010-05-11 Thread Fernando Wermus
Yes, it is. I will review my case. I have the following urls: valiousData/pagenumber/0, valiousData/pagenumber/1, valiousData/pagenumber/2, valiousData/pagenumber/3 I want fixed urls or stable ones because I would like the searcher robots could follow this links. But I don't want a programmer

Re: Customizing CheckBoxMultipleChoice Images?

2010-05-11 Thread Igor Vaynberg
i wasnt aware of the fact that it was possible, ive only ever seen people implement that kind of stuff using custom image/anchor components. -igor On Tue, May 11, 2010 at 11:23 AM, Corbin, James jcor...@iqnavigator.com wrote: Thanks Igor. I know this isn't a wicket issue...but, I'm able to

Re: Customizing CheckBoxMultipleChoice Images?

2010-05-11 Thread Zilvinas Vilutis
IE6/7 does not support those CSS selectors [type=checkbox] as far as I remember Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Tue, May 11, 2010 at 11:23 AM, Corbin, James jcor...@iqnavigator.comwrote: Thanks Igor. I know this isn't a wicket issue...but, I'm

Re: efficient resource downloading

2010-05-11 Thread Igor Vaynberg
On Tue, May 11, 2010 at 11:24 AM, Zilvinas Vilutis cika...@gmail.com wrote: If you need to have the current session in a servlet, you may use the WicketSessionFilter which injects the wicket session into a ServletRequest. rather it binds it to the threadlocal so you can say Session.get()

Re: is possible that CryptedUrlWebRequestCodingStrategy not working

2010-05-11 Thread Igor Vaynberg
you will have to tweak the default strategy for your usecase. by default the strategy uses a secret stored in session to encrypt. if a search bot does not support sessions it will not be able to follow links from one page to the next. -igor On Tue, May 11, 2010 at 1:23 PM, Fernando Wermus

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

2010-05-11 Thread orange80
Igor, You were totally right. I went into 1.4.8 src, inside WebResponse and printed out the argument like this: public void write(AppendingStringBuffer asb) { log.info(asb output:\n + String.valueOf(asb.getValue())); try {

Re: is possible that CryptedUrlWebRequestCodingStrategy not working

2010-05-11 Thread Jeremy Thomerson
You're subscribing to a mythical line of reasoning. You're trying to protect against page-scraping by using URL obfuscation to hide the meaning of query string parameters. I have actually done (legitimate, legal, purposefui) page scraping in the past for a couple of tasks - believe me - you are

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

2010-05-11 Thread Jeremy Thomerson
Great. We definitely want to see it if you can reproduce it. What I find is that 75% of the time, it turns out to be an error of something else conflicting, or else I find the problem in my own code if I try to boil it down to the simplest quickstart possible. -- Jeremy Thomerson

Re: How make continous row index in dataTable

2010-05-11 Thread cleverpig
hi,Erwin! Thank you so fast and accurate response! That's great help to me! 2010/5/11 Erwin Bolwidt ebolw...@worldturner.nl Hi, You can do it like this: private private DefaultDataTableT dataTable; // ... new AbstractColumnWeekSchema(new ModelString(#)) { public void