Re: Bug in BTable
"Tim Dysinger" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
Greetings (again),
How complex have you all pushed the component model? I noticed an email
from Jim Dow a while back that asked about build custom components.
I have a pretty complex couple of screens to build and so far I have not
had any luck with build a custom component model for them.
I would like to be able to build the following structure ->
TemplateModel (page level model)
-> BText (title)
-> BList (links)
-> BLink
-> BList (repeating sections)
-> BTemplate (section template)
-> BText (section title)
-> BList (list of stuff for the section)
-> BText (stuff)
-or-
TemplateModel (page level model)
-> BText (title)
-> BList (links)
-> BLink
-> BTemplate (Iterative Model) (repeating sections)
-> BText (section title)
-> BTemplate (Iterative Model) (list of stuff for the section)
-> BText (stuff)
So far I have been able to manually bind any template model to a view and
it works great, __but__ if I try to return any BTemplate from a
TemplateModel it blows chunks. I have seen tidbits of emails on "Nested
Directives." Can anyone point me to any examples/pointers? It seems that
you cannot return a BTemplate from a TemplateModel.
-Tim