Questions asked by tdtinhttps://answers.axonivy.com/questions/asked-by/1140/tdtin/?type=rssQuestions asked by <a href="/users/1140/tdtin" >tdtin</a>enThu, 30 Jan 2020 01:47:40 -0500Does HTML Dialogs support Java Class extended CompositeObject in Ivy 8 ?https://answers.axonivy.com/questions/4344/does-html-dialogs-support-java-class-extended-compositeobject-in-ivy-8<p>In Ivy 7, sometimes I use Java Class as a Caller Data for HTML Dialogs like the following picture, and it used to work perfectly
<img alt="alt" src="https://i.ibb.co/48QXn7B/Screenshot-2.png">
Then I try to migrate my project to Ivy 8 and I realize that in the components that I am using JavaClass face this error <strong>Process data class 'Class Name' does not exist</strong></p>
<p><img alt="alt text" src="https://i.ibb.co/zrVy7Wt/Screenshot-4.png"></p>
<p>I also tried to create the new component but Ivy cannot find the JavaClass either </p>
<p><img alt="alt text" src="https://i.ibb.co/cx0C9Dc/Screenshot-3.png"></p>
<p>So in Ivy 8, does HTML Dialogs still support Java Class extended Composite Object ?. In case not, is there any alternative solution ? Thank you.</p>tdtinThu, 30 Jan 2020 01:47:40 -0500https://answers.axonivy.com/questions/4344/does-html-dialogs-support-java-class-extended-compositeobject-in-ivy-8migrationivyHow can I create a custom tag in Ivyhttps://answers.axonivy.com/questions/3610/how-can-i-create-a-custom-tag-in-ivy<p>Hi Ivy Team, I'm managing to create a custom tag in JSF. But it seems not work. Do I need to do something more ?</p>
<p>This is my custom class</p>
<pre><code>
@FacesComponent(createTag = true, tagName = "helloComponent", namespace = "http://example.com/tags")
public class HelloComponent extends UIComponentBase {
@Override
public String getFamily() {
return "Greeting";
}
@Override
public void encodeBegin(FacesContext context) throws IOException {
String message = (String) getAttributes().get("message");
ResponseWriter writer = context.getResponseWriter();
writer.startElement("p", this);
writer.write("Messageeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee: " + message);
writer.endElement("p");
}
}
</code></pre><code>
</code><p><code></code></p>
<p>This is my xhtml view :
<img alt="alt text" src="https://image.prntscr.com/image/maP26toeQ5W6hVl4kanc3g.png"></p>tdtinMon, 14 Jan 2019 08:50:37 -0500https://answers.axonivy.com/questions/3610/how-can-i-create-a-custom-tag-in-ivyjsf