java.lang.Error: Could not read resource path /cis/config/editor_kaba.xml
at com.softwareag.cis.gui.generate.MixEditorXML.readCombinedXML()Ljava.lang.String;(Unknown Source)
at com.softwareag.cis.gui.generate.HTMLGenerator.refreshXMLConfig()V(Unknown Source)
at com.softwareag.cis.gui.generate.HTMLGenerator.generateHTML(Ljava.lang.String;)Ljava.lang.String;(Unknown Source)
at com.softwareag.cis.server.InteractionSession.addDynamicPage(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(Unknown Source)
at com.softwareag.cis.server.InteractionSession.addDynamicPage(Ljava.lang.String;Ljava.lang.String;)V(Unknown Source)
Hello,
you have to create the mentioned file “editor_kaba.xml” by yourself.
You have to follow the following steps for a very brief example of a button control element that can be used throughout your application for confirmation purposes:
1.) Declare your own editor library in the file webapps\cis\cis\config\controllibraries.xml for the extension/namespace “kaba”.
What I forgot to mention:
It is wise to include in the XML layout file an appropriate namespace declaration for your new created control element kaba:okButton/.
You might need it later.
Thanks for the answer, but I think there must be an easier way, too (like explained in the online documentation).
For testing, I created the wanted editor_kaba.xml (contains only the xml and an empty controllibrary tag).
Now, the page is displayed, but in the subpage-control occurs the following error:
The log looks as following:
I thought that the examples in the online documentation would work… If this is not the case, I obviously must try the solution with the IMacroTagHandler…
But I don’t know how the path is generated by CIS. The adapter which contains the subpage is named ContactLocationEditAdapter. I can’t explain why CIS accesses to the file ContactLocationEditAdapter.xml…