Smee again, hai <3. I've been trying to get some AJAX functionality going on in my application (mainly because putting all the data onto the page at once results in output buffers being too small, lol), so I went looking, and found a few things so far.
First, the 'regular' approach: use Prototype (or similar libraries) to simply request a page with data (a table, in this case). Didn't work, couldn't get the decorator excludes to work no matter what I tried. So, next and apparently more advanced approach, DWR. Ran this tutorial http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseAjaxWithDWR , I've got the manager registered with DWR and everything, BUT, it just doesn't seem to work properly. I get the whole page with methods overloaded from GenericManager and such, but my own test method (public String getTest() { return "AAAAAAAA!"; } ) isn't listed. Scrolling down, I see the warning Warning: No Converter for XXX. , the text indicating that I don't have a proper <converter match="x"> setting in my dwr.xml file. Problem is, I do. < convert converter="bean" match="bla.asdf.sdfa.managers.TestManager"/> same for whole packages < convert converter="bean" match="yay.woot.managers.*"/> both seem to be simply not registered, resulting in my most epic method not being visible or usable in the dwr test page. Which is a shame, really, if it works it would be quite awesome and such. Googling for the problem doesn't work; all I get is a single DWR test page somewhere. Anyone have any clue what I'm doing wrong? I'm pretty sure I followed the tutorial to the letter (I think) (dunno if following any tutorial to the letter is actually a good idea either), and I really wouldn't know what the problem is. Unless DWR is just trying to annoy me by ignoring the <convert>-tags. Anyways, if it matters, here's my manager (or its equivalent): public class SomeTestManager extends GenericManagerImpl<SomeModelName, Long> { public SomeTestManager(GenericDao<SomeModelName, Long> genericDao) { super(genericDao); } public String getString() { return "AAAAA!"; } } and my DWR file only contains the default contents, two <convert> tags refering to directly the manager and the package the manager is contained in (both don't seem to work), and a <create> tag with the bean as a param. I've also added an <include> in the create tag, see if it helps, but it doesn't :/. So, anyone know what my problem may be? Or did I just miss something? -- View this message in context: http://www.nabble.com/DWR---No-Converter-for-XXX-tf4548181s2369.html#a12978702 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
