<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16705" name=GENERATOR></HEAD>
<BODY id=MailContainerBody
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px"
bgColor=#ffffff leftMargin=0 topMargin=0 name="Compose message area"
CanvasTabStop="true">
<DIV dir=ltr align=left><SPAN class=713160715-04092008><FONT face=Arial
color=#0000ff size=2>Hi Kunkun,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=713160715-04092008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=713160715-04092008><FONT face=Arial
color=#0000ff size=2>for the first part of your question you can possibly
use the <cms:decorate>-Tag. For further details have a look at the
OpenCms-Documentation Modules.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=713160715-04092008><FONT face=Arial
color=#0000ff size=2>HTH </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=713160715-04092008><FONT face=Arial
color=#0000ff size=2>Regards</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=713160715-04092008><FONT face=Arial
color=#0000ff size=2>Kai</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Von:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>Im Auftrag von
</B>kk<BR><B>Gesendet:</B> Donnerstag, 4. September 2008 16:58<BR><B>An:</B>
opencms-dev@opencms.org<BR><B>Betreff:</B> [opencms-dev] need some help on
customizing the <cms:link> tag<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=宋体 size=2>
<DIV><FONT face=宋体 size=2>Dear together,</FONT></DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2>my name is kunkun. I am a computerscience-student in
Germany. I am working on a project, which extends opencms with some new
features.</FONT></DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2>The problem is:</FONT></DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2>1. I have to mark the links, that i create on a
site, with something like an ID.</FONT></DIV>
<DIV><FONT face=宋体 size=2>2. Then i have to log the Link ID, whenever
the link is clicked on the site, when it is made online.</FONT></DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2>Can u give me some Ideas, how to do that?</FONT></DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2>My idea is to create a class, which inherits the
internal link class of OpenCms, and change the html-code that is generated
during constuction of the link.</FONT></DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2>But with which class should I start. There is a class
named CmsJspTagLink, which can be used with <cms:link>.</FONT></DIV>
<DIV><FONT face=宋体 size=2>The class CmsLinkManager is also used to substitute
the name for links inside the VFS System. But how do i do</FONT></DIV>
<DIV><FONT face=宋体 size=2>it in general purpose not only for internal
links?</FONT></DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2>I am looking for some ideas asap.</FONT></DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2>Thank u very much.</FONT></DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2>Kunkun</FONT></DIV></FONT></DIV></BODY></HTML>