Re: NullPointer at WizardModel in WizardStep using 1.5.3

2012-07-13 Thread bamse
Thanks for your reply. Your hint regarding the reset-method made me look in the sourcecode for WizardModel, where I found this code, new in 1.5: for(IWizardstep step : steps){ step.init(this);} Putting this into my own implematation did the trick. -- View this message in context:

Re: jboss ignoring html request

2012-07-13 Thread Martin Grigorov
Make sure that your filter is specified before WicketFilter in web.xml. The servlet container executes them in the order they are specified. If WicketFilter is executed first and it process the request then it wont call chain.doFilter() and thus your filter wont be executed. On Fri, Jul 13, 2012

Re: Brix CMS and Jackrabbit - tech stack decision question

2012-07-13 Thread Martin Grigorov
Hi, You may ask these questions at Brix's mailing list. See answers inline. On Thu, Jul 12, 2012 at 10:36 PM, Alexander Cherednichenko lex...@gmail.com wrote: Hi all! We need to make a webapp which is like 50% custom coding and 50% CMS - there is some specific logic but main skeleton of the

Re: remove ?1 in pages

2012-07-13 Thread Martin Grigorov
Hi Josh, There is a custom IRequestMapper that removes the id from the url. You will need to dig in the mail archives for it. Another way is to use RenderStrategy.ONE_PASS_RENDER. It has its disadvantages so make sure you read its javadoc. On Thu, Jul 12, 2012 at 4:23 PM, Josh Kamau

Re: Missingresourceexception only in Firefox but not in Chrome or Safari

2012-07-13 Thread Ernesto Reinaldo Barreiro
It might be that those browser have different default locale and for the locale on chrome and safari you have he resource BasePage.title but not for the locale on your FF? On Fri, Jul 13, 2012 at 10:26 AM, Pablo Diaz Redondo inspd...@gmail.comwrote: Hi, I get this error when I run my app in

Re: NullPointer at WizardModel in WizardStep using 1.5.3

2012-07-13 Thread Sven Meier
So you have your own IWizardModel implementation? Yes, then you'll have to initialize the steps by yourself. I'll update the migration info. Thanks Sven bamse b-har...@online.no schrieb: Thanks for your reply. Your hint regarding the reset-method made me look in the sourcecode for

Re: Custom XHTML tag

2012-07-13 Thread Decebal Suiu
Hi First, is it a good question. My solution use jqwicket tooltip and I touch both java and html files but it's ok for me. InlineHelp.java public class InlineHelp extends Panel { private static final long serialVersionUID = 1L; public InlineHelp(String id, IModelString messageModel) {

Re: Missingresourceexception only in Firefox but not in Chrome or Safari

2012-07-13 Thread Pablo Diaz Redondo
Thanks, I modified the default language in Fireforx Preferences, and nothing change, but I tried to move my Base_es.properties file to Base.properties, and runs well. Is there another way to set the default app language in Wicket? Thanks. El 13/07/2012, a las 10:34, Ernesto Reinaldo

Re: Missingresourceexception only in Firefox but not in Chrome or Safari

2012-07-13 Thread Decebal Suiu
In your Session override getLocale() ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Missingresourceexception-only-in-Firefox-but-not-in-Chrome-or-Safari-tp4650503p4650508.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Missingresourceexception only in Firefox but not in Chrome or Safari

2012-07-13 Thread Pablo Diaz Redondo
No, I don't override getLocale, I only have a panel to change the locale when the user likes such as the above code: public class ChangeLocalePanel extends Panel { private static final long serialVersionUID = -627656359411214982L; private static class LocaleDropDown extends

Re: Determine session size for Wicket 1.5

2012-07-13 Thread Ian Marshall
Hello, Is there a good way to discover my serialised or about-to-be-serialised session size without adding the debug bar to my page? I currently use @Override protected void onAfterRender() { super.onAfterRender(); CloudSession ssnSession = (CloudSession)getSession(); long

Re: Determine session size for Wicket 1.5

2012-07-13 Thread Martin Grigorov
Override Session#onDetach() and do it before calling super.onDetach(). On Fri, Jul 13, 2012 at 2:01 PM, Ian Marshall ianmarshall...@gmail.com wrote: Hello, Is there a good way to discover my serialised or about-to-be-serialised session size without adding the debug bar to my page? I

Re: Generate html page from java POJO in Wickets

2012-07-13 Thread Decebal Suiu
See at http://incubator.apache.org/isis/viewer/wicket/docbkx/html/guide/ch01s02.html a comparison between apache isis wicket viewer and other wicket rad frameworks. -- View this message in context:

Re: Determine session size for Wicket 1.5

2012-07-13 Thread Ian Marshall
Thanks Martin, I could not find onDetach() but found detach() so I have done this in my WebSession subclass: @Override public void detach() { long loSize = getSizeInBytes(); m_logger.log(Level.FINE, String.format(Session size = %,dB., loSize)); super.detach(); } This seems

Re: wicket 1.5 confirmation ajaxbutton

2012-07-13 Thread Andrea Del Bene
Hi, I've tried your code with Wicket 1.5.7 and it seems to work. What kind of error are you getting? add(new AjaxLinkFile(delete) { @Override public void onClick(AjaxRequestTarget target) { }

Re: Custom XHTML tag

2012-07-13 Thread Jered Myers
This seems to be getting me where I want to go with the xhtml tag: http://sanityresort.blogspot.com/2011/08/creating-custom-wicket-tag-resolver.html On 07/13/2012 01:40 AM, Decebal Suiu wrote: Hi First, is it a good question. My solution use jqwicket tooltip and I touch both java and html

Re: jboss ignoring html request

2012-07-13 Thread wicket user
I dont have Wicket Filter in my web.xml though i can see this servlet-nameWicketApplication/servlet-name servlet-classorg.apache.wicket.protocol.http.WicketServlet/servlet-class I am assuming this will call WicketFilter intern. But before this i have make sure my filter is being