Hi,

Tapestry does what you ask it to do - returns a (relative) URI for the link. (Check out the Javadocs/source for AbstractLink to see this.)

I suspect that calling toAbsoluteURI() on the link will give you what you want. Oh, and you won't need RenderObject for that - you can just do an expansion ${myDynaObject} in that case.

-Filip

Konstantin skrev:
in tml:

<t:renderobject object="myDynaObject"/>

in java:

    @Inject
    private ComponentResources componentResources;

    public Object getMyDynaObject() {
        Link testLink;
        testLink = componentResources.createPageLink("targetPageHere", true,
"11");
        return testLink;
    }

Renders text "targetPageHere/11" instead of actual link. What am I doing
wrong here ?


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

Reply via email to