required (asterisk) for selectonechoice in the table

Hello

I created a table. Table has the value and the label of two columns

label is selectonechoice and text input value

To view the selectonechoice as the label I did readonly = true

but bacause of the asterisk sign is not displayed for the field mandatory also tool tip is not displayed for the field that are necessary.

Required property used for text entries (value) and the selectoncechoice (label)

With the help of Studio Edition Version 11.1.1.9.0

Help, please

Label is a selectOneChoice? a little weird. What is the requirement?

And if necessary the sign didn't come for soc, surround with af: panelLabelAndMessage set true to the panelLabelAndMessage required true or showRequired and try.

Tags: Java

Similar Questions

  • How to set the default value of the component selectOneChoice in the table to the ADF

    Hi all

    I use jdev 11.1.1.6.0 version.

    I used an adf table in which an attribute is selectOnceChoice.

    To create the table and selectOneChoice I used the data control java bean.

    and drag and drop a table and after that I have drag and drop one of the attributes as selectonechoice and linked with the return of the method list as < key, value > pair.

    I want the default value to select only one option in each attribute rows.

    I checked with simillar issue on post next, but not yet resolved.

    
    
    
    
    

    My jspx code is

    
    <af:column id="c11"
                                             headerText="Invoice To" >
                                        <af:outputText value="#{row.invoiceTo}" id="ot19"/>
    <af:selectOneChoice value="#{bindings.invoiceTo.inputValue}"
                                                        label="#{bindings.invoiceTo.label}"
                                                        required="#{bindings.invoiceTo.hints.mandatory}"
                                                        shortDesc="#{bindings.invoiceTo.hints.tooltip}"
                                                        id="soc3"
                                                        autoSubmit="true"
                                                        valuePassThru="true">
                                      <f:selectItems value="#{bindings.invoiceTo.items}"
                                                     id="si4"/>
                                    </af:selectOneChoice>
    </af:column>
    
    
    

    where invoiceTo is the table attribute and the invoiceTo attribute is dragged and dropped as a SOC function list Source data mapped data value with the List attribute

    and the display attribute

    Data value = invoiceTo List = lovMasterKey attribute

    Display attribute = lovMasterValue

    that list is maintained at < lovMasterKey, lovMasterValue >

    According to the value of invoiceTo line, it should show as default value is selectOneChoice, but its showing no not as a default value.

    Please, help me how set the default value of selectOneChoice in the table according to each value line invoiceTo.

    Thank you all for the help on this issue.

    Problem has been resolved.

    Reason for this was used

    It is solved using code used for the list built for selectoneChoice more

      List lovMasterList = new ArrayList();
    
    SelectItem siItem = new SelectItem();                      
    
    siItem.setLabel(objAfCmnLovMasterListVO1.getLovMasterValue());
    
    siItem.setValue(objAfCmnLovMasterListVO1.getLovMasterKey());
    
      lovMasterList.add(siItem);
    

    Now, I used the code where the line below. InvoiceTo is the key and row.invoiceToItems are the list of articles for selectOneChoice.

    
    
    
      
    
    

    Thank you very much...

  • value of selectOneChoice in the table gets reset to true visible table

    I have a table with 2 columns. 1 column a inputtext A and another selectOneChoice B.

    Also, I have a selectOneChoice more C above this table. On the "X" value in the drop-down list selection, the table above becomes true visible.

    But at the same time, the selectOneChoice B reset to a value of zero instead of having the value extracted from DB.

    A inputtext has no effect. It displays the value extracted from DB.

    If we say that the table are refreshing causing to reset selectOneChoice B. It is seems to be wrong. Below this table, I have 2 button to add and remove rows from the table.

    Add / delete, table gets refereshed but selectOneChoice B loses its value.

    Before the page loads, set the bean attribute which is used to visible.

  • Simple for loops with the table?

    Just a quick question!  I've been watching this for 2 hours and I searched everywhere, but always without success.

    I have a simple table containing elements.  When the user edits the page, I want that these elements in the array to become visible.

    var outfit:Array = ["Doll.Drawers.Shirt1", "Doll.Drawers.Pants1", "Doll.Drawers.Jacket1"];
    
    function f_item_show(event:MouseEvent):void
              {
                        for(var i:int = 0; i < outfit.length; i++)
                        { 
                                  trace(outfit[i]);
                                  this[outfit[i]].visible = true;  // THIS IS THE ISSUE //
      
                        }
              }
    
    

    The elements in the array are strings of the instance names, so I just need each string to be converted to an object and part .visible each element set to true.

    I know my loop works properly, because the trace reads accurately each instance name in the list.  I thought that this part [] would solve my problem, but it's not... I get this error message:

    TypeError: Error #1010: A term is undefined and has no properties.
              at PokeDress_fla::MainTimeline/f_item_show()
    
    

    I know it's one line of code, because it works perfectly when I delete.  All my instance names are correctly labeled and added, because they are used many times in the code without flaw.

    What I am doing wrong?

    To use the stand of notation, each medium can only represent a single object, so you would need three media since there are three objects in your channel... which means you would need three tables.

    If they appeal to target something inside the Doll.Drawers object, then you could simply store the shirts and pants and whatnot in the table as strings and use...

    Doll.Drawers [outfit [i]] .visible = true;

    What you should try instead is to store the actual paths to objects rather than representations of string of them, as in...

    var outfit:Array = [Doll.Drawers.Shirt1, Doll.Drawers.Pants1, etc...

    Then you should be able to use...

    costume [i] .visible = true;

  • Search for items in the table

    I have a table with zero sone 2D and elements not null.

    I want to replace all non-zero with a number (say 100) and also record

    their respective locations (index of line and column) in a separate 2D table.

    How do I do that in labview? My code is attached. But it does not work as required.

    Thank you

    OK, that is not formatted in row X column. Here's one updated the

  • Setting default value for selectOneChoice when the Page loads

    BPM JDev 11.1.1.5.0

    I have a selectOneChoice component bound to a BPM data control. You need to set a specific value as the default value when the page is loaded for the first time.

    I did the scope of the bean managed as pageFlowScope.
    Then created a variable of string in the bean called 'postal code' and its setter I wrote like:

    You can follow this approach as well. But when you call the countryCode setter? You must set the value of the variable string.

    Then, I used your code in the jspx page.

    You need to edit my code in the jspx you use a managed bean. The code will change as below.

    
       
           
       
     
    

    I was suggesting to use a variable of pageFlowScope as defined in my previous code snippet. And on pageload, set this variable. To find out how to write/execute java code before page loads refer to this post:
    http://www.baigzeeshan.com/2011/05/How-to-run-Java-code-on-every-page-load.html
    In the afterPhase of the post method, you can set the variable pageFlowScope as shown below.

    AdfFacesContext.getCurrentInstance().getPageFlowScope().put("countryCode", "IndiaIN");
    
  • What is the benchmark for Firefox placed the table borders painted with the background fill color?

    See the added image list how IE shows correctly on the left border, while Firefox right seems to paint the borders showing the same file in Web site. Is there a solution?

    Hi, Firefox requires units on the dimensions in the style rules, unfortunately it does not simply default to pixels. Try to add px:

    style = "" border: 20px double #FF6600 ""

  • selection of default choice for selectOneChoice in the JSF Page in the ADF

    I want to show the default choice in af:selectOneChoice here is the component of selectOneChoice

    < af:selectOneChoice label = "Search the Notifications" id = "soc1.

    Binding = "#{SupervisorApprovalsBean.lovNotificationType} '"

    valueChangeListener = "#{SupervisorApprovalsBean.searchNotificationLovChange} '"

    autoSubmit = 'true '.

    inlineStyle = ' height: 15px ">

    < af:selectItem label = "Approved" value = "Y" id = "si3" / >

    < af:selectItem label = "Denied" value = "N" id = "si1" / >

    < af:selectItem label = "Raw" value = "U" id = "si2" / >

    < af:selectItem label = 'All' value = 'A' id = "si4" / >

    < / af:selectOneChoice >

    I want to choose the third selectItem. How can I do?

    User, tell us your version of jdev, please!

    To do this, you set the value property to the index of the default value. You ave not set the property value at all, it means that the selection is not stored at all.

    Timo

  • input field for text inside the table tree adf

    Hello

    I want to know, how to create a field of text within the tree adf table entry.

    I have three table tree of hierarchical level, places-> Services-> employees.

    This function I want as editable email field.

    can someone tell me please how to do this?

    Thanks in advance,
    SAN

    Hello.

    Drag table tree and try this code in your jspx

    
                        
                            
                                
                            
                        
                        
                            
                        
                        
                            
                        
                        
                            
                        
                        
                            
                        
                    
    
  • Different formats in the Excel column to the 1 format for loading into the table

    I have a situation. I have to do a SQL load into a temporary table to an Excel file but I noticed that the column that I am more interested about 4 different formats. My desired format must always be 7 characters and must only have numbers in them. This means, without hyphens or special characters or alphabets.

    I discovered that the column in Excel has about 4 or 5 different formats:

    Here's what they are supposed to be transformed into:
    42 = 0000042
    000-0257 = 0000257
    0090647 = 0090647 (format Corect)
    709782 = 0709782
    135566F1 = 0135566

    The latter case does not seem to have 2 or 3 lines here comes this Alphabet but then anything after what must be discarded. I could probably just delete the file manually (F1).

    Any ideas? Thanks in advance.

    Hello

    Raj404261 wrote:
    Sorry, not on 10g here.

    What a pity. It is so much easier using regular expressions!

    To return a copy of bad_txt with everything except the deleted numbers, and 0 concatenated to make the result 7 characters:

    ,     LPAD ( TRANSLATE ( bad_txt
                           , '0123456789' || TRANSLATE ( bad_txt
                                             , 'x0123456789'
                                       , 'x'
                                       )
                    , '0123456789'
                    )
              , 7
              , '0'
              )
    

    TRANSLATE inner removes all the numbers from bad_txt. What remains is a string that contains all the charcaters who have eliminated (as appropriate).
    TRANSLATE them externally only removes the characters of bad_txt, by translating the 10 digits to themselves and nothing else to NULL.
    LPAD provides enough information to make a 7 character string of 0.

  • How to identify the current row in the table of selectOneChoice compact mode

    Hello

    I have an af:table in which one of the columns is selectOneChoice in compact mode.  When you select the point in this selectOneChoice, valueChangeListener fires and do some work based on this line.  However, my problem is that it is difficult to identify the current line, because the selectOneChoice is in compact mode.  If the selectOneChoice is not in compact mode, when the user selects an item in selectOnechoice, af selectionListener: table is triggered to identify the current row.  But if selectOneChoice is in compact mode, user has the option to choose from selectOneChoice and valueChangeListener fires before af selectionListener: table is triggered.  Therefore, not able to identify the current row.

    As a workaround is not so perfect, I tried to put the line identifier (in my case it is DetailSeq) in shortDesc and do it from there.  But users complain seeing this not user-friendly in shortDesc/hintText.  I tried to put DetailSeq as the id of the selectOneChoice, but it works not (cannot get the selectOneChoice in the table Id)

    < af:table >

    ....

    < af:column = 'Action' id headerText = "c5" width = "30" >

    < af:selectOneChoice id = "has$ {row.» AutoSubmit DetailSeq}' = 'true' valueChangeListener = "#{viewScope.backing_requestOverview.onSelectAction}" label = "Action" mode = "compact" shortDesc = "#{row." " DetailSeq} ">"

    < f: selectItems value = "#{backing_requestOverview.requestActionsMap [row." StatusUid]}"id ="si333"/ >

    < / af:selectOneChoice >

    < / af:column >

    ....

    < / af:table >

    In the valueChangeListener:

    {} public void onSelectAction (ValueChangeEvent valueChangeEvent)

    RichSelectOneChoice actionChoice = (RichSelectOneChoice) valueChangeEvent.getComponent ();

    LOGGER.info ("Short Desc:" + actionChoice.getShortDesc ());

    LOGGER.info ("Id of the component:" + actionChoice.getId ());

    }

    Any advice?

    Thank you

    -Mina

    Have you tried the setPropertyListener?

    Timo

  • Can not get the selectOneChoice Id in the table

    Hello

    I have selectOneChoice inside the table like that where the selectOneChoice id is generated based on the data in the table:

    < af:table >

    ....

    < af:column = 'Action' id headerText = "c5" width = "30" >

    < af:selectOneChoice id = "has$ {row.» AutoSubmit DetailSeq}' = 'true' valueChangeListener = "#{viewScope.backing_requestOverview.onSelectAction}" label = "Action" mode = "compact" shortDesc = "#{row." " DetailSeq} ">"

    < f: selectItems value = "#{backing_requestOverview.requestActionsMap [row." StatusUid]}"id ="si333"/ >

    < / af:selectOneChoice >

    < / af:column >

    ....

    < / af:table >

    In the valueChangeListener:

    {} public void onSelectAction (ValueChangeEvent valueChangeEvent)

    RichSelectOneChoice actionChoice = (RichSelectOneChoice) valueChangeEvent.getComponent ();

    LOGGER.info ("Short Desc:" + actionChoice.getShortDesc ());

    LOGGER.info ("Id of the component:" + actionChoice.getId ());

    }

    However, here is the result:

    Short / / Desc: 9

    ID of the component: a

    Looks to id = "has$ {row.» DetailSeq} ", unable to show the DetailSeq.

    No idea why?

    Thank you

    -Mina

    SetPropertyListener works.  Good suggestion!

    Thank you

    -Mina

  • PPR for the updating of the table after a click in a butto in Jdeveloper 10.1.3 - thanks

    Hi people,

    I looked through many messages about refreshing the page, but still did not solve my problem. Please help me. It's quite URGENT.

    I have a table with a command button. After you click the data insertion is engaged and the table is supposed to be updated to reflect the changes.

    Now I use PPR as my solution: the button is the initiator and the table is the target. I put the button property: part delivery = true and its id as a partial release of the table value

    What I missed, please?

    Note: reloading of the entire page is not a solution for me. (The table is incorporated within a region of showOneTab and there are other tables in different tabs)

    Thanks in advance!

    Assuming that nothing wrong with the JavaScript syntax, the explanation might be: If you ActionListener Installer (data transaction method) and javaScript on a button-click the button, the button click javaScript will not be executed. (???)

    This is not the case. In my application, the two actions of script and java onclick button are executed. Javascript onclick fires first, then the action of the button. It should be the same for actionlistener as well.

    Regarding the updating of the table after a click of a button inside the table, you can do this by forcing the partial relaxation of the table of a bean to support using addPartialTarget.

    On the actionListener to the button call the below the backup method of bean.

    Here is the code example:

        public void btnSample_actionListener(ActionEvent actionEvent) {
           // First execute the method on the button
           BindingContainer bindings = getBindings();
            OperationBinding operationBinding = bindings.getOperationBinding("buttonMethod");
            Object result = operationBinding.execute();
    
            //Refresh the iterator of table and partial trigger the table
            OperationBinding operationBindingTab =
                bindings.getOperationBinding("RefreshTable");
            Object resultTab = operationBindingTab.execute();
            AdfFacesContext.getCurrentInstance().addPartialTarget(myTable);
    

    RefreshTable is an action that runs the Execute method on the table iterator.

    Thank you
    Mitesh.

  • How to get the data in the table if the date is less - than two months from the current date?

    Hi all

    I have a requirement in to retrieve table data. If any of the basic date in the column data.

    I have a date field (expiration date) I need to display data which expires two months.

    Please give me a solution.

    Concerning

    Shankar

    Hi, Shankar,

    Sorry, we don't know what you want.

    If you want something which, when executed on March 13, 2014, finds all the lines where expires and is located between March 13, 2014 and may 13, 2014, inclusive,

    SELECT *- or whatever the columns that you want to

    FROM table_x

    WHERE expire > = TRUNC (SYSDATE)

    Maturity AND< add_months="" (trunc="" (sysdate)="" ,="" 2)="" +="">

    ;

    I hope that answers your question.

    If not, post a small example data (CREATE TABLE and only relevant columns, INSERT statements) for all of the tables involved and also publish outcomes from these data.

    Explain, using specific examples, how you get these results from these data.

    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: https://forums.oracle.com/message/9362002

  • Error JavaScript prevents the table of contents, Index, search view

    I produced my RoboHelp HTML project webhelp and got an error javascript (this.maCom [...] (' is null or not an object) when you view the result. See the full error text below. So the table of contents, index and search are not displayed. We'll find the javascript error in the status bar of the browser that says "error on page". I found that if I saw the result of robohelp, the browser that launched shows the table of contents, index and search, but has a security warning about a restriction of running scripts or ActiveX controls. However, when I move the generated webhelp on my production server, the help doesn't have the security warning, but produces the error so that the table of contents, index and search do not show. I had done the same process to generate webhelp about 8 months ago but had no error whatsoever. In fact, this version is still in production and works very well.

    In my search for the problem, I found that it is the same error as message of the forum 4063663 (http://forums.adobe.com/message/4063663). I didn't have a second system with RoboHelp to be able to get other whphost.js, however, I have diff had the file generated with that found in template_stock and found only two different lines. These differences were only to replace a couple of variables with static text so I do not replace this file will solve any problem for me. That is the message of only forum I could find who addressed this issue.

    I was originally on RoboHelp 8.0.0 when I first encountered the problem, but has expanded and patched to version 8.0.2 and still had the same problem. I even created a new simple project. Once I moved the simple project on the production server, it also would display the table of contents, index and search.

    The strange thing is that only 8 months ago, I used the same process to generate webhelp without any errors (on 8.0.0). The only thing I can find is there is a Windows XP patch which affected the generation of webhelp. Furthermore, I also tried chrome and also produces the error.

    I don't know what is causing this problem or how to solve the problem. Anyone have any ideas?

    Versions:
    RoboHelp 8.0.2
    Windows XP
    IE 8.0.6001.18702CO
    Chrome 18.0.1025.168 m


    JavaScript error
    -------------------------
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0 .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729;. MS - RTC LM 8; InfoPath.2;. NET4.0C;. NET4.0E)
    Timestamp: Sun, may 2, 2012 16:32 UTC


    Message: Object EXPECTED
    Online: 344
    Char: 2
    Code: 0
    URI: http://server1/robohelp/whphost.js


    Message: 'this.maCom...' is null or not an object
    Online: 171
    Char: 3
    Code: 0
    URI: http://server1/robohelp/whphost.js
    --------------------------

    After further research and testing, I found the update of security for RoboHelp 8 and 9 (http://www.adobe.com/support/security/bulletins/apsb11-23.html) posted as an ad that I had not seen before. I used the feature updates of the product, but that said I was informed and did not include this update.

    Both javascript in this update files solve the problem. The table of contents, index and search now appear.

    Update:
    As I studied the problem further (when writing this reply), I found files that are newer than the latest security patches, I was aware of that. In addition, I discovered that my security organization decided to patch with APSB12-04 I don't know. This patch is why my 8.0.0 installation magically stop working. I see the announcement of the security, the bulletin was not all the required components for specific, that the patch can be applied to 8.0.1 and 8.0.2). (8.0.0, Adobe, please give more information on the ballots of so that organizations that deploy auto will be forced to find out what is running before the update. Information such as whether they apply to all versions of Robohelp 8 or simply a specific version. If APSB12-04 was supposed to apply to all versions of 8, then it did not work. In fact, he broke my installation of 8.0.0 for the generation of webhelp, but a later installation of 8.0.1 and 8.0.2. It seems that they have done a better job for APSB11-23. Maybe the security updates should be a kind of service pack that has a plant and a cancellation process. Right now, my security organization has replaced the files based on the specification in the security bulletin.

    I'll try to patch with APSB12-04 new since I've updated version 8.0.2 database to see if I still have the webhelp. If I can't view the table of contents, I have to take off once more and be 'in non-compliance."

Maybe you are looking for

  • Windows 7 home access

    My daughter bought a laptop Toshiba Satellite Pro through a program funded by the British Government called the home access scheme which currently receives a non-genuine notification (Windows 7 Professional). The system has been pre-installed and cam

  • 6008 OR using Labview 8.6 variable output voltage

    Hey guys,. So my goal is to create an output voltage of my USB 6008 OR which can be set from 1 - 5V in Labview. (This output goes to a mass flow controller that varies its pressure based on an entry 1 - 5V) I'm using Labview 8.6 and far I used the DA

  • the microphone is not working I'm under win xp SP3

    my microphone has won, t record my voice Charles

  • Adding icon in the background transparent when Michael

    Hi, I am observing interesting phenomenon (?) I've added an icon to my request that I developed using the guide provided by the kb article: http://docs.BlackBerry.com/en/developers/deliverables/21877/Add_icon_to_configuration_file_1374808_1... The ic

  • If the resettlement, where can I find my license number?

    I had to replace my hard drive now, I get the error 150:30. I need to reinstall but don't know where to find my license # because I bought it online a few years ago.