On Jue, 10 de Febrero de 2005, 7:51, Sylvain Wallez dijo: > oceatoon wrote: > >>>>Hmm... the problems is that "cocoon.request.blah" was released and >>>> maybe >>>>is used is used (by us and other people?) in a lot of places and maybe >>>>other peopl! :-( >>>> >>>> >>Sorry for peecking into this post but till today I thought >>cocoon.request.blah was a normal call, and seemed quite natural ;) in a >>users perspective. I do use it massively. >> >>So the correct way of doing this would be >>cocoon.request.getParameter("blah") then ? >> >> > > Exactly. Don't know yet how/if parameters will be available as > properties in the future, but for sure cocoon.request.getParameter() > will always work. > >>before it blows off with 2.2 >> >> > > Poof :-)
What a big poof! It reached 2.1.7-dev!!! ;-) I found time to update the SVN version and an application that works fine using the lastest SVN version seems to be broken. I added 2 lines in javascript flow code for test: cocoon.log.error("name=" + cocoon.request.name); cocoon.log.error("name=" + cocoon.request.getParameter("name")); And the result is: name=undefined name=antonio Then the original "cocoon.request.name" is not working anymore. It was simply a very big poof! ;-) Seriously, can you review the change just to deprecate it. :-) Best Regards, Antonio Gallardo > > Sylvain > > -- > Sylvain Wallez Anyware Technologies > http://www.apache.org/~sylvain http://www.anyware-tech.com > { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } >