I am trying to create a custom dialog page to get information from user and save it in the repository. Created new dialog definition, JSP & managed bean extends BaseContentWizard and while accessing the page, the OK button is in disabled mode. Can someone help me.Here is my config file<config>
<actions>
<action id="custom_page">
<label>Create Page</label>
<image>/images/icons/mypage.gif</image>
<action>dialog:customPage</action>
</action>
<action-group id="add_content_menu">
<action idref="custom_page" />
</action-group>
</actions>
<dialogs>
<dialog name="customPage" page="/jsp/extension/customPage.jsp" managed-bean="CustomPageDialog"
icon="/images/icons/add_content_large.gif" title="My Custom Page"
description="Custom page for data collection">
</dialog>
</dialogs>
</config>
Here is the bean definition <managed-bean>
<managed-bean-name>CustomPageDialog</managed-bean-name>
<managed-bean-class>com.abi.dialog.CustomPageDialog</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>nodeService</property-name>
<value>#{NodeService}</value>
</managed-property>
<managed-property>
<property-name>browseBean</property-name>
<value>#{BrowseBean}</value>
</managed-property>
<managed-property>
<property-name>contentService</property-name>
<value>#{ContentService}</value>
</managed-property>
<managed-property>
<property-name>dictionaryService</property-name>
<value>#{DictionaryService}</value>
</managed-property>
</managed-bean>