You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by Ajay Panagariya <ap...@gmail.com> on 2007/07/16 20:34:23 UTC

Providing additional information with PageConfig Object

Hi,

I'm using Pluto's PageConfig Object infrastructure to organize the
navigation on my page. One thing I would like to do is be able to categorize
my navigation with subcategories like:

Category 1
   Page 1
   Page 2
   Page 3
Category 2
   Page 4
   Page 5
  ....

I've got some hack-ish solutions to this, but I think the cleanest way would
be to add a private member that is a generic Object to the PageConfig
Object. The purpose of this would be to just allow the user pack any
additional information they want to  into the PageConfig (subcategories,
icons, etc). Opinions? Suggestions? Maybe a generic Object is too rough
around the edges?

-Ajay Panagariya

Re: Providing additional information with PageConfig Object

Posted by Daniel Larsen <la...@gmail.com>.
I think this is a great idea.  I agree that we probably don't need to handle
specifics, but just having an extra generic object that would allow anyone
to store any additional information that they want.

any one else?  should i pursue putting a patch together?


On 7/16/07, Ajay Panagariya <ap...@gmail.com> wrote:
>
> Hi,
>
> I'm using Pluto's PageConfig Object infrastructure to organize the
> navigation on my page. One thing I would like to do is be able to categorize
> my navigation with subcategories like:
>
> Category 1
>    Page 1
>    Page 2
>    Page 3
> Category 2
>    Page 4
>    Page 5
>   ....
>
> I've got some hack-ish solutions to this, but I think the cleanest way
> would be to add a private member that is a generic Object to the PageConfig
> Object. The purpose of this would be to just allow the user pack any
> additional information they want to  into the PageConfig (subcategories,
> icons, etc). Opinions? Suggestions? Maybe a generic Object is too rough
> around the edges?
>
> -Ajay Panagariya
>