you cannot do something like this:

palette.add(new ajaxformcomponentupdatingbehavior() {...})

instead you have to do it to one of the internal components which are
available via factory methods on Palette

-igor

On Mon, Jan 11, 2010 at 9:31 AM, Chuck Brinkman <[email protected]> wrote:
> Can you tell me what this means "The palette itself cannot be ajaxified
> because it is a panel and therefore does not receive any javascript
> events."?  Would a palette without javascript require full page loads?
>
> On Mon, Jan 11, 2010 at 11:41 AM, Igor Vaynberg 
> <[email protected]>wrote:
>
>> you can build a palette that works without javascript but the user
>> experience will probably be poor
>>
>> -igor
>>
>> On Sun, Jan 10, 2010 at 11:41 PM, Chuck Brinkman <[email protected]>
>> wrote:
>> > As you can guess I'm new to wicket.  Seems very good so far.  I found
>> this
>> > Palette component and thought it might work well for me but I need to
>> make
>> > some modifications.  So I started to dig in.  I noticed that the
>> component
>> > uses js.  I thought wicket was just java and just html.  I do realize
>> that
>> > is a little but of marketing hype but could this component have been
>> > implemented without any js?  I read this in the Palette.java source file:
>> > The palette itself cannot be ajaxified because it is a panel and
>> therefore
>> > does not receive any javascript events.  I don't know what this means.
>>  Does
>> > this mean that the click events to move data around could not be sent to
>> the
>> > server?  Can this only be done using js?  Or was js selected because it
>> > would be too slow otherwise?  If I just need to RTFM just say so.  I
>> would
>> > appreciate some insight if someone has time.  Thanks
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to