You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Flying Lee <sk...@hotmail.com> on 2004/10/11 07:32:17 UTC
A bug of Spindle
Summary:
can't define a component both in page spec and page template
Detailed Description:
If a parameter of a component is required,Can't define the component both in
page specification and page template.
for example:
I define a ValidField like these:
in the page specification file:
<component id="inputAddress" type="ValidField">
<binding name="value" expression="address"/>
<binding name="validator" expression="beans.stringValidator"/>
</component>
in the page template file:
<span jwcid="inputAddress" displayName="Address"/>
Because the 'displayName' parameter is required,Spindle report error
although I define it in the template file.
Of cause,it's no any exception at runtime.
I think it's a bug of Spindle.
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: A bug of Spindle
Posted by Geoff Longman <gl...@gmail.com>.
Technically its not a bug as Spindle wasn't built to do this kind of
"after the fact" validation for informal paramters. It's on the
feature request list. Until I get to this change, all you can do is
ignore the error. sorry.
Geoff
On Tue, 12 Oct 2004 13:58:42 +0800, Flying Lee <sk...@hotmail.com> wrote:
> Sorry,I think the bug haven't been resolve at the latest version.
>
> The error is marked on the specification file.
>
> "Geoff Longman" <gl...@gmail.com>
> ??????:94b38848041011024479f3e5af@mail.gmail.com...
>
>
> > The bug you entered is a dupe of this RFE
> >
> >
> http://sourceforge.net/tracker/index.php?func=detail&aid=978520&group_id=503
> 21&atid=459331
> >
> >
> > On Mon, 11 Oct 2004 13:32:17 +0800, Flying Lee <sk...@hotmail.com>
> wrote:
> > > Summary:
> > >
> > > can't define a component both in page spec and page template
> > >
> > > Detailed Description:
> > >
> > > If a parameter of a component is required,Can't define the component
> both in
> > > page specification and page template.
> > >
> > > for example:
> > >
> > > I define a ValidField like these:
> > >
> > > in the page specification file:
> > >
> > > <component id="inputAddress" type="ValidField">
> > > <binding name="value" expression="address"/>
> > > <binding name="validator" expression="beans.stringValidator"/>
> > > </component>
> > >
> > > in the page template file:
> > >
> > > <span jwcid="inputAddress" displayName="Address"/>
> > >
> > > Because the 'displayName' parameter is required,Spindle report error
> > > although I define it in the template file.
> > >
> > > Of cause,it's no any exception at runtime.
> > >
> > > I think it's a bug of Spindle.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: A bug of Spindle
Posted by Flying Lee <sk...@hotmail.com>.
Sorry,I think the bug haven't been resolve at the latest version.
The error is marked on the specification file.
"Geoff Longman" <gl...@gmail.com>
??????:94b38848041011024479f3e5af@mail.gmail.com...
> The bug you entered is a dupe of this RFE
>
>
http://sourceforge.net/tracker/index.php?func=detail&aid=978520&group_id=503
21&atid=459331
>
>
> On Mon, 11 Oct 2004 13:32:17 +0800, Flying Lee <sk...@hotmail.com>
wrote:
> > Summary:
> >
> > can't define a component both in page spec and page template
> >
> > Detailed Description:
> >
> > If a parameter of a component is required,Can't define the component
both in
> > page specification and page template.
> >
> > for example:
> >
> > I define a ValidField like these:
> >
> > in the page specification file:
> >
> > <component id="inputAddress" type="ValidField">
> > <binding name="value" expression="address"/>
> > <binding name="validator" expression="beans.stringValidator"/>
> > </component>
> >
> > in the page template file:
> >
> > <span jwcid="inputAddress" displayName="Address"/>
> >
> > Because the 'displayName' parameter is required,Spindle report error
> > although I define it in the template file.
> >
> > Of cause,it's no any exception at runtime.
> >
> > I think it's a bug of Spindle.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: A bug of Spindle
Posted by Geoff Longman <gl...@gmail.com>.
The bug you entered is a dupe of this RFE
http://sourceforge.net/tracker/index.php?func=detail&aid=978520&group_id=50321&atid=459331
On Mon, 11 Oct 2004 13:32:17 +0800, Flying Lee <sk...@hotmail.com> wrote:
> Summary:
>
> can't define a component both in page spec and page template
>
> Detailed Description:
>
> If a parameter of a component is required,Can't define the component both in
> page specification and page template.
>
> for example:
>
> I define a ValidField like these:
>
> in the page specification file:
>
> <component id="inputAddress" type="ValidField">
> <binding name="value" expression="address"/>
> <binding name="validator" expression="beans.stringValidator"/>
> </component>
>
> in the page template file:
>
> <span jwcid="inputAddress" displayName="Address"/>
>
> Because the 'displayName' parameter is required,Spindle report error
> although I define it in the template file.
>
> Of cause,it's no any exception at runtime.
>
> I think it's a bug of Spindle.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org