Honestly read this:

http://tapestry5-jquery.com/
and click on "usages" tab. You should not rely on sources, but classes thus the jar is what you want, right? If you use maven to build your project everything you need is explained here.

Furthermore the lib contains it's own BootstrapModule class, thus the library mapping is not required. It's missing in your env due to the fact you copied sources (partly). I suggest you use the jar maven dependency otherwise you won't get happy on the long run...

Jens



Am 04.06.13 00:03, schrieb Mischa Tuffield:
Jan,

It looks like what is needed is the following to be added to your AppModule:

     public static void 
contributeComponentClassResolver(Configuration<LibraryMapping> configuration) {
         configuration.add(new LibraryMapping("bootstrap", 
"com.trsvax.bootstrap"));
     }

And then you can call the mixin "bootstrap/tooltip" like so :

<a t:id="foo" t:type="actionlink" context="foo" t:mixins="bootstrap/Tooltip" href="#" rel="tooltip" title="first 
tooltip">For example <i class="icon-question-sign"></i></a>

I hope this helps!

Mischa

On 3 Jun 2013, at 22:32, Mischa Tuffield <mis...@mmt.me.uk> wrote:

Hello Jens,

I had to copy the below mixin (from the tapestry-bootstrap plugin) into the 
mixins folder in my project. My problem is that I should be importing this 
mixin from the plugin (tapestry-bootstrap) which I already have imported in my 
project but I don't know how to. I guess I should be doing something in the 
AppModule or something…

M

https://github.com/trsvax/tapestry-bootstrap/blob/master/src/main/java/com/trsvax/bootstrap/mixins/Tooltip.java

<Screen Shot 2013-06-03 at 22.29.11.png>

It seems to be woking ^^



On 3 Jun 2013, at 22:23, Jens Breitenstein <mailingl...@j-b-s.de> wrote:

Hi Mischa, hi Jan!

You mean this:
http://tapestry5-jquery.com/mixins/docstooltip
?

There is an example on the same page, too including code. Or can you please 
describe what particular information you need?


Jens


Am 03.06.13 23:09, schrieb Mischa Tuffield:
Hey Jan,

I am currently looking at this stuff to, and it looks like you need to include 
the following mixin somehow :

https://github.com/trsvax/tapestry-bootstrap/blob/master/src/main/java/com/trsvax/bootstrap/mixins/Tooltip.java

I am not sure how I can make use of that mixin given that I have imported the 
tapestry-bootstrap plugin into my mvn project. I don't know the best practise 
here.

Am about to copy over the file into my mixin's folder to see if that helps.


M *posting to the mailing list for the first time in years
On 3 Jun 2013, at 20:34, Jan Fryblik <jan.fryb...@ebrothers.cz> wrote:

Hi guys,

could you please help me how to use tapestry-bootstrap popover or tooltip?  I'm 
a bit stuck with it and google also didn't help. Thanks.


i'm using it like...

<t:any t:id="test" t:mixins="tb/tooltip" data-toggle="tooltip" title="My text 
here">hover over</t:any>

BR,
Jan
_______________________________
Mischa Tuffield PhD
http://mmt.me.uk/
@mischat







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

_______________________________
Mischa Tuffield PhD
http://mmt.me.uk/
@mischat





_______________________________
Mischa Tuffield PhD
http://mmt.me.uk/
@mischat








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

Reply via email to