How to render a widget on page as editable like inplace editor by default? | Community
Skip to main content
vikramca06
Level 4
October 16, 2015
Solved

How to render a widget on page as editable like inplace editor by default?

  • October 16, 2015
  • 2 replies
  • 784 views

Hi,

How to render a widget on page as editable like inplace editor. But without clicking on the component.

or

How to call xtype in jsp and render as normal html input tags with extjs features?.

any help?

thanks in advance.

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 smacdonald2008

An xtype is based on:

http://www.sencha.com/products/extjs/up-and-running

You can write a custom JSP that uses these JS widgets in the JSP (not just the dialog of a component).

Once on the JSP - it will be rendered to the end user. We have examples of rendering JQuery Widgets (for example - a GRID widget) on an AEM page. For example:

http://helpx.adobe.com/experience-manager/using/using-ajax-requests-display-cq.html

So instead of rendering a JQuery widget, you can use a EXTJS type in a page. 

2 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

An xtype is based on:

http://www.sencha.com/products/extjs/up-and-running

You can write a custom JSP that uses these JS widgets in the JSP (not just the dialog of a component).

Once on the JSP - it will be rendered to the end user. We have examples of rendering JQuery Widgets (for example - a GRID widget) on an AEM page. For example:

http://helpx.adobe.com/experience-manager/using/using-ajax-requests-display-cq.html

So instead of rendering a JQuery widget, you can use a EXTJS type in a page. 

Dinu_Arya
Level 6
October 16, 2015

Hi,

I think you can use OOtB form components. Refer: http://docs.adobe.com/docs/en/cq/current/developing/developing-forms.html

Thanks,

Arya.