Is there a property I can read in a component JSP to determine whether I'm in inplace editing mode?


i have component writes <div> messes inplace editing, i'd conditionalize , skip writing <div> when user in inplace editing.

 

what property should check for?

 

i see there isactive() method on inplaceeditingconfig class looks useful. so, example, assuming valid inplaceeditingconfig:

 

inplaceeditingconfig ipeconfig = null;

// ipeconfig

if ((ipeconfig != null) && ipeconfig.isactive()) {

     // don't right out div

}

else {

     // write out div

}

 

does isactive() return true when component has been configured inplace edting? or return true when user has clicked in special way go inplace edting mode. that's i'm looking for.

 

thanks,

krs



More discussions in Archived Spaces


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support