How to control rendering logic of static list element defintion?

We are using 10gR4 version of site studio and are working with region templates and element definitions. We created a reporters static lits element definition which contains 3 columns (Name, About, Details) and added that to Reporters region template. Next defined a place holder defintion and associated region defintion and the region template fo reporters. Finally I added that place holder onto a article template. In the contribution mode for article we were able to add reporters rows (static list). BUt in the presentation of article I don't to see any listing of reporters. How could I control the display of static list element defintions from the region template forreporters? I don't see a way I could retrieve the individual rows and columns of static list and display the the results. The detail column of static lits just contatin a link to toher content item which is contributed through other region template. I would like to display the contents of that content items in line in the reporters template by making a wcm-place_holder service call for the embedded content items. How to achieve this?
Regards,
Pratap

You are not making a remote call. Take a look at java RMI for more  info:
http://docs.oracle.com/javase/6/docs/api/java/rmi/package-summary.html
You can do it using a change listener.
Take a look at this thread: https://forums.oracle.com/thread/2554119
Change your class name (Menu ).  There is already  a menu control:
http://docs.oracle.com/javafx/2/api/javafx/scene/control/Menu.html  

Similar Messages

  • How to controll follow-up Business Activity list from Opportunity

    Hi Forum,
    I don't want to see any business activities or tasks when I click follow-up button from opportunity screen.
    I've checked copy controll settings form for opportunity but we cant controll business activities there.
    I even tried by modifying Obj Ref Profile  but fo no use.
    Your help would be highly appreaciated
    Thanks & Regards
    Manjushail

    In standard it is always allowed to create a task or activity as
    a follow up. Since system works as desgined, so to realize your expect
    you have to do a modification which described in note 661305.

  • How to declare value binding to array list element in a pojo?

    I have a POJO called P, that contains an ArrayList member called w.
    class P {
    private ArrayList w = new ArrayList(5);
    w is initied in the class constructor.
    The POJO is in the SessionBean and I would like to reference individual
    elements in the ArrayList via a value binding like so;
    #{SessionBean1.instanceOfP.w[5]}
    I'm not sure how to declare the getter/setter for member W in POJO P
    so that setter and getter injection work.

    You may not be able to directly set the indexed value.
    Try some thing like this.
    Add a property that returns the indexed value.
    Ex. if you ArrayList objets are of type "String"
    int index = 5;
    public String getMyValue(){
    return w.get[index]
    Now your value binding would look something like
    #{SessionBean1.myValue}
    BTW, if you want to access different index, create another method
    public void setIndex(int index){
    this.index = index;
    - Winston
    http://blogs.sun.com/roller/page/winston?catname=Creator

  • How to control FONT in list items?

    What can I do in ApEx to control the font of the items in a list?
    I have read other postings here on controlling font size on various items,
    and I have tried every way I can think of to code a #TEXT# statement in various places on the DHTML Tree template.
    I have not been able to change the font size for a DHTML Tree list item.
    I have coded the: &lt style type="text/css" &gt td.t12header (font-family:"Times New Roman";font-size:20px;) &lt/style&gt in the Page Definition / Edit Attributes / HTML Header section, and this DOES alter the font characteristics for the DHTML Tree list heading.
    I see in the generated page source that there are two other CSS labels, "t12body" and "dhtmlTree" on the &lttr that includes the text for the list item, but adding a: td.t12body... or td.dhtmlTree... entry in the &ltStyle ... block does not alter the font of the list item name. I have tried a few other things too, but no luck.
    What entries, and where, can I add that will allow me to alter the font size of a list item?

    Got it.
    The following style block, placed in the HTML Header section in the Page Edit page for the page that has the LIST on it, will control the features of the LIST (a dhtml Tree list in this case):
    (LT)style type="text/css">
    td.t12Header {font-family:"Times New Roman";
                  font-size:50px;
                  font-style:italic;
                  color:blue}
    .dhtmlTree a {font-size:20px;
    color:green}
    (LT)/style>
    The td.t12Header entry controls the characteristics of the LIST header;
    The .dhtmlTree a entry controls the characteristics of the LIST elements.

  • Using a Site Studio 10R4 Dynamic List Element Definition

    Hi All,
    I've created and can use a Static List Element Definition > Region Definition > Region Template with no problems based off of the 10gR4 samples.
    However, there is no example that I've found to utilise the Element Definition of a Dynamic List. I'm attempting to use the same sample code as provided for a Static List but having no luck displaying the results of the query...
    Does anyone have some sample code used in a Region Template or Sub Template to show how we use a Dynamic List Element Definition please?
    I noted from another thread in this forum that there are some iDoc calls to make which load the query defined in the Element Definition... I can't find any documentation regarding this either.
    Thanks
    Edited by: user615721 on May 4, 2009 10:08 AM
    Edited by: user615721 on May 4, 2009 10:09 AM

    Found my answer in another thread, here... Re: Using a Site Studio 10R4 Dynamic List Element Definition
    'For 10gR4 Site Studio you can get examples and even a video talking about making dyanmic lists from here:
    http://www.oracle.com/technology/products/content-management/ucm/SiteStudio10gR4Tutorials/index.html'
    Edited by: user615721 on May 4, 2009 10:25 AM
    Edited by: user615721 on May 4, 2009 10:25 AM

  • How can we bind Two Static Lists to a single Column.

    Hi All,
    My requirement is
    1) I have two different Static List's.
    2) These two static list's are saved to the same column in the database table.
    3) In the UI, I will be having different dropdown's. And each dropdown is bound to this column. Say if I have two dropdowns, in the first dropdown it has to show first static list values and in the second dropdown it hase to show second static list values.
    4) I can change the dropdowns and save(to the same column).
    I am totally stuck here. How can we implement this????

    Hi,
    Thank you very much for your response. The link was not useful for me.
    The actual scenario here is,
    I have a table with columns say (Id, detailId,Type, Unit, Value). here id & detailId acts as composite primary key and it looks similar to this.
    Id     DetailId     Type     Unit     Value
    111     1111     A     Min     12
    111     1112     B     KBytes     13
    111     1113     C     MBytes     14
    So for this I had created two static list View objects (Say ST1 & ST2). The possible values for ST1 are {'sec','min','hours','days'} and the possible values for ST2 are {'Bytes','KBytes','MBytes','GBytes'}.
    And from above table you can observe that these two view objects are mapped to same attribute(Unit) of the table.
    So what I am trying here is, as my UI page contains, 3 different dropdowns(say af:SelectOneChoice) along with 3 textboxes. one textbox and one dropdown in the same line.
    These 3 are related to above 3 types, dropdowns should contain the Units and textboxes should contain the values, i.e based on the type we have to display that.
    I tried so many combinations, but I am not able to succeed in getting this. So your help is highly needed here.
    Please let me know if you are not understood any of the above conditions.
    Thanks & Regards,
    Ravi.

  • Bug in rendering static list with Hierarchical Expanding template?

    Hi,
    on http://apex.oracle.com/pls/apex/f?p=23910 I prepared test case for my problem. It is static list with template Hierarchical Expanding and following structure:
    1
      1.1
        1.1.1
      1.2
        1.2.1
    2
    Entry 1.2 has condition set to never. And the problem is, as you can see, that entry 2 seems to be under entry 1.1. But really it isn't. Reason of this strange look is that in some cases, when condition for last entry in sublist is evaluted as false, there isn't generated tag </ul> closing that sublist, in this case are not closed even two sublists - under entries 1 and 1.1.
    In my real application it is more complicated, I have static list with about 80 entries (report menu) and every user sees some reports based on his position in organization structure and other conditions. And as you can imagine, this bug produces really confusing results, almost unique for every user.
    Did anybody meet this problem too? We are on ApEx 4.1.0, it is present in 4.1.1 too (as seen on apex.oracle.com)... And I think it wasn't problem in 4.0 (at least nobody noticed for few months and I believe somebody would notice that reports for one department are under reports for another one). Used theme is standard theme 2 - Builder Blue.
    Jirka

    update:
    I tried deriving the full path for the image file by viewing the source when I embedded it in an HTML region on the same page and it gives me something similar to the following URL:
    wwv_flow_file_mgr.get_file?p_security_group_id=502133210878128108&p_fname=myImage.gif
    (p.s. it is a .gif file - not sure if this should make any material difference)
    As a result, I tried embedding this into the code:
    <fo:block>
    <fo:external-graphic src="wwv_flow_file_mgr.get_file?p_security_group_id=502133210878128108&p_fname=myImage.gif)"/>
    </fo:block>
    but this time, instead of merely not rendering, when Acrobat opens, an error message appeared reported that the file was corrupted or invalid. When trying different formats, I seem to get a generic: "500 Internal Server Error".
    I'm going to try putting the image file in the server directory tree to see if that will work. I'll post later either way.

  • I excluded iphone from controls in Keynote. How I get it back on the list to use Keynote remote?

    I excluded iphone from controls in Keynote. How I get it back on the list to use Keynote remote?

    Welcome to the Apple Community.
    If you haven't turned find my phone off on the device, it should just reappear next time it is connected to an appropriate network. If you have turned off find my phone, turn it back on.

  • Any ideas on how to control the amount of sustain pedal data that Logic Pro 9 records? Every time I press the sustain pedal down, it records 4 sustains. Same thing when I release the pedal. Thanks!

    Any ideas on how to control the amount of sustain pedal data that Logic Pro 9 records? Every time I press the sustain pedal down, it records 4 sustains. Same thing when I release the pedal. Thanks!

    This gets confusing, you have two Macs with different issues and two pedals with different issues? First let's sort out what's what. So, do the issues come from the pedals or from the Mac software? To find out, simply switch the pedals and note their behaviour. No change: it's the software, change: it's the pedals (imho the most likely scenario).
    Second, what kind of pedals are they? Can you name the type of pedal too? The Yamaha what and the Mgear which?
    Third, with the 4 fold data problem, are the doubled events simultaneous, or a few ticks apart, or more?
    Also, you have no MIDI keyboard? Are the pedals both "standalone"?
    I think you have to sort this problem at its' source, which are the pedals. You could, if push really comes to shove, perhaps create some sort of ingeneous/elaborate transformer setup in the environment to filter the extra messages, although with the 4/4 sustain events that may not even be possible. With the "stepped" events you could set up a filter to just block all events with values 20-110 or so.
    But much better would be to configure the pedal(s) correctly.

  • How can I reset Logic Pro 9 in my iMac 'cos i eraser some presets effects in  mastering list? I need to use again.

    How can I reset Logic Pro 9 in my iMac 'cos i eraser some presets effects in  mastering list? I need to use again.

    You can't, I think. But you can open an old project where it was used, or if you know somebody else with logic, you can ask a copy of the presets and then manually drop them where they belong. What is missing exactly and how did you erase the presets?
    Have a nice day!

  • How Can I Control (or Understand) Genius Mix Lists?

    I am running iTunes 11. I decided to turn on Genius Mix (Menu--> Store--> Turn On Genius). This was fine. There was some information exchanged, some calculations done, etc. and an hour or so later I had a category under "Genius" of "Genius Mixes". There were twelves such mixes: Folk Rock Mix, Vocal Mix, Jaxx Mix, Classical Mix, Contemporary Folk Mix, Clssic Rock Mix, Electric Blues Mix, East Coast Rap Mix, Classic R&B Mix, Country Mix, Sountracks Mix and another Classic Rock Mix.
    I did absolutely nothing to specify these categories and I have no idea how many songs are in each mix.I don't know if these are "canned" categories or if they are generated based on my content. I assume there are categories others have that i don't have.
    Only by attempting to add one or more of these Genius Mixes to my iPhone have I been able to learn how big they are: Most are Gigabytes in size. Perhaps my entire music library has been tranched into these categories. I don't know. I have been unable to find any tools to show me a listing of the songs in the Genius Mixes other than using the "Next Up" drop down menu that is shown when I am playing a song from one of the mixes. Trying to employ that tool to learn anything about the lists would be just short of stupid.
    I can make my own Genius lists by selecting a song and then limiting the size to 25, 50...etc. songs. I like these. But these huge "Genius Mixes" just seem silly. If anyone knows how to get them to display as lists so that we can see what's in them rather than "album cover quilts" that show four clustered album covers I would be most grateful (and embarrassed, as this would seem to be an obvious viewing option for me to maybe have overlooked). Either way, any bits o' wisdom or information most welcome.

    umitcelik1984 wrote:
    Hi,
    Thank you very much for your help.
    I tried the example and I wrote such a dll but when I try to use the same dll in a VS C++ project and a labview project, te dll uses different memory location. When I sent a value to dll and when I try to see it in my vs C++ application, I could not see the values. How can I communicate with my VS C++ and labview project. The dll must use the same memory location for my aim.
    Best ragards,
    Umit
    As you have already seen, LabVIEW and VC++ running in their own process.   The memory space is not shared between process.
    What you need is Inter-Process Communication.  Call Dll.vi alone is not going to slove your problem.
    If you are a good C/C++ programmer, search MSDN site for Inter-Process Communication.  There are a few choices.
    You have to impliment one of those method in a dll, so you can call the dll in LabVIEW.
    George Zou
    http://gtoolbox.yeah.net
    George Zou
    http://webspace.webring.com/people/og/gtoolbox

  • How can I add logic control with timeout in OSB?

    In the proxy service, when I try to call business service, the business service may timeout, how can I add logic with this? Like, I can set the timeout to 20 seconds, if more than 20 seconds, then do something else. But I just want this service can set to 20 seconds, others may different. Is that possible? Thanks.

    There is a Read Timeout and Connection Timeout setting in the Business service configuration.
    You can change the default values and test.Inside the error handler you can choose to do something else after you 20 seconds.
    Test and let us know if it works.

  • How to create static list type view state?

    Hi!
    i want to create a static List type view state in asp.net c# for below type of list?
    static List<KeyValuePair<string, int>> istrStartDate = new List<KeyValuePair<string, int>>();

    Please  post it in the dedicated ASP.Net Forum
    http://forums.asp.net  for more efficient responses.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to delete the logical lines in JTextArea

    Hi all,
    Now that I know how to find the logical line count in JTextArea as
    I found the following in the forum.
    public static int getLineCount (JTextArea _textArea)
    boolean lineWrapHolder = _textArea.getLineWrap();
    _textArea.setLineWrap(false);
    double height = _textArea.getPreferredSize().getHeight();
    _textArea.setLineWrap(lineWrapHolder);
    double rowSize = height/_textArea.getLineCount();
    return (int) (_textArea.getPreferredSize().getHeight() / rowSize);
    I want to delete the 4th line to the last line and append ... at the 4th, if the getLineCount exceeds 3. Does any body know how to do so?
    The intention is for the multiline tooltip as I just want to show
    the first three logical line and ... if the string is too long.
    Thanks
    Pin

    The code looks good to me. The only thought I have is that the y coordinate for the rowThree point is wrong and is referencing row four.
    I've been playing around with using a JTextArea as a renderer for a JTable. I have it working so that "..." appear when the text exceeds 2 rows. Try clicking on "B" in the letter column and then the update cell button a few times to add text. My code is slightly different than yours.
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.table.*;
    public class TestTable extends JFrame
         private final static String LETTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
         JTable table;
         Vector row;
         public TestTable()
              Object[][] data = { {"1", "A"}, {"2", "B"}, {"3", "C"} };
              String[] columnNames = {"Number","Letter"};
              DefaultTableModel model = new DefaultTableModel(data, columnNames);
              table = new JTable(model)
                   public String getToolTipText( MouseEvent e )
                        int row = rowAtPoint( e.getPoint() );
                        int column = columnAtPoint( e.getPoint() );
                        if (row == 0)
                             return null;
                        else
                             return row + " : " + column;
              table.setRowSelectionInterval(0, 0);
              table.setColumnSelectionInterval(0, 0);
              table.setRowHeight(0,34);
              table.setRowHeight(1,34);
              table.setRowHeight(2,34);
              table.setDefaultRenderer(Object.class, new TextAreaRenderer(2));
              JScrollPane scrollPane = new JScrollPane( table );
              getContentPane().add( scrollPane );
              JPanel buttonPanel = new JPanel();
              getContentPane().add( buttonPanel, BorderLayout.SOUTH );
              JButton button2 = new JButton( "Update Cell" );
              buttonPanel.add( button2 );
              button2.addActionListener( new ActionListener()
                   public void actionPerformed(ActionEvent e)
                        int row = table.getSelectedRow();
                        int column = table.getSelectedColumn();
                        String value = (String)table.getValueAt(row, column);
                        value += value;
                        table.setValueAt( value, row, column );
                        DefaultTableModel model = (DefaultTableModel)table.getModel();
                        model.fireTableCellUpdated(row, column);
                        table.requestFocus();
         public static void main(String[] args)
              TestTable frame = new TestTable();
              frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
              frame.pack();
              frame.setVisible(true);
         private class TextAreaRenderer extends JTextArea implements TableCellRenderer
              public TextAreaRenderer(int displayRows)
                   setRows(displayRows);
                   setLineWrap( true );
              public Component getTableCellRendererComponent(JTable table,
                                             Object value,
                                             boolean isSelected,
                                             boolean hasFocus,
                                             int row,
                                             int column)
                   setText( value.toString() );
                   Dimension d = getPreferredSize();
                   int maximumHeight = getRows() * getRowHeight();
                   if (d.height > maximumHeight)
                        setSize(d);
                        int offset = viewToModel( new Point(d.width, maximumHeight - 1) );
                        replaceRange( "...", offset-3, getDocument().getLength() );
                   return this;
    }

  • How to control the number of instances of an object ?

    Hi all,
    Can anybody answer, How to control the number of instances of an object being created?
    suppose at any point of time, if i would like to have 5 instances at the maximum, how can i disable the further requests?
    Thanks in advance
    Pradi

    write a factory method that controls the number of instances for you:
    import java.util.List;
    import java.util.Arrays;
    public class Bar
       private static final int MAX_BARS = 5;
       private static int numBars = 0;
       private int id;
       public static void main(String [] args)
          try
             int numBars = ((args.length > 0) ? Integer.parseInt(args[0]) : MAX_BARS+1);
             Bar [] bars = new Bar[numBars];
             for (int i = 0; i < bars.length; ++i)
                bars[i] = Bar.create();
             System.out.println(Arrays.asList(bars));
          catch (Exception e)
             e.printStackTrace();
       private Bar() { this.id = numBars++; }
       public String toString() { return "I am bar number " + this.id; }
       public static Bar create()
          Bar nextBar = null;
          if (numBars < MAX_BARS)
             nextBar = new Bar();
          return nextBar;
    }%

Maybe you are looking for