I filed an issue https://issues.apache.org/jira/browse/WICKET-4925
2012/12/12 Vitaly Tsaplin
> Hi Martin,
>
> Ok. But what if I want to remove it and then add again later? In my case
> I have several behaviors that are relatively heavy to create and I switch
> them.
>
> Vi
nent because it cannot create
> callbackUrl for more than one.
>
>
> On Wed, Dec 12, 2012 at 4:06 PM, Vitaly Tsaplin >wrote:
>
> > Hi,
> >
> > It looks like it is not possible to remove an instance of
> > AbstractAjaxBehavior. The behavior keeps refer
ave time to debug it right now but as far as I know the crypting
>> algorithm doesn't use the sessionid.
>> Either try to debug and see what happens or create a ticket with a
>> quickstart and wait until someone of us have time to look at it.
>>
>> On Wed, Apr 13, 2011 at 11
ngStrategy());
}
};
}
2011/4/13 Martin Grigorov :
> well, this is what crypting does ...
> but I think the url is still bookmarkable, i.e. clicking on it always
> creates a new instance of ProductViewPage
>
> On Wed, Apr 13, 2011 at 9:37 AM, Vitaly Tsaplin
> wrote:
>
>> Hi Martin,
=:com.tsaplin.web.engine.components.commerce.ProductViewPage&id=5
Vitaly
2011/4/13 Martin Grigorov :
> On Tue, Apr 12, 2011 at 9:11 PM, Vitaly Tsaplin
> wrote:
>
>> Hi everyone,
>>
>> I am using CryptedUrlWebRequestCodingStrategy to encode urls. I also
>> put an instance of BookmarkablePageLink on
Hi everyone,
I am using CryptedUrlWebRequestCodingStrategy to encode urls. I also
put an instance of BookmarkablePageLink on my page and the link that
has been generated by this is NOT bookmarkable. What's wrong I am
doing? Do I always have to mount my page as bookmarkable?
Best regards,
Vitaly
();
My code adds and removes components via ajax dynamically.
So it wouldn't be reasonably safe technique if the component gets
re-attached twice within a single request.
Vitaly
2010/12/13 Igor Vaynberg :
> oninitialize()
>
> -igor
>
> On Mon, Dec 13, 2010 at 8:0
Hi everyone,
I far as I could find out there is onRemove method which gets
called once a component has been removed from its parent. But how
about the opposite? How to get notified when a component is added to a
hierarchy? (setParent is final)
Best regards,
Vitaly
---
Sorry, I was a part of my code :)
RequestCycle.get ().getRequestTarget () instanceof AjaxRequestTarget
On Tue, Nov 23, 2010 at 2:18 PM, Vitaly Tsaplin
wrote:
> AjaxUtils.isAjaxRequest ()
>
> On Tue, Nov 23, 2010 at 2:13 PM, nino martinez wael
> wrote:
>> Hi
>>
&g
AjaxUtils.isAjaxRequest ()
On Tue, Nov 23, 2010 at 2:13 PM, nino martinez wael
wrote:
> Hi
>
> I have a page which are ajax enabled, on first rendering (non ajax) it
> should render some css. On subsequent renderings(ajax) it should only render
> if new css has been added.
>
> So I need to fi
Hi everyone,
It seems there is an inconsistency in the way DropDownChoice (when
localizeDisplayValues returns true) and EnumLabel localize they
values. DropDownChoice uses toString and EnumLabel - toString + enum
class name which makes me either have to keys for the same value or
override En
Hi everyone,
I am curious why the Link class does not implement something like
what 'wantOnSelectionChangedNotifications()' mechanism does for
CheckBox, DropDownChoice, etc.?
I have implemented FormLink and I use it as a subclass for
everything that has to extend Link since it can fall b
> In simple cases it makes no difference. It makes real difference with
> some complex widgets (for example search components) that must be
> reused on many pages and they should render differently on each page
> depending on how much space and what context they are in. I don't like
> duplicating c
My only hope is that the solution you end up with will not make us
running some sort of script against all the sorces we have.
On Mon, Nov 8, 2010 at 7:30 PM, Martin Makundi
wrote:
>>> I'm sorry to say, but the whole discussion makes little sense to me and
>>> these attempts to fix something that
> I'm sorry to say, but the whole discussion makes little sense to me and
> these attempts to fix something that is not broken actually scares me a bit.
+1
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additio
-server
round-trip which will involve a regular wicket ajax call.
Should I create an issue for that?
On Sat, Mar 14, 2009 at 7:34 PM, Vitaly Tsaplin
wrote:
> Hi guys,
>
> Is there any way to process a wicket ajax envelope sent in some
> non-wicket way like using jQuery or Proto
Hi guys,
Is there any way to process a wicket ajax envelope sent in some
non-wicket way like using jQuery or Prototype?
It seem that I can somehow utilize loadedCallback () but i don't
know how to call it right way.
Vitaly
-
Hi there,
Which implementation of IRequestTarget to choose for generating a
custom response (xml or a plain text response e.g.) using
getRequestCycle().setRequestTarget(...) in a listener method? I was
thinking about EmptyRequestTarget but the javadoc says "...does
nothing in itself but instea
Hi there,
I would propose to meet in Geneva!! ;)
Vitaly
On Fri, Feb 20, 2009 at 1:57 PM, jWeekend wrote:
>
> Thomas,
>
> This is partly because, strange as it may seem, not everyone that develops
> with Wicket uses this list. We have clients and students that have come over
> for jWeekend Wicke
Hi there,
What is the best place to add AjaxRequestTarget.IListener? And what
is a life time of this listener? When is it removed?
Vitaly
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional comm
Hi there,
Actually I have a behavior which implemented like the following
@Override
public void onRendered (Component component)
{
String scr = null;
if (isAjaxRequest ())
{
Hi there,
I have a component which is a subclass of FormComponentPanel. Inside
it has an input field with a validator attached. Validator calls error
(validatable, resourceKey). And so far it's ok. But except my error
message I see another one "Your input is invalid." which I don't like
to be
render the response from the url.
>
> It is nice if you can then continue working in the application. I
> suggest a page that says "Thank you for your vote, it counts" in a
> friendly message.
>
> Martijn
>
> On Fri, Dec 19, 2008 at 12:07 PM, Vitaly Tsaplin
>
>
> Martijn
>
> On Fri, Dec 19, 2008 at 10:24 AM, Vitaly Tsaplin
> wrote:
>> Hi there,
>>
>> The simplest example is a link for accessing a user profile. It's
>> unique and once clicked should cause opening a user profile. Or what
>> even more int
Hi there,
The simplest example is a link for accessing a user profile. It's
unique and once clicked should cause opening a user profile. Or what
even more interesting is the links that are generated for performing
some specific actions like for a voting when the user by clicking on
the link
8, 2008 at 11:58 AM, Martijn Dashorst
<[EMAIL PROTECTED]> wrote:
> You already need the link in the markup and you need the action in the
> javacode. What are you complaining about?
>
> You don't use base pages?
>
> Martijn
>
> On Mon, Dec 8, 2008 at 11:55 AM, V
ashorst
<[EMAIL PROTECTED]> wrote:
> Wicket is not an action framework. There won't be any mount action
> thingies if I can help it.
>
> Why not just create a LogoutLink extends Link which does this?
>
> Think components, not actions.
>
> Martijn
>
> On Mon, D
ew Label("msg", "You have been logged out."));
>getSession().invalidate();
>}
> }
>
> mountBookmarkablePage("/logout", LogoutPage.class);
>
> Martijn
>
> On Mon, Dec 8, 2008 at 10:28 AM, Vitaly Tsaplin
> <[EMAIL PROTECTED]>
Hi there,
Something like:
mountAction ("/logout", new Action () {
public void perform () {
doLogout ();
}
);
Is is somehow possible?
Vitaly
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
pulateItem - but thats a ListItem, I need a
> AjexRequestTarget to append the javascript?
>
>
>
> On Sun, Aug 17, 2008 at 1:28 PM, Vitaly Tsaplin <[EMAIL PROTECTED]>wrote:
>
>> Hi,
>>
>> The item is already on your page so just use its html id in the
>>
Hi,
The item is already on your page so just use its html id in the
javascript script you use to highlight it.
Vitaly
On Sun, Aug 17, 2008 at 1:22 PM, Wayne Pope
<[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I have a ListView that displays a list of cars (say).
> I have a small form on
It depends how you create your modal window. If it contains a page
(iframe) then passing a component belonging to a main page to a modal
window is not a solution. At least it did not work for me. The work
around was to either open a modal window as a panel and pass the
component as a constructor ar
cket/apidocs/org/apache/wicket/extensions/markup/html/repeater/data/table/NoRecordsToolbar.html
>>>
>>> Notice the part about NoRecordsToolbar.
>>>
>>> On Sun, Jul 27, 2008 at 7:53 AM, Vitaly Tsaplin
>>> <[EMAIL PROTECTED]> wrote:
>>>> DataTabl
n, Jul 27, 2008 at 12:59 PM, Vitaly Tsaplin
> <[EMAIL PROTECTED]> wrote:
>> Thank you Igor,
>>
>> It's a good idea! So this component would complete the set of
>> three: DataView, PagingNavigator and NoItemLabel (or kind of).
>>
>> Vitaly
simply pass in the
> dataview into it and override isvisible() { return
> dataview.getitemcount()==0; }
>
> -igor
>
> On Sat, Jul 26, 2008 at 5:53 PM, Vitaly Tsaplin
> <[EMAIL PROTECTED]> wrote:
>> Hi everyone,
>>
>> Can anyone suggest a way to a
Hi everyone,
Can anyone suggest a way to add a messages like "No items" in case
if no items can be presented by the DataView. Currently I am using a
simple label hiding it if something presents. Is there any other way?
Or someone could generalize it by baking it to a reusable component?
gt; >
>
>
> Am 30.04.2008 um 12:17 schrieb Vitaly Tsaplin:
>
>
> >
> >
> >
> > Hi everyone,
> >
> > Firebug is complaining as follows:
> >
> > [Exception... "Component is not available" nsresult: "0x80040111
> > (NS_
Hi everyone,
Firebug is complaining as follows:
[Exception... "Component is not available" nsresult: "0x80040111
(NS_ERROR_NOT_AVAILABLE)" location: "JS frame ::
file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js
:: sss_saveState :: line 1753" data: no]
[Break on this
Hi everyone,
It seems that if you add a hidden field named "x" to your form the
field is going to be filled by the form action url :) It should be
easy to reproduce.
Vitaly
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
l aspect in
wicket are very limited. The client side shouldn't be jailed by the
server side anyhow. A javascript developer should always have a change
to tweak the tricky nature of javascript.
On Sun, Apr 27, 2008 at 11:21 AM, Uwe Schäfer <[EMAIL PROTECTED]> wrote:
> Vitaly Tsaplin schri
gt; -igor
>
>
> On Sat, Apr 26, 2008 at 5:20 PM, Vitaly Tsaplin
>
>
> <[EMAIL PROTECTED]> wrote:
> > | if you contribute an incompatible version you are still left with a
> > | nonworking component. so what is better now?
> >
> >
esome if datepicker
> depended on our own internal and namespaced javascript. but looking at
> the modal window and autocomplete textfield, i dont think that is a
> business we want to be in necessarily as it is a huge timesink.
>
> -igor
>
> On Sat, Apr 26, 2008 at 4:28
me kind of library isolation as osgi,
> or when the js library authors catch on and at least bother to
> namespace all their code life will be easier.
>
> -igor
>
>
> On Sat, Apr 26, 2008 at 3:05 PM, Vitaly Tsaplin
>
> <[EMAIL PROTECTED]> wrote:
>
>
> &
c,
>
> Maurice
>
> On Fri, Apr 25, 2008 at 6:24 PM, Nino Saturnino Martinez Vazquez Wael
>
>
> <[EMAIL PROTECTED]> wrote:
> >
> >
> > Vitaly Tsaplin wrote:
> >
> > > Isn't it often better to explicitly declare the list of java
Fri, Apr 25, 2008 at 5:12 PM, Nino Saturnino Martinez Vazquez Wael
<[EMAIL PROTECTED]> wrote:
>
>
> Vitaly Tsaplin wrote:
>
> > I mean sometimes the library like prototype or whatever is
> > necessary just to make some decorations in a markup.
> > A good exampl
>
>
> http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-stuff-contrib-input-events
>
> Vitaly Tsaplin wrote:
>
> >
> >
> >
> > Hi everyone,
> >
> > There are many usecases when it could be necessary to write some
> > javascript b
.org/confluence/display/STUFFWIKI/wicket-stuff-contrib-input-events
>
> Vitaly Tsaplin wrote:
>
> >
> >
> >
> > Hi everyone,
> >
> > There are many usecases when it could be necessary to write some
> > javascript by hands directly in the html
Hi everyone,
There are many usecases when it could be necessary to write some
javascript by hands directly in the html file. So I need to reference
the library I use in a head section of my html file. But having a
reusable component written in java which is depending on the same
javascript l
Hi,
I have the case where I need to create a hidden form to provide a
server side with some javascript values (no ajax, just a regular
get/post). The form is essentially auxiliary and so it isn't
represented into a markup somehow but it's going to be created on the
fly. However I would like
;
> Maurice
>
>
>
> On Wed, Apr 23, 2008 at 1:06 AM, Vitaly Tsaplin
> <[EMAIL PROTECTED]> wrote:
> >Hi everyone,
> >
> >A page containing a form is opened in a popup window (a true
> > browser window) and being submitted if the form
Hi everyone,
A page containing a form is opened in a popup window (a true
browser window) and being submitted if the form has been processed
successfully it should close itself automatically and update a part of
a parent page (the opener) using an ajax call. Have anyone faced a
similar probl
Hi everyone,
I am going to ask probably the most stupid question ever :) Why
does the method getObject of IModel return Object but not
Serializable? I suspect a model object is meant to be always stored in
a session?
Vitaly
---
...It's also worth to mention an extremely helpful community!
On Tue, Apr 15, 2008 at 10:39 PM, Andrew Broderick
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> Just wanted to take time to say I LOVE WICKET! It is a completely different
> approach from the other MVC frameworks. For modularity, stability
> I just looked at the Multiply example and it seems to make sense. Again, if
> anyone wants to share any tips/input regarding this (or how to avoid traps),
> please don't be shy ;-)
>
> Michael
>
>
>
> -Original Message-
> From: Vitaly Tsaplin [mailto:[EM
It seems that a simple panel would be the best approach.
On Sat, Apr 12, 2008 at 1:37 AM, Michael Mehrle <[EMAIL PROTECTED]> wrote:
> I need to build a TabbedPanel with three tabs which are part of one form
> - the selected tab will contain form components which need to be
> submitted by that
d then in your markup set it
> to your javascriptvariable.
>
> Maurice
>
>
>
> On Thu, Apr 10, 2008 at 5:39 PM, Vitaly Tsaplin
> <[EMAIL PROTECTED]> wrote:
> >Hi everyone,
> >
> >How to pass an arbit
Hi everyone,
How to pass an arbitrary javascript variable to onSubmit?
Vitaly
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ed. I am not so strict as you can think but since
wicket people are struggling for every final keyword in the API I am
trying to be conceptual as well :)
On Wed, Apr 9, 2008 at 5:30 PM, John Krasnay <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 09, 2008 at 05:09:03PM +0200, Vitaly Tsaplin wrot
What is going to happen if I call getModel on such a component? The
model should be properly unwrapped I suspect. It's a logical behavior.
Is it possible to achieve?
On Wed, Apr 9, 2008 at 3:03 PM, John Krasnay <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 08, 2008 at 11:03:52PM
> wrote:
> On Tue, Apr 08, 2008 at 08:16:18PM +0200, Vitaly Tsaplin wrote:
> >Thanks John,
> >
> >It was the idea that came to my mind first. The question is where I
> > can create such a wrapper? I need to have it compatible with
> > C
08, 2008 at 06:41:20PM +0200, Vitaly Tsaplin wrote:
> >Hi everyone,
> >
> >Lets say I am going to use a single integer value as a model object
> > for the component CheckBoxMultipleChoice packing the selected choices
> > somehow to this value as bits. Wh
Hi everyone,
Lets say I am going to use a single integer value as a model object
for the component CheckBoxMultipleChoice packing the selected choices
somehow to this value as bits. Where can I do such a conversion? The
method getConvertor is not called... the methods getConvertedInput and
s
Create your own captcha :) The idea of the
RenderedDynamicImageResource is brilliant. You just need to implement
the render (Graphics2D gfx) method. Draw there whatever you want. It's
even better. No one will be able to reuse the algorithm to teach a
neuronet :)
On Thu, Apr 3, 2008 at 2:32 PM,
Ohh, sorry. I see :) It should work...
On Sun, Mar 30, 2008 at 3:27 AM, Vitaly Tsaplin
<[EMAIL PROTECTED]> wrote:
> Thanks for your help, Matthew, but it seems doesn't help me
> neither... I still cannot distinguish a regular page link and a
> incrementing link (wh
(String
> id, IPageable pageable, int pageIndex) {
> Link link = super.newPagingNavigationLink(id,
> pageable, pageIndex);
> link.add(currentPageLinkClassifier);
> return link;
> }
>
Probably you can add a class attribute to incrementing links or
change its tag... The reason is to be able to apply a styling to this
links separately.
On Sun, Mar 30, 2008 at 1:56 AM, Vitaly Tsaplin
<[EMAIL PROTECTED]> wrote:
>It works but as I said it highlights not only the
, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>
>
> div.nav em { color:red; }
>
> -igor
>
>
> On Sat, Mar 29, 2008 at 5:04 PM, Vitaly Tsaplin
>
>
> <[EMAIL PROTECTED]> wrote:
> >It simply doesn't work. That's why I am asking... t
The current page is like this:
>
>wicket:id="pageNumber">7
>
> So you can just style the tag to whichever way you like.
>
> On Sat, Mar 29, 2008 at 4:46 PM, Vitaly Tsaplin <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > Hi,
> >
> > Ho
Hi,
How do I change an appearance of a link pointing to a currently
presented page? It seems I am supposed to implement my own navigator
component from scratch? Any ideas?
Vitalz
-
To unsubscribe, e-mail: [EMAIL PROTECT
aurice
>
>
>
> On Fri, Mar 28, 2008 at 4:42 PM, Vitaly Tsaplin
> <[EMAIL PROTECTED]> wrote:
> >Hi people,
> >
> >My question is simple... :) How to use an action level
> > authorization. I cannot find any info or example.
> >As
Hi people,
My question is simple... :) How to use an action level
authorization. I cannot find any info or example.
As I can guess I have to associate a role using setMetaData () with
a component and then in IAuthorizationStrategy.isActionAuthorized () I
do an actual check by taking the a
What is the proper location for the setModelObject () method to be
called from? ...onBeforeRender ()?
P.S. Sorry... a spell checker doen't help... true... :))
On Wed, Mar 26, 2008 at 8:40 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> On Wed, Mar 26, 2008 at 11:40 AM,
Hi gays,
What is the best way to reset (or clear or set) a model value every
time when page rendered?
I am trying to do it in onBeforeRender () but it seems to not work.
Vitaly
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Sorry... It seems it is my fault. Something wrong in my code :)
On Wed, Mar 26, 2008 at 10:09 AM, Vitaly Tsaplin
<[EMAIL PROTECTED]> wrote:
>Hi everyone,
>
>It seems I have a problem with an ajax request interapted by a page
> reload. I suspect it happens because m
Hi everyone,
It seems I have a problem with an ajax request interapted by a page
reload. I suspect it happens because my page is reloaded before the
request is finished. Is there any way to query if the page is still
valid during an ajax handling method invocation?
Vitaly
--
only first time it's created. I need it be rendered again and again
every time my page is rendered. How to achieve this goal?
On Mon, Mar 24, 2008 at 9:40 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> see NonCachingImage
>
> -igor
>
>
>
>
> On Mon, Mar 24
Hi guys,
How to add a random attribute to an URL created by a
RenderedDynamicImageResource subclass to enforce a browser update on
every request?
I think I saw it somewhere but I cannot remember where exactly...
Vitaly
-
Hi everyone,
Does anyone know how to conditionally skip a component update in
case of using the AjaxSelfUpdatingTimerBehavior? For example if the
data is not updated and so there is no need to update the component.
Vitaly
-
Wow! Exactly. Thanks Erik.
On Thu, Mar 20, 2008 at 2:56 PM, Erik van Oosten <[EMAIL PROTECTED]> wrote:
> Do you mean http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html?
>
> Regards,
> Erik.
>
>
> Vitaly Tsaplin schreef:
>
>
> >Hi everyone,
Hi everyone,
Is there any wicket markup reference? Is it documented?
Vitaly
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Oh, sorry. I meant "write in javadoc" :)
On Thu, Mar 20, 2008 at 2:02 AM, Vitaly Tsaplin
<[EMAIL PROTECTED]> wrote:
>For me that's probably fine if you will clearly right in javadoc
> that anyone who overrides checkRequired should carefully call
> isRe
ike the method that they
> override already did for 2 years!
>
> The removal of the final keyword had in this particular case big
> consequentes it really changed the api behavior.
>
> Johan
>
>
>
> On 3/20/08, Vitaly Tsaplin <[EMAIL PROTECTED]> wrote:
>
Whatever... the only thing you should do asap is to modify the
javadoc... according to the current state. For now it's confusing...
On Thu, Mar 20, 2008 at 1:18 AM, Vitaly Tsaplin
<[EMAIL PROTECTED]> wrote:
>What if a requirement cannot be met if an input contains only
>
lic
> > > > > > > > >
> > > > > > > > > And if i want to test for requirement from outside i dont
> > > want
> > > > > to
> > > > > > > call
> > > > > > > > > first for every thing isRequired
t; > > > wrote:
> > > >
> > > > > why dont we build that check into validateRequired()
> > > > >
> > > > > so validateRequired() { if (isrequired() { ...current code } }
> > > > >
&g
so validateRequired() { if (isrequired() { ...current code } }
> > > >
> > > > that way you never have to call checkrequired() directly, just call
> > > > validaterequired()
> > > >
> > > > -igor
> > > >
> i agree with vitaly, johan?
> > >
> > > -igor
> > >
> > >
> > > On Wed, Mar 19, 2008 at 2:51 PM, Vitaly Tsaplin
> > > <[EMAIL PROTECTED]> wrote:
> > > >But the javadoc says:
> > > >
> &g
it
> checks if the input is set
>
>
> On Wed, Mar 19, 2008 at 10:32 PM, Vitaly Tsaplin <[EMAIL PROTECTED]>
>
>
> wrote:
>
> > checkRequired () itself shouldn't be called at all unless
> > setRequired is true...
> >
> > On Wed, Mar 19,
t; {
>
> On Wed, Mar 19, 2008 at 2:24 PM, Vitaly Tsaplin <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > Hi guys,
> >
> > According to the wicket javadoc the method checkRequired () of the
> > FormComponent class "...should typica
Hi guys,
According to the wicket javadoc the method checkRequired () of the
FormComponent class "...should typically only be called when
isRequired() returns true."
But it seems to be different...
public final void validate()
{
validateRequired(); <<<
you are doing can be accomplished with a regular
> panel that has a setrequired(boolean) method...
>
> -igor
>
>
>
> On Mon, Mar 17, 2008 at 5:41 PM, Vitaly Tsaplin
>
>
> <[EMAIL PROTECTED]> wrote:
> >My component accepts 3 models as parameters, and
input. second part makes sure
> that your type-conversion did not take a non-null input and convert it
> into null...this is the part that is failing for you. that is
> something you should properly implement...
>
> -igor
>
>
> On Mon, Mar 17, 2008 at 3:18 PM, Vitaly Tsap
reportRequiredError();
}
if (isValid())
{
validateValidators();
}
}
}
On Mon, Mar 17, 2008 at 11:18 PM, Vitaly Tsaplin
<[EMAIL PROTECTED]> wrote:
> True. But I do... unfortunately.
True. But I do... unfortunately.
On Mon, Mar 17, 2008 at 11:15 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> you should not, since checkrequired() will pass.
>
> -igor
>
>
> On Mon, Mar 17, 2008 at 2:47 PM, Vitaly Tsaplin
>
>
> <[EMAIL PROTECTED]> wrote
no, that means that effectively required check is disabled - eg it always
> passes
>
> -igor
>
>
> On Mon, Mar 17, 2008 at 2:15 PM, Vitaly Tsaplin
>
>
> <[EMAIL PROTECTED]> wrote:
> > If the method checkRequired () returns TRUE that means, I guess, the
&g
is
> that for a formcomponentpanel it is often a noop. so that is the best
> default implementation we can provide. you can always override it to
> implement some logic if you need...
>
> -igor
>
>
> On Mon, Mar 17, 2008 at 1:13 PM, Vitaly Tsaplin
>
>
> <
17, 2008 at 9:09 PM, Vitaly Tsaplin
<[EMAIL PROTECTED]> wrote:
>I am not sure but I suspect that if the method checkRequired
> returns true a requirement condition must always met in any case or
> the behavior is different?
>
>
>
> On Mon, Mar 17, 2008 at 8:5
-igor
>
>
> On Mon, Mar 17, 2008 at 12:06 PM, Vitaly Tsaplin
>
>
> <[EMAIL PROTECTED]> wrote:
> >It should be probably like this
> >
> > if (isValid() && (isRequired() ? !checkRequired
> > () : true) &&
heck. Doesn't call the chechRequired ()
{
reportRequiredError();
}
On Mon, Mar 17, 2008 at 8:02 PM, Vitaly Tsaplin
<[EMAIL PROTECTED]> wrote:
>But if checkRequired () returns true isRequired () called again
> generating a validation error...
>
>
>
heck. Doesn't call the chechRequired ()
{
reportRequiredError();
}
On Mon, Mar 17, 2008 at 7:47 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> sure it does, see the first line of validate()
>
> -igor
>
>
>
>
> On Mon
1 - 100 of 127 matches
Mail list logo