You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "John L. Webber" <Jo...@jentro.com> on 2004/12/15 13:33:41 UTC

Cocoon 2.1.6: what happened to FlowHelper.CONTINUATION_OBJECT?

FlowHelper.CONTINUATION_OBJECT was public static final in Cocoon 2.1.3; 
in Cocoon 2.1.6 it's now private static final. Was there a reason for 
this change? Are we just supposed to use the string 
"cocoon.flow.continuation" now, or are there plans to fix this? It 
doesn't seem very nice to change the access of a public constant between 
minor build numbers... ;-(

John


-- 
---------------------------------------------------------
  Jentro Technologies GmbH
  John L. Webber, Software Development
---------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cocoon 2.1.6: what happened to FlowHelper.CONTINUATION_OBJECT?

Posted by "John L. Webber" <Jo...@jentro.com>.
Hello Reinhard,

Thanks, I already changed our code to use that method (which we probably 
always should have used).

Regards,

John

Reinhard Poetz wrote:
> John L. Webber wrote:
> 
>> FlowHelper.CONTINUATION_OBJECT was public static final in Cocoon 
>> 2.1.3; in Cocoon 2.1.6 it's now private static final. Was there a 
>> reason for this change? Are we just supposed to use the string 
>> "cocoon.flow.continuation" now, or are there plans to fix this? It 
>> doesn't seem very nice to change the access of a public constant 
>> between minor build numbers... ;-(
> 
> 
> Don't know who did the change, but the Flowhelper has following method:
> 
>     public final static WebContinuation getWebContinuation(Map 
> objectModel) {
>         return (WebContinuation)objectModel.get(CONTINUATION_OBJECT);
>     }
> 

-- 
---------------------------------------------------------
  Jentro Technologies GmbH
  John L. Webber, Software Development
---------------------------------------------------------
  Rosenheimer Str. 145e	    81671 München
  Tel. +49 89 189 169 80     mailto:John.Webber@jentro.com
  Fax  +49 89 189 169 99     http://www.jentro.com
---------------------------------------------------------
NOTICE: The information contained in this e-mail is confidential or may 
otherwise be legally privileged. It is intended for the named recipient 
only. If you have received it in error, please notify us immediately by 
reply or by calling the telephone number above and delete this message 
and all its attachments without any use or further distribution of its 
contents. Please note that any unauthorised review, copying, disclosing 
or otherwise making use of the information is strictly prohibited. Thank 
you.
---------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cocoon 2.1.6: what happened to FlowHelper.CONTINUATION_OBJECT?

Posted by Reinhard Poetz <re...@apache.org>.
John L. Webber wrote:
> FlowHelper.CONTINUATION_OBJECT was public static final in Cocoon 2.1.3; 
> in Cocoon 2.1.6 it's now private static final. Was there a reason for 
> this change? Are we just supposed to use the string 
> "cocoon.flow.continuation" now, or are there plans to fix this? It 
> doesn't seem very nice to change the access of a public constant between 
> minor build numbers... ;-(

Don't know who did the change, but the Flowhelper has following method:

     public final static WebContinuation getWebContinuation(Map objectModel) {
         return (WebContinuation)objectModel.get(CONTINUATION_OBJECT);
     }

-- 
Reinhard

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org