forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gav...." <>
Subject RE: [jira] Commented: (FOR-848) upgrade NoteTaking plugin to use current Dispatcher
Date Sat, 06 May 2006 12:55:17 GMT

> -----Original Message-----
> From: Gavin (JIRA) []
> Sent: Saturday, 6 May 2006 8:36 PM
> To:
> Subject: [jira] Commented: (FOR-848) upgrade NoteTaking plugin to use
> current Dispatcher
>     [
> 848?page=comments#action_12378211 ]
> Gavin commented on FOR-848:
> ---------------------------
> I am working on this and am making some progress.
> The plugin has now been converted to use current Dispatcher.
> I still need to get a 'notes' example working however.

Rather than waffle on in Jira I'll extend this here.

The NoteTaking Plugin has now been upgraded to Dispatcher code
And works fine in that the sample site displays fine. However
I can not get the 'notes' themselves to work, without a 
Previous working example of what it should be like I
Am flying blind a bit here.

To start with, there is no example notes.xml present in
/src/notes/ folder (the /src/notes/folder does not exist)

I am not surprised as I guess a first edit of a notes area
Would see the creation of this file, with amendments to
It thererafter.

But there is no 'notes' area appearing on the page for
Anywhere to edit in the first place.

The relevant code pieces are :-

In common.fv

      <forrest:hook name="notes">
        <forrest:contract name="content-noteTaking">
            <forrest:property name="content-noteTaking-notes"><jx:import
            <forrest:property name="content-noteTaking-cols" value="60"/>
            <forrest:property name="content-noteTaking-rows" value="10"/>

I am unsure whether :-


Is correct or not, can someone confirm ?

The output result of the above is <notes /> so no 60x10 box for
Writing any notes is created.

In :-

<?xml version="1.0" encoding="UTF-8"?>
  <property name="noteTaking.repository.URL" value="src/notes/"/>
  <property name="noteTaking.filename" value="notes.xml"/>

Looking at I would have thought
that this file would work fine now, if I am
mistaken can someone advise where I am to put these properties now.

The sample for a notes.xml file states :-

All notes are kept in a single notes file. This file has the following

          <notes>The notes</notes>
          <notes>Some other notes</notes>

Does anyone have a actual code example as I am unsure how
<path><to><page> is represented.

Like I say, plugin upgrade to Dispatcher is done, but still
Pretty useless without a working notes example, pointers
Greatly appreciated. The focus for getting this working
Is to clear another Issue from for-roadmap 0.8 out of
The way, I don't need it, but can envisage its 


> > upgrade NoteTaking plugin to use current Dispatcher
> > ---------------------------------------------------
> >
> >          Key: FOR-848
> >          URL:
> >      Project: Forrest
> >         Type: Bug
> >   Components: Dispatcher (aka views), Plugin: internal.NoteTaking
> >     Versions: 0.8-dev
> >     Reporter: David Crossley
> >      Fix For: 0.8-dev
> >
> > The NoteTaking plugin is still using the old experimental Structurer
> plugins.
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
> -
> For more information on JIRA, see:
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.392 / Virus Database: 268.5.5/333 - Release Date: 5/05/2006

View raw message