How to edit page properties via a component dialog? | Community
Skip to main content
sathish_somarat
October 16, 2015
Solved

How to edit page properties via a component dialog?

  • October 16, 2015
  • 2 replies
  • 577 views

Hello All,

 

 I have a page(mypage) and a component(mycomponent) on that page which gets its content from the page properties. I am trying to provide an authoring interface for the "mycomponent" which will let the author edit corresponding page properties without creating any component level properties.  Any help on this is much appreciated. Thanks in advance.

 

Thanks,

Sathish

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Lokesh_Shivalingaiah

Hi Sathish,

  one way of handling this is to get the input from your 'mycomponent' and in the jsp, read the value and set them for the corresponding page properties accessing Page API. So from the authoring perspective, they will be handling the page properties through the component.

2 replies

Dinu_Arya
Level 6
October 16, 2015

Hi Sathish,

U can just extend out of the box page component so that you can use that dialog. In mycomponent.jsp try to maintain same data and properties using Node and Page API.

Thanks,

AryA.

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
October 16, 2015

Hi Sathish,

  one way of handling this is to get the input from your 'mycomponent' and in the jsp, read the value and set them for the corresponding page properties accessing Page API. So from the authoring perspective, they will be handling the page properties through the component.