Hi,

How about:

String retVal = super.execute();
// generate your components here
return retVal;


Regards from Vienna,

Richard

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] 
Im Auftrag von pgl (via Magnolia Forums)
Gesendet: Dienstag, 20. November 2012 14:33
An: Magnolia User List
Betreff: [magnolia-user] page refresh issue while rendering components

Hi,

I have written code for auto generating components in areas of magnolia page. 
But when i load the page first time components are not created. Second time 
when i refresh the page only, it is generating. 

When i analyzed the code, area rendring happens at the following line, retunrn 
super.execute(); - This is the last line of execute()

My code of generating components is before this return line.So when i execute 
first time, since areas are not rendered, components are not created. 

Any suggestion to solve this rendering issue?

--
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=2d094270-957e-475f-b55f-3a06673054e0


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





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

Reply via email to