|
Well - I admit was a bit unlucky to meet one of them - but after all
calling "param" a parameter shouldn't be too naif. In the context of iterating components - param, header, cookie and view might be dangerous names. All the others are quite unlikely to be used this way. Hopefully this game is not related to *any* variable resolution, e.g. I hope "foo.param" does not meet the same trouble, otherwise all reserved names might lead to troubles soon or later. -- Renzo Adam Winer wrote: Well, we do know the predefined objects: pageContext servletContext session request response param paramValues header headerValues cookie initParam pageScope requestScope sessionScope applicationScope facesContext viewPlus in Trinidad requestContext pageFlowScope/processScope All of these are bad news. It wouldn't be too rough to have a little trinidad-impl Set<String> of these, check against it in all the renderers + tags that expose "var" or "varStatus" and log a warning. Not 100% bulletproof, but it'd save someone a day of debugging some day. -- Adam On 8/1/07, Simon Lessard <[EMAIL PROTECTED]> wrote:That's a nice issue, and we have no way to provide all the reserved names either... I guess the best we could do is alter the parameter description to mention that it must not take the value of any predefined object and should not take the name of a managed bean either. Anyone see a better solution for this? Regards, ~ Simon On 8/1/07, Renzo Tomaselli < [EMAIL PROTECTED]> wrote: |
- Re: [Trinidad] forbidden binding names Renzo Tomaselli
- Re: [Trinidad] forbidden binding names Martin Marinschek
- Re: [Trinidad] forbidden binding names Simon Lessard

