jsr344-experts@javaserverfaces-spec-public.java.net

[jsr344-experts] Re: Re: [jsr344-experts mirror] Re: [730-TaskFlows] PROPOSAL

From: Edward Burns <edward.burns_at_oracle.com>
Date: Tue, 27 Mar 2012 09:13:49 -0700

>>>>> On Mon, 26 Mar 2012 20:03:10 -0600, David Schneider <david.schneider_at_oracle.com> said:

DS> Sorry for the late response, I've been a bit under the weather lately.

DS> On 3/16/2012 9:01 AM, Edward Burns wrote:
DS> This flow is used to create/edit some type of data record (e.g. a
DS> customer contact, employee, etc.). The flow's starting point, its
DS> 'default activity', is indicated with the green halo.

EB> Obviously the router is an embodiment of some logic. How is the logic
EB> encoded? A java method invocation? I don't have "Router Activity"
EB> correctly represented in the proposal [1]. David, can you please say
EB> what I should put for "Router Activity"?

DS> In ADF a router activity is the control flow equivalent of a switch
DS> statement. It consists of a sequence of EL value expressions and an
DS> outcome value to be generated if the EL evaluates to 'true'. There's
DS> also a default outcome to be generated if none of the expressions
DS> evaluate to 'true'. In theory the same thing can be done with a single
DS> Java method call but we found in some cases developers preferred being
DS> able to use metadata instead of code, especially if IDE support is
DS> available for generating the metadata.

Thanks, I've updated the proposal.

Ed

-- 
| edward.burns_at_oracle.com | office: +1 407 458 0017
| homepage:               | http://ridingthecrest.com/