I want to define a hijri date field that display hijri date string. I want to know whether the livecycle designer can invoke java class? or have any other ways to define a new component? Thanks a lot.
My Product Information:
LiveCycle Designer, Windows
If you have JavaScript code to do the conversion, you could put that code into a Script Object function so that you could call it from other form objects or you could simply put it in a button object's Click event, for example.
To add a Script Object to your form, select a subform using the Hierarchy palette and choose the "Insert Script Object" command from the context menu (right mouse click).
In form object events as well as Script Objects, you can define JavaScript classes for use in your code. Classes defined in Script Objects can be accessed from other objects by referencing them via the Script Object's name:
MyScriptObject.MyClassFunction
Functions and variables defined in form object events (e.g. a button's Click event) cannot be referenced from other objects in your form.
Stefan Cameron obtained his bachelor's degree with Honors in Computer Science at the University of Ottawa and is a Computer Scientist working on Adobe's LiveCycle server products, in particular on LiveCycle Designer ES for the past 5 years.
To add a Script Object to your form, select a subform using the Hierarchy palette and choose the "Insert Script Object" command from the context menu (right mouse click).
In form object events as well as Script Objects, you can define JavaScript classes for use in your code. Classes defined in Script Objects can be accessed from other objects by referencing them via the Script Object's name:
MyScriptObject.MyClassFunction
Functions and variables defined in form object events (e.g. a button's Click event) cannot be referenced from other objects in your form.
Stefan Cameron obtained his bachelor's degree with Honors in Computer Science at the University of Ottawa and is a Computer Scientist working on Adobe's LiveCycle server products, in particular on LiveCycle Designer ES for the past 5 years.