Re: Getting Redirected To A Resource Reference (Image, CSS) On Invalid URL

2011-07-07 Thread Johan Compagner
Isn't this just an encrypted url request to an session that is already expired? On Jul 7, 2011 4:06 PM, "Horacio Natyural" wrote: > Hi, > > anyone ever encountered this kind of error? > i'm getting another page whenever I get this error. It's very > intermettent and I'm not sure what's causing it.

Re: IConverter.convertToObject not called

2011-07-07 Thread Igor Vaynberg
class functionmodel implements imodel { private final imodel delegate; private final function get, set; public object getobject() { return get.apply(delegate.getobject(); } public object setobject(val) { delegate.setobject(set.apply(val)); } } new textfield("foo", new functionmodel(text

Re: How can I encapsulate similar behavior yet varying markup?

2011-07-07 Thread Igor Vaynberg
a) class mypanel extends panel { mypanel () { add(new listview() { onpopulateitem(item) { mypanel.this.onpopulateitem(): }{}); } protected abstract onpopulateitem(item); } b) instead of trying to encapsulate both the listview and the button in the component make a reusable button class

Re: IConverter.convertToObject not called

2011-07-07 Thread T P D
I see your point -- because you're right, it's not a /type/ conversion I'm looking for. But I am looking for a /format/ conversion. It would be handy if IConverter allowed that too, by unconditionally applying the conversion. The Wicket example of formatting phone numbers (http://www.wicket-

How can I encapsulate similar behavior yet varying markup?

2011-07-07 Thread T P D
I want to add several "collapsable" ListViews: a listview paired with a button to toggle showing either the full list or the fist N elements. But each listview's populateItem and corresponding markup will be different. If I write a Wicket Panel, I'm not only "locked-in" to one set of markup. I

Re: IConverter.convertToObject not called

2011-07-07 Thread Igor Vaynberg
this is not a problem. yoru textfield's input is already a string, so there is no need to convert it to a string. String convertToObject(String) doesnt make sense. -igor On Thu, Jul 7, 2011 at 4:36 PM, T P D wrote: > I've added an IConverter to a TextField, to do formatting. > > The converter's

IConverter.convertToObject not called

2011-07-07 Thread T P D
I've added an IConverter to a TextField, to do formatting. The converter's convertToString method is called on render, but convertToObject is not called on form submit. Some of the Wicket 1.3 examples suggest that this is a known problem, and suggest using a wrapper type as a work-around. A

Re: Optional validation

2011-07-07 Thread Igor Vaynberg
validators are not called if the fields are left blank... -igor On Thu, Jul 7, 2011 at 12:59 PM, Viktoras wrote: > Hi list, > > I've got  an "edit account" window, where administrator/account owner can > optionally change password, that is: > * if he intents not to change his current password, h

Optional validation

2011-07-07 Thread Viktoras
Hi list, I've got an "edit account" window, where administrator/account owner can optionally change password, that is: * if he intents not to change his current password, he leaves "password" and "confirm password" fields empty; * to change password, standart form validators should apply, that

Re: [ANNOUNCE] Wicketopia 0.9 Released...

2011-07-07 Thread androidcoolguy
James, I am a new user of wicketopia :) I tried your cool tool and I got the NPE error. I am not sure what else need to be configured for Spring to inject PersistenceProvider. It might not be injected due to something I need to setup in the Spring applicationContext? Would you mind sharing the xm

Re: Generate PDF

2011-07-07 Thread Igor Vaynberg
put a target="export" attribute on the link tag. -igor On Thu, Jul 7, 2011 at 5:32 AM, ramlael wrote: > Hi Friends, > > I have requirement need to generate pdf with string data which is in byte > stream and need to open in new window (pop up).  I have used below code , > but its displaying in sa

Re: UrlCompressingWebCodingStrategy

2011-07-07 Thread Horacio Natyural
i just removed encryption from cryptedurlcodingstrategy instead... seems to remove the wicket word Thanks On Thu, Jul 7, 2011 at 11:11 PM, Martin Grigorov wrote: > In 1.4 this is not possible. > In 1.5 it was possible in the early RCs but now this parameter is not > even needed. > > On Thu,

Re: UrlCompressingWebCodingStrategy

2011-07-07 Thread Martin Grigorov
In 1.4 this is not possible. In 1.5 it was possible in the early RCs but now this parameter is not even needed. On Thu, Jul 7, 2011 at 5:09 PM, Horacio Natyural wrote: > it seems that wicket is hard coded in the code... > is there anyway that this could be replaced? > > are there any other webcod

Re: UrlCompressingWebCodingStrategy

2011-07-07 Thread Horacio Natyural
it seems that wicket is hard coded in the code... is there anyway that this could be replaced? are there any other webcodingstrategies other than urlcompressing and encryptedurlstrategy? Thanks On Thu, Jul 7, 2011 at 10:36 PM, Horacio Natyural wrote: > Hi, > > How do I replace the word 'wicket'

Re: How to turn off the ModificationWatcher Task?

2011-07-07 Thread Martin Grigorov
The answer is still the same. Put a breakpoint in org.apache.wicket.settings.Settings.getResourceWatcher(boolean) and see why it enables. On Thu, Jul 7, 2011 at 4:45 PM, eugenebalt wrote: > Hi, > > We already do setResourcePollFrequency(null). But the Debug statements still > keep appearing every

Re: How to turn off the ModificationWatcher Task?

2011-07-07 Thread eugenebalt
Hi, We already do setResourcePollFrequency(null). But the Debug statements still keep appearing every half-a-second. I can't close my Console window in Eclipse because it immediately re-appears with more messages. The question is still open, how to turn off these ModificationWatcher messages? --

UrlCompressingWebCodingStrategy

2011-07-07 Thread Horacio Natyural
Hi, How do I replace the word 'wicket' that appears in UrlCompressingWebCodingStrategy? Thanks! Carlo - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Getting Redirected To A Resource Reference (Image, CSS) On Invalid URL

2011-07-07 Thread Martin Grigorov
Try to eliminate the candidates for the problem: - remove the encrypting and try - remove SSL and try On Thu, Jul 7, 2011 at 4:06 PM, Horacio Natyural wrote: > Hi, > > anyone ever encountered this kind of error? > i'm getting another page whenever I get this error. It's very > intermettent and I'

Getting Redirected To A Resource Reference (Image, CSS) On Invalid URL

2011-07-07 Thread Horacio Natyural
Hi, anyone ever encountered this kind of error? i'm getting another page whenever I get this error. It's very intermettent and I'm not sure what's causing it. it only seems to happen on an SSL instance. Are those SSL characters? rlWebRequestCodingStrategy - Invalid URL: main?x=KHsKMhrrd-D04mkpqd*

Re: Wicket Encrypted URL Redirects To A Css Image

2011-07-07 Thread Horacio Natyural
here are some of the logs rlWebRequestCodingStrategy - Invalid URL: main?x=KHsKMhrrd-D04mkpqd*xsmCmGwRvNVoUPmz4BBdww8DLo4rNdEHOs25kQrwCz-EEu7JIh1GOXL7GXVhqHfJi1g, exception type: org.apache.wicket.WicketRuntimeException, exception message:Unable to decrypt the text '({ 2�w���i)�߱�`ï¿

Re: Wicket Encrypted URL Redirects To A Css Image

2011-07-07 Thread Horacio Natyural
oh , and to add to it, this only happens on an SSL site, it doesn't happen on non http sites. what's weird is, i don't get an error but i'm redirected to an image or a css file. On Thu, Jul 7, 2011 at 9:08 PM, Horacio Natyural wrote: > im geting unable to decrypt url text in mu server l

Re: Wicket Encrypted URL Redirects To A Css Image

2011-07-07 Thread Horacio Natyural
im geting unable to decrypt url text in mu server logs dont know if they are relates though? any ideas ? why am i getting redirected to my resource files ? tnx On Jul 7, 2011, at 6:45 PM, Martin Grigorov wrote: > Attach a debugger to WicketFilter#doFilter() and see what kind of > reques

Generate PDF

2011-07-07 Thread ramlael
Hi Friends, I have requirement need to generate pdf with string data which is in byte stream and need to open in new window (pop up). I have used below code , but its displaying in same window, not in pop up.. please can you help me on this. public void downloadPdf(RequestCycle requestCycle, f

Re: Not closing the datepicker upon clicking outside

2011-07-07 Thread ramlael
HI Andrea , Do you have any idea, how to do in Wicket? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Not-closing-the-datepicker-upon-clicking-outside-tp3648593p3651340.html Sent from the Users forum mailing list archive at Nabble.com. -

Re: Not closing the datepicker upon clicking outside

2011-07-07 Thread Andrea Del Bene
I thought it was easier...anyway in the example I posted yesterday calendar is closed with a specific click handler: // Hide Calendar if we click anywhere in the document other than the calendar 2Event.on(document, "click", function(e) { 3 4var el = Event.getTarget(e); 5var

Re: Not closing the datepicker upon clicking outside

2011-07-07 Thread Martin Grigorov
Please, you do it and send us the related part. We have our tasks and issues to solve. No time to do yours. On Thu, Jul 7, 2011 at 1:25 PM, ramlael wrote: > Refer this URL for plain YUI : > http://developer.yahoo.com/yui/examples/calendar/calcontainer.html > > -- > View this message in context:

Re: Not closing the datepicker upon clicking outside

2011-07-07 Thread ramlael
Refer this URL for plain YUI : http://developer.yahoo.com/yui/examples/calendar/calcontainer.html -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Not-closing-the-datepicker-upon-clicking-outside-tp3648593p3651222.html Sent from the Users forum mailing list archive at

Re: Not closing the datepicker upon clicking outside

2011-07-07 Thread ramlael
refer this site for plan YUI : http://developer.yahoo.com/yui/examples/calendar/calcontainer.html -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Not-closing-the-datepicker-upon-clicking-outside-tp3648593p3651221.html Sent from the Users forum mailing list archive at

Re: error - serialization

2011-07-07 Thread Carl-Eric Menzel
On Thu, 7 Jul 2011 12:36:45 +0200 "Miroslav F." wrote: > After investigation I will answer myself - it is bug in tomcat, if > you are using tomcat > 6.0.29 upgrade to 6.0.31. Sounds like an interesting bug. Do you have any more information on this? > Carl, static variables are good if you are g

Re: error - serialization

2011-07-07 Thread Martin Grigorov
On Thu, Jul 7, 2011 at 12:36 PM, Miroslav F. wrote: > After investigation I will answer myself - it is bug in tomcat, if you are > using tomcat > 6.0.29 upgrade to 6.0.31. > > Carl, static variables are good if you are going to do something like "DB > connection > factory" and you will reuse exist

Re: Wicket Encrypted URL Redirects To A Css Image

2011-07-07 Thread Martin Grigorov
Attach a debugger to WicketFilter#doFilter() and see what kind of requests come from the client. If it is crypted then it's interesting what is the decrypted value for it. On Thu, Jul 7, 2011 at 12:16 PM, Horacio Natyural wrote: > Is this related? > > ever since we placed this tag thats when the

RE: error - serialization

2011-07-07 Thread Miroslav F.
After investigation I will answer myself - it is bug in tomcat, if you are using tomcat 6.0.29 upgrade to 6.0.31. Carl, static variables are good if you are going to do something like "DB connection factory" and you will reuse existing connection. When you will do in your style you will make new c

Re: Wicket Encrypted URL Redirects To A Css Image

2011-07-07 Thread Horacio Natyural
Is this related? ever since we placed this tag thats when the error occurs also another instance is when i accesesed the home page, the css file appeared instead. thanks On Thursday, July 7, 2011, Horacio Natyural wrote: > hi, > > i've found that we have several components implementing I

Re: Not closing the datepicker upon clicking outside

2011-07-07 Thread Martin Grigorov
How would you do it with plain YUI ? On Thu, Jul 7, 2011 at 11:19 AM, ramlael wrote: > Please suggest me on this... > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Not-closing-the-datepicker-upon-clicking-outside-tp3648593p3651028.html > Sent from the Users fo

Re: Not closing the datepicker upon clicking outside

2011-07-07 Thread ramlael
Please suggest me on this... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Not-closing-the-datepicker-upon-clicking-outside-tp3648593p3651028.html Sent from the Users forum mailing list archive at Nabble.com.

AjaxIndicator help needed

2011-07-07 Thread armandoxxx
Hey guys ... sorry for double post .. but I really really need help .. http://apache-wicket.1842946.n4.nabble.com/ObjectAutoCompleteField-and-ajax-indicator-td3650331.html link to original topic regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Ajax

Re: Wicket Disk Page Store Location

2011-07-07 Thread Martin Grigorov
fileStoreFolder = (File)((WebApplication)Application.get()).getServletContext() .getAttribute("javax.servlet.context.tempdir"); if (fileStoreFolder != null) { ret

Wicket Disk Page Store Location

2011-07-07 Thread Horacio Natyural
Hi, where does Wicket store its disk page store? is it in java.io.tmpdir? if i use glassfish, where will it be placed? i can't seem to locate it? this is where wicket stores serialized pages right? help! Thanks Horacio - To

Re: wicketstuff site down

2011-07-07 Thread Johan Compagner
power failure at the ISP, not everything came up, should be fine now On Thu, Jul 7, 2011 at 02:37, Steve Swinsburg wrote: > Hi all, > > The wicketstuff site is down > > http://wicketstuff.org/wicket/ > Safari can’t open the page “http://wicketstuff.org/wicket/” because Safari > can’t connect to