My ResourceLink is declared and initiallized, otherwise wicket will complain
about me adding a component to markup which is null etc... so i have to
declare it and initialize it. But later on the source is modified, but when
clicking on the ResourceLink it is not proving the newly changed resource.
So i was looking for maybe a ResourceLink.setResource() method to change the
resource.



mbelarbi wrote:
> 
> I have a:
> ResourceLink attachment = new ResourceLink("attachmentLink", source);
> add(attachment);
> 
> Where source is a Resource.
> 
> How do i change this ResourceLink's resource to another resource?
> 

-- 
View this message in context: 
http://www.nabble.com/Changing-a-ResourceLink%27s-resource.-tf4902160.html#a14042465
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to