On 8/24/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
dataview doesnt have its own markup, it delegates it to its direct children.
so you want to put that oncomponenttag into the item the dataview creates.
override dataview.newitem() and override oncomponenttag on the returned
item.
It would
or we can forward the call to the repeatermore intuitive for newbies
less intuitive for the rest :)
-igor
On 8/24/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On 8/24/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
dataview doesnt have its own markup, it delegates it to its direct
children.
On 8/24/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
or we can forward the call to the repeatermore intuitive for newbies
less intuitive for the rest :)
The items would forward the calls? Hmmm. Sounds a bit dangerous/ confusing.
Eelco
);
IteratorItem items = getItems();
while ( items.hasNext() ) {
Item item = items.next();
if ( //some magic here with item.getModelObject() ) {
tag.put( id, theIdValue );
}
}
}
But the method onComponentTag in DataView is never called... Any
suggestions?
Thanks
, theIdValue );
}
}
}
But the method onComponentTag in DataView is never called... Any
suggestions?
Thanks,
Johannes Schneider
--
Johannes Schneider
Im Lindenwasen 15
72810 Gomaringen
Fon +49 7072 9229972
Fax +49 7072 50
Mobil +49 178 1364488
[EMAIL PROTECTED]
http://www.johannes