...
@Inject
private ComponentResources resources;
public Link getNavLink()
{
return resources.createPageLink("SomePage", false);
}
On Tue, Jan 27, 2009 at 4:34 PM, manuel aldana wrote:
> To give you some background why I would like to use to set the PageLink
> component programmatically:
>
To give you some background why I would like to use to set the PageLink
component programmatically:
In a navigation-component (which is built up dynamically) I want to
refer to a main-content page. For that I'd like reuse the PageLink
component, so I can use tapestry facilities for link creati
I think you are asking two different things.
You can use the PropertyConduit service to create PropertyConduit
instances; these allow you to dynamically read and update an
expression on any object; it doesn't even have to be a component.
So propertyConduitSource.create(foo.getClass(), "stuff").s
Em Tue, 27 Jan 2009 21:15:36 -0300, manuel aldana escreveu:
hi,
Olá!
@Property is used, so setters/getters are generated in runtime. As an
example take PageLink, it is usually set through .tml file (with
t:page="xxx"). How is it possible to set @Property fields
programmatically in a co
hi,
@Property is used, so setters/getters are generated in runtime. As an
example take PageLink, it is usually set through .tml file (with
t:page="xxx"). How is it possible to set @Property fields
programmatically in a consise and short way?
Or is it always better to use .tml templates for s