From: Mike S. <ms...@md...> - 2010-01-06 14:58:23
|
you can't return an arbitrary object in html format (what would that mean?) ... you have to return a component like a normal DA. it's up to your action method to handle that route, or return true from isAutomaticHtmlRoutingEnabled and the route controller will automatically route to [EntityName][Action]Page component for all html requests. ms On Jan 6, 2010, at 9:53 AM, David Avendasora wrote: > But the HTML extension doesn't even work. I get this: java.lang.IllegalStateException: There is no writer for the format 'html'. > > Dave > > > On Jan 6, 2010, at 9:44 AM, Mike Schrag wrote: > >> yeah it just never occurred to me that someone would want to create a link that points to a non-html document ... >> >> On Jan 6, 2010, at 8:19 AM, David Avendasora wrote: >> >>> Hi all - mostly Mike, >>> >>> I'm trying to use ERXRouteLink to generate a demo page for my ERRest application, I get the right URL except for the file extension. It always is .html. I'd like to be able to specify .xml, .json or .plist. >>> >>> I've tried digging through the source, but I can't seem to figure out where the .html comes from in the first place. >>> >>> Dave >>> >>> >>> ------------------------------------------------------------------------------ >>> This SF.Net email is sponsored by the Verizon Developer Community >>> Take advantage of Verizon's best-in-class app development support >>> A streamlined, 14 day to market process makes app distribution fast and easy >>> Join now and get one step closer to millions of Verizon customers >>> http://p.sf.net/sfu/verizon-dev2dev >>> _______________________________________________ >>> Wonder-disc mailing list >>> Won...@li... >>> https://lists.sourceforge.net/lists/listinfo/wonder-disc >> >> >> >> > |