|Re: Calling setContributorURI From A @ProcessAdditions Method Has No Effect [message #907371 is a reply to message #906448]
||Mon, 03 September 2012 21:33
| Rob Hatcherson
Registered: July 2009
Location: Fort Worth, TX, USA
> Well the contributor URI is just that, the "contributor"'s URI. The|
> contributor would be the bundle from which the "contribution" is made.
> So if you want to set/change the content of a part, call setContributionURI()
> and make sure the URI is of the form
Yep, that was the problem. It works as I expected after choosing the API method with the right word in it :-/. Thanks JD!
> However, I wouldn't change the contribution if there is a chance the part
> has been rendered. AFAIK, the model will not cause the part to be re-rendered
> and it might introduce some instability.
According to one of Lars Vogel's tutorials lifecycle manager methods annotated with @ProcessAdditions are "...called directly before the model is passed to the renderer, can be used to add additional elements to the model." So, I guess this part of it is a non-issue, and we ought to able to fiddle with the model with impunity at this point.
Powered by FUDForum
. Page generated in 0.02035 seconds