alright, thanks. I'll see what I will do about it. Creating a command
for this seems a better way to me.

regards,

Ernst

2010/1/11 Matteo Pelucco (Tinext) <[email protected]>:
>
> I assume you generate the page nodes with some (Java?) code.
> In this case you can simply do an http request (HttpClient...) to localhost.
> It should be enough.
>
> Otherwise you can have a look on the singleton template model java class, 
> where the singletons/autogenerated paragraphs are instanciated.
> You can simply "copy" that code and reading remotely your page configuration 
> you can for instance create a Magnolia command that generates the paragraph 
> node for you.
>
> HTH, matteo
>
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Ernst Bunders
> Sent: venerdì, 8. gennaio 2010 10:49
> To: Magnolia User-List
> Subject: Re: [magnolia-user] autogenerated paragraphs
>
>
> hi Matteo
>
> Thanks for the reply. One more question: how do i call the page
> programmatically. This sounds like the way to go.
>
> regards,
>
> Ernst
>
> 2010/1/7 Matteo Pelucco (Tinext) <[email protected]>:
>>
>> Hi Ernst,
>> I think you have 2 options:
>>
>> 1 - easy) After you created a page with an assigned template with 
>> autogenerated paragraph configured, you simply call the page, 
>> programmatically.
>> 2 - more difficult) After you created a page with an assigned template with 
>> autogenerated paragraph configured you read configuration (from JCR) and 
>> create nodes programatically.
>>
>> The first step can be also done outside you program, imagine you have an 
>> index page with all your pages and then you attach some kind of crowler on 
>> that... I think it could be a good approach.
>>
>> Matteo
>>
>> -----Original Message-----
>> From: [email protected] 
>> [mailto:[email protected]] On Behalf Of Ernst Bunders
>> Sent: giovedì, 7. gennaio 2010 10:18
>> To: Magnolia User-List
>> Subject: [magnolia-user] autogenerated paragraphs
>>
>>
>> hello
>>
>> A question about auto generated paragraphs. I'm in the process of
>> generating pages programatically. I do this by creating the page and
>> paragraph nodes individually. But the auto generated paragraphs are
>> generated at the first time such a page is opened. I wonder how i can
>> 'trigger' this action myself, so i can assume the auto generated
>> paragraphs are there.
>>
>> regards,
>>
>> --
>> Ernst Bunders
>> Ontwikkelaar VPRO
>>
>> ----------------------------------------------------------------
>> For list details see
>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>> To unsubscribe, E-mail to: <[email protected]>
>> ----------------------------------------------------------------
>>
>>
>> ----------------------------------------------------------------
>> For list details see
>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>> To unsubscribe, E-mail to: <[email protected]>
>> ----------------------------------------------------------------
>>
>>
>
>
>
> --
> Ernst Bunders
> Ontwikkelaar VPRO
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>
>



-- 
Ernst Bunders
Ontwikkelaar VPRO

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to