Re: BookmarkablePageRequestTarget not available in 1.5

2011-09-16 Thread Igor Vaynberg
even in 1.4 this can be rewritten as rc.setresponsepage(pageclass, params), in 1.5 it is the same. -igor On Fri, Sep 16, 2011 at 8:33 PM, Chris Colman wrote: > What should we use in 1.5 to implement this 1.4 code: > >                        getRequestCycle().setRequestTarget(new > BookmarkablePa

inmethod grid problem in IE8

2011-09-16 Thread Duy Do
Hi Wicketers, I have a problem with inmethod-grid in IE8 as below error. This issue cause the grid display incorrectly. Is it a bug? And how to fix it? Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; EasyBits GO v1.0; SLCC2; .NET CLR

BookmarkablePageRequestTarget not available in 1.5

2011-09-16 Thread Chris Colman
What should we use in 1.5 to implement this 1.4 code: getRequestCycle().setRequestTarget(new BookmarkablePageRequestTarget(UserAccountPage.class, pageParameters)); ?

Re: Basement Coders Meetup at JavaOne 2011

2011-09-16 Thread Nelson Segura
Can you explain how does it work? I am thinking on going to java one just to check this out. -nelson - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: MixedParamUrlCodingStrategy and form submit

2011-09-16 Thread Igor Vaynberg
what version of wicket? -igor On Thu, Sep 15, 2011 at 3:08 PM, Alexander Gubin wrote: > Googled around, but no clear answer: > > In my app I mount a page like this: > > mount(new MixedParamUrlCodingStrategy("/store/product", ItemPage.class, new > String[]{"itemId", "itemName"})); > > which gives

1.5 bug: nested component ids cannot start with dash when dealing with links

2011-09-16 Thread Bas Gooren
See https://issues.apache.org/jira/browse/WICKET-4061 for further details. Just thought I'd send it to the group. I guess more people are upgrading to 1.5 right now, and this can cause applications to break in an unexpected fashion. When dealing with ids that start with one or more dashes (e.g.

Re: MixedParamUrlCodingStrategy and form submit

2011-09-16 Thread Alexander Gubin
turns out that error() and info() calls from onSubmit method send me to the wrong path too I appreciate any ideas on solving this On 09/15/2011 03:08 PM, Alexander Gubin wrote: Googled around, but no clear answer: In my app I mount a page like this: mount(new MixedParamUrlCodingStrategy("/

Re: Basement Coders Meetup at JavaOne 2011

2011-09-16 Thread Igor Vaynberg
i'll be there... -igor On Fri, Sep 16, 2011 at 2:01 PM, Craig Tataryn wrote: > Hi folks, all the Basement Coders will be at JavaOne this year, and I'm > curious if any Wicketrati will be there too?  If so, lets get together and > burn images of JSF in effigy! (or just grab a beer) :D > > Take

Re: PageReference returning null

2011-09-16 Thread Igor Vaynberg
seems rather strange. quickstart would help. -igor On Fri, Sep 16, 2011 at 1:34 PM, Chris Merrill wrote: > I'm trying to understand why PageReference.getPage() would return null. > I assume that when some criteria is met, a page can be expired from the > cache. Are there any docs on this behavi

Basement Coders Meetup at JavaOne 2011

2011-09-16 Thread Craig Tataryn
Hi folks, all the Basement Coders will be at JavaOne this year, and I'm curious if any Wicketrati will be there too? If so, lets get together and burn images of JSF in effigy! (or just grab a beer) :D Take care, Craig. -- Craig Tataryn site: http://www.basementcoders.com/ podcast: http://www.

PageReference returning null

2011-09-16 Thread Chris Merrill
I'm trying to understand why PageReference.getPage() would return null. I assume that when some criteria is met, a page can be expired from the cache. Are there any docs on this behavior? I have a case where the onSubmit() method is setting the response page using a PageReference to the previous p

Re: GAE, DataView and performance

2011-09-16 Thread Chris Merrill
On 9/15/2011 9:38 AM, manuelbarzi wrote: > may you execute the query db in IDataProvider.iterator, instead of > populateItem. see IDataProvider javadoc. Wow...that was easy! I'm so glad I asked. You guys have thought of everything. I love Wicket! Chris --

Re: Localized mount points for BookmarkablePages?

2011-09-16 Thread Igor Vaynberg
there is an example of this in the new wicket-examples under request mapper examples. -igor On Fri, Sep 16, 2011 at 11:41 AM, Jorge Gallardo wrote: > Hi people, > > What is the best way to achieve this with Wicket 1.5? Still using the same > approach? > > Thanks! > JG > > On Thu, Dec 23, 2010 at

Re: Localized mount points for BookmarkablePages?

2011-09-16 Thread Jorge Gallardo
Hi people, What is the best way to achieve this with Wicket 1.5? Still using the same approach? Thanks! JG On Thu, Dec 23, 2010 at 7:50 AM, Bas Gooren wrote: > I think in wicket 1.4.x this is only possible with a custom mount point; In > other words: > > Override/implement a version of bookmar

Re: AjaxSubmitLink 1.4.18 issue/not working

2011-09-16 Thread Igor Vaynberg
no. i thikn it should be if (typeof(retVal)=="undefined") retVal=true; -igor On Fri, Sep 16, 2011 at 10:58 AM, Martin Grigorov wrote: > return (typeOf retVal === "undefined" || retVal === true) > > in all other cases stop the submit > > looks OK ? > > On Fri, Sep 16, 2011 at 8:57 PM, Martin Gri

Re: AjaxSubmitLink 1.4.18 issue/not working

2011-09-16 Thread Igor Vaynberg
then let the default behavior happen. only convert to "true" if the return type is undefiend. -igor On Fri, Sep 16, 2011 at 10:57 AM, Martin Grigorov wrote: > Yes, sounds like a good idea. > What if the user code returns an object ? > > On Fri, Sep 16, 2011 at 6:11 PM, Igor Vaynberg > wrote: >

Re: AjaxSubmitLink 1.4.18 issue/not working

2011-09-16 Thread Martin Grigorov
return (typeOf retVal === "undefined" || retVal === true) in all other cases stop the submit looks OK ? On Fri, Sep 16, 2011 at 8:57 PM, Martin Grigorov wrote: > Yes, sounds like a good idea. > What if the user code returns an object ? > > On Fri, Sep 16, 2011 at 6:11 PM, Igor Vaynberg > wrot

Re: AjaxSubmitLink 1.4.18 issue/not working

2011-09-16 Thread Martin Grigorov
Yes, sounds like a good idea. What if the user code returns an object ? On Fri, Sep 16, 2011 at 6:11 PM, Igor Vaynberg wrote: > i think in this case we should define the undefined to be true... > > -igor > > On Fri, Sep 16, 2011 at 5:56 AM, Martin Grigorov wrote: >> it seems in your code you hav

Re: pagestore.DiskPageStore error

2011-09-16 Thread Martin Grigorov
"man bash", search for ulimit, see option -n On Fri, Sep 16, 2011 at 7:51 PM, Archana wrote: > I am using Apache wicket 1.4 framework to build web pages in my application, > when ever lot of users try to access the application then am seeing lot of > errors related to diskPageStore and too many f

Re: pagestore.DiskPageStore error

2011-09-16 Thread Igor Vaynberg
search list archives for "Too many open files" or "too many file handles" -igor On Fri, Sep 16, 2011 at 9:51 AM, Archana wrote: > I am using Apache wicket 1.4 framework to build web pages in my application, > when ever lot of users try to access the application then am seeing lot of > errors rel

Re: AjaxSubmitLink 1.4.18 issue/not working

2011-09-16 Thread Igor Vaynberg
i think in this case we should define the undefined to be true... -igor On Fri, Sep 16, 2011 at 5:56 AM, Martin Grigorov wrote: > it seems in your code you have without > returning anything. Since 'if (undefined)' is 'false' the call stops > there. > > On Fri, Sep 16, 2011 at 3:25 PM, Wayne W

Re: AjaxSubmitLink 1.4.18 issue/not working

2011-09-16 Thread Martin Grigorov
it seems in your code you have without returning anything. Since 'if (undefined)' is 'false' the call stops there. On Fri, Sep 16, 2011 at 3:25 PM, Wayne W wrote: > and in what case does it not return anything? > > > On Fri, Sep 16, 2011 at 5:04 PM, Martin Grigorov wrote: >> It should return tr

Re: AjaxSubmitLink 1.4.18 issue/not working

2011-09-16 Thread Wayne W
and in what case does it not return anything? On Fri, Sep 16, 2011 at 5:04 PM, Martin Grigorov wrote: > It should return true or false. > False if there is some reason to not submit the form, for example > client side validation failed. > True if everything is OK and the submit can proceed. > >

Re: Display HTML in Label with validation

2011-09-16 Thread Clint Checketts
Add your own html header and footer tags when validating, () but don't include them when outputting the fragment. On Fri, Sep 16, 2011 at 6:05 AM, manuelbarzi wrote: > sure, but you can try customizing it. inside it you can find > interesting things like HtmlDocumentParser, which you can modify

Re: Problem with stateless login page after moving from Wicket 1.5-RC5.1 to 1.5.0

2011-09-16 Thread Florian B.
Ah thanks for the information. I didn't look in the bug tracker. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-stateless-login-page-after-moving-from-Wicket-1-5-RC5-1-to-1-5-0-tp3817801p3817891.html Sent from the Users forum mailing list archive at Nabbl

Re: Display HTML in Label with validation

2011-09-16 Thread manuelbarzi
sure, but you can try customizing it. inside it you can find interesting things like HtmlDocumentParser, which you can modify to accomplish your needs. it works with a raw html string document, as you may need. . On Fri, Sep 16, 2011 at 12:17 PM, Daniel Stoch wrote: > > Thanks for your suggestio

Re: Problem with stateless login page after moving from Wicket 1.5-RC5.1 to 1.5.0

2011-09-16 Thread Martin Grigorov
WICKET-3991 On Fri, Sep 16, 2011 at 1:58 PM, Florian B. wrote: > Hi, > > I encountered a strange behavior with a stateless login page after moving > from Wicket 1.5-RC5.1 to 1.5.0. > > To assure that the login page is stateless I'm using the StatelessChecker > class. The problem occurs when the l

Problem with stateless login page after moving from Wicket 1.5-RC5.1 to 1.5.0

2011-09-16 Thread Florian B.
Hi, I encountered a strange behavior with a stateless login page after moving from Wicket 1.5-RC5.1 to 1.5.0. To assure that the login page is stateless I'm using the StatelessChecker class. The problem occurs when the login fails because the authenticate() method of the AuthenticatedWebSession

Re: Display HTML in Label with validation

2011-09-16 Thread Martin Grigorov
See whether org.apache.wicket.settings.IMarkupSettings.getMarkupFactory().newMarkupParser(IMarkupResourceStream) will do the job for you. On Fri, Sep 16, 2011 at 1:17 PM, Daniel Stoch wrote: > Thanks for your suggestion. But I need to validate a fragment of HTML, > but it seems that HtmlDocument

Re: Display HTML in Label with validation

2011-09-16 Thread Daniel Stoch
Thanks for your suggestion. But I need to validate a fragment of HTML, but it seems that HtmlDocumentValidator validates only whole documents. >From my point of view the following texts are valid HTML fragments: - This is sample text - This is sample paragraph -- Daniel On Thu, Sep 15, 2011 at 5

Re: Stateful pages without page Id in the url

2011-09-16 Thread Martin Grigorov
It sounds like you need to make your page not versioned : @Override public boolean isVersioned() { return false; } This way the page will not create new versions of it when you make changes in the component tree. When the user presses browser back button sh

Re: Wicket deployment issue on oc4j

2011-09-16 Thread jjagankumar
Wicket deployment on oc4j issue is fixed by changing the name space defination in web.xml file also removed the wicket-jmx-x.x.x.jar from classpath. New: http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://java.sun.com/xml/ns/javaee"; xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5

Re: AjaxSubmitLink 1.4.18 issue/not working

2011-09-16 Thread Martin Grigorov
It should return true or false. False if there is some reason to not submit the form, for example client side validation failed. True if everything is OK and the submit can proceed. On Fri, Sep 16, 2011 at 6:21 AM, Wayne W wrote: > Hi, > > I'm trying to upgrade from 1.4.8 to 1.4.18 and I'm findin