This content has been marked as final. Show 6 replies
Maybe there is a confusion here. HtmlButton is probably some Swing Java Bean that cannot be imported at server side with the Java Importer Forms Builder feature.
The java Importer is able to import Java code that will be executed at server side, so without any "screen" representation.
Maybe you could clarify your need.
There are two possible integrations of java into forms:
-server-side integration. This is functionality executed in the "backgound" without any GUI (e.g. a webservice-call). This is done using the java-importer.
-client-side-integration. This functionality "extends" the GUI of a forms-application (e.g having a special button). This integration s not done by the java-importers, but with a couple of things:
+the java-class has to be based on a specific Forms-Java-class (.eg. VBean, VButton, VTextField, depending on your itemtype)
+the name of the java-class has to be put in the property "implementation class" of your forms-item which should "inherit" the new behaviour.
+the jar with the javacode has to be in the property "archive" in the appropiate section of your default.env
Have a look here http://forms.pjc.bean.over-blog.com/ especially the article "How to build my first javabean"