<af:resource> function sayHello() { alert("Hello, world!") } </af:resource> In the Structure window, right-click the component that will invoke the JavaScript, and choose Insert inside component > ADF Faces >
1) Create a Java project using NWDS 2) Create a folder lib and add the following libraries (sapidoc.jar, sapidocjco.jar, sapjco.jar) all of this are downloadable fromhttp://service.sap.com/connectors 3) Add this jar to the build path //Code provided along w...
= null) { RichMenu _menu = (RichMenu)_popup.getChildren().get(0); _menu.getChildren().clear(); if ("Summary".equals(_type)) { RichCommandMenuItem _item = new RichCommandMenuItem(); _item.setId("i1"); _item.setText("Custom Action 1"); _menu.getChildren().add(_item); } ...
Just as I promised, it's time to check out how to merge the mesh−loading functions into your .X parser class. Since you're going to be accessing the mesh data objects directly, you need to use the D3DXLoadMeshFromXof function to load mesh data. That means you need to parse each ...
function getWeather(xmlParam) { var xml = new XML(xmlParam); ... return answer; } Since Rhino converts this JavaScript code into a representation in Java, it is possible to send Java objects as arguments to this function. The linevar xml = new XML(xmlParm)instantiates a new XML object...
Example 8–1 Creating a Text Field Label label1 = new Label("Name:"); TextField textField = new TextField (); HBox hb = new HBox(); hb.getChildren().addAll(label1, textField); hb.setSpacing(10); You can create an empty text field as shown in Example 8–1 or a text field ...
(xslelem)); xslcmds := xmldom.getChildrenByTagName(xslelem, '*', nspace); dbms_output.put_line('A total of ' || xmldom.getLength(xslcmds) || ' XSL instructions were found in the stylesheet'); -- make stylesheet ss := xslprocessor.newStylesheet(xsldoc, dir || '/' || xslfile...
= null) { RichMenu _menu = (RichMenu)_popup.getChildren().get(0); _menu.getChildren().clear(); if ("Summary".equals(_type)) { RichCommandMenuItem _item = new RichCommandMenuItem(); _item.setId("i1"); _item.setText("Custom Action 1"); _menu.getChildren().add(_item); } ...
Example 8–1 Creating a Text Field Label label1 = new Label("Name:"); TextField textField = new TextField (); HBox hb = new HBox(); hb.getChildren().addAll(label1, textField); hb.setSpacing(10); You can create an empty text field as shown in Example 8–1 or a text field ...