Thanks, i'll try to create a simplified project quickly and file a JIRA. -----Message d'origine----- De : Robert Zeigler [mailto:robert.zeig...@roxanemy.com] Envoyé : lundi 12 septembre 2011 17:35 À : Tapestry users Objet : Re: Possible bug in 5.3 with Mixin parameters
Sounds like a bug. If you can create a simplified project (eg: 1 page, 1 mixin) that duplicates the issue, then create a Jira and attach the project. Robert On Sep 12, 2011, at 9/1210:18 AM , Guerin Laurent wrote: > Hi all, > > In our Tapestry 5 library (exanpe-t5-lib), we provide some mixins containing > some parameters declared as "required=true" AND with a default value provided. > These parameters are required for the operation of the mixin. > > For example, on Dialog mixin, we have : > > @Parameter(value = "confirm", required = true, allowNull = false, > defaultPrefix = BindingConstants.LITERAL) > private DialogRenderModeEnum renderMode; > > If this required parameter is not explicity declared in the TML : > - In 5.2.6, everything is ok : the default value is used > - In 5.3-beta-5, we get the following Exception : > Parameter(s) 'Dialog.renderMode' are required for > org.apache.tapestry5.corelib.components.ActionLink, but have not been bound. > > The TML example looks like this : > <t:actionlink t:id="link1" t:mixins="exanpe/dialog">link1</t:actionlink> > > With a simple type for mixin parameter (Integer or String), the same error > occurs. > This behavior is only for mixins, not for components. > > Should i submit a JIRA for this issue ? > > Laurent > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org