robin de boom
2008-10-07 08:22:11 UTC
Hi all,
I have been using the new query tags for a while now and I must say they
work great.
I only have a problem with the following case: querying subcontainerlists
My declartion looks as follows:
<content:declareContainerList name="interestFieldList" title="Interest Field
List" >
<content:declareContainer>
<content:declareField name="interestFieldCode" title="Interest
Field Code" type="SharedSmallText" />
<content:declareContainerList name="solutionsList"
title="Solutions List" >
<content:declareContainer>
<content:declareField name="solutionsCode"
title="Solutions Code" type="SharedSmallText" />
</content:declareContainer>
</content:declareContainerList>
</content:declareContainer>
</content:declareContainerList>
It's no problem to query the top level.
But what do I have to do if:
I would only like to show the interestFieldContainer if the field
solutionsCode(in one of the solutionsList containers) is equal to a certain
value .
Is this possible?
Thanks in advance
Robin De Boom
I have been using the new query tags for a while now and I must say they
work great.
I only have a problem with the following case: querying subcontainerlists
My declartion looks as follows:
<content:declareContainerList name="interestFieldList" title="Interest Field
List" >
<content:declareContainer>
<content:declareField name="interestFieldCode" title="Interest
Field Code" type="SharedSmallText" />
<content:declareContainerList name="solutionsList"
title="Solutions List" >
<content:declareContainer>
<content:declareField name="solutionsCode"
title="Solutions Code" type="SharedSmallText" />
</content:declareContainer>
</content:declareContainerList>
</content:declareContainer>
</content:declareContainerList>
It's no problem to query the top level.
But what do I have to do if:
I would only like to show the interestFieldContainer if the field
solutionsCode(in one of the solutionsList containers) is equal to a certain
value .
Is this possible?
Thanks in advance
Robin De Boom