on 1/26/01 8:35 AM, "Neeme Praks" <[EMAIL PROTECTED]> wrote:
> What is the best way for disabling any further processing from an action?
> I have a file-download action and right now it appends the HTML also to the
> response....
> I tried
> data.setOutSet(true);
> data.setPageSet(false);
> but this seems to be ignored...
>
> So, what is the best way to achieve this?
> Neeme
Actions should not append data to the response.
To stop an Action from processing, simply type:
return;
Here is a typical form submission and page request within Turbine...
#1. user clicks a button on a page.
#2. request goes to server.
#3. framework processes request (looks for action and screen/template).
#4. framework executes action (looks for method to call).
#5. framework executes method (in action).
#6. method executes business objects.
... processing continues ...
#7. framework executes page (looks for screen to get layout)
#8. framework executes screen (which executes template)
#9. framework executes layout/navigations (which also executes template and
then places results of screen into layout)
#10. result is returned to user.
Note: Action can redefine (on the fly) Template/Screen mapping.
Note: Screen can override/redefine (on the fly) Layout.
Note: When used with a template system in Turbine, the Page/Screen/Layout
are almost always a single base class that knows how to execute the
corresponding template class. This is what does the template=Foo mapping to
the corresponding Page/Screen/Layout classes.
thanks,
-jon
--
Honk if you love peace and quiet.
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]