Re: [Wicket-user] AjaxEventBehavior + TR element + IE6

2006-08-12 Thread Pierre-Yves Saumont
Hi Lorin,

Quoting Igor :

you cannot update tr/tbody/etc tags via outerhtml 

(see 
http://www.nabble.com/Ajax-Submit-default-to-Non-Ajax-Submit---tf2081101.html#a5751334)

I had a similar problem with TBODY. Although it was supposed not to 
work, it worked in Firefox, but not in IE6 (which was quite confusing). 
For me, the solution was to use the whole table as a target or wrap it 
in another container and use that lat one as teh target. Perhaps you 
could wrap the row content in a container. (I do not know if this would 
cause problem in HTML) Alternatively, you could wrap each TD content in 
a SPAN or DIV and add each one to the target.

I am working myself on such an example (a table where you can for 
example select a row, drag it between others to reorder and drag it on a 
dustbin icon to delete it, and so on, but I have not yet reach that point !)

Pierre-Yves

Lorin Metzger a écrit :
 Hi,
 
 
 I was trying to create a DataTable that allowed row selection, by adding 
 a AjaxEventBehavior to the Item of a DataTable.This works fine with 
 Firefox 1.5, but I'm having problems with IE6.   The onEvent() method 
 gets called when the user clicks a row in the table, but calling 
 AjaxRequestTarget.addComponent(item); does not cause the table item to 
 be updated to indicate that it has been selected in IE6.   Similarly as 
 a test calling AjaxRequestTarget.addJavascript(alert(\This is a 
 javascript Alert\)); Does not get executed in IE6.
 
 
 This only seems to apply to the table Item or TR element, in IE6.  I 
 can add a AjaxEventBehavior to the table itself, and the table gets 
 updated when addComponent() is called, and the addJavascript() gets 
 executed as expected even in IE6.
 
 
 Does anybody know if this is a limitation with IE6?
 
 
 A crude example of what I'm trying do is shown below.
 
 
 Thanks for any help you can provide.
 
 
 int selected_row = -1;
 DataTable table = new DataTable(..., ..., ..., ...)
 {
 protected Item newRowItem(String id, final int index, IModel model)
 {
  final Item item = super.newRowItem(id, index, model);
  item.add(new AjaxEventBehavior(onclick)
  {
   protected void onEvent(AjaxRequestTarget target)
   {
selected_row = index;
target.addComponent(item);
}
  };
  item.add(new SimpleAttributeModifier(class, selected)
  {
 public boolean isEnabled()
 {
  return index == selected_index;
 }
  };
  }
 };
 
 
 
 
 -Lorin
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] stop AjaxSelfUpdatingTimerBehavior programmatically ?

2006-08-12 Thread Igor Vaynberg
no it is not possible. i actually needed the same functionality recently and so i noticed this shortcoming as well. please file an rfe for 1.3 and i will add it in...right now i cant because it will break the api.in the meantime what i did was write an ajax poller that is similar to the timer behaviors but allows me to stop it, its only a few lines of code...i will check if i can release it monday if you would like. its not exactly what you want but it might be a good starting point.
-Igorrespond(target) { if (continuepolling()) { target.addjavascript(On 8/11/06, Ingram Chen 
[EMAIL PROTECTED] wrote:Hi all, Is there any way to stop AjaxSelfUpdatingTimerBehavior programmatically ?
I am writting a small chat app and require to stop self updating to reduce server load when user is idle. I check AbstractAjaxTimerBehavior but both updateInterval and response(target) are final...
Is it possible to do ?Thanks in advance.-- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: 

http://www.javaworld.com.tw/roller/page/ingramchen

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AjaxEventBehavior + TR element + IE6

2006-08-12 Thread Igor Vaynberg
yes it works in firefox, but even them sometimes when i tried it i got duplication because the old item was not removed. it doesnt work at all in explorer - you get the mysterious runtime error.also i tried wrapping tr and td in divs/spans and that did not help at all either. i wish you better luck, it would be great to have a solution for this but im not holding my breath.
-IgorOn 8/11/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote:
Hi Lorin,Quoting Igor :you cannot update tr/tbody/etc tags via outerhtml (seehttp://www.nabble.com/Ajax-Submit-default-to-Non-Ajax-Submit---tf2081101.html#a5751334
)I had a similar problem with TBODY. Although it was supposed not towork, it worked in Firefox, but not in IE6 (which was quite confusing).For me, the solution was to use the whole table as a target or wrap it
in another container and use that lat one as teh target. Perhaps youcould wrap the row content in a container. (I do not know if this wouldcause problem in HTML) Alternatively, you could wrap each TD content in
a SPAN or DIV and add each one to the target.I am working myself on such an example (a table where you can forexample select a row, drag it between others to reorder and drag it on adustbin icon to delete it, and so on, but I have not yet reach that point !)
Pierre-YvesLorin Metzger a écrit : Hi, I was trying to create a DataTable that allowed row selection, by adding a AjaxEventBehavior to the Item of a DataTable.This works fine with
 Firefox 1.5, but I'm having problems with IE6. The onEvent() method gets called when the user clicks a row in the table, but calling AjaxRequestTarget.addComponent(item); does not cause the table item to
 be updated to indicate that it has been selected in IE6. Similarly as a test calling AjaxRequestTarget.addJavascript(alert(\This is a _javascript_ Alert\)); Does not get executed in IE6.
 This only seems to apply to the table Item or TR element, in IE6.I can add a AjaxEventBehavior to the table itself, and the table gets updated when addComponent() is called, and the addJavascript() gets
 executed as expected even in IE6. Does anybody know if this is a limitation with IE6? A crude example of what I'm trying do is shown below. Thanks for any help you can provide.
 int selected_row = -1; DataTable table = new DataTable(..., ..., ..., ...) { protected Item newRowItem(String id, final int index, IModel model) {final Item item = 
super.newRowItem(id, index, model);item.add(new AjaxEventBehavior(onclick){ protected void onEvent(AjaxRequestTarget target) {
selected_row = index;target.addComponent(item);}};item.add(new SimpleAttributeModifier(class, selected)
{ public boolean isEnabled() {return index == selected_index; }};} };
 -Lorin - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Palette AjaxFormComponentUpdatingBehavior

2006-08-12 Thread Igor Vaynberg
have you tried to use a form submitting behavior?the problem is that it is the recorder component that needs to be submitted - it is the hidden field that keeps track of the selection.-Igor
On 8/11/06, samyem [EMAIL PROTECTED] wrote:
I could not make this work. I tried to overrideprotected Component newSelectionComponent()and did:new AjaxFormComponentUpdatingBehavior(onsubtreemodified){..}I tried a few variations and none of my effort was able to invoke any kind
of event when the palette's content changed. Any ideas?igor.vaynberg wrote: its because pallette is not a field it is a compound component. you have to attach the behavior to one of palette's internal components. the palette
 has factory methods for all its internal components so you probably have to add it to one of those...i havent looked at it so its just a guess. -Igor On 8/8/06, Samyem Tuladhar 
[EMAIL PROTECTED] wrote: How do I use AjaxFormComponentUpdatingBehavior with Palette ? There seem to be no effect using it the same way as with other text form fields.
 Thanks, - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job
 easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list 
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job
 easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user--View this message in context: http://www.nabble.com/Palette-AjaxFormComponentUpdatingBehavior-tf2075278.html#a5770553
Sent from the Wicket - User forum at Nabble.com.-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] stop AjaxSelfUpdatingTimerBehavior programmatically ?

2006-08-12 Thread Ingram Chen
Thanks! Igor, I have created a RFE for this item. If you have time to release some code snips, it is great helpful !On 8/12/06, Igor Vaynberg 
[EMAIL PROTECTED] wrote:no it is not possible. i actually needed the same functionality recently and so i noticed this shortcoming as well. please file an rfe for 
1.3 and i will add it in...right now i cant because it will break the api.in the meantime what i did was write an ajax poller that is similar to the timer behaviors but allows me to stop it, its only a few lines of code...i will check if i can release it monday if you would like. its not exactly what you want but it might be a good starting point.
-Igorrespond(target) { if (continuepolling()) { target.addjavascript(On 8/11/06, 
Ingram Chen 
[EMAIL PROTECTED] wrote:
Hi all, Is there any way to stop AjaxSelfUpdatingTimerBehavior programmatically ?
I am writting a small chat app and require to stop self updating to reduce server load when user is idle. I check AbstractAjaxTimerBehavior but both updateInterval and response(target) are final...
Is it possible to do ?Thanks in advance.-- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: 


http://www.javaworld.com.tw/roller/page/ingramchen

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list

Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: 
http://www.javaworld.com.tw/roller/page/ingramchen
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Change in handling non serializable-objects in 1.2.1?

2006-08-12 Thread Mats Norén
The application works when setting the
setSerializeSessionAttributes(false) but the page is obviously not
serializable so I'll have to correct that. Thanks for the tip, Igor.




On 8/11/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 i dont know, i just replaced the logging level check with a setting.

 -Igor



 On 8/11/06, Johan Compagner  [EMAIL PROTECTED] wrote:
 
  Is the page detached when we do that???
 
  the call comes from Session.touch(Page) (i have the same problem now in
 2.0 with the second level cache)
  Because the page is detached only as the last thing when the
 RequestTarget.detach is called.
  But touch is called much earlier...
 
 
  johan
 
 
 
 
 
  On 8/11/06, Igor Vaynberg [EMAIL PROTECTED]  wrote:
  
   in application.init() call
 getDebugSettings().setSerializeSessionAttributes(false);
  
   this feature defaults to on in devel mode and off in prod mode - before
 it was triggered by having your logger set to debug on a certain package
 which was a bit too ugly.
  
  
   -Igor
  
  
  
  
   On 8/11/06, Juergen Donnerstag  [EMAIL PROTECTED] wrote:
1.2.1 only has bug fixes. May be you the check the mail archive. I
remember this problem has been discussed before.
   
Juergen
   
On 8/11/06, Mats Norén  [EMAIL PROTECTED]  wrote:
 Well, I guess it isn't but it worked under 1.2 prior to the release.
 The only change in my application is that I've switched from 1.2 SVN
 (don't know the exact repository version) to 1.2.1.

 Is 1.2 more lenient?

 /Mats


 -
 Using Tomcat but need to do more? Need to support web services,
 security?
 Get stuff done quickly with pre-integrated technology to make your
 job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo

 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net

 https://lists.sourceforge.net/lists/listinfo/wicket-user

   
   
 -
Using Tomcat but need to do more? Need to support web services,
 security?
Get stuff done quickly with pre-integrated technology to make your job
 easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
   
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
  
  
 -
   Using Tomcat but need to do more? Need to support web services,
 security?
   Get stuff done quickly with pre-integrated technology to make your job
 easier
   Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
  
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
 
 
 
 -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job
 easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket + GIS

2006-08-12 Thread Mats Norén
On 8/11/06, Dave Schoorl [EMAIL PROTECTED] wrote:
 Yes, I have build an application which will (someday) be released in
 production on www.nlgis.nl, I'm waiting for the customer to set up a
 meeting for deployment with the hosting party (currently it is
 accessible through it's test-environment on
 http://ip042.niwi.knaw.nl:9099/hgin/app, you can checkout the Demo-link
 in the navigation menu -- just ignore the Dutch ;-) ).

 I have build the user interface with Wicket, basically to define the SLD
 for the the map in the user session. I use Community Mapbuilder as
 client to show the map in the web browser. GeoServer is on the back end.
 Wiring between GeoServer, Community Mapbuilder and my application is
 done with some plain old servlets and a HttpSessionListener. But that
 was mainly necessary because the user can define (and upload) his own
 FeatureTypes (also a custom DataStore was needed for this to let
 GeoServer access the data in the user session).

Interesting, any plans of open sourcing the custom DataStore-part? I
think the GeoServer-guys would be interested in that.

/Mats

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Palette AjaxFormComponentUpdatingBehavior

2006-08-12 Thread samyem

To which component do I bind the ajax form submit behaviour and on which
event?  Perhaps the best approach would have been for the Palette to raise
some kind of event when the content of the Palette changes.


igor.vaynberg wrote:
 
 have you tried to use a form submitting behavior?
 
 the problem is that it is the recorder component that needs to be
 submitted
 - it is the hidden field that keeps track of the selection.
 
 -Igor
 
 
 On 8/11/06, samyem [EMAIL PROTECTED] wrote:


 I could not make this work. I tried to override
 protected Component newSelectionComponent()

 and did:

 new AjaxFormComponentUpdatingBehavior(onsubtreemodified){..}

 I tried a few variations and none of my effort was able to invoke any
 kind
 of event when the palette's content changed. Any ideas?




 igor.vaynberg wrote:
 
  its because pallette is not a field it is a compound component. you
 have
  to
  attach the behavior to one of palette's internal components. the
 palette
  has
  factory methods for all its internal components so you probably have to
  add
  it to one of those...i havent looked at it so its just a guess.
 
  -Igor
 
 
  On 8/8/06, Samyem Tuladhar [EMAIL PROTECTED] wrote:
 
  How do I use AjaxFormComponentUpdatingBehavior with Palette ? There
 seem
  to be no effect using it the same way as with other text form fields.
 
  Thanks,
 
 
 -
  Using Tomcat but need to do more? Need to support web services,
 security?
  Get stuff done quickly with pre-integrated technology to make your job
  easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache
  Geronimo
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 
 
 -
  Using Tomcat but need to do more? Need to support web services,
 security?
  Get stuff done quickly with pre-integrated technology to make your job
  easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

 --
 View this message in context:
 http://www.nabble.com/Palette-AjaxFormComponentUpdatingBehavior-tf2075278.html#a5770553
 Sent from the Wicket - User forum at Nabble.com.


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/Palette-AjaxFormComponentUpdatingBehavior-tf2075278.html#a5778482
Sent from the Wicket - User forum at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Palette AjaxFormComponentUpdatingBehavior

2006-08-12 Thread Igor Vaynberg
i just updated palette to support ajax, see the palette javadoc in svn. the change will be released in 1.2.2.-IgorOn 8/12/06, samyem 
[EMAIL PROTECTED] wrote:To which component do I bind the ajax form submit behaviour and on which
event?Perhaps the best approach would have been for the Palette to raisesome kind of event when the content of the Palette changes.igor.vaynberg wrote: have you tried to use a form submitting behavior?
 the problem is that it is the recorder component that needs to be submitted - it is the hidden field that keeps track of the selection. -Igor On 8/11/06, samyem 
[EMAIL PROTECTED] wrote: I could not make this work. I tried to override protected Component newSelectionComponent()
 and did: new AjaxFormComponentUpdatingBehavior(onsubtreemodified){..} I tried a few variations and none of my effort was able to invoke any kind
 of event when the palette's content changed. Any ideas? igor.vaynberg wrote:   its because pallette is not a field it is a compound component. you
 have  to  attach the behavior to one of palette's internal components. the palette  has  factory methods for all its internal components so you probably have to
  add  it to one of those...i havent looked at it so its just a guess.   -IgorOn 8/8/06, Samyem Tuladhar 
[EMAIL PROTECTED] wrote:   How do I use AjaxFormComponentUpdatingBehavior with Palette ? There seem  to be no effect using it the same way as with other text form fields.
   Thanks,   -  Using Tomcat but need to do more? Need to support web services,
 security?  Get stuff done quickly with pre-integrated technology to make your job  easier  Download IBM WebSphere Application Server v.1.0.1 based on Apache
  Geronimo  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
   ___  Wicket-user mailing list  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
  -  Using Tomcat but need to do more? Need to support web services, security?  Get stuff done quickly with pre-integrated technology to make your job
  easier  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo  
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642  ___  Wicket-user mailing list  
Wicket-user@lists.sourceforge.net  https://lists.sourceforge.net/lists/listinfo/wicket-user  
 -- View this message in context: http://www.nabble.com/Palette-AjaxFormComponentUpdatingBehavior-tf2075278.html#a5770553
 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list 
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -
 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server 
v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user--View this message in context: http://www.nabble.com/Palette-AjaxFormComponentUpdatingBehavior-tf2075278.html#a5778482
Sent from the Wicket - User forum at Nabble.com.-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net