I just noticed Ralf's solution of using actpage="true", but it says on the
documentation site that 'actpage' is depricated. Anyone know what the new
solution would be moving forward?

Dieter



dieter wrote:
> 
> Hi Will,
> 
> I don't think you are using it incorrectly, i have the same problem with
> the cms:ifNotEmpty tag. If i come up with a solution i will let you know.
> 
> Dieter
> 
> Magnolia - User mailing list wrote:
>> 
>> Dear Magnolians
>> 
>> I would like to output some content that the user sets in the page  
>> properties (like the page title and so on), but only, if it's not  
>> empty. Strange enough if I test for
>> 
>> <cms:ifNotEmpty nodeDataName="my_page_attribute_name">
>>      Content of "my_page_attribute": <cms:out  
>> nodeDataName="my_page_attribute_name" />
>> </cms:ifNotEmpty>
>> 
>> I never get anything. Although if I use <cms:out  
>> nodeDataName="my_page_attribute_name" /> alone, it clearly shows,  
>> that the node is not empty. Of course I could now do this:
>> 
>> <c:if test="${not empty pageProperties.my_page_attribute_name">
>>      Content of "my_page_attribute": <cms:out  
>> nodeDataName="my_page_attribute_name" />
>> </c:if>
>> 
>> But this does not work for me either because I would like to use the  
>> same jsp template on a page (displaying the page properties) _and_ in  
>> a paragraph looping over multiple pages - so I cannot use  
>> "pageProperties".
>> 
>> Is there a bug in <cms:ifNotEmpty /> or am I using it wrong?
>> 
>> Thanks!
>> 
>> Regards,
>> Will
>> 
>> ----------------------------------------------------------------
>> for list details see
>> http://www.magnolia.info/en/magnolia/developer.html
>> ----------------------------------------------------------------
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/%3Ccms%3AifNotEmpty%3E-on-page-properties-tf3209897.html#a10074392
Sent from the Magnolia - User mailing list archive at Nabble.com.


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------

Reply via email to