You can do:

jsSupport.require("foo").invoke("myFunc").with("bar");

Best regards,
Cezary


On Thu, Sep 22, 2016 at 5:54 PM, Adam X <vbgnm3c...@gmail.com> wrote:

> Is there a reason this is not a fluid setter? Right now I have to do:
>
> Initialization foo = jsSupport.require("foo");
> foo.with("bar");
> foo.invoke("myFunc");
>
> I'd rather just do:
>
> jsSupport.require("foo").with("bar").invoke("myFunc")
>
>
> but with(Object...) returns void :(
>
> Adam
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to