I tried this :

IComponent comp = cycle.getPage("Accueil");
ILink link = cycle.getEngine().
getService(Tapestry.DIRECT_SERVICE).
getLink(cycle, comp, null);

writer.begin("a");
writer.attribute("href",link.getURL());
writer.printRaw(getListeonglets()[i].toString());

but when i click on the generated link i get this error :

org.apache.tapestry.ApplicationRuntimeException
Component [EMAIL PROTECTED] 
does not contain a component null.
component:      [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to