Umm, looks fine to me... According to the createActionLink javadoc[1], it creates "... a component action request link as a callback for this component." So in this case, your component is the Index page, and your action is 'updateMsg'. Tapestry uses a colon (:) to indicate an action as opposed to a nested component (designated by the period (.)).
What problems are you having with the generated link? Cheers, lasitha. [1] http://tapestry.apache.org/tapestry5/tapestry-core/apidocs/org/apache/tapestry/ComponentResourcesCommon.html#createActionLink(java.lang.String,%20boolean,%20java.lang.Object...) On 10/12/07, Donyee <[EMAIL PROTECTED]> wrote: > I use T5.06 snapshot ! > > 2007/10/12, Donyee <[EMAIL PROTECTED]>: > > > > > > Here is my code: > > Index.java > > @Inject > > private ComponentResources resource; > > public String getUpdateLink() { > > Link link = resource.createActionLink("updateMsg", true); > > return link.toURI(); > > } > > > > and in Index.tml: > > ${updateLink}... > > > > It displays "/index:updateMsg", it should be "/index.updateMsg"! > > Is this a bug? or I made wrong? > > > > ----徐 依伟 > > > > > > -- > ----徐 依伟 >