Re: Custom implementation of IStringResourceLoader not working

2011-01-31 Thread armandoxxx
will try .. 10x ! Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Custom-implementation-of-IStringResourceLoader-not-working-tp3244747p3248311.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Submit form after onchange of Field

2011-01-31 Thread MattyDE
No one has any idea? Cant believe it -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Submit-form-after-onchange-of-Field-tp3236003p3248332.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Use Byte for CheckBox instead of Boolean

2011-01-31 Thread MattyDE
@ rolandpeng: Thanks alot. It works great! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Use-Byte-for-CheckBox-instead-of-Boolean-tp3236065p3248333.html Sent from the Users forum mailing list archive at Nabble.com.

[SOLVED] Custom implementation of IStringResourceLoader not working

2011-01-31 Thread armandoxxx
it works .. thank you ! Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Custom-implementation-of-IStringResourceLoader-not-working-tp3244747p3248335.html Sent from the Users forum mailing list archive at Nabble.com.

[SOLVED] Nesting Links

2011-01-31 Thread armandoxxx
Here we go ... //... from code ... AjaxFallbackLink link1 = new AjaxFallbackLinkT(article-link-1, new ModelT((T)this.getDefaultModelObject())) { private static final long serialVersionUID = 8011531891135888415L;

correct way to get css classes of component

2011-01-31 Thread Patrick Petermair
Hi! I was trying to solve the problem of replacing a specific css class of a wicket component with another css class. Google pointed me to the following thread: http://apache-wicket.1842946.n4.nabble.com/How-to-add-and-remove-css-classes-the-right-way-td1868408.html The nice and simple

Re: correct way to get css classes of component

2011-01-31 Thread Pedro Santos
You can override the Component#onComponentTag or AbstractBehavior#onComponentTag method and use the ComponentTag API to deal with the tag attributes. On Mon, Jan 31, 2011 at 9:07 AM, Patrick Petermair patrick.peterm...@openforce.com wrote: Hi! I was trying to solve the problem of replacing

Re: Submit form after onchange of Field

2011-01-31 Thread Pedro Santos
You can iterate over your form components and add an AjaxFormSubmitBehavior for the event onchange On Mon, Jan 31, 2011 at 7:11 AM, MattyDE ufer.mar...@gmail.com wrote: No one has any idea? Cant believe it -- View this message in context:

Cheap chaining of compound property model to propertymodel

2011-01-31 Thread Brown, Berlin [GCG-PFS]
In this code, do you think I am using the method CompoundPropertyModel.bind properly? See my example in Code2, below. In my snippet Code1, the values for the propertymodel were lost when I did an ajax onClick. But in Code2, the values are retained... Code1: Panel { Panel() {

Re: Cheap chaining of compound property model to propertymodel

2011-01-31 Thread Pedro Santos
Two possible problems: - duplicated instances, then you set some property at instance 1 expecting to see it changed at instance 2 - missing Component#modelChanged, since you need to signal the form component that you have set some property into its model the best would be you send a quickstart

Re: setResponsePage weirdness

2011-01-31 Thread msj121
You might want to use a Wizard for the record. Just curious does first page add anything to the page, perhaps a new url and redirect is not necessary if no Wicket Components were added, try adding some Wicket Label about a redirect or something (just trying to narrow this down). Just curious,

Static member wicket version... post 1.4.13

2011-01-31 Thread Brown, Berlin [GCG-PFS]
Is there a way to print the wicket version number from wicket class files or property files? E.g. Version.buildNum or something similar? Berlin Brown

Re: Static member wicket version... post 1.4.13

2011-01-31 Thread James Carman
http://wicket.apache.org/apidocs/1.4/org/apache/wicket/settings/IFrameworkSettings.html#getVersion%28%29 On Mon, Jan 31, 2011 at 11:16 AM, Brown, Berlin [GCG-PFS] berlin.br...@primerica.com wrote: Is there a way to print the wicket version number from wicket class files or property files?

Re: Static member wicket version... post 1.4.13

2011-01-31 Thread MZemeck
The Wicket version and deployment mode are also output during startup... From: James Carman ja...@carmanconsulting.com To: users@wicket.apache.org Date: 01/31/2011 11:33 AM Subject:Re: Static member wicket version... post 1.4.13 Sent by:jcar...@carmanconsulting.com

Re: setResponsePage weirdness

2011-01-31 Thread msj121
Okay, So don't use a link on the html page for FirstPage. Try redirecting when there is an html page with some filler, try adding a wicket label if plain html doesn't work. Although it's not the best solution it will narrow down the problem! The Wizard is useful in the sense, you can go

Re: correct way to get css classes of component

2011-01-31 Thread msj121
You can also use an AttributeModifier, which will give you the old value (as I recall). overriding the method onComponentTag(ComponentTag tag), will let you easily put a new variable for your class etc... but you will need to use tag.get(), and tag.put(tag.get()+...). Looks somewhat messy when

Newbie Question

2011-01-31 Thread Fernando O.
Hi All, how are you? I'm new in this list, actually I'm new to wicket and I'm trying to learn it. So far I hadn't found any issues and it worked great until I came across this anoying problem, I have as part of my html: I wanted to add to a page a button with a text, on click the button hits

Re: Newbie Question

2011-01-31 Thread Igor Vaynberg
onclick (target) { setvisible(false); target.add(this); } -igor On Mon, Jan 31, 2011 at 4:46 PM, Fernando O. fot...@gmail.com wrote: Hi All, how are you?   I'm new in this list, actually I'm new to wicket and I'm trying to learn it. So far I hadn't found any issues and it worked great until

Re: Newbie Question

2011-01-31 Thread Fernando O.
Thanks!!! worked! On Mon, Jan 31, 2011 at 9:50 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: onclick (target) { setvisible(false); target.add(this); } -igor On Mon, Jan 31, 2011 at 4:46 PM, Fernando O. fot...@gmail.com wrote: Hi All, how are you? I'm new in this list, actually I'm

Mapping wicket:id to component without changing Java code

2011-01-31 Thread Alec Swan
Hello, I would like to add credit card processing form to many different pages in my application. However, I don't know which pages it will be added to and it is up to the web designer to decide. I would like to allow the web designer to be able to put div wicket:id=creditCardForm/ anywhere in

JWicket drag/drop handle

2011-01-31 Thread flavius
I'm trying to create a widget/gadget (similar to google's home page or yahoo). I've got it largely figured out except for one thing. I'm trying to restrict the drag operation to just the top div (the header). So my widget will look like this: div class=widget div class=wheaderDrag here/div