01-28-2006 07:19 PM
01-30-2006 05:28 AM
01-30-2006 09:09 AM
JSF does allow what are called "self rendering components", meaning that if you know your component is only ever going to be used in one particular view technology you can allow it to generate the appropriate rendering code.
Therefore those components that you have found HTML generation in are those that we felt, at the time, were only pertinent for the web. If you disagree with this choice in any of the components please feel free to raise the issue as a bug on JIRA.
01-31-2006 05:33 AM
Is there a good reason for the component classes to make assumptions about how they are rendered (ie getting a hold of a response writter and outputting HTML tags)?
Doesnt this kind of defeat one of the major points of JSF which is plug in support for different view technology?
01-31-2006 06:25 AM
Is there a good reason for the component classes to make assumptions about how they are rendered (ie getting a hold of a response writter and outputting HTML tags)?
Doesnt this kind of defeat one of the major points of JSF which is plug in support for different view technology?
Yes i think so - but in the real world the components are never going to output any other than HTML/XHTML.
Kevin
01-31-2006 06:41 AM
01-31-2006 09:39 AM
For our web-client yes I'm sure. If someone is brave enough to extract the common Alfresco components and refactor them to use separate renders etc. then they are welcome, but in the real world with real development timescales choices had to be made that sometimes do not fit the ideal.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.