Doug Chestnut wrote:


Jörn Nettingsmeier wrote:
ok, i have finally assumed lazy consensus, and the patch is in:
http://svn.apache.org/viewvc?view=rev&revision=448941

please be aware that uri views will now sendPageAndWait. that means you
should eventually "submit" your usecase, otherwise a stale, very lonely,
bored and sad continuation will remain on the server until the timeout
hath mercy upon it.

Perhaps we need to give a reasonable exception to continuation creation (continuation="false")? I could see someone wanting to add functionality to a modules sitemap.xmap, and register that functionality as a usecase (but never "submit" to the usecase framework).

fine with me, as long as it's the same for both template and uri views.

usecases.js could use some cleaning up anyways. currently it has a number of hacks that are cforms-specific, which is not nice, and they are not yet applied to the uri view branch (so i'm not 100% true to my own standards that template and uri should be functionally equivalent).

but i have postponed that, since the flowscript first needs to be split up into functions to make it more readable and reduce code duplication - the current code takes the "-script" part quite literally, as it's basically one long list of statements. are there any traps with local functions in a rhino flowscript?

as to the cforms hacks, is there a way of including other files in server-side javascript? if yes, we might add a hook for usecase-specific code that gets called before sendPageAndWait, to get rid of the cforms stuff in the generic flow handler. that would promote the usecase framework from an 85 to a 100% solution (provided the user is prepared to write the missing 15% her/himself) :-D

wdyt?

--
"Open source takes the bullshit out of software."
        - Charles Ferguson on TechnologyReview.com

--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: [EMAIL PROTECTED], Telefon: 0203/379-2736

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to