Re: RFE in org.jpublish.page.Page
Anthony Eden <[email protected]> Fri, 19 Sep 2003 11:51:10 -0400
| Newsgroups | gmane.comp.java.jpublish.devel |
|---|---|
| Message-ID | <[email protected]> |
Both versions 2.x and 3.x include the setProperty() method which you can use to set a property value (but only strings). Which version of JPublish are you using? Perhaps I can add an attributes map but I am not comfortable making the properties methods backwards incompatible. Would an attributes map which allows arbitrary objects be sufficient? Sincerely, Anthony Eden Jérôme BERNARD wrote: >Hi, > >Would it be possible to add a method getProperties() in org.jpublish.page.Page? >I would like to associate meta-data to my pages and this seems to be the easiest >way of doing it. > >Would it be possible to alter (although this would break backward compatibility) >the properties so that instead of being necessarely java.lang.String, they would >be java.lang.Object? > >Regards, >Jérôme. > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Jpublish-developer mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/jpublish-developer > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf