doing it in beforeRender() will be fruitless, there is no View output generated until render() which beforeRender() happens before ;) you might have better luck using afterFilter(); Or even better making a custom view class for your wireless output format, and switching to the custom view class based on the request.
-Mark On Feb 5, 5:47 am, garbetjie <[email protected]> wrote: > Hey all. > > I've been struggling with what I would imagine should be a relatively > simple exercise. > > I'm attempting to integrate the Wireless Abstraction Library (WALL) > into my Cake app, but it really isn't playing nice. > > I need to be able to edit the final source code of the views. There > are certain HTML tags that need to be replaced and updated, and so I > need to be able to access rendered data, *without* sending it to the > browser. > > So, what I need to know is where there is any way to access the > rendered view without sending the data to the browser, thus allowing > me to edit the data to be sent - maybe through a $this->output var in > the Controller or something? > > Would really appreciate some help. > > *g --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
