H:inputBox required="true"

Hi all,
An h:inputBox with property required = "true" will accepts a blank space as a valid entry . How can I avoid this.
Regards
Sandeep

There is no such thing as h:inputBox.
At any way, you may find this converter useful: [http://balusc.blogspot.com/2008/07/dao-tutorial-use-in-jsf.html#EmptyToNullConverter].

Similar Messages

  • H:selectOneRadio required true does not work

    Hi,
    I have a selectOneRadio and it was a required="true" attribute. Some how, it never works. All the other validations in the page work except this one. Any clues??
    <h:panelGrid columns="1">
         <h:outputText value="Handbook Type " styleClass="outputText"></h:outputText>
         <h:selectOneRadio id="selectOneRadioID" layout="pageDirection"
              required="true" styleClass="selectOneRadio"
              value="#{pc_SelectCriteriaForFilingTypeNotesBody.currentHBT}">
              <f:selectItems
                   value="#{pc_SelectCriteriaForFilingTypeNotesBody.handBookTypeList}" />
         </h:selectOneRadio>
         <h:message for="selectOneRadioID" errorClass="errorMessage"></h:message>
    </h:panelGrid>I don't have immediate on my button. I am using Sun's RI 1.0
    Thanks,
    Dushy

    Hi Dushy,
    Try putting an inline message or message list component in the page. This would show any error messages and it would be easier to understand what is happening if there is an error.
    Cheers :-)
    Creator Team

  • InputText loosing value after setting required="true"

    Hi Folks,
    'myBean' is request scope bean.
    I have a problem here with the inputText tag
    in edit.jsp
    <h:inputText value="#{myBean.name}" id="name" required="true"/>
    <h:message for="name"/>
    When i click the 'Update' CommandLink without entering the value in the text field, i see a validation error message. After this when i go back to the old page from my menu and comes back to edit.jsp i see no value in the text field. i can print the value by using outputText like
    <h:outputText value="#{myBean.name}" id="outputname">
    Why is the value getting lost in inputText?
    Any help appreciated.
    Thanks a bunch.
    Regards,
    Sreedhar

    the error msg was expected behaviour, when i did not enter any thing in the text. The page was redisplayed with validation error when nothing was entered in the text field. After that when i come back to the edit page for different set of result i see nothing in the name text field. The page is not rendering text field name. Where as when i try to print the value by using outputText i could see the value.
    I am wondering why inputText is not rendering the valueand why outputText can render the same value

  • Hi..while validating h:InputText tag with required="true"

    <div class="new_campaign_block">
    <div class="campaign_basic">
    <h:outputLabel value="List Basic Details:" styleClass="headings" />
    <s:validateAll>
    <h:panelGrid columns="2" border="0">
    <h:outputLabel for="listname" value="List Name: (*)" styleClass="wizard"/>
    <h:inputText id="listname" value="#{lists.name}" required="true"/>
    am validating using required="true" and i modified the messages.properties file as
    so its validating if i didnt enter the listname like this-- "wizard_form:j_id1248:listname:should not be empty"
    but i want the validation o/p like this "listname should not be empty" . is there any way to eliminate the
    "wizard_form:j_id1248:" this part in the o/p validation. Or any way to display validation messages as our wish.
    please .. ur suggestions are most valuable.

    I am facing same problem, can u help me.
    I have put command button which proceeds to next page and when product type is not selected, even though it calls the bean method and proceeds to next page!!! I tried all possible combination.
    Here I have two queries
    1) what possible reason for required tag not to work?
    2) if I am checking that product type is not selected in bean method, how to reflect this to jsf and it will shows the message like 'validaiton error : value is required or something similar...
    Pranav

  • Simple question about af:panelTabbed and required="true"

    Hello,
    I have a component af:panelTabbed with four tabs:
    In the fourth tab i have an af:inputText with the tag required="true"
    The problem is: The required is only applied if i am at the fourth tab (where the inputText is on).
    If i am at first tab, the form is commited and the required is not applied.
    Any help, please ?
    Victor Jabur

    To complement, here is my jspx and my Managed Bean:
    When i click at cb1 button, the focus would have to go for tab4, but the partial refresh doesn't work. If i use the refreshPage() method posted above, the focus works, but as mentioned, it's not web 2.0 common use.
    JSPX:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1" title="Test Tab Component">
    <af:form id="fm1">
    <af:commandButton id="cb1" text="Execution Action" action="#{myBean.executeAction}" partialSubmit="true"/>
    <af:panelTabbed id="ptab" styleClass="AFStretchWidth">
    <af:showDetailItem id="tab1" text="Tab 1"/>
    <af:showDetailItem id="tab2" text="Tab 2"/>
    <af:showDetailItem id="tab3" text="Tab 3"/>
    <af:showDetailItem id="tab4" text="Tab 4" binding="#{myBean.tab4}" clientComponent="true">
    <af:inputText id="it1" label="Input Text" binding="#{myBean.inputText}" clientComponent="true"/>
    </af:showDetailItem>
    </af:panelTabbed>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Managed Bean:
    package com.test;
    import javax.faces.application.FacesMessage;
    import javax.faces.context.FacesContext;
    import oracle.adf.view.rich.component.rich.input.RichInputText;
    import oracle.adf.view.rich.component.rich.layout.RichShowDetailItem;
    import oracle.adf.view.rich.context.AdfFacesContext;
    public class MyBean {
    private RichInputText inputText = new RichInputText();
    private RichShowDetailItem tab4 = new RichShowDetailItem();
    public void executeAction(){
    if(this.inputText != null){
    if (this.tab4 != null) {
    FacesContext context = FacesContext.getCurrentInstance();
    FacesMessage facesMsg = new FacesMessage(FacesMessage.SEVERITY_ERROR, "Enter a value", "");
    context.addMessage(this.inputText.getClientId(context), facesMsg);
    this.inputText.setValid(false);
    this.tab4.setDisclosed(true);
    AdfFacesContext.getCurrentInstance().addPartialTarget(this.inputText);
    AdfFacesContext.getCurrentInstance().addPartialTarget(this.tab4);
    //AdfFacesContext.getCurrentInstance().partialUpdateNotify(this.inputText);
    //AdfFacesContext.getCurrentInstance().partialUpdateNotify(this.tab4);
    public void setInputText(RichInputText inputText) {
    this.inputText = inputText;
    public RichInputText getInputText() {
    return inputText;
    public void setTab4(RichShowDetailItem tab4) {
    this.tab4 = tab4;
    public RichShowDetailItem getTab4() {
    return tab4;
    }

  • Required = true, but Javascript alert boxes Does Not fire ?

    Hi,
    On my ADF Form (af:form), I have set my attribute : required = true on the adf faces page. (on the entity object, mandatory = true)
    But when I press Submit, I do not get any Javascript alert boxes fired, instead, I just see server side validation error.
    Why the Javascript alert boxes does not get fired ?
    Where is the setting ?
    Thank you for your help,
    xtanto

    Hi Frank,
    I use JDev 10.1.3.1 and it does not work.
    Yes , the required field similar to #{bindings.ManagerId.mandatory}
    I even try to change it to 'true', still no Java script alert, just the server side error.
    What is the possibility ?
    Thank you,
    xtanto

  • Problem with required="true"

    Hi,
    If I set required="true" for an inputText, then if I click the return button without filling in this inputText , I can't return because the field must be filled!!!!
    Does someone have an idee about resolving that?
    Thanks

    Set immediate="true" on your return button.
    Note: This will skip ALL component validation. Which is probably what you want anyways.
    CowKing

  • Forms Items - Required True

    Forms6i--
    In my Forms,I have an Item which is set to Required True.Suppose I am in this Item and would like to Navigate to any Previous Item without entering any Value. How can I achieve it? Shift+Tab doen't work.
    In Forms4.5 Shift+Tab was working fine.
    Any Help?
    null

    In my own experience, it's not possible to navigate from a Required field to another field if the Required field has null value.
    you can try setting a space value on the field and put the code in when-validate-item trigger so you can move to another field. a space value is different from null value.
    hope this helps.

  • SelectBooleanCheckbox required=true not working - need custom validator?

    To All:
    Searched the web (and this forum) and saw only one post related to this issue and it concluded that a custom validator was necessary.
    I want to have the required attribute make the selectBooleanCheckbox actually required when the form is submitted.
    1. Is it true that I have to wrtie a custom validator? It seems by now MyFaces or somewhere out there a validator must exist
    OR
    2. Does someone know how to make a checkbox required in JSF?
    Many Thanks!
    Matt

    The problem with a selectBooleanCheckbox is that it will ALWAYS return a value. Thus, if you set it to required, it doesn't matter if it's checked or unchecked, it has returned a value. It would incorrect to assume that setting the required flag to true would mean the checkbox must be checked. What if it's required to be unchecked?
    Anyways, the bottom line is that you will have to create a custom validator to ensure that the checkbox is checked (or unchecked, depending on what your requirements might be). However, this is simpler than you might be thinking. Use the validator attribute and a method in your backing bean to perform the check.
    Like this:
    <h:selectBooleanCheckbox id="myRequiredCheckbox"
              value="#{backBean.requiredBox}" validator="#{backBean.checked}" />backBean will have something like the following validator method (this one throws an error if the box isn't checked):
         public void checked(FacesContext context, UIComponent component,
              Object value) throws ValidatorException {
              if (context == null || component == null || value == null)
                   throw new NullPointerException();
              Boolean isChecked = (Boolean)value;
              if (!isChecked .booleanValue()) {
                   FacesMessage msg = new FacesMessage("You must check the box before proceeding.");
                   msg.setSeverity(FacesMessage.SEVERITY_ERROR);
                   throw new ValidatorException(msg);
         }See, pretty easy eh?
    CowKing

  • Problem with "required" attribute in inputBox

    Hi ,
    I have a requirement where a input field needs to be populated using lookup.
    I am using commandButton to populate the input field.Since I dont want user to type anything in this input Field , I have made this field readOnly.
    This is a mandatory field so I have put required attribute true.But on the click of submit button this validation does not trigger.If I make remove readOnly attribute or make it false, the validation triggers.Here is the snippet for this part.
    <afh:rowLayout>
    <afh:cellFormat halign="right" >
    <af:commandButton id="lookupFrom_buttonId" text="From Mfg:"
    action="dialog:company.selectBox"
    immediate="true" windowWidth="390" windowHeight="550"
    launchListener="#{mfgReassignBean.addParameter}"
    returnListener="#{mfgReassignBean.returnFromMfr}"
    partialSubmit="true" useWindow="true"
    >
    </af:commandButton>
    </afh:cellFormat>
    <af:inputText
    partialTriggers="lookupFrom_buttonId"
    readOnly="true"
    required="true"
    binding="#{mfgReassignBean.fromDeveloperInput}"
    value="#{mfgReassignBean.assignmentRule.fromMfgName}"
    />
    </afh:rowLayout>
    has anybody faced such situation...any suggestions ?
    Thanks!!

    disabled and readonly fields are discarded from the JSF stack and thus not validated! Options are: make readonly field not readonly on form submit or copy readonly field to hidden field (both involve client side javascript)

  • AdfCustomEvent.queue(..., ..., ..., true) fires self required flag

    Hello
    I am using following script to execute serverlistner when click on the af:inputText, the problem is still it fires self required flag
    function testFunc(evt) {
                var source = evt.getSource();
                AdfCustomEvent.queue(source,"jsServerListener",{},true); // immediate true
              }This is my jsff, please note that inputText required true flag is set
    <af:inputText id="1" required="true" binding="#{...}">
                            <af:clientListener type="click" method="testFunc"/>
                            <af:serverListener type="jsServerListener"
                                               method="#{...}"/>
    </af:inputText>
    <af:inputText id="2" required="true" binding="#{...}"></af:inputText>When click on 1st textfield the self required flag is fired even if the AdfCustomEvent.queue() immediate=true property is set, but it won't fire 2nd textfields required flag.
    How to stop firing self required flag as it does not firing rest of the textfields required flags with immediate is true?
    could you please shed some light?
    Thnaks
    Edited by: deshan on Jan 28, 2011 11:05 AM

    Hi,
    this works for me:
    <af:document id="d1">
          <af:form id="f1">
            <af:inputText label="Label 1" id="it1" required="true">
              <af:clientListener type="click" method="queueMyEvent"/>
              <af:serverListener type="jsServerListener"
                                 method="#{queueEventHandlerBean.clientEventHandler}"/>
            </af:inputText>
            <af:inputText label="Label 2" id="it2" required="true"/>
            <af:inputText label="Label 3" id="it3" required="true"/>
          </af:form>
          <af:resource type="javascript">
            function queueMyEvent(evt) {
                var source = evt.getSource();
                AdfCustomEvent.queue(source, "jsServerListener",
                {},true);
                evt.cancel();           
          </af:resource>
        </af:document>
    And the managed bean
        public void clientEventHandler(ClientEvent clientEvent) {
            // Add event code here...
            System.out.println("Good Job");
            // Note that render response avoids the model update
            FacesContext.getCurrentInstance().renderResponse();
        }Frank
    Edited by: Frank Nimphius on Jan 28, 2011 3:11 PM
    Edited by: Frank Nimphius on Jan 28, 2011 3:12 PM

  • Adobe CS3 Windows 7 installation says does not meet minimum requirements

    I am trying to install Adobe Creative Suite 3 Design Premium on a brand new Windows 7 machine (32-bit). It is a downloaded copy from Adobe's website.
    When I start the install process, it takes me to the "Options" Screen and will not let me install Photoshop, Illustrator, or InDesign. All those options are grayed out.
    At the bottom, the reason it gives is as follows:
    "The minimum system requirements listed below needed to run adobe photoshop cs3 are required and are not met:
    - Windows XP (Service Pack 2)
    - Windows Vista"
    It gives the same error for the other 2 programs as well.
    I have tried the following troubleshooting steps already with no luck:
    1. Run Setup.exe as Administrator
    2. Run Setup.exe in compatibility mode (either as Windows XP SP2, or Windows Vista)
    3. Logged-in to Administrator profile and tried installing from there
    4. did the regsvr32 on both vbscript.dll and jscript.dll.
    5. Tried the CS3 cleanup tool at multiple levels.
    6. Made sure there are no other Adobe products installed
    7. Called Adobe Tech support, they are no help. They said to re-install the OS, which doesn't make any sense since it's a clean install.
    No AV installed yet, so that's not the issue either.
    Any ideas?

    I realise I'm a bit late to the party here.. but after spending a few hours going through the Adobe CS3 Bootstrapper and Install process and files, I have the answer to why Windows 7 does not meet the minimum requirements.
    The answer is in the xml files contained in the payloads for the CS3 Installation.
    Line 72786 of AdobeIllustrator13en_US.proxy.xml :
    <SystemRequirementsJSON>[
         {"OS":{"Windows":{"XP":{"Exclude":true,"Require":{"MinServicePack":"2","@servicePack64Bit" :1
    ,"Need64Bit":"0"}},"Server2003":{"Exclude":true},"Vista":{"Require":true}}},
                                  "Memory":{"System":{"Default":{"Require":"512","Exclude":"500"}}},
                                  "Display":{"Default":{"Require":{"Width":"1024","Height":"768"},"Exclude":{"Width":"800"," Height":"600"}}}
    ]</SystemRequirementsJSON>
    Basically it is this: For Adobe Illustrator CS3 the following is supported: Windows XP SP2, or Vista ONLY
    Not Windows XP SP2 or above, or Windows XP SP2 and Vista or above ...
    The same is in several other files, but not all. Illustrator and InDesign are the 2 that I know of.
    I have 500 odd machines that I need to deploy this software to.
    If Adobe would like to offer a work around with consideration to deploying the software silently via Microsoft SMS to 500 Windows 7 Workstations - I would be most grateful.
    My rage at software installer developers with such little foresight is only tempered by the knowledge that the task itself is so difficult.
    However, that does not excuse the lack of thought given to how enterprise level administrators are supposed to deal with updates, patches, and deployments to machines where users have limited rights, and the difficulty that is caused by the inclusion of unhelpful and sparse documentation and software (such as Adobe Updater).

  • Required attribute does not work with any data type other than String

    sir,
    I am a new to JSF. My problem is that I have used an integer type data in my page which is taking its value from a bean.But in jsf code I have used the required attribute for the <h:inputText> but if I leave the text box empty it is not showing the validation error which it show show. Another problem is that the page is also not navigating to the next page.
    The code is
    <h:inputText value="#{UserBean.age}" required="true"/>
    where age is of integer type

    Well. The fact that it is not jumping to the next view is "works as required". The assumption is, that once you say a field is required, it could be that the application CANNOT function without that value. Therefor the initial view is redisplayed until all required values are entered.
    IF you need a different behaviour, then the OptionalValidator-package which is currently in development state, is the way to go. It allows to specify different validating strategies for different links on a view (no validation, soft validation (== allow to go on, but produce warning messages), hard validation (== the way JSF works right now)). The problem is that with JSF 1.1 it is quite difficult to implement this behaviour. For simple validators (no parameters) it is working, but for complex validators (requiring parameters) not yet. For more info: http://wiki.apache.org/myfaces/OptionalValidationFramework
    No comment on the String-only behaviour, as I have not yet tested/observed that problem...
    hth
    Alexander

  • Rtexprvalue true does not work

    I write a tag ,it works well( tomcat 5.5 ,jdk5):
         <u:repeat num="5">
                   ${count} of 5<br>
              </u:repeat>
         <%
              request.setAttribute("number",2);
         %>
    but when I use it like this:
              <u:repeat num="${number}">
                   ${count} of 5
              </u:repeat>     
    i got the error:
    NumberFormatException: For input string: "${number}"
    It seems the rtexprvalue does not work at runtime.
    tag class:
    import javax.servlet.jsp.JspException;
    import javax.servlet.jsp.tagext.SimpleTagSupport;
    import java.util.HashMap;
    import java.io.IOException;
    public class RepeatSimpleTag extends SimpleTagSupport {
         private int num;
         public void doTag() throws JspException, IOException {
              for (int i = 0; i < num; i++) {
                   getJspContext().setAttribute("count", String.valueOf(i + 1));
                   getJspBody().invoke(null);
         public void setNum(int num) {
              this.num = num;
    TLD:
         <tag>
              <name>repeat</name>
              <tag-class>boc.common.tags.RepeatSimpleTag</tag-class>
              <body-content>scriptless</body-content>
              <variable>
                   <description>Current invocation count (1 to num)</description>
                   <name-given>count</name-given>
              </variable>
              <attribute>
                   <name>num</name>
                   <required>true</required>
                   <rtexprvalue>true</rtexprvalue>
              </attribute>
         </tag>
    then I change the code to:
         public void setNum(String num) {
              this.num = Integer.parseInt(num);
    still got the error
    org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/spring/userauth.jsp:22
    19:           request.setAttribute("number",2);
    20:      %>
    21:      
    22:           <u:repeat num="${number}">
    23:                ${count} of 5
    24:           </u:repeat>          
    25:           <u:repeat num="5">
    Stacktrace:
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
    root cause
    java.lang.NumberFormatException: For input string: "${number}"
         java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         java.lang.Integer.parseInt(Integer.java:447)

    I set <el-ignored>true</el-ignored>
    change it to false and all is ok

  • Determine the required parameters in a VM/AssemblyInstance creation...

    Oracle Enterprise Manager Cloud Control's Cloud API documentation [12.1.0.2 EM with 12.1.0.4 Cloud Service Portal Plugin|http://docs.oracle.com/cd/E24628_01/doc.121/e28814/cloud_part5.htm#sthref1171] illustrates some examples on creating VM and Assembly service instances via POSTing to either a Zone or a ServiceTemplate resource.
    However, the documentation doesn't exactly specify nor indicate what are the attributes and/or "params" that ought to be included in such as request.
    In the current interpretation of service instance creation requests (thus, POST content-type of a service instance with the intention to create a new instance of a service), we have denoted it as a "CREATE" or "DEPLOYMENT" to better synchronized with current IT nomenclature.
    As part of the introspective nature of the Cloud API, the primary attributes/params of a "DEPLOYMENT" requests are included as part of the application/oracle.com.cloud.common.ServiceTemplate resource, which means each resource type extending the ServiceTemplate may choose to populate "deployment_params" attribute. Furthermore, for ServiceTemplate in the IaaS family (application/oracle.com.cloud.common.VMTemplate and application/oracle.com.cloud.common.AssemblyTemplate), we will always populate the "deployment_params" attribute.
    Here are some examples: (all paths are relative to the EM end point)
    <h4>Get the list of IaaS Service Templates to introspect</h4>
    GET /em/cloud/service_family_type/iaas?service_templates
    "service_templates" : {
    "media_type" : "application/oracle.com.cloud.common.ServiceTemplate+json" ,
    "total" : "5" ,
    "elements" :
    "uri" : "/em/cloud/iaas/servicetemplate/vm/oracle%3AdefaultService%3Aem%3Aprovisioning%3A1%3Acmp%3AVirtualization%3ATemplate%3AD7B887836B230A4BE0431780578C7C12%3A0.1" ,
    "name" : "saved template from ssa" ,
    "media_type" : "application/oracle.com.cloud.common.VMTemplate+json" ,
    "type" : "Template"
    "uri" : "/em/cloud/iaas/servicetemplate/vm/oracle%3AdefaultService%3Aem%3Aprovisioning%3A1%3Acmp%3AVirtualization%3ATemplate%3AD766060CF1D07533E0431780578CA840%3A0.1" ,
    "name" : "Template1" ,
    "media_type" : "application/oracle.com.cloud.common.VMTemplate+json" ,
    "type" : "Template"
    "uri" : "/em/cloud/iaas/servicetemplate/vm/oracle%3AdefaultService%3Aem%3Aprovisioning%3A1%3Acmp%3AVirtualization%3ATemplate%3AD7BDEC41C65F7C74E0431980578C221C%3A0.1" ,
    "name" : "aaa" ,
    "media_type" : "application/oracle.com.cloud.common.VMTemplate+json" ,
    "type" : "Template"
    "uri" : "/em/cloud/iaas/servicetemplate/assembly/oracle%3AdefaultService%3Aem%3Aprovisioning%3A1%3Acmp%3AVirtualization%3AAssembly%3AD766B6DD3BDE0F7BE0431780578CA8D8%3A0.1" ,
    "name" : "Env Assembly" ,
    "media_type" : "application/oracle.com.cloud.common.AssemblyTemplate+json" ,
    "type" : "Assembly"
    "uri" : "/em/cloud/iaas/servicetemplate/assembly/oracle%3AdefaultService%3Aem%3Aprovisioning%3A1%3Acmp%3AVirtualization%3AAssembly%3AD766898D34A66DCAE0431980578C55B6%3A0.1" ,
    "name" : "sidb_asm" ,
    "media_type" : "application/oracle.com.cloud.common.AssemblyTemplate+json" ,
    "type" : "Assembly"
    <h4>Select a VMTemplate to introspect the deployment parameters</h4>
    GET /em/cloud/iaas/servicetemplate/vm/oracle%3AdefaultService%3Aem%3Aprovisioning%3A1%3Acmp%3AVirtualization%3ATemplate%3AD7B887836B230A4BE0431780578C7C12%3A0.1?deployment_params
    "deployment_params" :
    "name" : "zone" ,
    "description" : "'zone' attribute is the URI of the zone that the 'application/oracle.com.cloud.common.VM' resource is to be created in" ,
    "type" : "STRING" ,
    "require" : "false" ,
    "sensitive" : "false"
    "name" : "based_on" ,
    "description" : "'based_on' attribute is the URI of the service template or format String of the originated source which the deployed 'application/oracle.com.cloud.common.VM' resource is to be followed" ,
    "type" : "STRING" ,
    "require" : "false" ,
    "sensitive" : "false"
    "name" : "cpu" ,
    "description" : "The information that determined how much 'CPU' is to be allocated to the deployed resource" ,
    "type" : "LIST" ,
    "require" : "false" ,
    "sensitive" : "false"
    "name" : "memory" ,
    "description" : "The information that determined how much 'MEMORY' is to be allocated to the deployed resource" ,
    "type" : "NUMBER" ,
    "require" : "false" ,
    "sensitive" : "false"
    "name" : "disks" ,
    "description" : "The list of disks to be included in the deployed resource" ,
    "type" : "LIST" ,
    "require" : "false" ,
    "sensitive" : "false"
    "name" : "params.domain_type" ,
    "description" : "The domain type of the Virtual Machine" ,
    "type" : "STRING" ,
    "require" : "false" ,
    "sensitive" : "false"
    "name" : "params.network_profile" ,
    "description" : "The identifier of the network profile to be used for the network instances of the Virtual Machine" ,
    "type" : "STRING" ,
    "require" : "false" ,
    "sensitive" : "false"
    "name" : "params.server_prefix" ,
    "description" : "The server prefix to be specified for the Virtual Machine" ,
    "type" : "STRING" ,
    "require" : "true" ,
    "sensitive" : "false"
    "name" : "params.server_size" ,
    "description" : "The name of the server instance size" ,
    "type" : "STRING" ,
    "require" : "false" ,
    "sensitive" : "false"
    "name" : "params.request_name" ,
    "description" : "The request name to be tracked for the Virtual Machine creation" ,
    "type" : "STRING" ,
    "require" : "false" ,
    "sensitive" : "false"
    "name" : "params.request_description" ,
    "description" : "The request description to be tracked for the Virtual Machine creation" ,
    "type" : "STRING" ,
    "require" : "false" ,
    "sensitive" : "false"
    "name" : "params.vnc_password" ,
    "description" : "The VNC password for the Virtual Machine" ,
    "type" : "STRING" ,
    "require" : "true" ,
    "sensitive" : "true"
    "name" : "params.root_password" ,
    "description" : "The Root password for the Virtual Machine" ,
    "type" : "STRING" ,
    "require" : "true" ,
    "sensitive" : "true"
    "name" : "params.start_vm" ,
    "description" : "Whether or not the Virtual Machine should be started after creation" ,
    "type" : "STRING" ,
    "defaultValue" : "YES" ,
    "require" : "false" ,
    "sensitive" : "false"
    "name" : "params.ha_enabled" ,
    "description" : "Whether or not the Virtual Machine should be HA enabled" ,
    "type" : "STRING" ,
    "defaultValue" : "NO" ,
    "require" : "false" ,
    "sensitive" : "false"
    "name" : "params.disks_overwrite" ,
    "description" : "Whether or not the default Virtual Machine disks should be overwritten" ,
    "type" : "STRING" ,
    "defaultValue" : "NO" ,
    "require" : "false" ,
    "sensitive" : "false"
    "name" : "params.networks" ,
    "description" : "Whether or not the default Virtual Machine disks should be overwritten" ,
    "type" : "LIST" ,
    "require" : "false" ,
    "sensitive" : "false"
    <h4>Similarly, for Assembly Template </h4>
    GET /em/cloud/iaas/servicetemplate/assembly/oracle%3AdefaultService%3Aem%3Aprovisioning%3A1%3Acmp%3AVirtualization%3AAssembly%3AD766B6DD3BDE0F7BE0431780578CA8D8%3A0.1?deployment_params
    "deployment_params" :
    "name" : "zone" ,
    "description" : "'zone' attribute is the URI of the zone that the 'application/oracle.com.cloud.common.AssemblyInstance' resource is to be created in" ,
    "type" : "STRING" ,
    "require" : "false" ,
    "sensitive" : "false"
    "name" : "based_on" ,
    "description" : "'based_on' attribute is the URI of the service template or format String of the originated source which the deployed 'application/oracle.com.cloud.common.AssemblyInstance' resource is to be followed" ,
    "type" : "STRING" ,
    "require" : "false" ,
    "sensitive" : "false"
    "name" : "deployment_plan" ,
    "description" : "'deployment_plan' attribute describes the configuration of which the deployed 'application/oracle.com.cloud.common.AssemblyInstance' resource is to be used in the XML deployment plan format" ,
    "type" : "STRING" ,
    "require" : "false" ,
    "sensitive" : "false"
    One could think of some ways to use this information in its integration. In particular, when Enterprise Manager were upgraded to a newer version, additional optional parameters may be added or some existing parameters may no longer be needed. These changes may be automatically discovered via the above introspection.
    For example, a client may cache the deployment parameters and before POSTing to create a new service instance, compare the API's deployment parameters with the cached copy to determine whether there are additional "require"="true" parameters. Even though Enterprise Manager will include missing required parameters/attributes in its 400 response, by introspecting deployment_parameters, a client can determine, a priori, what may be needed.

    The following additional parameters may be specified (though all of them are optional) as part of the Assembly Instance creation request:
    "name" : "params.assembly_instance_name" ,
    "description" : "The name of the assembly instance" ,
    "type" : "STRING" ,
    "require" : "false" ,
    "sensitive" : "false"
    "name" : "params.request_name" ,
    "description" : "The request name to be tracked for the Assembly Instance creation" ,
    "type" : "STRING" ,
    "require" : "false" ,
    "sensitive" : "false"
    "name" : "params.request_description" ,
    "description" : "The request description to be tracked for the Assembly Instance creation" ,
    "type" : "STRING" ,
    "require" : "false" ,
    "sensitive" : "false"
    "name" : "params.vnc_password" ,
    "description" : "The VNC password for all the Virtual Machines in the assembly" ,
    "type" : "STRING" ,
    "require" : "false" ,
    "sensitive" : "true"
    "name" : "params.root_password" ,
    "description" : "The Root password for all the Virtual Machines in the assembly" ,
    "type" : "STRING" ,
    "require" : "false" ,
    "sensitive" : "true"
    "name" : "params.server_size" ,
    "description" : "The name of the server instance size for all the Virtual Machines in the assembly" ,
    "type" : "STRING" ,
    "require" : "false" ,
    "sensitive" : "false"
    "name" : "params.network_profile" ,
    "description" : "The id of the network profile for all the networks in all the Virtual Machines in the assembly" ,
    "type" : "STRING" ,
    "require" : "false" ,
    "sensitive" : "false"
    For example,
    "params":{
    "assembly_instance_name":"QA Assembly",
    "request_name":"Quarterly Testing 1",
    "request_description":"Here is the request to create an QA Assembly for Quarterly testing",
    "vnc_password":"secret",
    "root_password":"secret",
    "server_size":"Small",
    "network_profile":"oracle:defaultService:em:provisioning:1:netConfig:D7C43DB9969841F5E0431980578CB5C1"
    When both "deployment_plan" and "params" are specified during Assembly Instance creation request, the values in the "params" attribute would take precedent. For example,if "deployment_plan" contained various server size specifications for the assembly while "params.server_size" were specified to be "Small", all Virtual Machines created would be of size "Small" instead of the values specified in the "deployment_plan".

Maybe you are looking for