Re: Component specific JavaScript

2012-02-19 Thread Jorge Rodrigez
Hi, I think you just need: class MyComponent extends SomeWicketComponent { @Override public void renderHead(IHeaderResponse response) { response.renderOnDomReadyJavascript("someJSToExecute()"); } } someJSToExecute() will be executed every time an instance of MyComponent is rendered. Bot

Re: Howto go for editable grid with add/remove row in wicket 1.4?

2012-02-19 Thread Jorge Rodrigez
You just need to add/remove an item to your data source. Next time you rerender the grid it will show/hide the added/removed item/row. On Sun, Feb 19, 2012 at 6:46 PM, Emmanouil Batsis (Manos) wrote: > Subject says it all... currently using inmethod from wicketstuff but there > is no add/remove r

Parsing of resource locale

2010-06-06 Thread Jorge Rodrigez
Hi, I observe that if my .css file is named like 'something_ab.css' then org.apache.wicket.util.resource.locator.ResourceNameIterator confuses that 'ab' is the locale of the resource. As a result if I create a ResourceReference(MyPage.class, "something_ab.css", Locale.US, "mystyle") then the produ

Re: Guice & Wicket Guice Proxy

2010-06-07 Thread Jorge Rodrigez
Why phoneDao is transient ? Wicket-Guice injects a Serializable proxy and thus after deserialization the field will be non-null. On Mon, Jun 7, 2010 at 7:31 PM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > sure: > > public class ClassWithDao { > > public ClassWithDao() { >

Re: Any news on "1.5 - mapping different error pages for specific errors"

2011-06-16 Thread Jorge Rodrigez
If you spare a bit of your precious time to explain the problem in more details then we may have an idea. On Thu, Jun 16, 2011 at 2:33 PM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > Does anybody have an idea howto implement this? > > regards Nino > > -