You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Gaurav Kalia <ga...@techblue.co.uk> on 2010/07/12 13:14:41 UTC
How to set parameter in order to use it publication sitemap ?
Hi All
I want to set a parameter for a publication which should be accessible
in publication sitemap. But I want this parameter to be configured from
the CMS area as well. To achieve this I have written a usecase. I can
create a new xml file for this purpose from where i can read and write
the changes but that will not be accessible in publication sitemap.
I want to get that parameter in the matcher so that I can change the
flow accordingly.
For example:
I would like to achieve something like language parameter, which is
accessible anywhere in the publication by using {page-envelope: ...}
Please suggest
Thanks
Gaurav
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: How to set parameter in order to use it publication sitemap ?
Posted by Gaurav Kalia <ga...@techblue.co.uk>.
Hi Andreas
Can you please give me an idea. Your assistance will help me to start
and make it in a better way.
Regards
Gaurav
On Monday 12 July 2010 05:05 PM, Andreas Hartmann wrote:
> Hi Gaurav,
>
> Am 12.07.10 13:14, schrieb Gaurav Kalia:
>> I want to set a parameter for a publication which should be accessible
>> in publication sitemap. But I want this parameter to be configured from
>> the CMS area as well.
>
> the propertiesdocument module fits this purpose:
>
> https://svn.apache.org/repos/asf/lenya/docu/modules/propertiesdocument
>
> Let me know if you need more info.
>
>> To achieve this I have written a usecase. I can
>> create a new xml file for this purpose from where i can read and write
>> the changes but that will not be accessible in publication sitemap.
>>
>> I want to get that parameter in the matcher so that I can change the
>> flow accordingly.
>>
>> For example:
>>
>> I would like to achieve something like language parameter, which is
>> accessible anywhere in the publication by using {page-envelope: ...}
>
> We could add an input module to the propertiesdocument module for this
> purpose. A patch would be very welcome. Let me know if you need
> assistance.
>
> HTH,
>
> -- Andreas
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: What is the docu tree ? (Re: How to set parameter in order to
use it publication sitemap ?)
Posted by florent andré <fl...@4sengines.com>.
IMO: Sure ! moving them to contribution :
they are generics, really interesting...and don't have a good visibility
in the docu tree.
So +1 for moving to the contribution
On 13/07/2010 17:02, Andreas Hartmann wrote:
> Am 13.07.10 16:12, schrieb florent andré:
>> On 12/07/2010 13:35, Andreas Hartmann wrote:
[[..]]
>>
>> Why there is some modules here
>> (https://svn.apache.org/repos/asf/lenya/docu/modules/) that are not
>> presents in trunk modules or contribution ?
>
> The docu tree contains the following modules:
>
>
> diff
> * send diffs to mailing list
> * probably quite generic
>
> docustyle
> * layout of the docu publication
> * specific for the docu pub
>
> externallinks
> * manage external links in a single place: use keys to reference the
> link in documents, actual link is resolved when the page is generated
> * generic
>
> forrest
> * Apache Forrest document type
> * could probably be considered generic
>
> propertiesdocument
> * manage properties in a document
> * generic
>
>
> I don't mind moving the generic modules to the contributions area. WDYT?
>
> -- Andreas
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: What is the docu tree ? (Re: How to set parameter in order to
use it publication sitemap ?)
Posted by Andreas Hartmann <an...@apache.org>.
Am 13.07.10 16:12, schrieb florent andré:
> On 12/07/2010 13:35, Andreas Hartmann wrote:
>> Hi Gaurav,
>>
>> Am 12.07.10 13:14, schrieb Gaurav Kalia:
>>> I want to set a parameter for a publication which should be accessible
>>> in publication sitemap. But I want this parameter to be configured from
>>> the CMS area as well.
>>
>> the propertiesdocument module fits this purpose:
>>
>> https://svn.apache.org/repos/asf/lenya/docu/modules/propertiesdocument
>>
>
> Why there is some modules here
> (https://svn.apache.org/repos/asf/lenya/docu/modules/) that are not
> presents in trunk modules or contribution ?
The docu tree contains the following modules:
diff
* send diffs to mailing list
* probably quite generic
docustyle
* layout of the docu publication
* specific for the docu pub
externallinks
* manage external links in a single place: use keys to reference the
link in documents, actual link is resolved when the page is generated
* generic
forrest
* Apache Forrest document type
* could probably be considered generic
propertiesdocument
* manage properties in a document
* generic
I don't mind moving the generic modules to the contributions area. WDYT?
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
What is the docu tree ? (Re: How to set parameter in order to use
it publication sitemap ?)
Posted by florent andré <fl...@4sengines.com>.
Hi,
On 12/07/2010 13:35, Andreas Hartmann wrote:
> Hi Gaurav,
>
> Am 12.07.10 13:14, schrieb Gaurav Kalia:
>> I want to set a parameter for a publication which should be accessible
>> in publication sitemap. But I want this parameter to be configured from
>> the CMS area as well.
>
> the propertiesdocument module fits this purpose:
>
> https://svn.apache.org/repos/asf/lenya/docu/modules/propertiesdocument
>
Why there is some modules here
(https://svn.apache.org/repos/asf/lenya/docu/modules/) that are not
presents in trunk modules or contribution ?
Thanks
++
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: How to set parameter in order to use it publication sitemap ?
Posted by Gaurav Kalia <ga...@techblue.co.uk>.
Hi Andreas
> We could add an input module to the propertiesdocument module for this
> purpose. A patch would be very welcome. Let me know if you need
> assistance.
Thanks for the suggestion.
I will look into the input module and will ask you if anything is not clear.
Regards
Gaurav
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: How to set parameter in order to use it publication sitemap ?
Posted by Andreas Hartmann <an...@apache.org>.
Hi Gaurav,
Am 12.07.10 13:14, schrieb Gaurav Kalia:
> I want to set a parameter for a publication which should be accessible
> in publication sitemap. But I want this parameter to be configured from
> the CMS area as well.
the propertiesdocument module fits this purpose:
https://svn.apache.org/repos/asf/lenya/docu/modules/propertiesdocument
Let me know if you need more info.
> To achieve this I have written a usecase. I can
> create a new xml file for this purpose from where i can read and write
> the changes but that will not be accessible in publication sitemap.
>
> I want to get that parameter in the matcher so that I can change the
> flow accordingly.
>
> For example:
>
> I would like to achieve something like language parameter, which is
> accessible anywhere in the publication by using {page-envelope: ...}
We could add an input module to the propertiesdocument module for this
purpose. A patch would be very welcome. Let me know if you need assistance.
HTH,
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org