Hi Santiago,

you just need to include the Chinellikit-tapestry dependency in ur pom. It
would be something like:

<dependency>
<groupId>org.chenillekit</groupId>
 <artifactId>chenillekit-tapestry</artifactId>
<version>1.2.0</version>
</dependency>

---------- Forwarded message ----------
From: Santiago W. Fernandez Lorenzo <[email protected]>
Date: Thu, May 6, 2010 at 8:58 AM
Subject: Help with divs with rounded corners
To: Tapestry users <[email protected]>


Hello,

I want to build divs with rounded corners.

I was searching over Internet when I found 'NiftyCube'. I looked at the
examples in http://www.html.it/articoli/niftycube/index.html,

<script type="text/javascript" src="niftycube.js"></script>

<script type="text/javascript">
window.onload=function(){
Nifty("div#box","big");
}
</script>

And I included a div with id="box",

I tried to include the .js and  spript directy in the .tml but it doesn't
works. After that, I tried to include the .js via @IncludeJavascripLibraty,
it recognizes the file, but it doesn't works.


Finally, I found chenillekit (http://chenillekit.codehaus.org) and a
particular component in 'Tapestry module' called RoundCornerContainer (
http://chenillekit.codehaus.org/chenillekit-tapestry/ref/org/chenillekit/tapestry/core/components/RoundCornerContainer.html
)

I added the maven repository to my pom.xml:

<repository>
<id>chenillekit</id>
 <url>http://www.chenillekit.org/mvnrepo/release</url>
<snapshots>
 <enabled>false</enabled>
</snapshots>
</repository>

But.. I don't know what dependency I have to include... and...

How can I use it?

I looked at the Component:
http://tapestry.formos.com/nightly/chenille-kit/chenillekit-tapestry/ref/org/chenillekit/tapestry/core/components/RoundCornerContainer.html

and to the javadoc:
http://tapestry.formos.com/nightly/chenille-kit/chenillekit-tapestry/apidocs/org/chenillekit/tapestry/core/components/RoundCornerContainer.html
but I can't found an example.

So, I need help rounding divs corners. I found a demo (I think its an old
demo because its not updated and it has some errors:
http://www.chenillekit.org/demo/tapcomp , but, in the demo you can see some
divs with rounded corners, and the demo its developed in tapestry (because
if you click over utils you can see a tapestry error).

Anyone could help me?
Thanks a lot!


--
Santiago Wenceslao Fernández Lorenzo
www.santiquetzal.es

Reply via email to