|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
[t5] remove in grid not working"remove" does not appear to work:
<t:grid t:source="allDigitalItems" t:reorder="article, issue,title" t:remove="id" t:row="listItem"> <t:parameter t:name="articleCell"> <t:PageLink t:page="details" t:context="listItem.id"> ${listItem.article} </t:PageLink> </t:parameter> </t:grid> I have looked for previous advice on this and someone said that "exclude" should be used instead (without saying why). Well, "exclude" is not listed in: http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html#orgapachetapestrycorelibcomponentsgrid I have tried it and it does work. Would anyone care to comment on why "remove" has been removed and "exclude" is not listed. Is it a direct replacement (or renaming), or does it have different functionality? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
RE: [t5] remove in grid not workingHmm. It looks like there's some old stuff floating around the site. That is an old component listing. Go to http://tapestry.apache.org/tapestry5/tapestry-core/ And then go to components, and then to Grid. You will wind up here: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/ corelib/components/Grid.html For an explanation of the change, you would probably have to look into JIRA. > -----Original Message----- > From: photos@... [mailto:photos@...] > Sent: Tuesday, July 22, 2008 10:42 > To: users@... > Subject: [t5] remove in grid not working > > "remove" does not appear to work: > > <t:grid t:source="allDigitalItems" t:reorder="article, issue,title" > t:remove="id" t:row="listItem"> > <t:parameter t:name="articleCell"> > <t:PageLink t:page="details" > ${listItem.article} > </t:PageLink> > </t:parameter> > </t:grid> > > > I have looked for previous advice on this and someone said that > "exclude" should be used instead (without saying why). Well, > "exclude" is not listed in: > > http://tapestry.apache.org/tapestry5/tapestry-core/component- > parameters.html#orgapachetapestrycorelibcomponentsgrid > > I have tried it and it does work. > > Would anyone care to comment on why "remove" has been removed and > "exclude" is not listed. Is it a direct replacement (or renaming), or > does it have different functionality? > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: [t5] remove in grid not workingHi,
It's exclude all right - the component reference seems to be outdated. When in doubt, check the source code. Anyhow, add and remove were renamed to include and exclude, respectively some time ago. There's no change in functionality. -Filip On 2008-07-22 16:42, photos@... wrote: > "remove" does not appear to work: > > <t:grid t:source="allDigitalItems" t:reorder="article, issue,title" > t:remove="id" t:row="listItem"> > <t:parameter t:name="articleCell"> > <t:PageLink t:page="details" t:context="listItem.id"> > ${listItem.article} > </t:PageLink> > </t:parameter> > </t:grid> > > > I have looked for previous advice on this and someone said that > "exclude" should be used instead (without saying why). Well, "exclude" > is not listed in: > > http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html#orgapachetapestrycorelibcomponentsgrid > > > I have tried it and it does work. > > Would anyone care to comment on why "remove" has been removed and > "exclude" is not listed. Is it a direct replacement (or renaming), or > does it have different functionality? > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free Forum Powered by Nabble | Forum Help |