[svn:fx-trunk] 7553: Fix the default value of the [skinPart] "required" attribute for asdoc.

Revision: 7553
Author:   [email protected]
Date:     2009-06-04 09:32:51 -0700 (Thu, 04 Jun 2009)
Log Message:
Fix the default value of the "required" attribute for asdoc.
Bugs: SDK-21488
QE Notes: None.
Doc Notes: None.
tests: checkintests
Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-21488
Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelGenerator.java

${ui:cond( uix.current.isNewRow, 'true', ui:cond( bindings.AddProjectNutsoverleg.value == 1, 'true', 'false' ) ) } notice the '.value' it could also be '.inputValue'.
If not there is also an option to make sure that when the checkbox is empty a value is returned anyways this work like this:
  protected void processUpdateModel( DataActionContext ctx )
    //First look for the request parameter
    Object cbInRequest = ctx.getHttpServletRequest().getParameter( "nameofthecheckbox" );
    //We only need to do anything if it was not submitted
    if( cbInRequest == null )
      // Get hold of the Form Bean containing the record
      BindingContainerActionForm updateForm = (BindingContainerActionForm) ctx.getActionForm();
      //Get the binding for our particular column
      JUCtrlAttrsBinding checkBoxBinding = (JUCtrlAttrsBinding)updateForm.get( "nameofthecheckbox" );
      //Reset that explicitly to the *unchecked* value
      checkBoxBinding.setAttribute( 0, new oracle.jbo.domain.Number( 0 ) );
    super.processUpdateModel( ctx );
  }Maybe this helps.

Similar Messages

  • How we can find out the default value of the initialization parameters

    Hi All,
    How we can find out the default value of the initilization parameters from oracle database.
    Thanks
    Shiju

    Hi,
    you can find currently used parameter values v$parameter and v$parameter2.
    if default values is different real values then you can see alert.log.
    because in alert.log you will see non default values, rests is default.
    Edited by: admin on May 8, 2010 3:41 AM

  • How to pass current month as the default value in the prompt

    Hi,
    Could you please tell me how to pass the current month as the default value in the prompt.
    I have a report where month is a prompt. By Default it should ahve current month as the default value along with other months.
    Please let me know the syntax for the same.
    Thanks in advance!!
    Regards
    Sindhu

    Hi,
    what datasource do you have? Is it SAP BW or something else?

  • How to set the default values of the field of the context.

    Hi Experts ,
    I want to set the default value of the field of the context.
    Where and how this declaration should be done.
    Thanks in Advance.

    In the context tab of the view. Select the attribute for which you want to set the default value.it will show the properties at the bottom. set the Default value property to the value which you want to set as the default value.
    Regards
    Naresh

  • How to make the LV front panel controls the current value through the program is set as the default value when the next time you open?

    How to make the LV front panel controls the current value through the programis set as the default value when the next time you open?
    1110340051 

    Try this: Re: How to make a VI remember the latest control value?
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

  • Date Picker has to submit the default value after the page load???

    Hello All,
    I have 2 date pickers 'Start' and 'End' on a screen with report that has a where clause using above values. Start defaults to current date, End defaults to current month end date, I have another radio group with default to Monthly......
    Now when the page loads, I see the default values for 'Start' and 'End' date pickers but the report doesn't reflect those values. I added an on change dynamic action, and so when I change the value of 'End' date picker, it submits the page and now the values are reflected in the report........
    I tried creating another dynamic action > with event On Page Load.....and disable fire on page load, and to submit the page, this is causing an infinite loop of submitions........can you please tell me how to achieve this with out putting an exclusive submit button on the Screen.......
    Thanks for your time.
    DK

    user12296343 wrote:
    Hello All,
    I have 2 date pickers 'Start' and 'End' on a screen with report that has a where clause using above values. Start defaults to current date, End defaults to current month end date, I have another radio group with default to Monthly......
    Now when the page loads, I see the default values for 'Start' and 'End' date pickers but the report doesn't reflect those values. I added an on change dynamic action, and so when I change the value of 'End' date picker, it submits the page and now the values are reflected in the report........
    I tried creating another dynamic action > with event On Page Load.....and disable fire on page load, and to submit the page, this is causing an infinite loop of submitions........can you please tell me how to achieve this with out putting an exclusive submit button on the Screen.......
    Thanks for your time.
    You don't have to submit the page here.
    What version of apex?
    What report is it? i.e. Interactive report/Classic report
    Depending on your version of apex you can simply use the Page Items to Submit attribute to set the session state

  • [svn:fx-trunk] 10599: -fix spark doc target so the docs are put into the resource bundle swc.

    Revision: 10599
    Author:   [email protected]
    Date:     2009-09-25 13:07:56 -0700 (Fri, 25 Sep 2009)
    Log Message:
    -fix spark doc target so the docs are put into the resource bundle swc.
    -added building of all spark localized _rb.swcs
    QE notes: localization team should look at the spark swcs
    Doc notes:
    Bugs: sdk-23256
    Reviewer:
    Tests run: yes
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/sdk-23256
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/build.xml

    Thats good news.

  • [svn:fx-trunk] 11211: Fixing a fall-out from the DefaultItemRenderer change .

    Revision: 11211
    Author:   [email protected]
    Date:     2009-10-27 17:07:30 -0700 (Tue, 27 Oct 2009)
    Log Message:
    Fixing a fall-out from the DefaultItemRenderer change.  When labelDisplay comes on-board, we should check to see if the label property has been set, and push it down in there if it has.  We need this because the labelDisplay isn't created until createChildren() time, which happens when the component is first validated, but for some scenarios, the component may not be on-screen at the time we set the label property.  Also, itemIndex needs to be "cloned" in the drag'n drop scenario.
    QE notes: -
    Doc notes: -
    Bugs: SDK-23867
    Reviewer: Evtim
    Tests run: checkintests, mustella List, DataGroup, DropDownList, ListDragDrop
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-23867
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGroup.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListItemDrag Proxy.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as

  • [svn:fx-trunk] 8024: Fixed an injection where setting the 'content' property of Spark text component to a TextFlow would cause you to get a TextFlow nested inside a TextFlow .

    Revision: 8024
    Author:   [email protected]
    Date:     2009-06-19 16:59:25 -0700 (Fri, 19 Jun 2009)
    Log Message:
    Fixed an injection where setting the 'content' property of Spark text component to a TextFlow would cause you to get a TextFlow nested inside a TextFlow.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-21906
    Reviewer: Carol to review
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21906
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichText.as

    Well, I've already solved one of the two issues
    In order to display the icons on my buttonbar buttons, I just needed to point at {hostComponent.data.data} instead of {hostComponent.data}. I'm not sure why, but {hostComponent.data} in my skin class is a handle on my instance of ButtonBarButton, not its "data" property. Any explanation is welcomed
    I still have got the first issue though. Oddly enough my design works if I put an mx Image instead of the spark BitmapImage for the client logo. That will do the trick for the moment but I'd prefer to deliver a 100% pure spark component in my prototype, and I can see no reason why BitmapImage works inside my ButtonBarButtons and doesn't otherwise...

  • [svn:fx-trunk] 8192: Fix resizing a window with the gripper.

    Revision: 8192
    Author:   [email protected]
    Date:     2009-06-24 12:37:55 -0700 (Wed, 24 Jun 2009)
    Log Message:
    Fix resizing a window with the gripper.
    WindowedApplication.as, Window.as
    After the click on the gripper is detected and the resized is started just return. The code was falling into the hit testing for the application border.
    QE Notes: none.
    Doc Notes: none.
    Bugs: SDK-21631
    Reviewer: Glenn
    tests: checkintests
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21631
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as
        flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication. as

  • [svn:fx-trunk] 5806: Fix null pointer reported by the doc team.

    Revision: 5806
    Author: [email protected]
    Date: 2009-03-31 10:03:36 -0700 (Tue, 31 Mar 2009)
    Log Message:
    Fix null pointer reported by the doc team.
    QE Notes: None.
    Doc Notes: None.
    tests: checkintests, asdoc tests
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va

  • How to set the default value to the lov item

    Dear alll
    i have creation page in that two items are there those are lov's
    i am calling that creation page from another page
    i like this code to set the lov's
    OAMessageLovInputBean comp =
    (OAMessageLovInputBean)webBean.findChildRecursive("Company"); //grab the item
    comp.setValue(pageContext,companyname);
    when i set like
    when i am saving the records again it is showing error "please select a valid value"
    Regards
    Sreekanth

    Hi Pratap,
    I have tried the following code to set default value in OAMessageLovInputBean while loading the page but its not working.
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    String delToLoc = (String)pageContext.getSessionValue("deliverTOLoc");
    Number delToLocId = (Number)pageContext.getSessionValue("deliverToLocId");
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject poHeadervo =
    (OAViewObject)am.findViewObject("PoHeaderMergeVO");
    PoHeaderMergeVORowImpl poHeaderVoRow =
    (PoHeaderMergeVORowImpl)poHeadervo.getCurrentRow();
    if (delToLoc != null && !"".equals(delToLoc)) {
    // poHeaderVoRow.setShipToLocation(delToLoc);
    OAMessageLovInputBean msb = (OAMessageLovInputBean)webBean.findIndexedChildRecursive("DefaultShipToLocation");
    msb.setValue(pageContext,delToLoc );
    Please suggest me how to resolve this issue.
    Thanks & Regards,
    Sunita

  • How to set the Default value in the picklist and LOV

    Hi All,
    I have created a table with some of the columns as picklist and some of the columns as Lovs to insert some data into the tables as per the client requirement.
    I want to make one value as default for the picklist and one value as default for the Lov.
    Could you please let me know how can we show one value as default in the pick list or Lov.
    thanks in advance.
    jay

    can u please help how can we set the initial value dynamically with the userid
    For that i was passing the value from process Request of the lovCO by using the get user id to the vo query in the vo
    but its not giving the initial value as default dynamically depending on the user id
    could you please let me know the solution.
    Thanks
    Ajay

  • How to append the Default value in the QueueValue

    Hi Frnds
    Could any one help  on how to add an default value to  an Queueid in SXMB_MONI
    My field is ID_PART, its value is    ZGRD929
    i want this as 00ZGRD929 in the interface in SXMB_MONI

    if you are looking for dynamic queue creation, refer;
    Setting Queue Dynamically using Adapter Module
    Dynamic EOIO Queue Derivation with Adapter Modules

  • What is the default value of boolean type transient attribute in VO?

    Hi All,.
    jdev version-11.1.2.1.0
    i have created one vo based on eo where i add one boolean type transient attribute Marked(uihint checkbox).
    now i have apply view criteria on this vo.
    like---
         ViewObject vo=getView(iterator);
         vo.setQueryMode(ViewObject.QUERY_MODE_SCAN_VIEW_ROWS);
         ViewCriteria vc=vo.createViewCriteria();
         ViewCriteriaRow vcr=vc.createViewCriteriaRow();
         vcr.setAttribute("Marked", "true");//Setting attribute on view criteria.
           vcr.setConjunction(ViewCriteriaRow.VCROW_CONJ_AND);
           vc.setCriteriaMode(ViewCriteria.CRITERIA_MODE_CACHE);
         vo.applyViewCriteria(vc);//Apply view criteria on vo.
         vo.executeQuery();
         vc.add(vcr);
       vo.executeQuery();this code running fine and that is selected only those row which i have cheked.
    but now i want to apply view criteria that select select those rows that are not checked.
    like-
    vcr.setAttribute("Marked", "false");but it is not return any row.
    if select checked any row and then uncheked that row so marked attribute for this row set false. but rows that are unchecked by default not return.
    so my question is that what is default value of Marked attribute when user not take any action i will try
    vcr.setAttribute("Marked","null");
    but not working.

    i have tried this but this is not working.
    follwing code working for Null case not for False
    vcr.setAttribute("Marked","is null"); this code display all rows who has null but when i checked any row and then unchecked so that row get value "false" also not display.

Maybe you are looking for

  • Do I need to get extra coverage on this thing?

    My wife bought me my iPhone from AT$T($), not sure if I need to purchase any extra warranty or if that is even possible? Just got me curious after I read the broken silent button thread...

  • Since Lion I can't attach file contents to mail in Mail.

    Whe I go to attach something to an email in Mail, i click on the folder that holds the document I want to attach, and it attaches the whole folder. It used to go into the contents and allow me to select from there. If it were a sub folder it would op

  • Closing Cockpit: Different Fiscal Year Variant in Task List

    Dear All, I want to implement the closing cockpit for several bukrs who have different fiscal year variants. I have definied one template for all bukrs. When creating a task list I only have the possibility to define one fiscal year variant for the s

  • How to upload data using idoc in lsmw

    plz let me know how to upload material using idoc using lsmw. urgent

  • I/p parameter field in docking container

    How to get the field parameters in a docking container that shud be able to fetch data from Database ? for eg., in se80 tcode(in left container) we have an i/p field for program/class and another i/p field for their name.....