Hi

Put Confirm.java in your mixins packages. If your application package
is "com.company.product", then your mixins package will be
"com.company.product.mixins". Put the confirm.js in the same package
but in "src/main/resources" source folder.

So the structure will be

src/main/java/com/company/product/mixins/Confirm.java
src/main/resources/com/company/product/mixins/confirm.js

Next, you can use it with any component implementing ClientElement. In
the template you can use the "mixins" attribute

e.g.

<t:yourcomponent t:mixins='confirm'/>

Or, in java you can use it like this.

@Component(mixins = "confirm")
private YourComponent yourComponent;

regards
Taha


On Thu, Jul 28, 2011 at 5:28 AM, TG <tapestry...@hotmail.com> wrote:
> Come on guys, please help a fellow newbie tapestry here :) Taha provided me
> with those two links, one is confirm.js another is Confirm.java. How do I
> incorporate that in my Grid action hyperlink?
>
> TIA
>
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Tapestry-Forum-tp2404216p4640695.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

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

Reply via email to