Getting the required property of an item in a bean

Hello all,
is it possible to get the required property of e.g. a VTextField inside a PJC?
I am trying to write a bean that iterates through all the components of a form a puts a red border on all fields marked as required in Forms. I cannot find an appropriate getter or ID to use with the getProperty(ID) method.
Any help is appreciated
Achim

There is already a functionality which makrs all required fields:
Open the file $ORACLE_HOME\forms\java\oracle\forms\registryregistry.dat with a texteditor
At the end of the file you'll find two entries
app.ui.requiredFieldVA=false
#    The background color is specified as an RGB triple.
app.ui.requiredFieldVABGColor=255,0,0Set the first one to true and the second one to a color of your choice, restart OC4J and check the results, maybe it fits your requirement.

Similar Messages

  • How to access the Requirements property (& subproperties) of steps and sequences with the TestStand API

    The concept of associating teststand objects to unit requirements for traceability purposes was added to TS 3.5, and I need to find out how to access the array of strings used to store unit requirements in step objects, sequence objects and sequencefile objects. The teststand help file points out that the requirements list of a sequencefile object is accessible using the PropertyObjectFile interface, and also points out that Requirements is a property of the sequence and step classes. Furthermore it implicitly states that the requirements property has a Links subproperty which is an array of strings, but that is pretty much the extent of the documentation on this new feature so far. There seems to be no expression function available to get to those requirements either.
    I know that this feature was added to allow TestStand to interface with RG, and I am planning on using RG, but I would also like to do things with the requirements information within TestStand.
    Anyone? 

    Are you talking about the Requirements Gateway?  It is a separate product from NI that will do what you are looking for.  I haven't used it so I am not sure of the API chain to make it work.  Take a look and see if that is what you were thinking of.
    Hope that this helps,
    Bob Young
    Sorry, I just re-read your original post and see that you are looking to also use the Requirements Gateway, so you obviously know about it.  I don't know what the API changes were that made it work so I am not going to be much help.
    Sorry about posting before getting the correct information from the original.
    Bob Young
    Message Edited by Bob Y. on 08-24-2006 04:54 PM
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

  • How to get the count property from the oData response

    Hi,
    I have a fullscreen view in my Fiori app where we call a oData service through table.bindItems() inside the controller.
    The binding of items works fine but we have a situation when we need to display the total number of items (for e.g. 515) on the UI. We do not get this information from the VDM, so we plan to use the length property of the getList() method to determine the total number of items. But because of growing feature of the table it only reads 100 items at a time and the length property returns only 100. I have attached the listener attachRequestCompleted() for the model so that once the bindItems() request is complete i can get the length property. But my problem is that i want the total count.
    I saw in the debug that when this table.bindItems() gets called it makes a oData service call and in the response i can see that there is a count property available which has the total number of items (515 for my e.g.) but how do i read this count property from the response inside my controller (probably inside my attachRequestCompleted)?? I would really appreciate any help in this regard. Thanks.
    Kind Regards,
    Ashish
    Tags edited by: Michael Appleby

    HI Chandra,
    Thanks for your suggestions.
    But i think in my case we do not want to get the complete list. We still want to get only 100 items initially and then if the user would scroll down he/she would see more items. But we already need to know the total number of items for the purpose of showing a message to the user. For e.g. Total issues (515),  but the table would initially show only 100 and then another 100 after scroll. So setting the size litmit to max would not help.
    And to be able to use the $count you mentioned, we have to still make another oData service call which we do not want.
    But as i mentioned there is already a property named "__count" in the response of the bindItems() method call and i see that it has correct count but not sure how to retrieve it inside the controller. Thanks.
    Regards,
    Ashish

  • How to get the latest and valid BOM item entry from STPO

    hi,
    may i know with what condition we can get the latest and valid BOM item entry from STPO table?
    i have STLNR and IDNRK as a input. But i realized that it would return multiple entry due to the combination of  valid-from and valid till date.
    can i use stlnr,idnrk and stpoz (with the latet counter) to get the latest and valid BOM entry?
    thank you.

    Hi
    You can get the latest BOM either by using the latest valid from date DATUV or latest internal counter STPOZ
    Regards
    Shiva

  • How to get the 'text' property value of a button in coding?

    Hi Experts,
    I'm using 10 buttons all are having common action('click'). when i click a button the 'text' value of the button should pass to a function.So the action is same but the passed value will be the 'text' value of the corresponding button.  I don't know how to get the 'text' property of a button in coding. Kindly help me to solve this problem.
    Thanks and Regards
    Basheer

    Hi,
    My event is like this.
    public void onActionclick(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
         String s =  ?  ; // should get the 'text' property of clicked button
         fillInput(s);     // function to be called
    The called function is,
    public void fillInput( java.lang.String id )
        String str=wdContext.currentContextElement().getNum();
        str = str + id;
        wdContext.currentContextElement().setNum(str);
    How can i get the 'text' property value of the corresponding button. Click action should be common to all buttons.
    Thanks and Regards,
    Basheer

  • I have purchased a G3, because I am an apple fan. I want this a clean installation software provided. Only the link no longer works. Is there a possibility  to get the required software. I Preferably, the Dutch version, but if only the English it's okey

    I have purchased a G3, because I am an apple fan. I want this a clean installation software provided. Only the link no longer works. Is there a possibility  to get the required software. I Preferably, the Dutch version, but if only the English it's okey

    What model G3 is it? An iMac, a PowerMac, a MacBook, or a PowerBook? What is the processor (machine) speed?

  • RQL Query to get the specific range of product items from product catalog.

    Hi All,
    I need to do the batch wise query to product catalog.
    For that i have use Query builder but that is giving me repeated items, now i wanted to use RQL using rqlStatement.
    Please help me in solving the issue.
    Query which i have used using QueryBuilder.
                    RepositoryView productView = productRepo.getView("product");          
                    QueryBuilder productBuilder = productView.getQueryBuilder();
                    Query productQuery = productBuilder.createUnconstrainedQuery();           
                    RepositoryItems[] productItems = productView.executeQuery(productQuery,startIndex,endIndex);
    Can anybody help me in writing RQL Query to get the specific range of product items from product catalog.

    Hi Shakuntala,
    There is no executeQuery method defined in RqlStatement Interface, which will accept index for output result.
    So As far as I know, what u are trying to achieve is not possible with RQL statements OOTB way.U can consider range of results based on some condition from Repository items.
    Please let me know if u find any way to implement it.
    Above Query builder should always return different ids if range is not overlapping with previous range.
    Please verify that repeated items ids are same or different,
    Quoting from API docs:
    RepositoryItem[] executeQuery(Query pQuery,
                                  int pStartingIndex,
                                  int pEndingIndex)
                                  throws RepositoryException
        Executes the given query and returns an array of matching RepositoryItems, which are contained within a total potential result set. For example used if one wanted to retrieve elements 50-60 from a query which could return 100 elements.
    Regards,
    Nitin.

  • Urgent: How to get the names of all menu items

    I have a .mmb menu module.
    There are many menus and submenus in it.
    Now I want to get the names of all menu items available in the module using sql or pl/sql.
    Actually I need to store these names in another table as it is. That is why I want get them programmatically.
    Any solution please.... bit urgent
    Thanks

    When I needed the same, I wrote my own application using
    Forms API (Windows,Forms 6.0,6i). Perhaps it will help
    you.
    Let me know your e-mail and I'll send it.

  • HT201342 I have just opened an icloud email address and am unable to open ANY of the messages in my INBOX. I keep getting the message, "Cannot open this item. This operation is not supported until the entire message is downloaded. Download the message and

    I have just opened a new icloud email address and am unable to open ANY of the messages in my INBOX. For each item I get the message "Cannot open this item. This operation is NOT supported until the entire message is downloaded. Download the message and try again". I now have no clue what I need to do to open these items. Help please.

    What version of iPhoto do you have installed?  Is if one of the versions shown as not compatible in this screenshot?
    If it is then go to the App Store and download iPhoto 9.5.  It will be free if you have an iPhoto 9 or later verson currently.
    OT

  • I can not download the Golf digest magazine purchased from the i-tunes store, when i attempt i get the message "can not install item, restart app and down load" i have tried that without success. This started after i changed ipads

    I can  not access my Golf digest down loads from the newstand, when i try to down load purchased items i get the message "can not install item, please restart the app and down load" that piece of advice has not helped, any one else encountered this?

    chicx wrote:
    This is the third time of writing this on your Apple Support Communities!
    Not with your current user id.
    Far too much uneccesary information in your post, which only confuses things, a vast amount!
    Let's start with iTunes.
    Have you updated iTunes to 11.1.5, because the previous version did appear to have an issue about seeing iPods?
    With iTunes 11.1.5 installed, look in Edit/Preferences/Devices, (or use the ALT key, followed by the E key and then the F key) and make sure that the box named Prevent iPods, iPhones and iPads from syncing automatically does not have a tick in the box.
    Once you have doen those two things, check to see if the iPod is seen by iTunes.
    chicx wrote:
    By the way, what does IOS mean? (I thought IO stood for operating system, but am flummoxed by the S on the end.
    Really?
    OS stands for Operating System. (In computer speak, IO means Input/Output.)
    iOS originally stood for iPhone Operating System, but it now refers to the iPod Touch and iPhone. The iPod Classic, which you have listed in your profile as your iPod, does not use iOS.
    I assume that you have been listening to the Podcast in your iTunes on the computer as you cannot transfer it to your iPod. It's what I'd do.

  • Getting the index of an unbounded item

    Hi there,
    How can i get the index of an unbounded item in an incoming record set message?
    For example, suppose my message looks like this:
    <Root>
    <Record>item_1</Record>
    <Record>item_2</Record>
    <Record>Item_X</Record>
    </Root>
    And i want to know the index of "Item_X" while mapping
    Thanks,
    Yigal.

    Just create a UDF of type queue. The input of UDF is the node you want to access (in your example, Record).
    In the code, use somehing like:
    for (int i=0; i< a.length; i++) {
      <insert logic here>
    And inside the for loop, you can implement the desired logic, and the variable i will have the index of your node (actually it will have index - 1, since its from 0 until a.length-1 ).
    Regards,
    Henrique.

  • Tree control - How to get the full path of selected Item in tree control

    I am Flex newbie. When the user clicks the particular item in
    the tree control I just wanted to get it name along with it's full
    parent.
    Here is my XML
    var dirXML:XML=<root basename="/home/tcegrid">
    <Directories>
    <Dir Name=".autosave" />
    <Dir Name=".emacs.d" />
    <Dir Name="AnsysDistributed">
    <Dir Name="opt"/>
    <Dir Name="root" />
    </Dir>
    <Dir Name="postgres"/>
    <Dir Name="FineTurbo"/>
    <Directories>
    </root>
    The above XML is data provider for Tree control. When the
    user clicks the Dir Name called opt. I wanted it absolute path in
    XML. say Directories.Dir.Dir.@Name is opt
    Can any one tell me how to get this?

    "Thamizhannal" <[email protected]> wrote in
    message
    news:gam9q8$4es$[email protected]..
    >I am Flex newbie. When the user clicks the particular
    item in the tree
    >control
    > I just wanted to get it name along with it's full
    parent.
    > Here is my XML
    > var dirXML:XML=<root basename="/home/tcegrid">
    > <Directories>
    > <Dir Name=".autosave" />
    > <Dir Name=".emacs.d" />
    > <Dir Name="AnsysDistributed">
    > <Dir Name="opt"/>
    > <Dir Name="root" />
    > </Dir>
    > <Dir Name="postgres"/>
    > <Dir Name="FineTurbo"/>
    > <Directories>
    > </root>
    >
    > The above XML is data provider for Tree control. When
    the user clicks the
    > Dir
    > Name called opt. I wanted it absolute path in XML. say
    > Directories.Dir.Dir.@Name is opt
    > Can any one tell me how to get this?
    loop until the parent() property of the XML node is empty.
    HTH;
    Amy

  • How to get the display value of selected item in list box?

    I have a page with an HtmlSelectOneListbox that is filled with an ArrayList of SelectItem objects.
    The SelectItem objects contain a Key and Value. The Value is displayed in the ListBox.
    The value parameter of the listbox is bound to a bean property which is called selectedListItem.
    The bean property selectedListItem contains the Key of the SelectItem that is selected.
    How do I obtain the Value of the selectedListItem?
    I need to be able to get the Value field that is displayed, not just the Key to the item that is displayed.
    Edited by: burferd on Nov 3, 2007 10:03 PM

    How are you filling in the value of the menu? Obtain it back by the same way. Or pass it along the key in a object.
    This article may give useful insights: http://balusc.blogspot.com/2007/09/objects-in-hselectonemenu.html

  • Index file share with pictures - how to get the "Tag" property as refiner?

    Hi,
    I'm indexing a folder in file share and in the windows explorer view i gave values to the "Tags" property.
    Now i want to set it as refiner in search results. I see that SharePoint gets the properties of: file name, size, picture height, picture width, author... how to get also the properties of Tags? and Dimensions?
    keren tsur

    Hi keren,
    According to your description, my understanding is that you want to add some refiners based on pictures’ properties in SharePoint 2013 Search.
    Firstly, do a full crawl for the content cource.
    For the ‘Tags’ refiner, go to the results page, click on edit page and edit the refiners web part, then choose the Choose Refiners picker. Now add the TAGS field to the right hand column.
    More information, please refer to the link:
    http://social.technet.microsoft.com/wiki/contents/articles/23690.sharepoint-metadata-tag-refiners-not-displaying-in-sharepoint-2013office-365-search.aspx
    SharePoint indexes an item based on list/library columns. However, for the Dimensions property of pictures, SharePoint library cannot retrieve the property from pictures . So when crawling, the property cannot be crawed as a crawled property, you are not
    able to add it as a refiner in Search. When you use Picture Library, there are Picture Size, Picture Width and Height columns, you can create refiners based on these three columns. You can check them in Crawled properties(CA->Search Service Application->Seach
    Schema).
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • What is the code to get the  Label of  radio button item at runtime?

    Hi All
    I am working on forms 10g(version 10.1.2.0.2 ) with Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 on windows 2000 platform.
    My requirement is to dynamically get the label of the radio button item in a radio group.I am able to get the label of the radio group as shown below
    Item :Radio group
    Label : Gender
    IF m_type = 'RADIO GROUP' THEN
         m_label:=Get_Item_Property(m_Item ,label);
    END IF;
    There two Radio buttons inside this radio group which are
    item     : Radio button
    Label : Male
    item :Radio button
    Label :female
    What is the code to get the label of radio button(i.e) male and female ?
    How will I get the count of radio buttons in a radio group at runtime?
    Regards
    Mohan

    But you have to provide the button name which cannot be get at runtime.
    This is a lack of information that the Dev team would correct !
    Francois

Maybe you are looking for

  • ATV2  with old hd tv  how to connect? no HDMI.. only component

    hi my old flat screen tv has only component cable connection.. how can i use 2nd generation apple TV(mini black box one)? which only has hdmi connection? any idea?  and i can buy cnnection? easy install? thank you..

  • Error while saving in Master Detail Form

    Hi, I created a MD form in Portal. The form shows up fine. When I try to enter data at the master level and hit Save, I get the following message: An unexpected error occurred: ORA-06502: PL/SQL: numeric or value error: character string buffer too sm

  • Windows 8.1 - Upgrade from 8, Start Button Does Not Work

    I cannot find a fix for my 8.1 start button. It works when I move the task bar to the top, right or left but not at the bottom. I ran all windows updates and there are no missing/unknown drivers in device manager. No errors in the event log. I've res

  • When I open, I get an error message over and over about secure site, but may send to unsecure . My homepage is mymsn

    When I open Firefox, it is set to load my homepage at MSN. I keep getting a dialogue box that says,"Although this page is encrypted, the information you have entered is to be sent over an unencrypted connection and could easily be read by a third par

  • LOGARCHMETH & TSM

    Hi, What is the best practice for the Log File management w.r.t to TSM, Whether LOGARCHMETH1 can be put to TSM? and providing FAILARCHPATH option? or LOGARCHMETH1 can be put to Disk LOGARCHMETH2 to  TSM? and providing FAILARCHPATH option? or LOGARCHM