Well, it's not any different from other custom JSP tags.

You should get a JSP/Servlet book, should get the basics in there.

Or you can just dive into the J2EE tutorial, see chapter 15 for custom tags:

http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html

And see how Magnolia uses custom tags for references. Here's the
approach from the top of my head:

1) Make a new java project in your favourite environment (this project
will be compiled into a jar file)
1) Copy a similar tag from the magnolia-taglib-cms or something into
your project (keep the structure)
2) Copy the .tld file
3) Copy the pom.xml
4) Change the tags and descriptors into what you're doing
5) Compile the project with maven
6) Drop the jar into magnoliaAuthor/WEB-INF/lib and restrart the context
7) Register the namespace in the top of a JSP and use the tag.

Good luck :)

On 4/6/06, Claudio Greuter <[email protected]> wrote:
> Hello Thomas,
>
> Thanks for the input. I am currently going in the direction of tweaking the 
> simplenavigation using css. However I think I will try the custom tag thingy, 
> as it sounds more flexible to me.
>
> Is there a tutorial or howto somewhere, briefly describing how to create a 
> custom tag for magnolia?
>

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to