VisitChildren and AjaxTabbedPanel

2010-04-22 Thread MattyDE

I have to traverse from the parent of my Tabs through all components in all
tabs.

As i use now visitChildren i only found the components which are visible
on the active tab. Its clear why, cause the other tabs are not loaded with
ajax.

But are there any way to traverese through ALL Tabs to find all possible
components too?.

This is because i've different forms on this tabs which i want to submit
with one general Save-Button.

Thanks in Advance for any help!
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/VisitChildren-and-AjaxTabbedPanel-tp2020105p2020105.html
Sent from the Wicket - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: String Resource Loading from DB

2010-04-22 Thread Zilvinas Vilutis
the combination of class, key, locale, style must be unique, so if I
have the same keys ( while locale and style is not changing ) - the
classname must be unique. So I cannot use this in anonymous classes,
as it does not resolve, e.g. page class name


Žilvinas Vilutis

Mobile:   (+370) 652 38353
E-mail:   cika...@gmail.com



On Wed, Apr 21, 2010 at 1:46 PM, Josh Glassman josh...@gmail.com wrote:
 Not sure what you mean about implementing a unique class... any class which
 inherits from Component can call getString(String key), which will call your
 custom IStringResourceLoader.  Additionally, you can set the locale on any
 MarkupContainer or the Session, and Components will use their parent's
 locale falling back to the Session's.

 You can also use the wicket:message tag directly in your markup, which uses
 whatever locale it's associated class uses.

 What we do is set the locale on the Session, and use that and a resource key
 to pull the string from the database.  We use DB caching, and turn off the
 built-in resource string caching that wicket does (see below, goes in
 WebApplication.init()).

 getResourceSettings().setLocalizer(new Localizer() {
   @Override
   protected void putIntoCache(String cacheKey, String string) {
      // Do nothing... no caching desired, since our DB layer caches
   }
 });



 On Tue, Apr 20, 2010 at 1:53 PM, Zilvinas Vilutis cika...@gmail.com wrote:

 Yes,

 That seems to work. Although each component which needs to be
 localized needs to implement a unique class, 'cause in many cases the
 Component class is WebMarkupContainer ( if we use components in list
  etc ).

 Does anyone have practice on using any performance experience on that?

 Do you use DB caching or method caching?


 Žilvinas Vilutis

 Mobile:   (+370) 652 38353
 E-mail:   cika...@gmail.com



 On Tue, Apr 20, 2010 at 7:40 AM, Josh Glassman josh...@gmail.com wrote:
  Yup, you have the right idea.
 
  Something like...
     public class DatabaseStringResourceLoader implements
  IStringResourceLoader {...}
 
  And then in your WebApplication.init()...
     getResourceSettings().addStringResourceLoader(new
  DatabaseStringResourceLoader());
 
  Cheers,
  Josh
 



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Strange error

2010-04-22 Thread Dipu
are you using the sysdeo tomcat plugin for eclipse.
We had the same issue y'day and doing this fixed the issue
 - compile the files in the DevLoader.zip and jar it in place it in
tomcat/common lib folder.

dipu

On Wed, Apr 21, 2010 at 1:19 PM, Objelean Alex alex.objel...@gmail.com wrote:
 Hi!
 My application uses wicket-1.4.7. I've noticed recently in logs the
 following error:

 2010-04-21 07:35:18,744 ERROR
 [org.apache.wicket.request.target.resource.SharedResourceRequestTarget]
 unable to lazily register shared resource
 resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js
 java.lang.ClassNotFoundException: resources
    at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
    at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at
 org.apache.wicket.application.DefaultClassResolver.resolveClass(DefaultClassResolver.java:114)
    at
 org.apache.wicket.request.target.resource.SharedResourceRequestTarget.respond(SharedResourceRequestTarget.java:151)
    at
 org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
    at
 org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
    at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
    at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
    at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
    at
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479)
    at
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312)
    at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at
 com.eloquentix.soundpure.web.http.SeoFilter.doFilter(SeoFilter.java:56)
    at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilte



 It doesn't make any sense to me... but maybe somebody have a clue what could
 be a reason.

 Thanks!
 Alex


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Back-button friendly ajax wizard navigation

2010-04-22 Thread Martijn Dashorst
use setResponsePage() to go to the next page when everything is a-ok.
Wicket will instruct the browser to redirect to the new page (iirc).

Martijn

On Wed, Apr 21, 2010 at 11:58 PM, Brian Laframboise
brian.laframbo...@gmail.com wrote:
 Thanks Edward. I was hoping for some means of doing this in a
 redirect-after-post kind of way so that the javascript response to the
 client actually caused the browser to request the next wizard page via a new
 url, creating a back-button history entry. I guess generating that URL for a
 non-bookmarkable page during an ajax form submission and causing the client
 to redirect is not doable.

 In my particular case,  I have a wizard step with a single radio group and
 no default option. Here I expect many users to simply click 'Next' and I was
 hoping to save them the full page submission just to display the error
 message. Unfortunately, here the onblur approach clearly won't work and I
 can't think of another event handler onto which I could attach it.

 However, it still sounds useful for my other form elements and I'll try it
 out there.

 Thanks again for the help.

 On Wed, Apr 21, 2010 at 1:47 PM, Edward Zarecor 
 wic...@indeterminate.orgwrote:

 Since you are changing the DOM dynamically using Ajax, the browser --
 correctly I would say -- isn't considering this a page change, so the
 back button should take you back to the page prior to the wizard.

 The browser history will be immutable from JavaScript, so that's not an
 option.

 To achieve the user experience you want, I think the best alternative
 is to validate your fields via Ajax onblur, but move between wizard
 steps using a form submit.

 Hope this helps.

 Ed.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org






-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.4 increases type safety for web applications
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Strange error

2010-04-22 Thread Dipu
sorry,  ignore my previous message ,problem seems to be some thing else

On Thu, Apr 22, 2010 at 8:38 AM, Dipu dipu@googlemail.com wrote:
 are you using the sysdeo tomcat plugin for eclipse.
 We had the same issue y'day and doing this fixed the issue
  - compile the files in the DevLoader.zip and jar it in place it in
 tomcat/common lib folder.

 dipu

 On Wed, Apr 21, 2010 at 1:19 PM, Objelean Alex alex.objel...@gmail.com 
 wrote:
 Hi!
 My application uses wicket-1.4.7. I've noticed recently in logs the
 following error:

 2010-04-21 07:35:18,744 ERROR
 [org.apache.wicket.request.target.resource.SharedResourceRequestTarget]
 unable to lazily register shared resource
 resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js
 java.lang.ClassNotFoundException: resources
    at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
    at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at
 org.apache.wicket.application.DefaultClassResolver.resolveClass(DefaultClassResolver.java:114)
    at
 org.apache.wicket.request.target.resource.SharedResourceRequestTarget.respond(SharedResourceRequestTarget.java:151)
    at
 org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
    at
 org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
    at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
    at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
    at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
    at
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479)
    at
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312)
    at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at
 com.eloquentix.soundpure.web.http.SeoFilter.doFilter(SeoFilter.java:56)
    at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilte



 It doesn't make any sense to me... but maybe somebody have a clue what could
 be a reason.

 Thanks!
 Alex



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: meaning of stricken item in Wicket 1.5 Wish List on the wiki ?

2010-04-22 Thread Joseph Pachod

Martijn Dashorst wrote:

striken through means:
 1) already happened
 2) already happened elsewhere
 3) never gonna happen

Most items fall in categories 1 and 2

thanks

I updated the wiki accordingly

best
joseph

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



wickestuff-push not working with jetty standalone

2010-04-22 Thread vineet semwal
Hellos,
I am using wicketuff-push in a project,i found it  nice and used it a lot in
a project i am currently working with..
my problem is it's not working when i am using jetty as standalone
ie. usual java -jar start.jar

i also have port forwarding enabled ..
 i don't see any long polling in logs ..
 what i see in logs are just http status codes,two lines from logs..
**
122.160.42.236 -  -  [22/Apr/2010:12:48:25 +] POST /cometd HTTP/1.1
302 0
122.160.42.236 -  -  [22/Apr/2010:12:48:25 +] GET /cometd/ HTTP/1.1
200 1238
**


it works well when i am using it with maven-jetty plugin..

Following is my setup :-
jetty:6.1.23
wicket:1.4.7
push:1.4.7-snapshot


any advice will be welcomed...
-- 
regards,
Vineet Semwal


Re: String Resource Loading from DB

2010-04-22 Thread Josh Glassman
Ah, right... we got around that by not using the class (partly so we could
use the same resource strings across different classes).  The only other
thing I can suggest is to use more unique keys for anonymous classes, though
that is clearly not ideal.  Maybe someone else knows a better solution.

On Thu, Apr 22, 2010 at 3:27 AM, Zilvinas Vilutis cika...@gmail.com wrote:

 the combination of class, key, locale, style must be unique, so if I
 have the same keys ( while locale and style is not changing ) - the
 classname must be unique. So I cannot use this in anonymous classes,
 as it does not resolve, e.g. page class name


 Žilvinas Vilutis

 Mobile:   (+370) 652 38353
 E-mail:   cika...@gmail.com



 On Wed, Apr 21, 2010 at 1:46 PM, Josh Glassman josh...@gmail.com wrote:
  Not sure what you mean about implementing a unique class... any class
 which
  inherits from Component can call getString(String key), which will call
 your
  custom IStringResourceLoader.  Additionally, you can set the locale on
 any
  MarkupContainer or the Session, and Components will use their parent's
  locale falling back to the Session's.
 
  You can also use the wicket:message tag directly in your markup, which
 uses
  whatever locale it's associated class uses.
 
  What we do is set the locale on the Session, and use that and a resource
 key
  to pull the string from the database.  We use DB caching, and turn off
 the
  built-in resource string caching that wicket does (see below, goes in
  WebApplication.init()).
 
  getResourceSettings().setLocalizer(new Localizer() {
@Override
protected void putIntoCache(String cacheKey, String string) {
   // Do nothing... no caching desired, since our DB layer caches
}
  });
 
 
 
  On Tue, Apr 20, 2010 at 1:53 PM, Zilvinas Vilutis cika...@gmail.com
 wrote:
 
  Yes,
 
  That seems to work. Although each component which needs to be
  localized needs to implement a unique class, 'cause in many cases the
  Component class is WebMarkupContainer ( if we use components in list
   etc ).
 
  Does anyone have practice on using any performance experience on that?
 
  Do you use DB caching or method caching?
 
 
  Žilvinas Vilutis
 
  Mobile:   (+370) 652 38353
  E-mail:   cika...@gmail.com
 
 
 
  On Tue, Apr 20, 2010 at 7:40 AM, Josh Glassman josh...@gmail.com
 wrote:
   Yup, you have the right idea.
  
   Something like...
  public class DatabaseStringResourceLoader implements
   IStringResourceLoader {...}
  
   And then in your WebApplication.init()...
  getResourceSettings().addStringResourceLoader(new
   DatabaseStringResourceLoader());
  
   Cheers,
   Josh
  
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: CSS not loading on WebMarkupContainer refresh

2010-04-22 Thread taygolf

absolutely.

I have tried two things and they both work the same way.

first using a wicket id
add(new StyleSheetReference(stylesheet, CustomerPanel.class,
jquery.tooltip.css)); 
link rel=stylesheet type=text/css wicket:id=stylesheet /
and
straight html
link rel=stylesheet type=text/css href=css/jquery.tooltip.css /

What I have found through looking at the code is that the WebMarkupContainer
is not being shown in the view page source. 

So when the page first loads I look at the page source and everything is
showing up just like it should. The listview is empty so it is hidden.

I then click the ajaxlink that open up a modal that allows me to add data to
the list view. When the modal is closed the listview which is inside the
webmarkupcontainer is refreshed and the new data is shown on the screen.

I then hover over the new data and the hover over works but the css
formatting is not there. I view the page source again and it still shows
that the listview is empty. If I refresh the page then the hover over works
perfect with the css.

My guess is that the refreshed listview and the css do not know that each
other exist. Maybe I am refreshing the webmarkupcontainer wrong or maybe I
should add the css to it instead of the entire html page.


Any ideas?

Thanks

T
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/CSS-not-loading-on-WebMarkupContainer-refresh-tp2019665p2020630.html
Sent from the Wicket - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: CSS not loading on WebMarkupContainer refresh

2010-04-22 Thread taygolf

ok I just added a label outside of the webmarkupcontainer and added the
tooltip stuff to it and it works perfectly.

So the problem is the webmarkupcontainer. Everytime it is refreshed through
ajax instead of refreshing the entire page, I lose the connection between
the css and the html inside the container.

I am sure I have to add something to link these together but I am not sure
what that is.

Any ideas would be greatly appreciated.

T
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/CSS-not-loading-on-WebMarkupContainer-refresh-tp2019665p2020666.html
Sent from the Wicket - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: CSS not loading on WebMarkupContainer refresh

2010-04-22 Thread Ernesto Reinaldo Barreiro
Why don't you use something like

add(CSSPackageResource.getHeaderContribution(CSS);

on the constructor of the panel you are using. Here CSS is

CSS = new ResourceReference(...).

Wicket will take care of the rest.

By the way the only reference I could find to class
StyleSheetReference on core and extension (on 1.4.7) is on Palette
component

protected StyleSheetReference getStyleSheet()
{
return new StyleSheetReference(paletteCSS, getClass(), palette.css);
}

and method getStyleSheet() is not called from withing Palette. Is
class StyleSheetReference some kind of deprecated way to reference a
resource?

Best,

Ernesto


On Thu, Apr 22, 2010 at 4:38 PM, taygolf taylor.a.yo...@gmail.com wrote:

 absolutely.

 I have tried two things and they both work the same way.

 first using a wicket id
 add(new StyleSheetReference(stylesheet, CustomerPanel.class,
 jquery.tooltip.css));
 link rel=stylesheet type=text/css wicket:id=stylesheet /
 and
 straight html
 link rel=stylesheet type=text/css href=css/jquery.tooltip.css /

 What I have found through looking at the code is that the WebMarkupContainer
 is not being shown in the view page source.

 So when the page first loads I look at the page source and everything is
 showing up just like it should. The listview is empty so it is hidden.

 I then click the ajaxlink that open up a modal that allows me to add data to
 the list view. When the modal is closed the listview which is inside the
 webmarkupcontainer is refreshed and the new data is shown on the screen.

 I then hover over the new data and the hover over works but the css
 formatting is not there. I view the page source again and it still shows
 that the listview is empty. If I refresh the page then the hover over works
 perfect with the css.

 My guess is that the refreshed listview and the css do not know that each
 other exist. Maybe I am refreshing the webmarkupcontainer wrong or maybe I
 should add the css to it instead of the entire html page.


 Any ideas?

 Thanks

 T
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/CSS-not-loading-on-WebMarkupContainer-refresh-tp2019665p2020630.html
 Sent from the Wicket - User mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: VisitChildren and AjaxTabbedPanel

2010-04-22 Thread Igor Vaynberg
you dont see those components because they are not added to the
hierarchy. the tabbed panel only adds the current tab. if you want to
traverse them you will have to first create them and then call visit
on each tab. a much better solution is to use a javascript-only tab
panel so your entire form is rendered into html but only parts are
visible.

-igor


On Thu, Apr 22, 2010 at 12:00 AM, MattyDE ufer.mar...@gmail.com wrote:

 I have to traverse from the parent of my Tabs through all components in all
 tabs.

 As i use now visitChildren i only found the components which are visible
 on the active tab. Its clear why, cause the other tabs are not loaded with
 ajax.

 But are there any way to traverese through ALL Tabs to find all possible
 components too?.

 This is because i've different forms on this tabs which i want to submit
 with one general Save-Button.

 Thanks in Advance for any help!
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/VisitChildren-and-AjaxTabbedPanel-tp2020105p2020105.html
 Sent from the Wicket - User mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: CSS not loading on WebMarkupContainer refresh

2010-04-22 Thread taygolf

I am using wicket 1.3.7 currently so I can not use the CSSPackageResource.

Is there a way to just use PackageResource? I know that I need to upgrade
but right now that is not possible.

Also why can't I just add the CSS file to my html with a link and be done
with it like this:
link rel=stylesheet type=text/css href=css/jquery.tooltip.css /

Why does the markupcontainer not pick it up? If I move the data out of the
markup container then everything works fine but of course I need to have the
ability to allow the user to add data without having to refresh the page all
the time.

Thanks

T
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/CSS-not-loading-on-WebMarkupContainer-refresh-tp2019665p2020736.html
Sent from the Wicket - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: wickestuff-push not working with jetty standalone

2010-04-22 Thread Rodolfo Hansen
Hi,

Check the logs and see what the cometd servlet is requiring,

This is more of a jetty issue than a problem wicketstuff-push..

You should find something in the jetty mailing lists regarding the
requirements for the comet servlet.

On Thu, Apr 22, 2010 at 9:24 AM, vineet semwal
vineetsemwal1...@gmail.comwrote:

 Hellos,
 I am using wicketuff-push in a project,i found it  nice and used it a lot
 in
 a project i am currently working with..
 my problem is it's not working when i am using jetty as standalone
 ie. usual java -jar start.jar

 i also have port forwarding enabled ..
  i don't see any long polling in logs ..
  what i see in logs are just http status codes,two lines from logs..
 **
 122.160.42.236 -  -  [22/Apr/2010:12:48:25 +] POST /cometd HTTP/1.1
 302 0
 122.160.42.236 -  -  [22/Apr/2010:12:48:25 +] GET /cometd/ HTTP/1.1
 200 1238
 **


 it works well when i am using it with maven-jetty plugin..

 Following is my setup :-
 jetty:6.1.23
 wicket:1.4.7
 push:1.4.7-snapshot


 any advice will be welcomed...
 --
 regards,
 Vineet Semwal




-- 
Rodolfo Hansen
CTO, KindleIT Software Development
Email: rhan...@kitsd.com
Mobile: +1 (809) 860-6669


Re: Simple TextField Override and A SubmitLink Question

2010-04-22 Thread Brian Mulholland
I have figured out issue #2.  My form had a method='get' on it and I
have a very large grid with checkboxes in it, so I suspect that I was
overflowing the request size.  Stupid mistake, but the behavior in no
way pointed me towards this.  On the observation I made that it seemed
to work when I removed the readOnly logic, I don't know why that made
it succeed in some tests.  I can only guess that when testing that
part I chose a record that had fewer detail records to load in the
grid.  *shrug*.

However, I am still very eager to get feedback on the first issue
below concerning the onRender.

On 4/21/10, Brian Mulholland blmulholl...@gmail.com wrote:
 I am a Wicket n00b.  Just learning and writing a demo app to evaluate
 Wicket vs a few other MVC solutions which are having demos written by
 other developers in the group.  I am having two issues.

 Issue 1 involves me trying to write a custom TextField to demo the
 idea of overriding a control and outputting custom HTML to support it.
  The plan was to override the onRender and write out plain text when
 the control is disabled instead of writing out a textbox with the
 enabled flag set to false (which is the default behavior).

 So I wrote a TextField with the following onRender:

 @Override
 public void onRender(MarkupStream stream)
 {
   if(this.isEnabled())
 super.onRender(stream);
   else
   {
 getResponse().write(getModelValue());
 this.renderNext(stream);
   }
 }

 I read about the renderNext on nabble, which resolved one exception I
 got, but now it throws exceptions saying that it cannot find the
 component as if I declared it in html, but did not add it to the
 hierarchy.  I know the code outside this render is fine because if I
 change the code to keep the super.onRender() call, but merely surround
 the super with a span tag with display:none, it works fine.

 But I really wanted this style to work as a proof of concept of
 overriding the onRender to output whatever HTML we need.  Customizing
 components to put our custom HTML seems to be Wicket's greatest
 feature.  But clearly there is some aspect of the onRender contract
 that I am missing.  The super must be taking care of something that I
 am not aware that I am required to take care of.  Any Ideas?

 Issue 2: Same page.  When the page is in readOnly mode, I set a
 readOnly flag, set all my controls to disabled, and change what links
 show.  I am using SubmitLinks.  When the page loads the first time one
 set of actions is enabled (such as a Modify link) and upon hitting
 modify, I set the controls to enabled, and display Save and Cancel
 links while hiding the others.  But upon getting to the modifiable
 mode, none of the SubmitLinks work.  I even tried showing all the
 links all the time and once I have run a request through the app, none
 of the links respond anymore.

 However, I found that if I eliminate the code that iterates through my
 controls, the links work.  I wrote a simple setEnabled method that
 uses the IVisitor interface like so:

 @Override
 public Object component(Component comp)
 {
   MyBasePage page = (MyBasePage) comp.getPage();
   if(FormComponent.class.isAssignableFrom(comp.getClass()))
 comp.setEnabled(!page.isReadOnly());
   return IVisitor.CONTINUE_TRAVERSAL;
 }

 Thus each page will inherit from MyBasePage and just change the
 readOnly flag.  I don't want to disable every Component since I want
 some of the links and other things to work.  I may have to make this
 method smarter in the future, but for now this is pretty close to what
 I want...except for the small detail of not actually working.  I know
 that the links are never getting disabled by this code because I
 debugged through it, and also echoed out the isVisible and isEnabled
 after the fact.  However, when I don't do this, my links refuse to
 respond on the 2nd request.  Further, the request they stop working on
 is when I am ENABLING the controls.

 So why if the links are not disabled, might they not be responding
 when I click on them.  The onSubmit() method of the form never gets
 control.  I've tried to provide all the information I know.  Anyone
 have ideas?  Even if you don't know what might be wrong, if you can
 suggest an avenue of investigation that would be helpful.

 Also, what resources do you suggest for a Wicket noob?  I've been
 looking at the javadoc and the Wicket wiki and the examples on the
 apache site.  But they all seem fairly light.  The javadoc often has
 insufficient detail (see the onRender issue), the wiki has large
 important sections simply labelled TODO, and the examples seem
 mostly slanted toward things that don't really show off the good
 stuff.  Are there other good resources that I should be using?

 Brian Mulholland



-- 
Brian Mulholland
One of the greatest delusions in the world is the hope that the evils
in this world are to be cured by legislation.
--Thomas B. Reed (1886)

-
To 

Lowercasing of attributes

2010-04-22 Thread Elias Holman
Hi all,
I am trying to integrate some  dojo widgetry using the declarative method of
associating DOM elements with dojo components, so I end up declaring markup
like:

div dojoType=dijit.MenuBar wicket:id=menuBar

and the markup parser always converts the 'dojoType' attribute to lowercase,
and so dojo won't activate it like it should. I've searched through the
list archives and found a reference to this issue from a while back, and it
seemed to indicate that Wicket should not be processing attributes other
than its own, but that does not seem to be the case. Is there some
straightforward way to change/override this behavior? I apologize if I've
missed something in the documentation or archives on this topic. Thanks!

-- 
Elias Holman hol...@distancesoftware.com | Proprietor
Distance Software | www.distancesoftware.com
Direct: (414)231-9016 | Fax: (866)293-7605 | IM: distancesoftware


Re: Strip header contributors from Ajax response.

2010-04-22 Thread Igor Vaynberg
wicket will filter duplicate contributions for you and even though
they are rendered they are not executed. if you are writing out
javascript directly you can set a string id which uniquely identifies
the contribution and wicket will also filter by that.

-igor

On Wed, Apr 21, 2010 at 8:40 PM, Apple Grew appleg...@gmail.com wrote:
 I have a component which contributes Js headers. This component is also
 rendered by AjaxRequestTarget. The problem is that when rendering ajax
 response the Js codes too are getting rendered. These Js codes were already
 contributed when this component first rendered (in non-Ajax mode).

 To fix this what I initially did was that in the onBeforeRender method of
 the component I was checking if the response NOT isAjax then add the header
 contributors, else, remove them. This was working fine, but problem is if I
 want to implement this is other components I would have to copy n paste the
 codes. So I decided to implement a behavior. I added all the header
 contributors to that behavior and it was supposed to do the job of adding n
 removing the header contributors. But we can't modify hierarchy from
 beforeRender of behavior so I am now stuck. Furthermore, this approach is
 not capable of removing JS contributed by super calsses of the componenet.

 Please suggest.

 Thanks and regards,
 Apple Grew
 my blog @ http://blog.applegrew.com/


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Simple TextField Override and A SubmitLink Question

2010-04-22 Thread Brian Mulholland
Thanks for the response.  I have two thoughts.

1) So you would say that expected Wicket best practice would be what?
My control is effectively a TextField.  Would I extend
AbstractTextComponent (which I see has almost every property TextField
has) and then add() a TextField and a Label to it, and simple
oscillate their visibility based on my enabled flag?  I could see
doing that for this situation.

2) However, I wasn't just curious about this situation, but also the
more general principle.  Perhaps there is a better way to skin this
particular cat, but writing components (new or extended from existing
ones) that modify the HTML rendered seems like a sensible and powerful
use of Wicket's component architecture (indeed, it seems to me to be
Wicket's primary advantage).  But if the onRender has implicit
undocumented rules, then I will bump into them later on when I am
writing my HTML.

For example, let's say I wanted to write a rich DHTML control out of
divs and spans that effectively is a specialized Grid (or whatever).
I would want to make a custom control that extends the ListView (since
we have alot of properties in common) but render the output HTML my
own custom way.  I would assume that overriding the onRender would be
a big part of that, but I need to know the rules for doing so, and I
don't see where they are documented.

I would call this the equivalent of writing my own custom taglibs to
support my application's needs.  Wicket's all-java approach has me
drooling of the potential for re-usable bits, but I need to feel
confident that the framework will support that before I sell the
notion to my teammates.

On 4/22/10, Igor Vaynberg igor.vaynb...@gmail.com wrote:
 in wicket you would not override the textfield and make it render as a
 label, thats what the label component does. you would create a
 component that would either add a textfield or a label based on some
 condition.

 -igor

 On Thu, Apr 22, 2010 at 9:42 AM, Brian Mulholland
 blmulholl...@gmail.com wrote:
 I have figured out issue #2.  My form had a method='get' on it and I
 have a very large grid with checkboxes in it, so I suspect that I was
 overflowing the request size.  Stupid mistake, but the behavior in no
 way pointed me towards this.  On the observation I made that it seemed
 to work when I removed the readOnly logic, I don't know why that made
 it succeed in some tests.  I can only guess that when testing that
 part I chose a record that had fewer detail records to load in the
 grid.  *shrug*.

 However, I am still very eager to get feedback on the first issue
 below concerning the onRender.

 On 4/21/10, Brian Mulholland blmulholl...@gmail.com wrote:
 I am a Wicket n00b.  Just learning and writing a demo app to evaluate
 Wicket vs a few other MVC solutions which are having demos written by
 other developers in the group.  I am having two issues.

 Issue 1 involves me trying to write a custom TextField to demo the
 idea of overriding a control and outputting custom HTML to support it.
  The plan was to override the onRender and write out plain text when
 the control is disabled instead of writing out a textbox with the
 enabled flag set to false (which is the default behavior).

 So I wrote a TextField with the following onRender:

 @Override
 public void onRender(MarkupStream stream)
 {
   if(this.isEnabled())
 super.onRender(stream);
   else
   {
 getResponse().write(getModelValue());
 this.renderNext(stream);
   }
 }

 I read about the renderNext on nabble, which resolved one exception I
 got, but now it throws exceptions saying that it cannot find the
 component as if I declared it in html, but did not add it to the
 hierarchy.  I know the code outside this render is fine because if I
 change the code to keep the super.onRender() call, but merely surround
 the super with a span tag with display:none, it works fine.

 But I really wanted this style to work as a proof of concept of
 overriding the onRender to output whatever HTML we need.  Customizing
 components to put our custom HTML seems to be Wicket's greatest
 feature.  But clearly there is some aspect of the onRender contract
 that I am missing.  The super must be taking care of something that I
 am not aware that I am required to take care of.  Any Ideas?

 Issue 2: Same page.  When the page is in readOnly mode, I set a
 readOnly flag, set all my controls to disabled, and change what links
 show.  I am using SubmitLinks.  When the page loads the first time one
 set of actions is enabled (such as a Modify link) and upon hitting
 modify, I set the controls to enabled, and display Save and Cancel
 links while hiding the others.  But upon getting to the modifiable
 mode, none of the SubmitLinks work.  I even tried showing all the
 links all the time and once I have run a request through the app, none
 of the links respond anymore.

 However, I found that if I eliminate the code that iterates through my
 controls, the links work.  I wrote a simple setEnabled 

Re: Simple TextField Override and A SubmitLink Question

2010-04-22 Thread Igor Vaynberg
i have written a lot of listviews and repeaters and never had to
override onrender to render html, this is now how wicket is intended
to work. in wicket you attach components to html elements, and the
only contract is that certain components expect to be attached to
certain elements. for example a textfield component is expecting to be
attached to input type=text, while a label has no such expectations.
perhaps you should look at examples we provide or get the wicket in
action book, but i dont think you are thinking about wicket in a
correct way.

maybe think about it this way:

if you were building this using a desktop framework you would not
override onrender to change the behavior and render your own buttons,
instead you would swap in the appropriate pre-built low-level
component.

-igor

On Thu, Apr 22, 2010 at 10:58 AM, Brian Mulholland
blmulholl...@gmail.com wrote:
 Thanks for the response.  I have two thoughts.

 1) So you would say that expected Wicket best practice would be what?
 My control is effectively a TextField.  Would I extend
 AbstractTextComponent (which I see has almost every property TextField
 has) and then add() a TextField and a Label to it, and simple
 oscillate their visibility based on my enabled flag?  I could see
 doing that for this situation.

 2) However, I wasn't just curious about this situation, but also the
 more general principle.  Perhaps there is a better way to skin this
 particular cat, but writing components (new or extended from existing
 ones) that modify the HTML rendered seems like a sensible and powerful
 use of Wicket's component architecture (indeed, it seems to me to be
 Wicket's primary advantage).  But if the onRender has implicit
 undocumented rules, then I will bump into them later on when I am
 writing my HTML.

 For example, let's say I wanted to write a rich DHTML control out of
 divs and spans that effectively is a specialized Grid (or whatever).
 I would want to make a custom control that extends the ListView (since
 we have alot of properties in common) but render the output HTML my
 own custom way.  I would assume that overriding the onRender would be
 a big part of that, but I need to know the rules for doing so, and I
 don't see where they are documented.

 I would call this the equivalent of writing my own custom taglibs to
 support my application's needs.  Wicket's all-java approach has me
 drooling of the potential for re-usable bits, but I need to feel
 confident that the framework will support that before I sell the
 notion to my teammates.

 On 4/22/10, Igor Vaynberg igor.vaynb...@gmail.com wrote:
 in wicket you would not override the textfield and make it render as a
 label, thats what the label component does. you would create a
 component that would either add a textfield or a label based on some
 condition.

 -igor

 On Thu, Apr 22, 2010 at 9:42 AM, Brian Mulholland
 blmulholl...@gmail.com wrote:
 I have figured out issue #2.  My form had a method='get' on it and I
 have a very large grid with checkboxes in it, so I suspect that I was
 overflowing the request size.  Stupid mistake, but the behavior in no
 way pointed me towards this.  On the observation I made that it seemed
 to work when I removed the readOnly logic, I don't know why that made
 it succeed in some tests.  I can only guess that when testing that
 part I chose a record that had fewer detail records to load in the
 grid.  *shrug*.

 However, I am still very eager to get feedback on the first issue
 below concerning the onRender.

 On 4/21/10, Brian Mulholland blmulholl...@gmail.com wrote:
 I am a Wicket n00b.  Just learning and writing a demo app to evaluate
 Wicket vs a few other MVC solutions which are having demos written by
 other developers in the group.  I am having two issues.

 Issue 1 involves me trying to write a custom TextField to demo the
 idea of overriding a control and outputting custom HTML to support it.
  The plan was to override the onRender and write out plain text when
 the control is disabled instead of writing out a textbox with the
 enabled flag set to false (which is the default behavior).

 So I wrote a TextField with the following onRender:

 @Override
 public void onRender(MarkupStream stream)
 {
   if(this.isEnabled())
     super.onRender(stream);
   else
   {
     getResponse().write(getModelValue());
     this.renderNext(stream);
   }
 }

 I read about the renderNext on nabble, which resolved one exception I
 got, but now it throws exceptions saying that it cannot find the
 component as if I declared it in html, but did not add it to the
 hierarchy.  I know the code outside this render is fine because if I
 change the code to keep the super.onRender() call, but merely surround
 the super with a span tag with display:none, it works fine.

 But I really wanted this style to work as a proof of concept of
 overriding the onRender to output whatever HTML we need.  Customizing
 components to put our custom HTML seems to be Wicket's greatest
 

AjaxFormComponentUpdatingBehavior and id attribute

2010-04-22 Thread Alexandros Karypidis

Hi,

When I add an AjaxFormComponentUpdatingBehavior to a component (a 
TextFieldString in particular though I don't think that matters), 
Wicket assigns an HTML id attribute to the component by taking the 
wicket:id value I specified and appending a character.


So, if my original HTML had: input wicket:id=birthday id=x 
type=text /

At runtime I get: input wicket:id=birthday id=birthdayX type=text /

This messes up some static CSS/Javascript I have in the page, which 
relies on locating hte component using its original id.


Is there a way to prevent this?


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AjaxFormComponentUpdatingBehavior and id attribute

2010-04-22 Thread Martin Makundi
Hi!

You can call component.setMarkupId(component.getId());

**
Martin

2010/4/22 Alexandros Karypidis akary...@yahoo.gr:
 Hi,

 When I add an AjaxFormComponentUpdatingBehavior to a component (a
 TextFieldString in particular though I don't think that matters), Wicket
 assigns an HTML id attribute to the component by taking the wicket:id
 value I specified and appending a character.

 So, if my original HTML had: input wicket:id=birthday id=x
 type=text /
 At runtime I get: input wicket:id=birthday id=birthdayX type=text /

 This messes up some static CSS/Javascript I have in the page, which relies
 on locating hte component using its original id.

 Is there a way to prevent this?


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AjaxFormComponentUpdatingBehavior and id attribute

2010-04-22 Thread Alexandros Karypidis

Ok, I get it, thank you.

On 22/4/2010 21:55, Martin Makundi wrote:

Hi!

You can call component.setMarkupId(component.getId());

**
Martin

2010/4/22 Alexandros Karypidisakary...@yahoo.gr:
   

Hi,

When I add an AjaxFormComponentUpdatingBehavior to a component (a
TextFieldString  in particular though I don't think that matters), Wicket
assigns an HTML id attribute to the component by taking the wicket:id
value I specified and appending a character.

So, if my original HTML had:input wicket:id=birthday id=x
type=text /
At runtime I get:input wicket:id=birthday id=birthdayX type=text /

This messes up some static CSS/Javascript I have in the page, which relies
on locating hte component using its original id.

Is there a way to prevent this?
 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AjaxFormComponentUpdatingBehavior and id attribute

2010-04-22 Thread Michael O'Cleirigh

Hello,

I can see two options but there are probably others aswell:

1. emit the id value of the input tag so your javascript will be able to 
find it.


2. change your CSS to style on the class of the tag vs the id.


For 1, I would :

add a behviour like this to your TextField:

new AbstractBehavior() {

private Component field = null;

@Override
public void renderHead(IHeaderResponse response) {


response.renderJavascript(F={};F.id='+field.getMarkupId()+', 
custom-id);

}


@Override
public void bind(Component component) {
this.field = component;
}


};

Then you can have your javascript look at F.id which will contain the 
markupid for your textfield.


For 2.

CSS:

input.static-style {
color: red;
}

input wicket:id=birthday class=static-style type=text /

Regards,

Mike



When I add an AjaxFormComponentUpdatingBehavior to a component (a 
TextFieldString in particular though I don't think that matters), 
Wicket assigns an HTML id attribute to the component by taking the 
wicket:id value I specified and appending a character.


So, if my original HTML had: input wicket:id=birthday id=x 
type=text /
At runtime I get: input wicket:id=birthday id=birthdayX 
type=text /


This messes up some static CSS/Javascript I have in the page, which 
relies on locating hte component using its original id.


Is there a way to prevent this?


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



InheritableThreadLocal holder for Application class

2010-04-22 Thread Objelean Alex
Hi!
Is there any particular reason why Application class wouldn't be stored in
InheritableThreadLocal instead of ThreadLocal? The problem is that I need to
be able to access Application class from a thread created when a button is
pressed. Using InheritableThreadLocal instead of ThreadLocal would solve
this problem. What do you think?

Alex


Caching static assets from markup

2010-04-22 Thread Phillip B
I have several images and other static assets that are specified in my
markup. The images are in an assets folder. Wicket is handling the URL
change from relative to absolute. The issue is that there are no cache
related headers on the images, so the browser never caches them. Is
there a way to add these headers? I'd rather not move all image URL's
to the Java code. Or is there a better way to handle this?

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AjaxFormComponentUpdatingBehavior and id attribute

2010-04-22 Thread Jeremy Thomerson
But this isn't suggested.  See past threads (there's been a couple just in
the last two weeks).

--
Jeremy Thomerson
http://www.wickettraining.com



On Thu, Apr 22, 2010 at 1:55 PM, Martin Makundi 
martin.maku...@koodaripalvelut.com wrote:

 Hi!

 You can call component.setMarkupId(component.getId());

 **
 Martin

 2010/4/22 Alexandros Karypidis akary...@yahoo.gr:
  Hi,
 
  When I add an AjaxFormComponentUpdatingBehavior to a component (a
  TextFieldString in particular though I don't think that matters),
 Wicket
  assigns an HTML id attribute to the component by taking the wicket:id
  value I specified and appending a character.
 
  So, if my original HTML had: input wicket:id=birthday id=x
  type=text /
  At runtime I get: input wicket:id=birthday id=birthdayX type=text
 /
 
  This messes up some static CSS/Javascript I have in the page, which
 relies
  on locating hte component using its original id.
 
  Is there a way to prevent this?
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Strip header contributors from Ajax response.

2010-04-22 Thread Apple Grew
Hi Igor,

It is not that duplicates items are getting rendered. What I want is that
the Js should be rendered ONLY when rendering in non-Ajax mode. In Ajax mode
the Js code should be stripped out. As these Js codes are not executed when
in Ajax response so it doesn't make sense to render them there. This
unnecessarily bloats the response.

Regards,
Apple Grew
my blog @ http://blog.applegrew.com/


On Thu, Apr 22, 2010 at 10:50 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:

 wicket will filter duplicate contributions for you and even though
 they are rendered they are not executed. if you are writing out
 javascript directly you can set a string id which uniquely identifies
 the contribution and wicket will also filter by that.

 -igor

 On Wed, Apr 21, 2010 at 8:40 PM, Apple Grew appleg...@gmail.com wrote:
  I have a component which contributes Js headers. This component is also
  rendered by AjaxRequestTarget. The problem is that when rendering ajax
  response the Js codes too are getting rendered. These Js codes were
 already
  contributed when this component first rendered (in non-Ajax mode).
 
  To fix this what I initially did was that in the onBeforeRender method of
  the component I was checking if the response NOT isAjax then add the
 header
  contributors, else, remove them. This was working fine, but problem is if
 I
  want to implement this is other components I would have to copy n paste
 the
  codes. So I decided to implement a behavior. I added all the header
  contributors to that behavior and it was supposed to do the job of adding
 n
  removing the header contributors. But we can't modify hierarchy from
  beforeRender of behavior so I am now stuck. Furthermore, this approach is
  not capable of removing JS contributed by super calsses of the
 componenet.
 
  Please suggest.
 
  Thanks and regards,
  Apple Grew
  my blog @ http://blog.applegrew.com/
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Strip header contributors from Ajax response.

2010-04-22 Thread Igor Vaynberg
amd this bloating has caused a noticeable slowdown in your site's
response times? how much latency is it adding to the response?

that said, you can always output it using iheaderresponsecontributor
and add an check if you are inside ajax or not using request.isajax()

-igor

On Thu, Apr 22, 2010 at 6:29 PM, Apple Grew appleg...@gmail.com wrote:
 Hi Igor,

 It is not that duplicates items are getting rendered. What I want is that
 the Js should be rendered ONLY when rendering in non-Ajax mode. In Ajax mode
 the Js code should be stripped out. As these Js codes are not executed when
 in Ajax response so it doesn't make sense to render them there. This
 unnecessarily bloats the response.

 Regards,
 Apple Grew
 my blog @ http://blog.applegrew.com/


 On Thu, Apr 22, 2010 at 10:50 PM, Igor Vaynberg 
 igor.vaynb...@gmail.comwrote:

 wicket will filter duplicate contributions for you and even though
 they are rendered they are not executed. if you are writing out
 javascript directly you can set a string id which uniquely identifies
 the contribution and wicket will also filter by that.

 -igor

 On Wed, Apr 21, 2010 at 8:40 PM, Apple Grew appleg...@gmail.com wrote:
  I have a component which contributes Js headers. This component is also
  rendered by AjaxRequestTarget. The problem is that when rendering ajax
  response the Js codes too are getting rendered. These Js codes were
 already
  contributed when this component first rendered (in non-Ajax mode).
 
  To fix this what I initially did was that in the onBeforeRender method of
  the component I was checking if the response NOT isAjax then add the
 header
  contributors, else, remove them. This was working fine, but problem is if
 I
  want to implement this is other components I would have to copy n paste
 the
  codes. So I decided to implement a behavior. I added all the header
  contributors to that behavior and it was supposed to do the job of adding
 n
  removing the header contributors. But we can't modify hierarchy from
  beforeRender of behavior so I am now stuck. Furthermore, this approach is
  not capable of removing JS contributed by super calsses of the
 componenet.
 
  Please suggest.
 
  Thanks and regards,
  Apple Grew
  my blog @ http://blog.applegrew.com/
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: Strip header contributors from Ajax response.

2010-04-22 Thread Tim L Casey


In terms of hosting it is measurable.  Each byte of request for a million
hit site is 10Mbit of line cost.

That being said most latency is about connections and not amount of data.
At least in terms of speed up I would look first at reducing things like
frames, then resources, then size.

Inlined ajax, yeah /shrug with the caveat for hosting solutions.

tim

-Original Message-
From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] 
Sent: Thursday, April 22, 2010 8:08 PM
To: users@wicket.apache.org
Subject: Re: Strip header contributors from Ajax response.

amd this bloating has caused a noticeable slowdown in your site's
response times? how much latency is it adding to the response?

that said, you can always output it using iheaderresponsecontributor
and add an check if you are inside ajax or not using request.isajax()

-igor

On Thu, Apr 22, 2010 at 6:29 PM, Apple Grew appleg...@gmail.com wrote:
 Hi Igor,

 It is not that duplicates items are getting rendered. What I want is that
 the Js should be rendered ONLY when rendering in non-Ajax mode. In Ajax
mode
 the Js code should be stripped out. As these Js codes are not executed
when
 in Ajax response so it doesn't make sense to render them there. This
 unnecessarily bloats the response.

 Regards,
 Apple Grew
 my blog @ http://blog.applegrew.com/


 On Thu, Apr 22, 2010 at 10:50 PM, Igor Vaynberg
igor.vaynb...@gmail.comwrote:

 wicket will filter duplicate contributions for you and even though
 they are rendered they are not executed. if you are writing out
 javascript directly you can set a string id which uniquely identifies
 the contribution and wicket will also filter by that.

 -igor

 On Wed, Apr 21, 2010 at 8:40 PM, Apple Grew appleg...@gmail.com wrote:
  I have a component which contributes Js headers. This component is also
  rendered by AjaxRequestTarget. The problem is that when rendering ajax
  response the Js codes too are getting rendered. These Js codes were
 already
  contributed when this component first rendered (in non-Ajax mode).
 
  To fix this what I initially did was that in the onBeforeRender method
of
  the component I was checking if the response NOT isAjax then add the
 header
  contributors, else, remove them. This was working fine, but problem is
if
 I
  want to implement this is other components I would have to copy n paste
 the
  codes. So I decided to implement a behavior. I added all the header
  contributors to that behavior and it was supposed to do the job of
adding
 n
  removing the header contributors. But we can't modify hierarchy from
  beforeRender of behavior so I am now stuck. Furthermore, this approach
is
  not capable of removing JS contributed by super calsses of the
 componenet.
 
  Please suggest.
 
  Thanks and regards,
  Apple Grew
  my blog @ http://blog.applegrew.com/
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Strip header contributors from Ajax response.

2010-04-22 Thread Apple Grew
@Igor

I have a very tight budget so the resources are pretty limited, so I need to
save the bandwidth wherever possible. BTW I didn't find any class -
iheaderresponsecontributor.

Regards,
Apple Grew
my blog @ http://blog.applegrew.com/


On Fri, Apr 23, 2010 at 8:37 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:

 amd this bloating has caused a noticeable slowdown in your site's
 response times? how much latency is it adding to the response?

 that said, you can always output it using iheaderresponsecontributor
 and add an check if you are inside ajax or not using request.isajax()

 -igor

 On Thu, Apr 22, 2010 at 6:29 PM, Apple Grew appleg...@gmail.com wrote:
  Hi Igor,
 
  It is not that duplicates items are getting rendered. What I want is that
  the Js should be rendered ONLY when rendering in non-Ajax mode. In Ajax
 mode
  the Js code should be stripped out. As these Js codes are not executed
 when
  in Ajax response so it doesn't make sense to render them there. This
  unnecessarily bloats the response.
 
  Regards,
  Apple Grew
  my blog @ http://blog.applegrew.com/
 
 
  On Thu, Apr 22, 2010 at 10:50 PM, Igor Vaynberg igor.vaynb...@gmail.com
 wrote:
 
  wicket will filter duplicate contributions for you and even though
  they are rendered they are not executed. if you are writing out
  javascript directly you can set a string id which uniquely identifies
  the contribution and wicket will also filter by that.
 
  -igor
 
  On Wed, Apr 21, 2010 at 8:40 PM, Apple Grew appleg...@gmail.com
 wrote:
   I have a component which contributes Js headers. This component is
 also
   rendered by AjaxRequestTarget. The problem is that when rendering ajax
   response the Js codes too are getting rendered. These Js codes were
  already
   contributed when this component first rendered (in non-Ajax mode).
  
   To fix this what I initially did was that in the onBeforeRender method
 of
   the component I was checking if the response NOT isAjax then add the
  header
   contributors, else, remove them. This was working fine, but problem is
 if
  I
   want to implement this is other components I would have to copy n
 paste
  the
   codes. So I decided to implement a behavior. I added all the header
   contributors to that behavior and it was supposed to do the job of
 adding
  n
   removing the header contributors. But we can't modify hierarchy from
   beforeRender of behavior so I am now stuck. Furthermore, this approach
 is
   not capable of removing JS contributed by super calsses of the
  componenet.
  
   Please suggest.
  
   Thanks and regards,
   Apple Grew
   my blog @ http://blog.applegrew.com/
  
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Strip header contributors from Ajax response.

2010-04-22 Thread Igor Vaynberg
if you have a million hit site you can probably afford the hosting :)

-igor

On Thu, Apr 22, 2010 at 8:16 PM, Tim L Casey tca...@cataphora.com wrote:


 In terms of hosting it is measurable.  Each byte of request for a million
 hit site is 10Mbit of line cost.

 That being said most latency is about connections and not amount of data.
 At least in terms of speed up I would look first at reducing things like
 frames, then resources, then size.

 Inlined ajax, yeah /shrug with the caveat for hosting solutions.

 tim

 -Original Message-
 From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
 Sent: Thursday, April 22, 2010 8:08 PM
 To: users@wicket.apache.org
 Subject: Re: Strip header contributors from Ajax response.

 amd this bloating has caused a noticeable slowdown in your site's
 response times? how much latency is it adding to the response?

 that said, you can always output it using iheaderresponsecontributor
 and add an check if you are inside ajax or not using request.isajax()

 -igor

 On Thu, Apr 22, 2010 at 6:29 PM, Apple Grew appleg...@gmail.com wrote:
 Hi Igor,

 It is not that duplicates items are getting rendered. What I want is that
 the Js should be rendered ONLY when rendering in non-Ajax mode. In Ajax
 mode
 the Js code should be stripped out. As these Js codes are not executed
 when
 in Ajax response so it doesn't make sense to render them there. This
 unnecessarily bloats the response.

 Regards,
 Apple Grew
 my blog @ http://blog.applegrew.com/


 On Thu, Apr 22, 2010 at 10:50 PM, Igor Vaynberg
 igor.vaynb...@gmail.comwrote:

 wicket will filter duplicate contributions for you and even though
 they are rendered they are not executed. if you are writing out
 javascript directly you can set a string id which uniquely identifies
 the contribution and wicket will also filter by that.

 -igor

 On Wed, Apr 21, 2010 at 8:40 PM, Apple Grew appleg...@gmail.com wrote:
  I have a component which contributes Js headers. This component is also
  rendered by AjaxRequestTarget. The problem is that when rendering ajax
  response the Js codes too are getting rendered. These Js codes were
 already
  contributed when this component first rendered (in non-Ajax mode).
 
  To fix this what I initially did was that in the onBeforeRender method
 of
  the component I was checking if the response NOT isAjax then add the
 header
  contributors, else, remove them. This was working fine, but problem is
 if
 I
  want to implement this is other components I would have to copy n paste
 the
  codes. So I decided to implement a behavior. I added all the header
  contributors to that behavior and it was supposed to do the job of
 adding
 n
  removing the header contributors. But we can't modify hierarchy from
  beforeRender of behavior so I am now stuck. Furthermore, this approach
 is
  not capable of removing JS contributed by super calsses of the
 componenet.
 
  Please suggest.
 
  Thanks and regards,
  Apple Grew
  my blog @ http://blog.applegrew.com/
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Strip header contributors from Ajax response.

2010-04-22 Thread Igor Vaynberg
org.apache.wicket.markup.html.IHeaderContributor

-igor

On Thu, Apr 22, 2010 at 8:35 PM, Apple Grew appleg...@gmail.com wrote:
 @Igor

 I have a very tight budget so the resources are pretty limited, so I need to
 save the bandwidth wherever possible. BTW I didn't find any class -
 iheaderresponsecontributor.

 Regards,
 Apple Grew
 my blog @ http://blog.applegrew.com/


 On Fri, Apr 23, 2010 at 8:37 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:

 amd this bloating has caused a noticeable slowdown in your site's
 response times? how much latency is it adding to the response?

 that said, you can always output it using iheaderresponsecontributor
 and add an check if you are inside ajax or not using request.isajax()

 -igor

 On Thu, Apr 22, 2010 at 6:29 PM, Apple Grew appleg...@gmail.com wrote:
  Hi Igor,
 
  It is not that duplicates items are getting rendered. What I want is that
  the Js should be rendered ONLY when rendering in non-Ajax mode. In Ajax
 mode
  the Js code should be stripped out. As these Js codes are not executed
 when
  in Ajax response so it doesn't make sense to render them there. This
  unnecessarily bloats the response.
 
  Regards,
  Apple Grew
  my blog @ http://blog.applegrew.com/
 
 
  On Thu, Apr 22, 2010 at 10:50 PM, Igor Vaynberg igor.vaynb...@gmail.com
 wrote:
 
  wicket will filter duplicate contributions for you and even though
  they are rendered they are not executed. if you are writing out
  javascript directly you can set a string id which uniquely identifies
  the contribution and wicket will also filter by that.
 
  -igor
 
  On Wed, Apr 21, 2010 at 8:40 PM, Apple Grew appleg...@gmail.com
 wrote:
   I have a component which contributes Js headers. This component is
 also
   rendered by AjaxRequestTarget. The problem is that when rendering ajax
   response the Js codes too are getting rendered. These Js codes were
  already
   contributed when this component first rendered (in non-Ajax mode).
  
   To fix this what I initially did was that in the onBeforeRender method
 of
   the component I was checking if the response NOT isAjax then add the
  header
   contributors, else, remove them. This was working fine, but problem is
 if
  I
   want to implement this is other components I would have to copy n
 paste
  the
   codes. So I decided to implement a behavior. I added all the header
   contributors to that behavior and it was supposed to do the job of
 adding
  n
   removing the header contributors. But we can't modify hierarchy from
   beforeRender of behavior so I am now stuck. Furthermore, this approach
 is
   not capable of removing JS contributed by super calsses of the
  componenet.
  
   Please suggest.
  
   Thanks and regards,
   Apple Grew
   my blog @ http://blog.applegrew.com/
  
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Strip header contributors from Ajax response.

2010-04-22 Thread Apple Grew
That's a good point. :)

BTW if i implement my own IHeaderContributor how will take advantage of
wicket's js code stripper and compressor provided by
JavascriptPackageResource?

Regards,
Apple Grew
my blog @ http://blog.applegrew.com/


On Fri, Apr 23, 2010 at 9:46 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:

 if you have a million hit site you can probably afford the hosting :)

 -igor

 On Thu, Apr 22, 2010 at 8:16 PM, Tim L Casey tca...@cataphora.com wrote:
 
 
  In terms of hosting it is measurable.  Each byte of request for a million
  hit site is 10Mbit of line cost.
 
  That being said most latency is about connections and not amount of data.
  At least in terms of speed up I would look first at reducing things like
  frames, then resources, then size.
 
  Inlined ajax, yeah /shrug with the caveat for hosting solutions.
 
  tim
 
  -Original Message-
  From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
  Sent: Thursday, April 22, 2010 8:08 PM
  To: users@wicket.apache.org
  Subject: Re: Strip header contributors from Ajax response.
 
  amd this bloating has caused a noticeable slowdown in your site's
  response times? how much latency is it adding to the response?
 
  that said, you can always output it using iheaderresponsecontributor
  and add an check if you are inside ajax or not using request.isajax()
 
  -igor
 
  On Thu, Apr 22, 2010 at 6:29 PM, Apple Grew appleg...@gmail.com wrote:
  Hi Igor,
 
  It is not that duplicates items are getting rendered. What I want is
 that
  the Js should be rendered ONLY when rendering in non-Ajax mode. In Ajax
  mode
  the Js code should be stripped out. As these Js codes are not executed
  when
  in Ajax response so it doesn't make sense to render them there. This
  unnecessarily bloats the response.
 
  Regards,
  Apple Grew
  my blog @ http://blog.applegrew.com/
 
 
  On Thu, Apr 22, 2010 at 10:50 PM, Igor Vaynberg
  igor.vaynb...@gmail.comwrote:
 
  wicket will filter duplicate contributions for you and even though
  they are rendered they are not executed. if you are writing out
  javascript directly you can set a string id which uniquely identifies
  the contribution and wicket will also filter by that.
 
  -igor
 
  On Wed, Apr 21, 2010 at 8:40 PM, Apple Grew appleg...@gmail.com
 wrote:
   I have a component which contributes Js headers. This component is
 also
   rendered by AjaxRequestTarget. The problem is that when rendering
 ajax
   response the Js codes too are getting rendered. These Js codes were
  already
   contributed when this component first rendered (in non-Ajax mode).
  
   To fix this what I initially did was that in the onBeforeRender
 method
  of
   the component I was checking if the response NOT isAjax then add the
  header
   contributors, else, remove them. This was working fine, but problem
 is
  if
  I
   want to implement this is other components I would have to copy n
 paste
  the
   codes. So I decided to implement a behavior. I added all the header
   contributors to that behavior and it was supposed to do the job of
  adding
  n
   removing the header contributors. But we can't modify hierarchy from
   beforeRender of behavior so I am now stuck. Furthermore, this
 approach
  is
   not capable of removing JS contributed by super calsses of the
  componenet.
  
   Please suggest.
  
   Thanks and regards,
   Apple Grew
   my blog @ http://blog.applegrew.com/
  
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Strip header contributors from Ajax response.

2010-04-22 Thread Igor Vaynberg
you use iheadercontributor to write out the url to the resourse, which
i think will point to the javascriptpackageresource.

-igor

On Thu, Apr 22, 2010 at 9:29 PM, Apple Grew appleg...@gmail.com wrote:
 That's a good point. :)

 BTW if i implement my own IHeaderContributor how will take advantage of
 wicket's js code stripper and compressor provided by
 JavascriptPackageResource?

 Regards,
 Apple Grew
 my blog @ http://blog.applegrew.com/


 On Fri, Apr 23, 2010 at 9:46 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:

 if you have a million hit site you can probably afford the hosting :)

 -igor

 On Thu, Apr 22, 2010 at 8:16 PM, Tim L Casey tca...@cataphora.com wrote:
 
 
  In terms of hosting it is measurable.  Each byte of request for a million
  hit site is 10Mbit of line cost.
 
  That being said most latency is about connections and not amount of data.
  At least in terms of speed up I would look first at reducing things like
  frames, then resources, then size.
 
  Inlined ajax, yeah /shrug with the caveat for hosting solutions.
 
  tim
 
  -Original Message-
  From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
  Sent: Thursday, April 22, 2010 8:08 PM
  To: users@wicket.apache.org
  Subject: Re: Strip header contributors from Ajax response.
 
  amd this bloating has caused a noticeable slowdown in your site's
  response times? how much latency is it adding to the response?
 
  that said, you can always output it using iheaderresponsecontributor
  and add an check if you are inside ajax or not using request.isajax()
 
  -igor
 
  On Thu, Apr 22, 2010 at 6:29 PM, Apple Grew appleg...@gmail.com wrote:
  Hi Igor,
 
  It is not that duplicates items are getting rendered. What I want is
 that
  the Js should be rendered ONLY when rendering in non-Ajax mode. In Ajax
  mode
  the Js code should be stripped out. As these Js codes are not executed
  when
  in Ajax response so it doesn't make sense to render them there. This
  unnecessarily bloats the response.
 
  Regards,
  Apple Grew
  my blog @ http://blog.applegrew.com/
 
 
  On Thu, Apr 22, 2010 at 10:50 PM, Igor Vaynberg
  igor.vaynb...@gmail.comwrote:
 
  wicket will filter duplicate contributions for you and even though
  they are rendered they are not executed. if you are writing out
  javascript directly you can set a string id which uniquely identifies
  the contribution and wicket will also filter by that.
 
  -igor
 
  On Wed, Apr 21, 2010 at 8:40 PM, Apple Grew appleg...@gmail.com
 wrote:
   I have a component which contributes Js headers. This component is
 also
   rendered by AjaxRequestTarget. The problem is that when rendering
 ajax
   response the Js codes too are getting rendered. These Js codes were
  already
   contributed when this component first rendered (in non-Ajax mode).
  
   To fix this what I initially did was that in the onBeforeRender
 method
  of
   the component I was checking if the response NOT isAjax then add the
  header
   contributors, else, remove them. This was working fine, but problem
 is
  if
  I
   want to implement this is other components I would have to copy n
 paste
  the
   codes. So I decided to implement a behavior. I added all the header
   contributors to that behavior and it was supposed to do the job of
  adding
  n
   removing the header contributors. But we can't modify hierarchy from
   beforeRender of behavior so I am now stuck. Furthermore, this
 approach
  is
   not capable of removing JS contributed by super calsses of the
  componenet.
  
   Please suggest.
  
   Thanks and regards,
   Apple Grew
   my blog @ http://blog.applegrew.com/
  
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Strip header contributors from Ajax response.

2010-04-22 Thread Apple Grew
ohk... will check.

Regards,
Apple Grew
my blog @ http://blog.applegrew.com/


On Fri, Apr 23, 2010 at 10:08 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:

 you use iheadercontributor to write out the url to the resourse, which
 i think will point to the javascriptpackageresource.

 -igor

 On Thu, Apr 22, 2010 at 9:29 PM, Apple Grew appleg...@gmail.com wrote:
  That's a good point. :)
 
  BTW if i implement my own IHeaderContributor how will take advantage of
  wicket's js code stripper and compressor provided by
  JavascriptPackageResource?
 
  Regards,
  Apple Grew
  my blog @ http://blog.applegrew.com/
 
 
  On Fri, Apr 23, 2010 at 9:46 AM, Igor Vaynberg igor.vaynb...@gmail.com
 wrote:
 
  if you have a million hit site you can probably afford the hosting :)
 
  -igor
 
  On Thu, Apr 22, 2010 at 8:16 PM, Tim L Casey tca...@cataphora.com
 wrote:
  
  
   In terms of hosting it is measurable.  Each byte of request for a
 million
   hit site is 10Mbit of line cost.
  
   That being said most latency is about connections and not amount of
 data.
   At least in terms of speed up I would look first at reducing things
 like
   frames, then resources, then size.
  
   Inlined ajax, yeah /shrug with the caveat for hosting solutions.
  
   tim
  
   -Original Message-
   From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
   Sent: Thursday, April 22, 2010 8:08 PM
   To: users@wicket.apache.org
   Subject: Re: Strip header contributors from Ajax response.
  
   amd this bloating has caused a noticeable slowdown in your site's
   response times? how much latency is it adding to the response?
  
   that said, you can always output it using iheaderresponsecontributor
   and add an check if you are inside ajax or not using request.isajax()
  
   -igor
  
   On Thu, Apr 22, 2010 at 6:29 PM, Apple Grew appleg...@gmail.com
 wrote:
   Hi Igor,
  
   It is not that duplicates items are getting rendered. What I want is
  that
   the Js should be rendered ONLY when rendering in non-Ajax mode. In
 Ajax
   mode
   the Js code should be stripped out. As these Js codes are not
 executed
   when
   in Ajax response so it doesn't make sense to render them there. This
   unnecessarily bloats the response.
  
   Regards,
   Apple Grew
   my blog @ http://blog.applegrew.com/
  
  
   On Thu, Apr 22, 2010 at 10:50 PM, Igor Vaynberg
   igor.vaynb...@gmail.comwrote:
  
   wicket will filter duplicate contributions for you and even though
   they are rendered they are not executed. if you are writing out
   javascript directly you can set a string id which uniquely
 identifies
   the contribution and wicket will also filter by that.
  
   -igor
  
   On Wed, Apr 21, 2010 at 8:40 PM, Apple Grew appleg...@gmail.com
  wrote:
I have a component which contributes Js headers. This component is
  also
rendered by AjaxRequestTarget. The problem is that when rendering
  ajax
response the Js codes too are getting rendered. These Js codes
 were
   already
contributed when this component first rendered (in non-Ajax mode).
   
To fix this what I initially did was that in the onBeforeRender
  method
   of
the component I was checking if the response NOT isAjax then add
 the
   header
contributors, else, remove them. This was working fine, but
 problem
  is
   if
   I
want to implement this is other components I would have to copy n
  paste
   the
codes. So I decided to implement a behavior. I added all the
 header
contributors to that behavior and it was supposed to do the job of
   adding
   n
removing the header contributors. But we can't modify hierarchy
 from
beforeRender of behavior so I am now stuck. Furthermore, this
  approach
   is
not capable of removing JS contributed by super calsses of the
   componenet.
   
Please suggest.
   
Thanks and regards,
Apple Grew
my blog @ http://blog.applegrew.com/
   
  
  
 -
   To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
   For additional commands, e-mail: users-h...@wicket.apache.org
  
  
  
  
   -
   To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
   For additional commands, e-mail: users-h...@wicket.apache.org
  
  
   -
   To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
   For additional commands, e-mail: users-h...@wicket.apache.org
  
  
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org