URL encryption of a single page

2012-06-11 Thread Andreas Maly
Hi all, I want to encrypt the URL parameters for a single page of my application. I already have found the CryptedUrlWebRequestCodingStrategy inside Wicket, which pretty much does what I want. However, it seems that I can only use this crypted strategy to encrypt either all the URLs in my

Re: URL encryption of a single page

2012-06-11 Thread Martin Grigorov
Hi, I'm not sure whether there is an easy way to do this in Wicket 1.4.x. With 1.5.x it is quite easy: webApp.mount(new CryptoMapper(new MountedMapper(/mountPoint, YourPage.class))) On Mon, Jun 11, 2012 at 10:38 AM, Andreas Maly andreasrmaly-wic...@yahoo.de wrote: Hi all, I want to encrypt

Re: call to Wicket.Ajax.get gives object is undefined

2012-06-11 Thread vineet semwal
Hi martin-g, no i can't reproduce on examples but i have attached a quickstart here,please see if the attachment works here . On Mon, Jun 11, 2012 at 11:03 AM, Martin Grigorov mgrigo...@apache.org wrote: Can you reproduce this on http://www.wicket-library.com/wicket-examples-6.0.x/ajax ? On

Re: call to Wicket.Ajax.get gives object is undefined

2012-06-11 Thread Martin Grigorov
Hi Vineet, You don't use the new Wicket.Ajax.get() method syntax. You use: Wicket.Ajax.get(url, function() {}, function() {}); which is the 1.5.x way. The new is: Wicket.Ajax.get({ 'u': url }); See the generated scripts for the wicket-example pages. At the Wiki page you can see the names of the

Re: URL encryption of a single page

2012-06-11 Thread Andreas Maly
Thanks for your reply, Martin. Sadly I'm currently stuck with Wicket 1.4.x (on second though, I SHOULD have mentioned that in my first post *g*), so I currently can not user the CryptoMapper. If anybody can suggest a solution as easy as that (it may also be a little more complicated if it does

Re: call to Wicket.Ajax.get gives object is undefined

2012-06-11 Thread vineet semwal
thanks martin,i initially assumed both are supported now :) ,i looked at wiki ajax page again ,also i had a look at how ajaxlink is generating script so i have now improved my js function ,now i am not getting any error but i still can't pass value from javascript ,here is the improved js code,

Re: Making Autocomplete Form Stateless

2012-06-11 Thread romanasu
So, did somebody manage to do have an auto complete behavior into an stateless wicket page? Maybe an integration of jquery ? Any examples, ideas? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Making-Autocomplete-Form-Stateless-tp4455817p4649849.html Sent from the

Re: call to Wicket.Ajax.get gives object is undefined

2012-06-11 Thread Martin Grigorov
You need 'dep' - dynamic extra parameter. These are parameters which are evaluated when the Ajax call is about to be made. On Mon, Jun 11, 2012 at 12:16 PM, vineet semwal vineetsemwa...@gmail.com wrote: thanks martin,i initially assumed both are supported now :) ,i looked at wiki ajax page

Re: call to Wicket.Ajax.get gives object is undefined

2012-06-11 Thread vineet semwal
thank you martin !,i was able to do that with dynamic extra parameter .. On Mon, Jun 11, 2012 at 6:09 PM, Martin Grigorov mgrigo...@apache.org wrote: You need 'dep' - dynamic extra parameter. These are parameters which are evaluated when the Ajax call is about to be made. On Mon, Jun 11,

Re: Making Autocomplete Form Stateless

2012-06-11 Thread Serban.Balamaci
I think Martin was pretty explicit with the fact that you could use as endpoint an AbstractResource or even a plain servlet as your data source url, you don't need explicitly an ajax behaviour(although just setting the stateless hint to true on the ajaxbehaviour might work without any problems).

Re: wicketstuff-simile-timeline (1.5.5) Access denied to resource error..

2012-06-11 Thread Martin Grigorov
Hi, Check http://wicket.apache.org/2012/03/22/wicket-cve-2012-1089.html On Mon, Jun 11, 2012 at 7:23 PM, chrome1235 kemal.m...@gmail.com wrote: Hi, I want to use wicketstuff-simile-timeline. Bu it gives an error. is this a bug, or what is my mistake? thanks.. Kemal, my code is:        

Re: Panel not getting refreshed...

2012-06-11 Thread kshitiz
Please help me I am really not able to understand why it is happeningThe form is really simple now: public Search(final PageParameters pageParameters) { super(pageParameters); FormSearchDomain searchForm = new FormSearchDomain(searchForm,

Re: wicketstuff-simile-timeline (1.5.5) Access denied to resource error..

2012-06-11 Thread chrome1235
Martin, thanks for your reply. But I could not succeed. I tried all of these lines. But I have same error.:( --- public void init() { super.init(); SecurePackageResourceGuard guard = new SecurePackageResourceGuard();

Re: wicketstuff-simile-timeline (1.5.5) Access denied to resource error..

2012-06-11 Thread Martin Grigorov
guard.addPattern(+*timeline-api.js*); On Mon, Jun 11, 2012 at 9:34 PM, chrome1235 kemal.m...@gmail.com wrote: Martin, thanks for your reply. But I could not succeed. I tried all of these lines. But I have same error.:( ---        public void init()        {                super.init();  

Re: wicketstuff-simile-timeline (1.5.5) Access denied to resource error..

2012-06-11 Thread chrome1235
Security problem was solved by your response. But, I could not see timeline output. When I look source of html, it gives this error. body HTTP ERROR 404 pProblem accessing

Re: wicketstuff-simile-timeline (1.5.5) Access denied to resource error..

2012-06-11 Thread chrome1235
I mean, when I click this link. It gives 404 error.. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicketstuff-simile-timeline-1-5-5-Access-denied-to-resource-error-tp4649855p4649861.html Sent from the Users forum mailing list archive at Nabble.com.

Re: wicketstuff-simile-timeline (1.5.5) Access denied to resource error..

2012-06-11 Thread chrome1235
I could solve the wicket problem. original code like this. (org.wicketstuff.simile.timeline.Timeline.java) // response.renderJavaScriptReference(new PackageResourceReference(getClass(), // ./timeline_js/timeline-api.js?timeline-use-local-resources=truebundle=true)); I

Re: Panel not getting refreshed...

2012-06-11 Thread Sebastien
Hi, I see some problem/inconsistencies in your code. 1/ Model.of(searchDomain.getSearch()) is not accurate. You better have to use 'new PropertyModelString(searchDomain, search)'. You already defined the getSearch() method, be sure to also have setSearch(String text) method for the property

References not loading correctly. Wicket 1.5.7

2012-06-11 Thread Sean Kendall - NASource Imports
I am not sure if this is something I am missing or a bug in wicket (1.5.7) (Tomcat 6) Basically, I am trying to add CSS and JS references to my 'BasePage' (extends WebPage) and my references are not loading. The actual markup has a link to the JS and CSS files, yet they do not link to the actual

Re: Panel not getting refreshed...

2012-06-11 Thread kshitiz
This is the new code now: public class Search extends WebPage { public Search(final PageParameters pageParameters) { super(pageParameters); final SearchDomain searchDomain = new SearchDomain(); *FormSearchDomain searchForm = new FormSearchDomain(searchForm,