The main loop looks like:Right... I knew all that. What I was asking was what are the best practices for outputting XML one time, and maybe HTML the next, from the same set of objects. Or is it just best to use a different page/set of components against the same business objects?
We developed components that automatically internationalized stuff.OK, this sounds very, very similar to what I did with J2EE.
but you don't have session information (obviously) in a direct action.That's the issue. I'm not sure why they didn't just store a single session/context ID in a cookie and map everything back at the beginning of the response loop, instead of those goofy URLs. Usually URLs like that are used only as a fallback if cookies aren't enabled.
I guess I could write the entire thing as direct actions, store my own session info by user ID in the application, and go from there. Seems to me that I'd be losing a good deal of the benefits of using the framework in the first place, though.