« Return to Thread: DWR Development Question

DWR Development Question

by kouphax :: Rate this Message:

Reply to Author | View in Thread

Hello,

I'll try and make this as easy to understand as possible.  I am trying to develop a new search screen based on DWR.  Basically within the company there are separate business units that can all use the case search functionality.  The search criteria and the search results table for each unit is slightly different.  My initial plan is to build a generic search screen that loads custom fragments for each different unit (using JSP:include tags) but the grunt work is performed by the javascript on the main page.

When a user performs a search DWR will go to the back end and get a list of search results that is used to dynamically build the search results on the screen.  This is where my problem lies - I have a CaseSearchCriteria interface bean that specific beans implement.  My CaseSearchService has one function - search(ICaseSearchCritera criteria) that is to be exposed via DWR.  My problem is that DWR can't seem to convert Interface objects - is there a simple way around this?

James.


--------------------------------------------------------------------
This e-mail is intended solely for the addressee and is strictly confidential; if you are not the addressee please destroy the message and all copies. Any opinion or information contained in this email or its attachments that does not relate to the business of Kainos
is personal to the sender and is not given by or endorsed by Kainos. Kainos is the trading name of Kainos Software Limited, registered in Northern Ireland under company number: NI19370, having its registered offices at: Kainos House, 4-6 Upper Crescent, Belfast, BT7 1NT,
Northern Ireland. Registered in the UK for VAT under number: 454598802 and registered in Ireland for VAT under number: 9950340E. This email has been scanned for all known viruses by MessageLabs but is not guaranteed to be virus free; further terms and conditions may be
found on our website - www.kainos.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

 « Return to Thread: DWR Development Question

LightInTheBox - Buy quality products at wholesale price