documentation on method result filter ?

realien <[email protected]> Thu, 5 Jul 2007 13:49:17 -0700 (PDT)
Newsgroups gmane.comp.java.openamf.user
Message-ID <[email protected]>
Are there some docs on how to setup the result filter for openAMF
<result-filter> ?

I have a method that returns an array of objects and the objects inside that
array have a property I want ignored since its lazy loaded by hibernate
later.

so I return an array

inside that array is a an object. e.g MyObject

and I want a property of it ignored.

I mistakely tried to ignore on the top level return type :

 <result-filter>
				<class>com.fluid.reebok.model.ConfigurableProductCategory</class>
				<parameter>
					<name>ignore</name>
					<value>parent</value>
				</parameter>
			</result-filter>

but the method does not return a ConfigurableProductCategory, it returns an
array of them, so right now I get a class cast exception.

Grant

 
-- 
View this message in context: http://www.nabble.com/documentation-on-method-result-filter---tf4032177.html#a11454285
Sent from the OpenAMF - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/