hi, in your example, there aren't behaviours, or where are they?
On Thu, Sep 24, 2009 at 5:54 AM, jWeekend jweekend_for...@cabouge.comwrote:
Chris,
The fact that you've chosen to use Wicket probably shows there's not so
much danger of that!
To better see what's going on, try the snippet
Hi all,
ich have a component (textfield) with an FXValidationAjaxHandler. If i
set this component in pageconstructor to visible(false) then the needed
javascript code for validation is not contributed to pageheader. if set
to visible(true) all is fine.
does anyone had the same problem and if so,
javascript contributions do not show up for components that are not
visible, add it to a visible component instead.
-igor
On Wed, Sep 23, 2009 at 7:15 AM, Giambalvo, Christian
christian.giamba...@excelsisnet.com wrote:
Hi all,
ich have a component (textfield) with an FXValidationAjaxHandler.
Hi,
first thanks for reply.
Well, it's not possible to add it to a visible component.
Let me explain.
I have 2 custom panels and depending on the selection in a dropdownchoice the
corresponding panel gets visible or hidden. Because one of these panels need to
be invisible on page construction
put the two panels into a parent container that is always visible.
-igor
On Wed, Sep 23, 2009 at 1:37 PM, Giambalvo, Christian
christian.giamba...@excelsisnet.com wrote:
Hi,
first thanks for reply.
Well, it's not possible to add it to a visible component.
Let me explain.
I have 2 custom
i'm sorry, but doesn't work.
i attached a simple project.
i added the needed components to a webmarkupcontainer.
instead of panels this time i used requiredtextfields to keep it as simple as
possible.
one textfield is visible the other invisible.
here is the generated markup:
?xml version=1.0
i meant add the javascript to a container that is visible.
components that are not visible do not render their javascript, it
wouldnt make any sense for them to do otherwise.
-igor
On Wed, Sep 23, 2009 at 5:16 PM, Giambalvo, Christian
christian.giamba...@excelsisnet.com wrote:
i'm sorry, but
well, it makes no sense to add the javascript to another container.
how should i validate the textfields if the javascript points to a different
component?
or could you give me an example?
-Ursprüngliche Nachricht-
Von: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
Gesendet: Do
maybe i'm to stupid to understand what you mean.
so please provide an example.
thx
-Ursprüngliche Nachricht-
Von: Giambalvo, Christian [mailto:christian.giamba...@excelsisnet.com]
Gesendet: Do 24.09.2009 02:45
An: users@wicket.apache.org
Betreff: AW: FXValidationAjaxHandler - Javascript
Why validate the input on a textfield that isn't displayed to the user?
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Sep 23, 2009 at 7:45 PM, Giambalvo, Christian
christian.giamba...@excelsisnet.com wrote:
well, it makes no sense to add the javascript to another container.
how
Chris,
The fact that you've chosen to use Wicket probably shows there's not so much
danger of that!
To better see what's going on, try the snippet below in the project you attached
// ... mark t2 final and
// append this to your BasePage constructor
11 matches
Mail list logo