Perhaps you can edit your question title to be a bit more specific. I assume that you want to have dynamic links resolved in Dynamic Component Presentations using REL. It sounds like you have set things up correctly, but just to make sure this is a quick check list:
- You are using Tridion 2011 SP1 (dynamic links in REL DCPs do not resolve in 2011 GA)
- The component template output format is REL, and it is set to be dynamic (note the publication target language does not have to be REL)
- The component template outputs a component link
Publish a page containing a dynamic component presentation. Check the following:
- In the published page content you should see something like
<tridion:ComponentPresentation ..../>
where the DCP will be inserted
- In the database you should see your REL DCP in the
COMPONENT_PRESENTATIONS
table, this should contain <tcdl:Link...>
tag where the link should be
Request the page in the browser. Check that the component presentation is displayed and the link is rendered into an <a../>
anchor tag
If not, check the content delivery log files, to see if there are any errors. Also please check that dynamic linking is working on 'normal' pages.