How to render core components in custom components?

Hi,i got a piece of jsf code like this:
<h:panelGrid columns="1">
                //show1 part
                  <h:dataTable value="#{temp.nameFile}" var = "myL" rendered="#{temp.show1}">
                  <h:column>
                    <h:commandLink action="#{temp.createBean}" value="#{myL.name}" immediate="true">
                  <f:param name="name" value="#{myL.name}"/>
                  <f:param name="path" value="#{myL.path}"/>
                </h:commandLink> 
                 </h:column>
                 </h:dataTable>
          </h:panelGrid> and it may generates html code like this:
<table>
                    <tbody>
                         <tr>
                              <td><a href="#"
                                   onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id2:0:_id4';
                                                         document.forms['_id0']['name'].value='ISO-3166';
                                                         document.forms['_id0']['path'].value='D:/Tomcat5.0/webapps/test/WEB-INF/iso3166.xml';
                                                         document.forms['_id0'].submit(); return false;">ISO-3166</a></td>
                         </tr>
                         <tr>
                              <td><a href="#"
                                   onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id2:1:_id4';
                                                          document.forms['_id0']['name'].value='NAICS';
                                                          document.forms['_id0']['path'].value='D:/Tomcat5.0/webapps/test/WEB-INF/naics.xml';
                                                          document.forms['_id0'].submit(); return false;">NAICS</a></td>
                         </tr>
                         <tr>
                              <td><a href="#"
                                   onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id2:2:_id4';
                                                         document.forms['_id0']['name'].value='UNSPSC';
                                                         document.forms['_id0']['path'].value='D:/Tomcat5.0/webapps/test/WEB-INF/unspsc.xml';
                                                         document.forms['_id0'].submit(); return false;">UNSPSC</a></td>
                         </tr>
                    </tbody>
               </table>now i want to write my own custom component and use a very simple tag to get the same output,and the tag may look like this:
<robin:category scheme="iso3166"> </robin:category>  It is very easy to render the tables out,and the f:param tags are rendered to hidden field,But you see,there is a command link component,and there is an "action" attribute whose value is bound to an action method.
I am not sure which part in the html code is rendered for the "action" attribute, and my question is how to directly render the html code for the command link's "action" attribute in the renderer of the component associated with the <robin:category> tag.
And it is very kind of you to give me some details about how jsf renders the method bindings to html and how to collect the information in the request to know which action method the clicked commandLink corresponds to if the "action" or "actionListener" attribute is specified!
maybe it is not good to include everything in a single tag, any suggestions are very welcome!
Best Regards:)
Robin

Hi Roosvelt,
Unfortunately, interactive components can only be created internally, and you cannot modify existing interactive components. We have heard this request before, and I hope to see this in a future release, but we have time frame for when this might be possible.
Garret
Senior Software Developer
National Instruments
Circuit Design Community and Blog
If someone helped you, let them know. Mark as solved or give a kudo.

Similar Messages

  • How to Render Components Dynamically

    Hi All,
    I have a Problem with the valueChangeListeners and selectionListners. I'm trying to render the components dynamically in the listeners by making the rendered attribute '"true" or "false" . But it is not working. when I'm doing the samething in command button action method. I'm getting the result(i.e rendering components to "true" or "false"). But why my code is not working in the listeners.
    Can anyone help me how to render the components partially.
    Thanks in Advance,
    -Satish Dasari

    I tend to agree with Simon's comments regarding programatic usage of the PPR APIs. Fernando, can you post an example so that we can have a look at where you having issues?
    --Ric                                                                                                                                                                                                                                                                                                                                                                           

  • How to minimize the components

    Hi,
          when ever I minimizing the window,the components in that windows are not displaying properly.
          I am using jdev 11.1.2.3
         How to  properly render the components?
         Can any one please give me the answer?

    hi "18a5907a-dc24-4e16-bea6-51d7905449e8"
    18a5907a-dc24-4e16-bea6-51d7905449e8 wrote:
    ... when ever I minimizing the window ...
    Should a minimized browser window really still display something? Do you mean a re-sized browser window?
    18a5907a-dc24-4e16-bea6-51d7905449e8 wrote:
    ... the components in that windows are not displaying properly ...
    Which components? Which layout components? What is "properly", what do you expect?
    18a5907a-dc24-4e16-bea6-51d7905449e8 wrote:
    ... Can any one please give me the answer?
    So, please provide more information if you expect a useful answer.
    (tip : You can use "Edit profile & privacy" to make your name visible in forum posts.)
    success
    Jan Vervecken

  • How to pass/share components between different JPanels/Container

    Dear Friends,
    I know here a lot Java Guru, I met a problem below.
    How can I pass components between different JPanels??
    here, ListPanelMain.java is main,
    When I click a tree node in splitPane, I can see all its children on the right splitpane, but I hope they can be seen on another Panel called "ListRightPane.java"
    How to do it??
    Why cannot pass??
    [1]. main Program:
    package swing.com.test.test;
    import javax.swing.JFrame;
    import java.awt.BorderLayout;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JSplitPane;
    import javax.swing.JTextArea;
    import java.io.Serializable;
    import swing.com.test.test.ListPanel;
    import java.awt.GridLayout;
    public class ListPanelMain implements java.io.Serializable{
         private JFrame frame;
         * Launch the application
         * @param args
         public static void main(String args[]) {
              try {
                   ListPanelMain window = new ListPanelMain();
                   window.frame.setVisible(true);
              } catch (Exception e) {
                   e.printStackTrace();
         * Create the application
         public ListPanelMain() {
              initialize();
         * Initialize the contents of the frame
         private void initialize() {
              frame = new JFrame("FileTreePanelMain");
              frame.setBounds(100, 100, 900, 675);
         //     FieTreePanelComm      ftreecomm                = new      FieTreePanelComm();
              ListPanel                ftree                     = new      ListPanel("C:\\");
    //          ListAllFile           ftree                     = new      ListAllFile("C:\\");
         //     FileTreePanelText      fileTreePanelText      = new      FileTreePanelText(ftreecomm);
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              final JPanel panel = new JPanel();
              panel.setLayout(new GridLayout(0, 2));
              frame.getContentPane().add(panel, BorderLayout.CENTER);
         //     final JSplitPane splitPane = new JSplitPane();
         //     frame.getContentPane().add(splitPane, BorderLayout.CENTER);
         //     splitPane.setLeftComponent(ftree);
              panel.add(ftree);
              final ListRightPanel listRightPanel = new ListRightPanel(ftree);
              //splitPane.setRightComponent(listRightPanel);
              panel.add(listRightPanel);
         frame.addWindowListener(new WindowAdapter() {
         public void windowClosing(WindowEvent e) {
         System.exit(0);
         frame.pack();
         frame.setVisible(true);
    [2]. Program 2:
    package swing.com.test.test;
    //File System Tree
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.GridLayout;
    import java.io.File;
    import java.util.Iterator;
    import java.util.Vector;
    import javax.swing.JFrame;
    import javax.swing.JScrollPane;
    import javax.swing.JSplitPane;
    import javax.swing.JTextArea;
    import javax.swing.JTree;
    import javax.swing.JPanel;
    import javax.swing.event.TreeModelEvent;
    import javax.swing.event.TreeModelListener;
    import javax.swing.event.TreeSelectionEvent;
    import javax.swing.event.TreeSelectionListener;
    import javax.swing.tree.TreeModel;
    import javax.swing.tree.TreePath;
    import java.io.Serializable;
    public class ListPanel extends JPanel implements Serializable{
    protected JTree fileTree;
    private FileSystemModel fileSystemModel;
    private JTextArea ltextArea = new JTextArea();
    protected JTextArea fileDetailsTextArea = new JTextArea();
    private String str = "";
         public String getlTextArea() {
                   //textArea.getText();
                   return str;
         public String setlTextArea(String ta) {
                   ltextArea.setText(ta);
                   str = ta;
                   return str;
    public ListPanel(String directory) {
    //super("JTree FileSystem Viewer");
                   setLayout(new BorderLayout());
                   final JPanel panel = new JPanel();
                   panel.setLayout(new BorderLayout());
              add(panel, BorderLayout.CENTER);
    fileDetailsTextArea.setEditable(false);
    fileSystemModel = new FileSystemModel(new File(directory));
    fileTree = new JTree(fileSystemModel);
    fileTree.setEditable(true);
    fileTree.addTreeSelectionListener(new TreeSelectionListener() {
    public void valueChanged(TreeSelectionEvent event) {
    System.out.println("1. What we save is: getlTextArea() =" + getlTextArea() );
    File file = (File) fileTree.getLastSelectedPathComponent();
    fileDetailsTextArea.setText(getFileDetails(file));
    final ListRightPanel lrp = new ListRightPanel(this);
    lrp.textArea.setText(getFileDetails(file));
    setlTextArea(getFileDetails(file));
    System.out.println("2. What we save is: getlTextArea() =" + getlTextArea() );
              final JSplitPane splitPane = new JSplitPane();
              panel.add(splitPane, BorderLayout.CENTER);
              final JPanel panel_1 = new JPanel();
              splitPane.setLeftComponent(panel_1);
              panel_1.add(new JScrollPane(fileTree));
              final JPanel panel_2 = new JPanel();
              splitPane.setRightComponent(panel_2);
              panel_2.add(new JScrollPane(fileDetailsTextArea));
    setVisible(true);
    private String getFileDetails(File file) {
    if (file == null)
    return "";
    StringBuffer buffer = new StringBuffer();
    if (file.listFiles()!=null){
         for (int i=0; i< file.listFiles().length; i++){
         buffer.append(((file.listFiles())) + "\n");
         System.out.println("List all files");
    return buffer.toString();
    public static void main(String args[]) {
    new ListPanel("c:\\");
    class FileSystemModel implements TreeModel {
    private File root;
    private Vector listeners = new Vector();
    public FileSystemModel(File rootDirectory) {
    root = rootDirectory;
    public Object getRoot() {
    return root;
    public Object getChild(Object parent, int index) {
    File directory = (File) parent;
    String[] children = directory.list();
    return new TreeFile(directory, children[index]);
    public int getChildCount(Object parent) {
    File file = (File) parent;
    if (file.isDirectory()) {
    String[] fileList = file.list();
    if (fileList != null)
    return file.list().length;
    return 0;
    public boolean isLeaf(Object node) {
    File file = (File) node;
    return file.isFile();
    public int getIndexOfChild(Object parent, Object child) {
    File directory = (File) parent;
    File file = (File) child;
    String[] children = directory.list();
    for (int i = 0; i < children.length; i++) {
    if (file.getName().equals(children[i])) {
    return i;
    return -1;
    public void valueForPathChanged(TreePath path, Object value) {
    File oldFile = (File) path.getLastPathComponent();
    String fileParentPath = oldFile.getParent();
    String newFileName = (String) value;
    File targetFile = new File(fileParentPath, newFileName);
    oldFile.renameTo(targetFile);
    File parent = new File(fileParentPath);
    int[] changedChildrenIndices = { getIndexOfChild(parent, targetFile) };
    Object[] changedChildren = { targetFile };
    fireTreeNodesChanged(path.getParentPath(), changedChildrenIndices, changedChildren);
    private void fireTreeNodesChanged(TreePath parentPath, int[] indices, Object[] children) {
    TreeModelEvent event = new TreeModelEvent(this, parentPath, indices, children);
    Iterator iterator = listeners.iterator();
    TreeModelListener listener = null;
    while (iterator.hasNext()) {
    listener = (TreeModelListener) iterator.next();
    listener.treeNodesChanged(event);
    public void addTreeModelListener(TreeModelListener listener) {
    listeners.add(listener);
    public void removeTreeModelListener(TreeModelListener listener) {
    listeners.remove(listener);
    private class TreeFile extends File {
    public TreeFile(File parent, String child) {
    super(parent, child);
    public String toString() {
    return getName();
    [3]. Program 3:
    package swing.com.test.test;
    import java.awt.BorderLayout;
    import java.io.File;
    import javax.swing.JPanel;
    import javax.swing.JTextArea;
    import javax.swing.JTree;
    import javax.swing.event.TreeModelEvent;
    import javax.swing.event.TreeModelListener;
    import javax.swing.event.TreeSelectionEvent;
    import javax.swing.event.TreeSelectionListener;
    import javax.swing.tree.TreeModel;
    import javax.swing.tree.TreePath;
    import java.io.Serializable;
    public class ListRightPanel extends JPanel implements TreeSelectionListener, Serializable{
         protected JTextArea textArea;
    //     protected ListAllFile laf;
    private String str = "";
              public String getlTextArea() {
                        //textArea.getText();
                        return str;
              public String setlTextArea(String ta) {
                        str = ta;
                        return str;
         * Create the panel
         public ListRightPanel(ListPanel laff) {
              super();
              setLayout(new BorderLayout());
              final JPanel panel = new JPanel();
              panel.setLayout(new BorderLayout());
              add(panel, BorderLayout.CENTER);
              textArea = new JTextArea();
    final String st = laff.getlTextArea();
    System.out.println("####################################");
    System.out.println("st=" + st);
         laff.fileTree.addTreeSelectionListener(new TreeSelectionListener() {
         public void valueChanged(TreeSelectionEvent event) {
         //laff.textArea.setText(getFileDetails(file));
              textArea.setText(getlTextArea());
         System.out.println("ListRightPanel Was Invoked from ListPanel!!getlTextArea() =" + getlTextArea() );
         System.out.println("st=" + st);
              panel.add(textArea, BorderLayout.CENTER);
         public void valueChanged(TreeSelectionEvent e){};
    It is runnable program, just compile and run it in Console is ok,
    Regards
    Sunny

    Thnaks, code post again, see
    [1]. package swing.com.test.test;
    import javax.swing.JFrame;
    import java.awt.BorderLayout;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JSplitPane;
    import javax.swing.JTextArea;
    import java.io.Serializable;
    import swing.com.test.test.ListPanel;
    import java.awt.GridLayout;
    public class ListPanelMain implements java.io.Serializable{
         private JFrame frame;
          * Launch the application
          * @param args
         public static void main(String args[]) {
              try {
                   ListPanelMain window = new ListPanelMain();
                   window.frame.setVisible(true);
              } catch (Exception e) {
                   e.printStackTrace();
          * Create the application
         public ListPanelMain() {
              initialize();
          * Initialize the contents of the frame
         private void initialize() {
              frame = new JFrame("FileTreePanelMain");
              frame.setBounds(100, 100, 900, 675);
         //     FieTreePanelComm      ftreecomm                = new       FieTreePanelComm();
              ListPanel                 ftree                     = new      ListPanel("C:\\");
    //          ListAllFile            ftree                     = new      ListAllFile("C:\\");
         //     FileTreePanelText      fileTreePanelText      = new      FileTreePanelText(ftreecomm);
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              final JPanel panel = new JPanel();
              panel.setLayout(new GridLayout(0, 2));
              frame.getContentPane().add(panel, BorderLayout.CENTER);
         //     final JSplitPane splitPane = new JSplitPane();
         //     frame.getContentPane().add(splitPane, BorderLayout.CENTER);
         //     splitPane.setLeftComponent(ftree);
              panel.add(ftree);
              final ListRightPanel listRightPanel = new ListRightPanel(ftree);
              //splitPane.setRightComponent(listRightPanel);
              panel.add(listRightPanel);
                frame.addWindowListener(new WindowAdapter() {
                     public void windowClosing(WindowEvent e) {
                         System.exit(0);
                 frame.pack();
                 frame.setVisible(true);
    }[2] Program 2
    package swing.com.test.test;
    //File System Tree
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.GridLayout;
    import java.io.File;
    import java.util.Iterator;
    import java.util.Vector;
    import javax.swing.JFrame;
    import javax.swing.JScrollPane;
    import javax.swing.JSplitPane;
    import javax.swing.JTextArea;
    import javax.swing.JTree;
    import javax.swing.JPanel;
    import javax.swing.event.TreeModelEvent;
    import javax.swing.event.TreeModelListener;
    import javax.swing.event.TreeSelectionEvent;
    import javax.swing.event.TreeSelectionListener;
    import javax.swing.tree.TreeModel;
    import javax.swing.tree.TreePath;
    import java.io.Serializable;
    public class ListPanel extends JPanel implements Serializable{
      protected JTree fileTree;
      private FileSystemModel fileSystemModel;
      private JTextArea ltextArea = new JTextArea();
      protected JTextArea fileDetailsTextArea = new JTextArea();
      private String str = "";
         public  String getlTextArea()  {
                   //textArea.getText();
                      return str;
         public  String setlTextArea(String ta)  {
                   ltextArea.setText(ta);
                   str = ta;
                      return str;
      public ListPanel(String directory) {
        //super("JTree FileSystem Viewer");
                   setLayout(new BorderLayout());
                   final JPanel panel = new JPanel();
                   panel.setLayout(new BorderLayout());
                  add(panel, BorderLayout.CENTER);
        fileDetailsTextArea.setEditable(false);
        fileSystemModel = new FileSystemModel(new File(directory));
        fileTree = new JTree(fileSystemModel);
        fileTree.setEditable(true);
        fileTree.addTreeSelectionListener(new TreeSelectionListener() {
          public void valueChanged(TreeSelectionEvent event) {
            System.out.println("1. What we save is: getlTextArea() =" + getlTextArea() );
            File file = (File) fileTree.getLastSelectedPathComponent();
            fileDetailsTextArea.setText(getFileDetails(file));
            final ListRightPanel lrp = new ListRightPanel(this);
            lrp.textArea.setText(getFileDetails(file));
            setlTextArea(getFileDetails(file));
            System.out.println("2. What we save is: getlTextArea() =" + getlTextArea() );
              final JSplitPane splitPane = new JSplitPane();
              panel.add(splitPane, BorderLayout.CENTER);
              final JPanel panel_1 = new JPanel();
              splitPane.setLeftComponent(panel_1);
              panel_1.add(new JScrollPane(fileTree));
              final JPanel panel_2 = new JPanel();
              splitPane.setRightComponent(panel_2);
              panel_2.add(new JScrollPane(fileDetailsTextArea));
        setVisible(true);
      private String getFileDetails(File file) {
        if (file == null)
          return "";
        StringBuffer buffer = new StringBuffer();
        if (file.listFiles()!=null){
             for (int i=0; i< file.listFiles().length; i++){
             buffer.append(((file.listFiles())) + "\n");
         System.out.println("List all files");
    return buffer.toString();
    public static void main(String args[]) {
    new ListPanel("c:\\");
    class FileSystemModel implements TreeModel {
    private File root;
    private Vector listeners = new Vector();
    public FileSystemModel(File rootDirectory) {
    root = rootDirectory;
    public Object getRoot() {
    return root;
    public Object getChild(Object parent, int index) {
    File directory = (File) parent;
    String[] children = directory.list();
    return new TreeFile(directory, children[index]);
    public int getChildCount(Object parent) {
    File file = (File) parent;
    if (file.isDirectory()) {
    String[] fileList = file.list();
    if (fileList != null)
    return file.list().length;
    return 0;
    public boolean isLeaf(Object node) {
    File file = (File) node;
    return file.isFile();
    public int getIndexOfChild(Object parent, Object child) {
    File directory = (File) parent;
    File file = (File) child;
    String[] children = directory.list();
    for (int i = 0; i < children.length; i++) {
    if (file.getName().equals(children[i])) {
    return i;
    return -1;
    public void valueForPathChanged(TreePath path, Object value) {
    File oldFile = (File) path.getLastPathComponent();
    String fileParentPath = oldFile.getParent();
    String newFileName = (String) value;
    File targetFile = new File(fileParentPath, newFileName);
    oldFile.renameTo(targetFile);
    File parent = new File(fileParentPath);
    int[] changedChildrenIndices = { getIndexOfChild(parent, targetFile) };
    Object[] changedChildren = { targetFile };
    fireTreeNodesChanged(path.getParentPath(), changedChildrenIndices, changedChildren);
    private void fireTreeNodesChanged(TreePath parentPath, int[] indices, Object[] children) {
    TreeModelEvent event = new TreeModelEvent(this, parentPath, indices, children);
    Iterator iterator = listeners.iterator();
    TreeModelListener listener = null;
    while (iterator.hasNext()) {
    listener = (TreeModelListener) iterator.next();
    listener.treeNodesChanged(event);
    public void addTreeModelListener(TreeModelListener listener) {
    listeners.add(listener);
    public void removeTreeModelListener(TreeModelListener listener) {
    listeners.remove(listener);
    private class TreeFile extends File {
    public TreeFile(File parent, String child) {
    super(parent, child);
    public String toString() {
    return getName();
    [3] Program 3:
    package swing.com.test.test;
    import java.awt.BorderLayout;
    import java.io.File;
    import javax.swing.JPanel;
    import javax.swing.JTextArea;
    import javax.swing.JTree;
    import javax.swing.event.TreeModelEvent;
    import javax.swing.event.TreeModelListener;
    import javax.swing.event.TreeSelectionEvent;
    import javax.swing.event.TreeSelectionListener;
    import javax.swing.tree.TreeModel;
    import javax.swing.tree.TreePath;
    import java.io.Serializable;
    public class ListRightPanel extends JPanel implements TreeSelectionListener, Serializable{
         protected JTextArea textArea;
    //     protected ListAllFile  laf;
        private String str = "";
              public  String getlTextArea()  {
                        //textArea.getText();
                           return str;
              public  String setlTextArea(String ta)  {
                        str = ta;
                           return str;
          * Create the panel
         public ListRightPanel(ListPanel  laff) {
              super();
              setLayout(new BorderLayout());
              final JPanel panel = new JPanel();
              panel.setLayout(new BorderLayout());
              add(panel, BorderLayout.CENTER);
              textArea = new JTextArea();
            final String st = laff.getlTextArea();
            System.out.println("####################################");
            System.out.println("st=" + st);
             laff.fileTree.addTreeSelectionListener(new TreeSelectionListener() {
                 public void valueChanged(TreeSelectionEvent event) {
                   //laff.textArea.setText(getFileDetails(file));
                      textArea.setText(getlTextArea());
                     System.out.println("ListRightPanel Was Invoked from ListPanel!!getlTextArea() =" + getlTextArea() );
                     System.out.println("st=" + st);
              panel.add(textArea, BorderLayout.CENTER);
           public void valueChanged(TreeSelectionEvent e){};
    }You can try this one, thanks again
    sunny

  • As a JSF Developer, I want to understand technically how the JSF View Components are rendered as html and how there events are binded to Server.I want to know each Java Class that is involved in flow.

    As a JSF Developer, I want to understand technically how the JSF View Components are rendered as html and how there events are binded to Server.I want to know how flows goes to the server and server understands the method which is to be called of managed bean. I know it is with annotation @ManagedBean and method name, but how Call is binded with annotation @ManagedBean.
    In short, i want to know the internal implementation of JSF Framework.

    As a JSF Developer, I want to understand technically how the JSF View Components are rendered as html and how there events are binded to Server.I want to know how flows goes to the server and server understands the method which is to be called of managed bean. I know it is with annotation @ManagedBean and method name, but how Call is binded with annotation @ManagedBean.
    In short, i want to know the internal implementation of JSF Framework.

  • How to change the components in a visible JPanel?

    How to change the components in a visible JPanel?
    Is there any way to change the components in a JPanel while it is already visible in a JFrame? I tried the na�ve approach of removing the components and adding new ones, but the effect is not the expected.
    For now I'm opening new frames with newly created panels.

    After adding/removing components to/from a panel try:
    panel.revalidate();
    panel.repaint() // sometimes this is also needed, I'm
    not sure whyI'm not certain, but I think that panel.revalidate() implicitly calls repaint() only if something actually changed in the layout. If nothing changed, it sees no reason to repaint; hence, if something changed in appearance but not in layout, you have to repaint it yourself.
    Or something like that. I'm no expert. ;)

  • FI-SL How to define  formula components ID(report painter)

    Hi Experts
    please teach me how to define formula components ID.(it is related to report painter)
    I cannot see by GS13(variable)
    Regards.

    I sloved by myself. it automatically made when I add the row or culumn.
    but after delete the  row or culumn. it may have a problem.... I do not know.
    thanks.

  • How to Create  Software components , Technical systems , Business Systems

    Hi,
    How to Create  Software components , Technical systems , Business Systems and Logical Systems
    and Link between them. foe different adapters.
    Ponts will be awarded..
    Regards,
    Jayasimha Jangam.

    Steps to create software component,
    1. Goto SLD --> Software catalog
    2.select new product
    3.Fill the Vendor, Name , version and choose create
    4.now go back to the SLD main page and then choose software type as sofware component
    5. select new component and in the next page select your product which you have created in the previous step
    6.then give your vendor, name and version and choose create
    7. now the sofware component is created, you can import the same in you integration repository for your scenario
    Go through the following link which gives you a clear idea about technical, business systems,
    http://help.sap.com/saphelp_nw04s/helpdata/en/24/8fa93e08503614e10000000a114084/frameset.htm

  • How to reuse some components of the scripts layout to other programes

    how to reuse some components of the scripts layout to other programes

    You can't reuse components; the only solution would be to copy a script and to remove all components not needed.
    Regards,
    John.

  • Internet Explorer install stuck on "Installing Windows Internet Explorer Core Components" Windows Server 2003

    I am running Windows Server 2003 Enterprise Edition R2 x86. 
    I'm trying to install Internet Explorer 7 but the installation is stuck on "Installing Windows Internet Explorer Core Components". CPU Usage is stuck at 100% (svchost.exe is at 99%).
    I'm at a bit of a loss as to what I should try next. Does anybody have any ideas?
    Thanks,
    Martin

    Well, I decided to just reboot my machine and IE 7 seems to have installed itself properly.

  • How to write Arabic components in Java

    Hello Sir,
    I have faced a serious problem which is how to write Arabic components as well as Arabic text components (TextArea, JTable,..).
    I have to solve this problem since a lot of my projects depend on this.
    Could you please help me in solving this problem?
    Thank you for your time and interest.
    Best regards
    Marwan Dardounh

    ejp wrote:
    Maybe it's time for you to learn to type with two fingers? It doubles your productivity you know ... Math not myth. You know I'm right.Hell, I'd learn to touch-type with my toes as well if I thought it'd help. But when you're spending 12% of the time giving input and 88% of the time waiting for your IDE to catch up, I don't feel I need to really work too hard to go from 90/100 wpm to 140. But I can't complain too much. The 88% means I get to spend 10% of my time on the forums.

  • How to resize painted components

    Hi All,
    I am working on a simple project called "WhiteBoard" which is veryu similar to MS-Paint. Could anyone please tell me how to resize the components which I have drawn on the panel. Thanks in advance.
    Regards,
    Shankar.

    Cast the Graphics instance passed to the paintComponent() method of your board to a Graphics2D.
    Then use the scale(double sx, double sy) method of the Graphics2D instance to zoom
    your board in or out.
    IMPORTANT NOTE: If you use a mouse listener on the board, you'll have to convert the mouse
    coordinates according to the zoom factor.

  • How to render PDF in InfoPath whose source is a memory stream

    I'm struggling to interface InfoPath calling a Web service that generates a PDF and rendering the PDF for the user.
    The document workflow is:
    Using InfoPath (using both the fat client and browser client), display a form for the user to complete.
    Collect the entered information and call the Opus Web Service (Elixir) to render a PDF.
    The PDF is sent back to InfoPath through the web service call.
    Open the PDF for the user and provide them the ability to review and/or print the document.
    It's this last step that's causing the problems -- It's no problem when this is all part of a web page. This work flow is used for thousands of PDF reviews via web pages daily.  However, because I have to use InfoPath, I'm struggling to find an easy solution.  I can't write the returned data to disk and open the document because the InfoPath Browser is really tied into SharePoint and I don't want to store temporary PDF files on the SharePoint server.
    My issue is : How to render a PDF document that is sourced as a memory stream.
    I'm down to a couple of possible solutions and have some questions:
    1) I looked at writing a plug-in to support another ASFileSys interface which would be used to read from memory instead of from disk. But I don't see a way to invoke my plug-in through an API.  Is this possible?
    2) I looked at the OLE interfaces, but didn't see a nice way to pass a document in through memory.  Is there an interface that accomplishes this task?
    3) I did see that I could create a compound document in memory and then call the OLE interfaces.  Has anyone done this and is it maintainable ? 
    4) The OLE format also lends itself to placing the PDF inside of an RTF to display. Seems like a lot of work to put a wrapper around the PDF, but I do think that also alleviates the need to register any components in SharePoint.  Again, has anyone seen this done?
    In the end, none of these seem very straight forward. So I have to ask, am I missing something obvious here? 
    Thanks for your help,
    Chris Andrews

    Infopath has a fat client interface and a browser version where the server is a sharepoint server.  So the web service executes on the local desktop or in the Sharepoint server depending upon which interface is used.  The best way to work on InfoPath solutions is to focus on the fat client solution with a couple of caveats.  Asume that you can't create temp files, and assume that you can't invoke a new application, and that you aren't in an HTTP request/response environment (since Sharepoint is a wrapper around the back end browser interface).  You can invoke code that is in DLLs, OCX, TLB, etc... (typical Active X, or library code).
    Chris

  • How to link existing PG with custom VO at design time

    Hi,
    I want to customzie counter group seach page of Counters modules. Here instead of searching thorugh apps schema i want to search groups through my custom schema 'XYZ'. To achieve this, i did following task:
    (i) exported GroupSearchPG from apps server to jdeveloper/myprojects directory.
    (ii) Created workspace and project in jdeveloper and imported PG to this project.
    (ii) downloaded GroupingSearchAM , GroupSearchVO and GroupSearchCO from $JAVA_TOP to Jdev myclasses directory, its working fine for apps schema from jdeveloper
    (iii) Created BC4J package with existing name oracle.apps.csi.counter.grouping.schema
    (iv) created custom VO (GroupSearchVO) with custom schema 'XYZ' (Since this is expert VO, I need not to extend base EO/VO)
    Now, While trying to substitute my custom VO with existing VO. I could not see existing VO to replace with.
    My question is how do we link components with exported page? I mean how does the linking happens with GroupSearchPG with its CO/EO/VO or AM.
    Can you please let me know which step did i miss?
    Thanks in advance
    Tripti

    For your situation,
    VO needs to be substituted,
    CO needs to be substituted and
    AM needs to be extended.
    To make your custom VO available in substitution process, add them to the extended AM. Custom CO can be attached through personalization.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • URGENT!!! how to render af:table af:column as checkbox in ADF faces

    Hi!!
    How i can render table column as checkbox.
    I used <af:selectBooleanCheckbox id="my CheckBox"
    value="#{row.CheckBox}" />
    and it is visualizied az checkbox in table but value is not set.
    I mean that when i make setAttribute("CheckBox", "Y") checkbox is not checked.
    My attribute CheckBox is transient String attribute with default value "N".
    i will appreciate if you give ideas how to render colomn or some links to read about it, because i didn't find anything in internet.

    Hi Timo,
    Thanks for info, But I am not using any Business components in my case, Also this article explains about re-Querying , Is there any way without re-querying we can apply the filter with '>& < ' operators on date columns?
    Thanks

Maybe you are looking for

  • Mavericks doesn't work with HP c309a Photosmart

    I just upgraded my MacBook Pro to Mavericks. Now my HP c390a Scanning software doesn't work. I connect using USB, but the software acts strange. It shows a picture of the page I scanned, but when I print, it's blank. Does anyone have any idea what's

  • How to reset Datamart Status in BI 7.0

    Hi, Data flow: source system -> DSO1 -> DSO2 I have deleted DTP data request from DSO2 by deleting entries from tables RSICCONT & RSMONICDP. I am not able to delete datamart staus of DSO1. Deletion of datamart status is terminated with following erro

  • Synchronizing analog and digital i/o

    We're using LabView 6.0 and a PCI-MIO-16E-4 to run our electrophysiology experiments, and have a moderately tricky set of requirements. What we have so far: four analog inputs and two analog outputs to monitor and control two recording electrodes. We

  • Page to Page interactions

    We have built extensive dashboard solutions using SSRS, and one of the things that I don't see in Power BI is a drill-thru capability to click on a value in a report and drill to another page with different, more detailed visualizations based upon th

  • Anti-virus software for HP Strem 8 model 5901

    I recently purchased an HP Stream 8 tablet 5901.  It has Windows 8.1 on it.  I would like to install free anti-virus software on it, but there are so many "out there" that I'm not sure which one is best for this model of HP tablet.  Accordingly, I'm