You can't have 2 components on the page with the same id.

Use eventlink instead of the deprecated actionlink. Both links can then
have the same event.
On 12 Jun 2013 15:29, "Nomen Nomanum" <getibi...@outlook.com> wrote:

> Hi! I have implemented following scenario:
>
> based on the following result
>
> public boolean getOutcome(){
>   return article.getOutcomevalue() == 1;
> }
>
> public Article getArticleSpecific(){
>   return article;
> }
>
>
> to render my page
>
> <t:if test="outcome">
>    <div id="Outcome><t:actionlink
> t:id="articleSpecific></t:actionlink></div>
>
> <p:else>
>    <div id="differentOutcome><t:actionlink
> t:id="articleSpecific></t:actionlink></div>
> </p:else>
> </t:if>
>
> However, it complains "... contains a child component with id
> 'articleSpecific'

Reply via email to