JSF: dynamic radiogroup with optional inputtext

Hi, I'm trying to create a jsf page for a survey webapp.
The problem is that I need to do a "unique answer" type of question. I have to render some dynamic options and in some cases an inputtext field to allow free text as answer, and, of course, I have to get the user answer to store the info in the DB.
It would be something like this:
Choose your DB:
[ ] Oracle
[ ] DB2: version ______
[ ] MySQL
[ ] other: ______
I have a List of "Options" in my backing bean (each one holds the text of the option and a flag to indicate the need of the inputtextfield). That's why it has to be dynamic.
I haven't found a way to do this with common jsf or tomahawk tags, and all my attempts to solve it using tables have failed. Does anybody have an idea on this?

Yep, I posted a question there. But that thread asks for a slightly different thing. There, the options in the selectOneRadio are fixed so he can build a hardcoded datatable in the jsp. Here I can't do that because I don't know how many options do I have to display or the text of each one. The only thing I know is that I will have to display some options and some of them will have to be associated to an inputtext field.
If I had to do this page without the inputtext feature, I would do something like this:
<h:selectOneRadio value="#{mybean.selectedOption}"
<f:selectItems value="#{mybean.options}" />
</h:selectOneRadio>I tried to mix this with the table solution you proposed on that thread, but I couldn't make it work. Could you explain it a little more?

Similar Messages

  • Is it possible to enhance the dynamic search with Option field with custom

    Hi All,
    is it possible to enhance dynamic search with OPTION parameter like Equals to , Between etc, instead of these are we able to add our own? If yes, then which are steps need to perform.
    Thanking you.
    Regards,
    VjMHyd

    Just to test is this possible i wrote a sample program
    data: lr_dquery type REF TO cl_crm_bol_dquery_service.
    data: lv_status TYPE CRMT_PROCESS_DESCRIPTION.
    data: mv_bol_core type REF TO cl_crm_bol_core,
            lr_result_obj type ref to if_bol_bo_col,
            lv_opp_id type string,
            lr_entity type ref to cl_crm_bol_entity.
    MV_BOL_CORE = CL_CRM_BOL_CORE=>GET_INSTANCE( ).
    MV_BOL_CORE->START_UP( 'BT' ).
    *data: lv_opp_id type string.
    lr_dquery = cl_crm_bol_dquery_service=>GET_INSTANCE( 'BTQOpp'  ).
    if lr_dquery is bound.
    *   prepare the selection paramters
      lr_dquery->add_selection_param(
        exporting
          iv_attr_name =  'OBJECT_ID'   " Component name
          iv_sign      =   'I'  " Inclusion/exclusion criterion SIGN for range tables
          iv_option    =   'PI'  " Selection operator OPTION for range tables
          iv_low       =   lv_opp_id
    *   Get the dynamic result object and read the opportunity status from there
      lr_result_obj ?= lr_dquery->get_query_result( ).
      lr_entity ?= lr_result_obj->get_first( ).
      if lr_entity is bound.
        lr_entity->get_property_as_value( exporting iv_attr_name = 'STATUS'
                                    importing ev_result = lv_status ).
      endif.
    endif.
    BREAK-POINT.
    No syntax error but junk values returned as I had not written the logic for retrieval based on this operator. This means that if you add the selection_param to the dynamic query and then handle that same thing in the GENIL class for the component then you would be able to retrieve the values based on this.
    On the UI , you would be retrieving all the operators for the parameters. There for that particular field you have to add the new operator for your case. And this would be send to the Dquery class and added as a selection param. When the query is executed, if the genil class has been updated to handle this parameter, you should be able to retrieve the results.
    Regards
    Kavindra
    Edited by: joshi_kavindra on Jan 19, 2012 2:45 PM
    Edited by: joshi_kavindra on Jan 19, 2012 2:53 PM

  • How to create dynamic DataTable with dynamic header/column in JSF?

    Hello everyone,
    I am having problem of programmatically create multiple DataTables which have different number of column? In my JSF page, I should implement a navigation table and a data table. The navigation table displays the links of all tables in the database so that the data table will load the data when the user click any link in navigation table. I have gone through [BalusC's post|http://balusc.blogspot.com/2006/06/using-datatables.html#PopulateDynamicDatatable] and I found that the section "populate dynamic datatable" does show me some hints. In his code,
    // Iterate over columns.
            for (int i = 0; i < dynamicList.get(0).size(); i++) {
                // Create <h:column>.
                HtmlColumn column = new HtmlColumn();
                dynamicDataTable.getChildren().add(column);
                // Create <h:outputText value="dynamicHeaders"> for <f:facet name="header"> of column.
    HtmlOutputText header = new HtmlOutputText();
    header.setValue(dynamicHeaders[i]);
    column.setHeader(header);
    // Create <h:outputText value="#{dynamicItem[" + i + "]}"> for the body of column.
    HtmlOutputText output = new HtmlOutputText();
    output.setValueExpression("value",
    createValueExpression("#{dynamicItem[" + i + "]}", String.class));
    column.getChildren().add(output);
    public HtmlPanelGroup getDynamicDataTableGroup() {
    // This will be called once in the first RESTORE VIEW phase.
    if (dynamicDataTableGroup == null) {
    loadDynamicList(); // Preload dynamic list.
    populateDynamicDataTable(); // Populate editable datatable.
    return dynamicDataTableGroup;
    I suppose the Getter method is only called once when the JSF page is loaded for the first time. By calling this Getter, columns are dynamically added to the table. However in my particular case, the dynamic list is not known until the user choose to view a table. That means I can not call loadDynamicList() in the Getter method. Subsequently, I can not execute the for loop in method "populateDynamicDataTable()".
    So, how can I implement a real dynamic datatable with dynamic columns, or in other words, a dynamic table that can load data from different data tables (different number of columns) in the database at run-time?
    Many thanks for any help in advance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    flyeminent wrote:
    However in my particular case, the dynamic list is not known until the user choose to view a table. Then move the call from the getter to the bean's action method.

  • Does JSF support component with dynamic fields?

    Webapps forms usually map a input text field to a java bean property. This mapping is one to one. I would like to know if the JSF can handle the situation where a form is dynamically generated with variable number of fields (eg. check boxes) and having all the values post back to the server without having a java bean mapping (because the fields is not known) and still be able to collect the values on the server.
    Any help is appreciated.

    ckx,
    The components don't require a model reference (i.e. assocaition with a JavaBean). You can access all of the components on the posting page on the server, so you could definitely get all of the values that way. You can build up the tree dynamically as well.
    So the short answer is yes :-).
    <<KM>>

  • How to render  radiogroup with radio buttons spread out across 2 columns

    Hi,
    I would like to render the following html using JSF (Renderer ??). How do I do that ?
    Basically it has a radiogroup with radio buttons spread out across 2 columns. and with an
    attached input text box along with
    the label for each radiobutton in the radio group.
    Any pointers or examples I can look at to do something like this is appreciated.
    <selectOneRadio does not achieve my functionality nor does MyApacheFaces with a layout="spread" option.
    TIA,
    Vijay
    Here is the html source for what i want to achieve:
    <TABLE border="0" cellpadding="0" cellspacing="1">
         <TBODY>
              <TR>
                   <TD></TD>
                   <TD><span id="searchForm:searchText1">Application Number</span></TD>
                   <TD></TD>
                   <TD><span id="searchForm:searchText2">Agreement Number</span></TD>
              </TR>
              <TR>
                   <TD><input type="radio" id="searchForm:customerSearchRadioGroupId" value="applicationNumber"/></TD>
                   <TD><input type="text" id="searchForm:applicationNumberId" value=""/></TD>
                   <TD ><input type="radio" id="searchForm:customerSearchRadioGroupId" value="agreementNumber"/></TD>
                   <TD><input type="text" id="searchForm:agreementNumberId" value=""/></TD>
              </TR>
              <TR>
                   <TD></TD>
                   <TD><span id="searchForm:searchText3">Infolease Cust.#</span></TD>
                   <TD></TD>
                   <TD><span id="searchForm:searchText4">eCredit Cust.#</span></TD>
              </TR>
              <TR>
                   <TD><input type="radio" id="searchForm:customerSearchRadioGroupId" value="infoLeaseCustNumber"/></TD>
                   <TD><input type="text" id="searchForm:infoLeaseCustNumberId" value=""/></TD>
                   <TD ><input type="radio" id="searchForm:customerSearchRadioGroupId" value="eCreditCustNumber"/></TD>
                   <TD><input type="text" id="searchForm:eCreditCustNumberId" value=""/></TD>
              </TR>
              <TR>
                   <TD></TD>
                   <TD><span id="searchForm:searchText7">Client Number</span></TD>
                   <TD></TD>
                   <TD><span id="searchForm:searchText8">Customer Name</span></TD>
              </TR>
              <TR>
                   <TD><input type="radio" id="searchForm:customerSearchRadioGroupId" value="clientNumber"/></TD>
                   <TD><input type="text" id="searchForm:clientNumberId" value=""/></TD>
                   <TD style="color:red"><span id="searchForm:searchText9">  AND  </span></TD>
                   <TD><input type="text" id="searchForm:custNameId" value=""/></TD>
              </TR>
         </TBODY>
    </TABLE>

    Yeah, I would love to know about this too.
    What I did is (you will hate this solution) I hacked my designers design to make the first column (the radio column) to be one big column. In side this column, I did
    <h:selectOneRadio id="customerSearchRadioGroupId" layout="pageDirection">
    <f:selectItem ..... />
    <f:selectItem .... />
    </h:selectOneRadio>
    this is wack, but I can't think of any other solution. in ASP.NET you get a groupName attribute, which make thigns a lot flexible.
    The problem with this solution is the layout of the output (a table of radio button) didn't line up with the next column of textbox, so I had to go to my designer and have her modify her css.
    If anybody have a solution for this, please let us know.

  • How to create a Dynamic Datatable with sorting functioanlity

    Hi,
    I am new to JSF and need some help can some one please tell me how to create a dynamic datatable with sorting functionality. I am reading data data from a database table and wants to build the datatable dynamically based on the columns returned. I know how to created a datatble with a fixed number of columns but can't figure out how to create a datatable dynamically with sort functionality. Any small example will help.
    Thanks

    Hi,
    Here is what I have so far and can't figure out how to add the sorting functionality. Any help is appreciated.
    Managed Bean:
    private List<MyDto> data ;
        public HtmlDataTable getDataTableOne ()
            if ( dataTableOne == null )
                populateCheckBoxes () ; // Preload.
                populateDynamicDataTableOne () ;
            return dataTableOne ;
        public void populateCheckBoxes ()
            data = new ArrayList<MyDto> () ;
            MyDto myDto1 = new MyDto () ;
            MyDto myDto2 = new MyDto () ;
            MyDto myDto3 = new MyDto () ;
            MyDto myDto4 = new MyDto () ;
            myDto1.setChecked ( true ) ;
            myDto1.setValue ( "myDto1" ) ;
            myDto2.setChecked ( false ) ;
            myDto2.setValue ( "myDto2" ) ;
            myDto3.setChecked ( false ) ;
            myDto3.setValue ( "myDto3" ) ;
            myDto4.setChecked ( true ) ;
            myDto4.setValue ( "myDto4" ) ;
            data.add ( myDto1 ) ;
            data.add ( myDto2 ) ;
            data.add ( myDto3 ) ;
            data.add ( myDto4 ) ;
        public void populateDynamicDataTableOne ()
            dataTableOne = new HtmlDataTable () ;
            UIOutput header = new UIOutput () ;
            header.setValue ( "" ) ;
            UIColumn tableColumn ;
            tableColumn = new UIColumn () ;
            HtmlOutputText textHeader = new HtmlOutputText () ;
            textHeader.setValue ( "" ) ;
            tableColumn.setHeader ( textHeader ) ;
            HtmlSelectBooleanCheckbox tCheckBox = new HtmlSelectBooleanCheckbox () ;
            tCheckBox.setValueBinding ( "value" , FacesContext.getCurrentInstance ().getApplication ().createValueBinding ( "#{row.checked}" ) ) ;
            tableColumn.getChildren ().add ( tCheckBox ) ;
            // Set output.
            UIOutput output = new UIOutput () ;
            ValueBinding myItem = FacesContext.getCurrentInstance ().getApplication ().createValueBinding ( "#{row.value}" ) ;
            output.setValueBinding ( "value" , myItem ) ;
            // Set header (optional).
            UIOutput header2 = new UIOutput () ;
            header2.setValue ( "" ) ;
            UIColumn column = new UIColumn () ;
            column.setHeader ( header2 ) ;
            column.getChildren ().add ( output ) ;
            dataTableOne.getChildren ().add ( tableColumn ) ;
            dataTableOne.getChildren ().add ( column ) ;
    MyDto.java
    public class MyDto
        private Boolean checked;
        private String value;
        public MyDto ()
        public void setChecked ( Boolean checked )
            this.checked = checked;
        public Boolean getChecked ()
            return checked ;
        public void setValue ( String value )
            this.value = value;
        public String getValue ()
            return value ;
    JSP
    <h:dataTable id="table" value="#{myRequestBean.data}" binding="#{myRequestBean.dataTableOne}" var="row" />Thanks

  • Impossible to change the Fontsize for a Radiogroup(with Submit).

    Impossible to change the Fontsize for a Radiogroup(with Submit).
    I have a Menue displayed from a Query like (select menue_title, id from lov_tabel)
    and displayed in a Report Region as a Radio group with Submit.
    The problem is, i've not been able to change the font size.
    What i' have tried.
    - Change the color works if i change "+Page Item"-> Element -> HTML Table Celle Attributes+ to
    style="font-size:1.2em; color:#CC00CC" I see the new color but NO change in font-size.
    - If change in Application-> Shared Components-> Templates
    copy the Template "Reports Region" to "MenueReport",
    then change on "MenueReport"->Template
    value to      <table class="t6ReportsRegion" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES# summary=""
         *style="font-size:1.2em; color:#CC00CC; font-family:Verdana"*>
         <tr><td class="t6Header">#TITLE#</td></tr>
         <tr><td class="t6ButtonHolder">#CLOSE#   #PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#</td></tr>
         <tr><td class="t6Body">#BODY#</td></tr>
         </table>     option style="font-size:1.2em; color:#CC00CC; font-family:Verdana" inserted
         and then change in the template for the report region the Option
         Edit Region->User Interface -> Template to "MenueReport".
         I see a new color but NO font-size will be changed!
    - I have changed the query to     SELECT  ' <font size="4">' || rt_name as x, rt_nr  FROM report_types order by rt_nr     But there is NO change of font size, and the Tag <font size= .. is deprecated.
    Used Version is Apex apex_030200 with Firefox 3.5.5 Windows.
    After all this failed attempts, i have no idea how to change the font for page to a larger size.
    Can anyone help me and explain how to change the font size in Apex for a Radiogroupe?
    Thanks in advanced
    Dieter

    Assign a [static region ID|http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/ui.htm#sthref1438] to the region containing the radiogroup.
    Place the following code in the HTML Header page property, replacing static-region-id with the ID given to the region:
    <style type="text/css">
    #static-region-id label {
      font-size:1.2em;
    </style>after that how do we need to call this css
    and does it need to be called within the Region HTML table cell attributes of a region or in the HTML Form Element Attributes of the radio group items
    >
    CSS isn't "called". Learn how [themes, templates|http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/themes.htm#CJABAEIE] and CSS are used to control the appearance of APEX applications.

  • Dynamic Table with repeating Subform

    Hello,
    I am maiking a form which has a Dynamic Table with a repeating Subform.  The repeating subform has a dropdown list field which has three options for the user to pic.  "LABOR", "EQUIPT.", & "MATL."
    The way I want the form to work is the user will choose which item they want to add to the form with the dropdown list.  Whatever amount they put into the "Amount" column will go to the corresponding total "LABORTotal", "EQUIPTTotal", & "MATLTotal"
    The repeating Subform is basically the Row1, but I have the table split up into subforms because of issues I had eariler with the form.  The repeating subform title is "detail". 
    I cannot get the sums for the 3 items to go into the corresponding totals field.  This is the script that I have for the labor total field:
    form1.total.LABORTotal::calculate - (JavaScript, client)
    var nAmount = xfa.resolveNodes("detail[*].Table1.Row1.AMOUNT");
    var nItem = xfa.resolveNodes("detail[*].Table1.Row1.ITEM");
    var nSum = 0;
    for (var i=0; i<nAmount.length; i++)
        if (nItem.item[i].rawValue == "LABOR")
        nSum = nSum + nAmount.item(i).rawValue;
    This.rawValue = nSum;
    I am not familiar with loop scripting or var scripting so I know I am getting it wrong somewhere. 
    I would greatly appreciate any help!
    Thanks

    Okay,
    Here is your form back to you: https://acrobat.com/#d=IA67zcTBrWlnpcYS234*XQ.
    The issue wasn't the script. If you select the dropdown and go to the Object > Binding palette, you will see you had ticked "Specify values" and these were set to 1, 2 and 3.
    This meant that if the user selected LABOR, the value of the dropdown was "1" and NOT "LABOR". This was throwing the if statement.
    I deselected the specify values and it worked as expected.
    Hope that helps,
    Niall

  • Source code of JSF implementation bundled with JDeveloper

    Where can I get the sources of JSF implementation bundled with JDeveloper 10.1.3.1 (1.1_02-b08)?

    Fair enough. Yes, as far as I know those implementation classes aren't available. Contacting Sun's consulting services is one option, of course. Make sure you get someone who has actual experience with the classes in question, rather than just anyone who happens to be on the bench right now, 'cos they'll charge you handsomely either way.
    I take it you've considered decompiling the classes in question ? Obviously there are legal issues to consider if you go that route, but I've found the Kaffe tool handy before now.
    http://www.kaffe.org/
    The only other thing I can think of is taking a dig around the IBM site to see if any of their equivalent classes are available in source form. I've always used the Sun versions, however, so I've no idea how likely this is.
    Ok, I'm out of ideas. Will be interested to hear if you come up with something even more devious.
    D.

  • Dynamic action with set value on date field

    Hi,
    I'm using APEX 4.02
    I'm trying to calculate the age based on the date of birth dynamically on a form. I'm trying to do this with a (advanced)dynamic action with set value.
    I'm able to get this kind of action working based on a number field etc, but NEVER on a date field.
    I've read all posts on this subject but so far no solution. Even if I try to simply copy the value over to another date field or typecast it to a string ( to_char function ) it does not work. So for me the problem seems to be in the source field being a date field.
    I've tried using the source value as is in a select statement :
    select :P33_GEBOORTEDATUM from dual;
    and also type casted based on the date format :
    select TO_DATE(:P33_GEBOORTEDATUM,'DD-MON-YYYY') from dual
    but still no luck.
    On the same form I don't have any issues as long as the calculation is based on number fields, but as soon as I start using dates all goes wrong.
    Any suggestions would be greatly appreciated. If you need any extra info just let me know.
    Cheers
    Bas
    b.t.w My application default date format is DD-MON-YYYY, maybe this has something to do with the issue .... ?
    Edited by: user3338841 on 3-apr-2011 7:33

    Hi,
    Create a dynamic action named "set age" with following values.
    Event: Change
    Selection Type: Item(s)
    Item(s): P1_DATE_OF_BIRTH
    Action: Set value
    Fire on page load: TRUE
    Set Type: PL/SQL Expression
    PL/SQL Expression: ROUND( (SYSDATE - :P1_DATE_OF_BIRTH)/365.24,0)
    Page items to submit: P1_DATE_OF_BIRTH
    Selection Type: Item(s)
    Item(s): P1_AGE
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • How to clear grey loading screen and animated gif (Dynamic Action with "Show Processing" on submit)

    APEX V4.2.3
    DB 11.2
    I have a classic report on page 1.  I have a region button called "Export" (defined by a submit dynamic action with "show processing=Yes") that submits the page and then via a branch directs me to page 2 which has a slightly different version of the report on page 1 (i.e. no breaks) which I want to capture as a CSV export.  Therefore I've set the report template on page 2 to " Export:CSV".
    Now when I click on the page 1 export button the grey screen and loading gif appears indicating that the report is executing and then as expected, page 2 doesn't appear but instead the standard open/save window's dialog box appears asking to open or save the generated CSV file.  All good..but the grey loading screen remains.  How do I clear this loading screen and get back to the context of page 1 ?
    thanks in advance
    PaulP

    Hi PPlatt,
    We would love to help but you left out one crucial part of the puzzle: namely how does your CSV report get exported. With the way it is setup (a redirect to another page), I'm going to assume you do that because you have some PL/SQL on that page that prints the CSV.
    Now there are two questions that are crucial here:
    - How do we stop the icon from bugging us on the screen
    - How do we communicate with the browser that it should no longer display the loading icon
    The first question is rather easy, two simply lines of codes can do that:
    $('#apex_wait_popup').hide();
    $('#apex_wait_overlay').hide();
    But when do we use this code? Quite simple when the document is downloaded. When is it downloaded? At the end of the PL/SQL code that prints the document to the browser.
    What you could do is at the end of that code give an application item a certain value. For example :AI_PRINTED := 'Y';
    Then all you need to do is let the browser ask for the value. You could do this by using JavaScript to continuously fire AJAX to the server using a JS timing event:
    http://www.w3schools.com/js/js_timing.asp
    Better would be a Server send event, but since you left out another crucial piece of information: your browser, I will not go deeper into this.
    Start this timing event when someone asks for the document, and end it as soon as the process returns that :AI_PRINTED equals 'Y'.
    Despite the lack of information, I hope I have given, or at least inspired you to get to the solution.
    Regards,
    Joni

  • I installed elements 12, it won't open, a screen pops up with options for e-12 and 4 other language

    I installed elements 12, it won't open, a screen pops up with options for e-12 and 4 other languages.  When I click Elements 12 a screen pops up with a red install icon, I click it and it askes for the serial number. It won't let me type in letters only numbers. I already did the serial number once. How do I get this to work? I don't want to be a programer!  

    attach a screenshot of what pops up after clicking pse 12, http://forums.adobe.com/thread/963429

  • The "always open with-"  option doesn't work!

    Is there a way to get the "Always open with" option when doing a (control) (option) click on a file to actually ALWAYS open with the application I choose? Could this feature be broken or perhaps mislabeled?
    Here's what happens; I'll set a file to "always open with" one application. I work on that file and save it. The next time I try to open that file it opens with the snow leopard default application instead of using the application I directed it to "Always open with".
    I don't want to open every file type with this application so I'm not setting "apply to all" in the info window/ inspector, I simply want this one file to always open with the application I've selected.
    I'm hoping some of you super mac users will know a trick to make this work.

    I want to open a few select files with a non-default application (now that the creation code is not used.)...If I work on the file and make/save any changes, it reverts to the default app.
    Aha! Okay, I don't think any of us were getting that in the initial posts. You are correct. Snow Leopard no longer uses Type and Creator codes by default, but they are still there. Various things are keeping you from doing what you want.
    1) Newer programs that do not use Type and Creator codes at all still need a way to tell the OS what files belong to them. Since at least back as far as Leopard (likely earlier), the system now uses Uniform Type Identifiers. As far as keeping track of what files belong to what applications, they serve the same purpose as Type and Creator codes. So when you save changes, it will indeed revert back to the default app since the file once again gets saved with that program's UTI data.
    2) Some programs use both UTI and Type and Creator codes. Usually older apps that have come from PPC code. I would guess that would be either because the developer doesn't want to waste time removing the code that adds the Type and Creator codes to the files, or more likely, to make sure files passed to other users still on older Macs that don't use UTI won't have trouble opening them.
    3) I use some much older apps which have still not been rewritten at all for Intel Macs and are still all PPC code. They still write Type and Creator codes.

  • Hierarchy on HANA Calculation View with Optional Input Parameters Fails

    Hi,
    Has anyone succeeded in building a hierarchy on top of a calculation view with optional input parameters, where an input parameter is not filled?
    The original requirement came from the wish to create a parent child hierarchy on a calculation view that was copied into the customer space from a HANA Live Financial Statement query view, but I have found the following when creating a simple level hierarchy on a calculation view that consumes one table. The Calculation View has one Input Parameter where the 'mandatory' box is unchecked.
    Calculation view reads ECC table FAGLFLEXT
    Simple level based hierarchy on fields PRCTR, RACCT and SEGMENT
    Input parameter is used as a filter for PRCTR with logic ("EMPTY" = '$$P_PROFITCTR$$' or "PRCTR" = '$$P_PROFITCTR$$')
    When I run the view I see the following behaviour in HANA Studio and Analysis for Excel
    Before building the hierarchy I could run the view with or without the Input Parameter
    After building the hierarchy I can run the view with the Input Parameter filled, but it fails when the Input Parameter is not filled.
    Error message is "error: search table error:  [2426] missing placeholder; missing value for mandatory parameter P_PROFITCTR"
    P_PROFITCTR is not a mandatory parameter, but the selection for the hierarchy view thinks it should be. I don't find any notes around this issue, so I don't think it's version related, however the version I have used for this test is 1.00.70.
    It's a shame we can't currently build the hierarchy as the parent child relationship is provided in HANA Live view NewGLFinancialStatementQuery.
    Thanks,
    Ken

    Hi Ken,
    We have been facing similar issue. We have even tried to set default value and as optional parameter. View still fails to create hierarchy (we are not using HANA live). As mentioned on page 97 of HANA modelling guide input parameter is mandatory from engine point of view. Hierarchy is generated as column view during the initial activation of calculation view and therefore expect a value by caller.
    This seems to be a product error. Some one from HANA development team should explain this issue in detail. I would expect someone like Thomas Jung reply to us.
    At the moment, we cant use input parameter for date prompt which gives us calendar popup feature for date selection. Hierarchies just don't work with input parameter. We are missing something.
    Regards
    Angad

  • VMWARE Server2012RT Installation failed with option: I will install the Operating System later

    Hello, first sorry for my englich but I hope it wille ok for this Issue.
    I have instelled the Win2012RT Server in VMware but the Installtion failed with this error:
    Ok i chose the option: "I will install the Operating System later.",
    and also tried
    this:
    http://www.techieshelp.com/server-2012-windows-cannot-read-the-setting-from-the-unattend-answer-file/ 
    However, I always get
    this displayed:
    Last Log entry is this one:
    2014-05-07T09:42:03.962+02:00| vmplayer| I120: VMMgr: Finished opening VM at /vm/#cf2324dcf779001d/ from G:\VMs\Server2012RTVmware.vmx
    2014-05-07T09:42:03.962+02:00| vmplayer| I120: cui::MKSScreenWindowCoordinator::HandleGuestTopologyChange: main UI rect: 687x619 @ 948,249
    2014-05-07T09:42:03.962+02:00| vmplayer| I120: cui::MKSScreenWindowCoordinator::HandleGuestTopologyChange: Found 0 present screens
    2014-05-07T09:42:03.962+02:00| vmplayer| I120: cui::MKSScreenWindowCoordinator::HandleGuestTopologyChange: Windows for extra guest monitors will not be shown
    2014-05-07T09:42:03.962+02:00| vmplayer| I120: cui::MKSScreenWindowCoordinator::HandleGuestTopologyChange: setting main view to all displays
    2014-05-07T09:42:03.978+02:00| vmplayer| I120: SnapshotTree: Emitting refresh (G:\VMs\Server2012RTVmware.vmx)
    2014-05-07T09:42:04.009+02:00| vmplayer| I120: VMHSVMCbPower: G:\VMs\Server2012RTVmware.vmx, Setting state of VM to powerOn with option soft
    2014-05-07T09:42:04.024+02:00| vmplayer| I120: Stats VMX "G:\Programme2tePlatte\vmware-vmx-stats.exe" not found.  Using standard VMX "G:\Programme2tePlatte\x64\vmware-vmx.exe"
    2014-05-07T09:42:04.024+02:00| vmplayer| I120: Starting vmx as G:\Programme2tePlatte\x64\vmware-vmx.exe
    2014-05-07T09:42:04.024+02:00| vmplayer| I120: Starting vmx as G:\Programme2tePlatte\x64\vmware-vmx.exe
    2014-05-07T09:42:04.024+02:00| vmplayer| I120: VigorClient_StartAndConnect Failed: Message
    2014-05-07T09:42:04.024+02:00| vmplayer| I120: G:\VMs\Server2012RTVmware.vmx: Pending power op found, completing.
    2014-05-07T09:42:04.024+02:00| vmplayer| I120: G:\VMs\Server2012RTVmware.vmx: Clearing execReqPath
    2014-05-07T09:42:04.024+02:00| vmplayer| I120: G:\VMs\Server2012RTVmware.vmx: Reloading config state.
    2014-05-07T09:42:04.024+02:00| vmplayer| I120: VMHS: Transitioned vmx/execState/val to poweredOff
    2014-05-07T09:42:04.040+02:00| vmplayer| I120: G:\VMs\Server2012RTVmware.vmx: VMHSStartVmxVigorCb: vmPath=/vm/#cf2324dcf779001d/ status=error
    2014-05-07T09:42:04.040+02:00| vmplayer| I120: G:\VMs\Server2012RTVmware.vmx: Reloading config state.
    2014-05-07T09:42:04.040+02:00| vmplayer| I120: VMHS: Transitioned vmx/execState/val to poweredOff
    2014-05-07T09:42:04.040+02:00| vmplayer| I120: Setting power state poweredOff
    2014-05-07T09:42:04.056+02:00| vmplayer| I120: Internal VMDB error: VMDB failure (-1)
    2014-05-07T09:42:04.056+02:00| vmplayer| I120: VMMgr::CloseVM: closing VM at /vm/#cf2324dcf779001d/
    2014-05-07T09:42:04.056+02:00| vmplayer| I120: DlgUI: Error while powering on: Internal error.
    2014-05-07T09:42:04.087+02:00| vmplayer| I120: VMMgr::OnVMDestroyed: cleaning up after destroyed VM at /vm/#cf2324dcf779001d/
    2014-05-07T09:42:04.087+02:00| vmplayer| I120: cui::MKS::SetAttached: detach
    2014-05-07T09:42:04.087+02:00| vmplayer| I120: cui::MKS::OnSetAttachedCompleted
    2014-05-07T09:42:04.118+02:00| vmplayer| I120: FILE: FileDeletionRetry: Non-retriable error encountered (C:\Users\Michael\AppData\Roaming\VMware\preferences.ini~): Unknown error 2 (0x2) (2)
    2014-05-07T09:42:07.488+02:00| vmplayer| I120: PlayerFrame::UpdateActivePlayer: mActive=1
    2014-05-07T09:42:09.874+02:00| vmplayer| I120: PlayerFrame::UpdateActivePlayer: mActive=0
    2014-05-07T09:44:13.286+02:00| vmplayer| I120: PlayerFrame::UpdateActivePlayer: mActive=1
    2014-05-07T09:44:13.473+02:00| vmplayer| I120: Cmd /host2/#_client/util/file/cmd/##135/op/stat/ failed: Invalid path
    2014-05-07T09:44:17.061+02:00| vmplayer| I120: PlayerFrame::UpdateActivePlayer: mActive=0
    Does anyone have
    an idea maybe??
    Vmware Version is: 6.0.2 build-1744117
    Host: Windows 7 Enterprise, 64-bit 6.1.7601, Service Pack 1
    WIN2012RT Iso is: 9600.17050.WINBLUE_REFRESH.140317-1640_X64FRE_SERVER_EVAL_DE-DE-IR3_SSS_X64FREE_DE-DE_DV9.ISO DOWNLOAD: http://technet.microsoft.com/de-de/evalcenter/dn205286.aspx

    Ok. I could finde out the Problem.
    I uninstalled VMware witht RevoUninstaller and deleted all Vmware sysfolders and all regKeys.
    Important note:
    The first Installtion was on the 2nd Hard disk on my PC. These Harddisk was Connected via USB3 Port. VMware was successfully installed, and via the standart installation procedure the ISO files could be installed in Vmware, but the problem persist with
    WIN2012RT server.
    After a new installation of VMware into the Local C: Drive. The Win2012RT.Iso could be installed. With this procedure
    without Issues: http://www.techieshelp.com/server-2012-windows-cannot-read-the-setting-from-the-unattend-answer-file/
    ISO Download: http://technet.microsoft.com/de-de/evalcenter/dn205286.aspx

Maybe you are looking for

  • Error on IDOC to SOAP

    I am using IDOC to SOAP scenario for sending location details to the third party webservice. initially the scenario was working fine. Now its not working properly. Where I need to check to find out the problem. Thanks & Regards, Jay

  • "Missing Return Statement" although the return statement IS there?

    Hello :) I am currently studying computing science at staffordshire university, java is one of my modules (first year) and im about half way through (still at introduction stage though)... Within my code apparently I have not returned a statement...

  • Strange behavior of db update in debugging and no debugging execution mode

    Hi Experts, I am finding a strange behavior of certain Z update function (to update equipment install base) : The update happens perfectly if I go into debug mode and do a F6 on the function call. But if I executed it completed without going in debug

  • AD Site / IP Range Boundary Question

    We have one small office that is included in our primary AD Site and this will not change. This site has its own boundary and DP's. I am creating a DP for that office and am wondering how I can ensure that this office will exclusively use that DP onc

  • Time Machine - How To Get Started?

    I apologize for this simple question, but I can't seem to start up and configure the Time Machine. How do I configure the Time Machine to back up files to a DVD? I have an early 2009 iMac running Snow Leopard. I'd like to back up my photos, music, an