If it means anything... I am designing a Gallery.HTML here is my component
layout...
----------------------
auto-paging
----------------------
content
----------------------
auto-paging
----------------------
1. auto-paging just operates auto-paging buttons top/bottom just like
contrib:table AND both instances are anchored to the same instance
2. content is just a collection
Parameters for CONTENT:
o tableSize - overrides default getcontentBox().width layout and forces
scrollable number of rows in the Gallery equal to the tableSize
Parameters for AUTO-PAGING
o begin - pages to front of collection
o prev - pages to previous fittable amount of collection
o next - pages to next fittable amount of collection
o end - pages to end of collection
I intend to operate the persistence of the auto-paging parameters using JSON.
I'd like to retain the layout of these components using templates.
So I need JSON, Rendering overrides and listener handlers plus simplified
layouts using templates... COMBINED.
Thanks for your feedback.
Best regards
Ken in nashua
From: [EMAIL PROTECTED]
To: [email protected]
Subject: Combined Component Model - Is it supported ?
Date: Mon, 1 Oct 2007 09:14:37 -0400
Folks... per doc text that follows...
1. Components that inherit from BaseComponent will use an HTML template.
2. Components that inherit from AbstractComponent will render output in Java
code, by implementing method renderComponent() .
I would like to build a component that operates combined semantics... or at
least option 2 supporting the manipulation/usage of templates within JAVA.
Option 1 only supports handlers not necessarily rendering + JSON.
WHY? Some component templates are lengthy and I would not like to implement all
that rendering in the JAVA as it is too cluttered/cumbersome. Plus some
components are best fit in just a template and others are better fit in JAVA...
I have a component anatomy a bit complex that requires everything and I want to
distribute the implementation efficiently across both models.
Can tapestry-4.1.2 deliver?
If I commit to model #1 then I end up missing what I need. Same if I commit to
model #2. I need both.
Your feedback is appreciated.
Best regards
Ken in nashua
Discover the new Windows Vista Learn more!
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces.
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us