I see now. categoryChildren returns a collection so I need
categoryChildren.*\.createdTs. However this only works if I do not
specify root. If I specify root then it does not appear to work.
I noticed that there was mention on the Wiki of an enhancement with an
includeProperties param. Is there a release date for update? That
would be nice.
-----Original Message-----
From: Hoying, Ken [mailto:
Ken_Hoying@...]
Sent: Thursday, May 08, 2008 4:11 PM
To: Struts Users Mailing List
Subject: RE: JSON Plugin - excludeProperties Issues
I thought that might be the case and tried to reference them that way
(i.e. categoryChildren.createdTs). However, that did not seem to work
either.
-----Original Message-----
From: Musachy Barroso [mailto:
musachy@...]
Sent: Thursday, May 08, 2008 4:06 PM
To: Struts Users Mailing List
Subject: Re: JSON Plugin - excludeProperties Issues
The exclude properties are relative to the action, not the root.
musachy
On Thu, May 8, 2008 at 4:01 PM, Hoying, Ken <
Ken_Hoying@...>
wrote:
> I am trying to specify properties for the JSON plugin to ignore.
> However, this does not seem to be working. Am I specfiying something
> incorrectly? Does it not work in conjunction with specifying the
root?
>
> <result type="json">
> <param
> name="root">categoryChildren</param>
> <param name="excludeProperties">
> createdTs, createdBy,
> lastModifiedTs, lastModifiedBy, allCategoriesOfRoot,
> products, contracts, children,
> contractCount, productCount,
> allTaxonomyCategories,
> rootTaxonomyCategories
> </param>
> </result>
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
---------------------------------------------------------------------
To unsubscribe, e-mail:
user-unsubscribe@...
For additional commands, e-mail:
user-help@...
---------------------------------------------------------------------
To unsubscribe, e-mail:
user-unsubscribe@...
For additional commands, e-mail:
user-help@...
---------------------------------------------------------------------
To unsubscribe, e-mail:
user-unsubscribe@...
For additional commands, e-mail:
user-help@...