Re: Re: [Keelgroup][ANN] Navigate and dynamic parameters

Gene McCullough <[email protected]>
Newsgroups gmane.comp.java.keel.devel
Message-ID <[email protected]>
Correct, using Sequences, the responses are merged in the "controlling" 
sequence model based on configuration, and not available to individual 
models in the sequence.  I'll test out the request attributes and report 
back.  I had that thought, or also maybe adding a request parameter.

Either way, it will require some kind of project coding standard, as to 
where or when to add the parameter or attribute, so that it can be found 
when expected.

This all assumes you're using Sequences.  If you're "chaining" the 
models by calling them from other models, the Outputs *are* available.

Does app-workflow handle this any differently?

thanks
gene

Sasvata (Shash) Chatterjee wrote:
> Gene,
> 
>> Hmmm, I was a little premature on stating this uses Outputs in the 
>> response.  It DOES work with request parameters, but NOT with Outputs. 
>> I was assuming, using the Sequence model, that responses got merged 
>> and passed along to the individual models.  That is not the case.  I'm 
>> not sure how app-workflow handles this.
> 
> 
> Responses (and Outputs) *should* get merged by default, but the 
> intermediate models don't see that (they are not supposed to be aware, 
> or assume, that other models have gone through in any particular 
> order).   The Sequence itself keeps a running merged response which is 
> returned back to the client.  If I remember correctly, you can try 
> adding the outputs as a *request* attribute, that just might work.
> 
> Shash
> 
> http://keelframework.org/documentation.shtml
> Keelgroup mailing list
> [email protected]
> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
> 
http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.