Re: Exceptions in MyApplication.init()

2009-10-23 Thread Josh Glassman
There is a wiki page with information on creating custom error pages. http://cwiki.apache.org/WICKET/error-pages-and-feedback-messages.html Hopefully that is what you are looking for! Josh On Fri, Oct 23, 2009 at 12:34 PM, Tomás Rossi tro...@mecon.gov.ar wrote: Hey people, I've noted that

Re: RequiredTextFieldInteger

2009-12-30 Thread Josh Glassman
the constructor that takes the class type arg -igor On Wed, Dec 30, 2009 at 12:52 PM, Josh Glassman josh...@gmail.com wrote: Hi all, I am having a problem with Ajax updates from a RequiredTextFieldInteger.  I get a ClassCastException when the model object is updated, because the convertedInput

Re: String Resource Loading from DB

2010-04-20 Thread Josh Glassman
Yup, you have the right idea. Something like... public class DatabaseStringResourceLoader implements IStringResourceLoader {...} And then in your WebApplication.init()... getResourceSettings().addStringResourceLoader(new DatabaseStringResourceLoader()); Cheers, Josh

Re: String Resource Loading from DB

2010-04-22 Thread Josh Glassman
not resolve, e.g. page class name Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Wed, Apr 21, 2010 at 1:46 PM, Josh Glassman josh...@gmail.com wrote: Not sure what you mean about implementing a unique class... any class which inherits from Component can call

Re: formsubmitbehaviour and textarea with tinymce behaviour

2010-05-05 Thread Josh Glassman
http://wicketbyexample.com/wicket-tinymce-some-advanced-tips/

Re: wicket tinymce blank string

2010-05-05 Thread Josh Glassman
http://stackoverflow.com/questions/240546/removing-html-from-a-java-string . . . and then . . . yourStringWithoutHTML.trim().isEmpty()

Re: Math captcha with Wicket?

2010-05-06 Thread Josh Glassman
Take a look at http://wicket.apache.org/docs/1.4/org/apache/wicket/extensions/markup/html/captcha/CaptchaImageResource.html You might need to override some of it, or make your own customized version to get the text and look you want. Looks like a good starting point at least. On Thu, May 6,

Re: Combo Box (help!)

2010-05-06 Thread Josh Glassman
[Ljava.lang.String;@HEX looks like you are stuffing an Array of Strings into a String. So, it calls String[].toString() and stuffs that into your String, like so... System.out.println(new String[] {string, array});. I'm not real familiar with the choice renderer, so I'm not sure how this would

Re: new feature in trunk and branch: Component#onInitialize()

2010-07-13 Thread Josh Glassman
Nice, I have one or two places where onInitialize would make more sense than onBeforeRender. Thanks for the update! One question, does it matter where in the override we call super#onInitialize (beginning or end)?

Re: TextFieldInteger

2010-07-22 Thread Josh Glassman
There is also a constructor that will take a Class type as a parameter. On Thu, Jul 22, 2010 at 3:11 PM, T Ames tamesw...@gmail.com wrote: I think you have to use the setType(Integer.class) method on the TextField object. setType public final FormComponent

Wicket Stuff TinyMCE Update?

2010-10-29 Thread Josh Glassman
Hi All, Who if anyone is in charge of the Wicket Stuff TinyMCE project? I have been having some issues with it and noticed that the TinyMCE files have not been updated since the initial 3.3 release. I tried simply replacing the tiny_mce folder inside a copy of the tinymce-1.4.12.jar with the

Re: Wicket Stuff TinyMCE Update?

2010-10-29 Thread Josh Glassman
to take it over. -igor On Fri, Oct 29, 2010 at 8:40 AM, Josh Glassman josh...@gmail.com wrote: Hi All, Who if anyone is in charge of the Wicket Stuff TinyMCE project? I have been having some issues with it and noticed that the TinyMCE files have not been updated since the initial 3.3 release

Re: Wicket Stuff TinyMCE Update?

2010-10-29 Thread Josh Glassman
if you want more details. -igor On Fri, Oct 29, 2010 at 10:05 AM, Josh Glassman josh...@gmail.com wrote: I would be willing to do so, at least temporarily.  How do I get commit permissions, and how do I get a build created and installed to the maven repo? On Fri, Oct 29, 2010 at 11:44 AM

Re: Wicket Stuff TinyMCE Update?

2010-10-29 Thread Josh Glassman
Thank you both! I just committed the new files to the 1.4 branch. I'll look into updating the project for 1.5 as soon as I am able. Josh On Fri, Oct 29, 2010 at 1:51 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: you are in -igor On Fri, Oct 29, 2010 at 10:26 AM, Josh Glassman josh