HANAX wrote:
On Wed, 2005-09-14 at 23:14 +0200, HANAX wrote:

Ok, now I have working "view" version of my site. Maybe it's time for me to understand views by working with them. I want to add simple visual background (headings, text,

virtual cursor...) for my voice version of site. So what is the core?

forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.view/


...but everything you describe should be done via forrest:hooks and
css-stylesheets. Maybe you need to write some custom contracts but
normally you will not even have to do that (not for background, ...).



OK it sounds simple but I'm totally lost in where to begin or what to do first 
:)


HeHe - don't worry. We have christened Thorsten "Mr. Confusion". He has such a deep understanding of what is going on he often forgets that the rest of us struggle to keep up ;-)

What you need to do is create new contract that adds stuff to the head section of the page. An example of such a contract is at [1]. This simply adds some info to the head section. This contract is used in the view defined in voice.fv (i.e. the view for your plugin).

I would recomend a first step is just to create your own version of this plugin that adds a new meta tag saying that the voice plugin has been there. Later we will use your stylesheets to create the real plugin.

I hope that helps to dispell some of the confusion, at the very least I hope it gets you to a point where you can ask specific questions that we can more clearly target, if not let me know and I'll actually do what I am describing so you can see it.

Ross

[1] http://svn.apache.org/viewcvs.cgi/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/resources/templates/siteinfo-meta.ft?rev=280280&view=markup



Reply via email to