forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <rgard...@apache.org>
Subject Re: [jira] Commented: (FOR-848) upgrade NoteTaking plugin to use current Dispatcher
Date Sat, 06 May 2006 14:31:44 GMT
Gav.... wrote:
> 
>>-----Original Message-----
>>From: Gavin (JIRA) [mailto:jira@apache.org]
>>Sent: Saturday, 6 May 2006 8:36 PM
>>To: dev@forrest.apache.org
>>Subject: [jira] Commented: (FOR-848) upgrade NoteTaking plugin to use
>>current Dispatcher
>>
>>    [ http://issues.apache.org/jira/browse/FOR-
>>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.

I see this is in the 0.8-dev roadmap. That is a mistake. No plugins 
issues should be in the 0.8-dev roadmap since they have their own 
release cycles. However, it does need fixing so I don't mean to 
discourage you.

With respect to the fact that you cannot see a working example. I'm not 
up to date with the move to V3 so I'm afraid I cannot help much, you 
have done more work than I in that area.

> Looking at http://issues.apache.org/jira/browse/FOR-739 I would have thought
> that this forrest.properties.xml file would work fine now, if I am
> mistaken can someone advise where I am to put these properties now.

I can confirm both that forrest.properties.xml is fully functional and 
the notes plugin worked perfectly well against V2. The problem must 
therefore be in the changes between V2 and V3 of the dispatcher.

I can send you a working app offlist if you like (it's quite large since 
it contains all of shakespeares plays). Alternatively check out a 
version of Forrest that still has V2 in it and run the plugin under that.

> The sample for a notes.xml file states :-

...

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

The <path><to><page> is quite simple (when you see it):

Suppose I write a note for /foo/bar/mypage.xml, the note snippet will be:

<foo>
   <bar>
     <mypage>
       <notes>blah blah blah</notes>
     </mypage>
   </bar>
</foo>

Ross

Mime
View raw message