[svn:fx-trunk] 8507: Making measureHeightOfItemsUptoMaxHeight consistent with the way we create rows in the datagrid .

Revision: 8507
Author:   [email protected]
Date:     2009-07-10 10:13:11 -0700 (Fri, 10 Jul 2009)
Log Message:
Making measureHeightOfItemsUptoMaxHeight consistent with the way we create rows in the datagrid. MakeRow ensures reported row height is round to the nearest integer, measureHeightOfItemsUptoMaxHeight is now consistent.  Fixes a long standing PrintDataGrid issue.
Bugs: SDK-20237.
QE Notes: None
Doc Notes: None
Reviewer: Glenn/Alex
Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-20237
Modified Paths:
    flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as

Well, you could do the following:
1) Create a stored procedure that assembles the data into a rowset with rows and fields like the format you want.
2) Create stored procedures that handle insert, update, and delete.
3) Create an entity object definition with all transient attributes. Make the attributes match the elements of one row.
4) Override doDML() in the entity object class to call your procedures (the doc explains how to do this). You might also need to do a bit of research and figure out if you need to override some other method so you can report rows with transient attribute changes only as needing posting. (getPostState(), maybe?)
5) Create a view object definition with entity-derived attributes based on your EO attributes.
6) Override the appropriate methods to call your data assembly procedure rather than execute a query (this is also in the doc).
Still kind of kludgy, but it keeps your business components pretty clean, especially if you use framework classes to do most of the work for you. (I have a partial example of how to do that here.) Of course, it keeps your business components clean by moving the real work to the DB, but some people find that more maintainable that a kazillion business components.
Hope this helps,
Avrom

Similar Messages

  • I'm running Windows XP and FF 8.0. I'm having more trouble than ever with intermittent streaming and videos not playing all the way through. What is the easiest way to fix this?

    . I'm running Windows XP and FF 8.0. I'm having more trouble than ever with intermittent streaming and videos not playing all the way through. What is the easiest way to fix this?

    That may be a problem with the VLC plugin. VLC has never worked for me properly on the occasions that I've tried it on Windows and Linux, so I have stop using it. There are usually other plugins or media players available that work better.
    What kind of media files are that?
    For WMP files you can install the new Windows Media Player plugin you can also try RealPlayer and QuickTime if it is about media that those programs can handle to see if that works better.
    * https://support.mozilla.com/kb/Using+the+Windows+Media+Player+plugin+with+Firefox
    * http://kb.mozillazine.org/Windows_Media_Player#Missing_plugin
    * http://www.interoperabilitybridges.com/windows-media-player-firefox-plugin-download

  • [svn:fx-trunk] 8452: - Fix flicker problem with constraint bound text that is being autoSized.

    Revision: 8452
    Author:   [email protected]
    Date:     2009-07-08 08:38:32 -0700 (Wed, 08 Jul 2009)
    Log Message:
    - Fix flicker problem with constraint bound text that is being autoSized.  If the remeasure is done in a 2nd pass you will see a flicker as all the objects are moved to accommodate the reflowed text.
    - Fix data binding issue with text setter.
    - Rework measure() to accommodate implicit autoSize.
    If explicitWidth or widthInChars specified and explicitHeight or heightInLines specified, or for now, blockProgression != "tb", the text has fixed dimensions and is not auto-sized.
    If no text and width specified, but no height, start at specified width and one line high and grow taller.
    If no text and height specified, start at 1 char wide with the specified height and grow wider.
    If neither width nor height specified, and toFit lineBreaks, start at explicitMaxWidth, or default maxWidth of 160, and grow taller.
    If neither width nor height specified, and explicit lineBreaks width is unlimited and can grow taller.
    These are further constrained by min/max Width and Height except in the case that explicitWidth or explicitHeight are specified.
    - Change default maxWidth for RichText and SimpleText to 160 to match RET.  Previously it was 10000.  This is used for
    text with toFit lineBreaks if a width isn't specified.
    QA Notes: 12 or so TextGraphic tests fail because of the new default maxWidth.
    Doc Notes:SDK-22014, SDK-21837
    Reviewers: Gordon
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22014
        http://bugs.adobe.com/jira/browse/SDK-21837
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicEleme nt.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/RichEditable TextContainerManager.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/TextGraphicE lement.as
    Added Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/RichEditable TextEditManager.as

    You have used elements like header, footer, footer1 and nav without using the correct DOCTYPE declaration. Replace the first line of your code with
    <!doctype html>
    Also have a look here for other problems http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fhome.surewest.net%2Fstorytales%2F test%2Fforposting.html
    After the above has been fixed, please come back here to fix the remaining problem(s)
    Gramps

  • [svn:fx-trunk] 5465: Now that padding set on a TextInput does not affect the inner textView, we need to add a custom TextInput skin for the TextInput a Spark NumericStepper contains .

    Revision: 5465
    Author: [email protected]
    Date: 2009-03-20 11:52:56 -0700 (Fri, 20 Mar 2009)
    Log Message:
    Now that padding set on a TextInput does not affect the inner textView, we need to add a custom TextInput skin for the TextInput a Spark NumericStepper contains. Jim ok'ed the addition of the new FxNumericStepperTextInputSkin.mxml class into the spark.skins and wireframe packaged.
    SDK-18275, SDK-19849
    Reviewer: Glenn
    Checkintests: Pass
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18275
    http://bugs.adobe.com/jira/browse/SDK-19849
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxNumericStepperSkin.mxml
    flex/sdk/trunk/frameworks/projects/wireframe/src/wireframe/FxNumericStepperSkin.mxml
    Added Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxNumericStepperTextInputSkin .mxml
    flex/sdk/trunk/frameworks/projects/wireframe/src/wireframe/FxNumericStepperTextInputSkin. mxml

    Revision: 5465
    Author: [email protected]
    Date: 2009-03-20 11:52:56 -0700 (Fri, 20 Mar 2009)
    Log Message:
    Now that padding set on a TextInput does not affect the inner textView, we need to add a custom TextInput skin for the TextInput a Spark NumericStepper contains. Jim ok'ed the addition of the new FxNumericStepperTextInputSkin.mxml class into the spark.skins and wireframe packaged.
    SDK-18275, SDK-19849
    Reviewer: Glenn
    Checkintests: Pass
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18275
    http://bugs.adobe.com/jira/browse/SDK-19849
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxNumericStepperSkin.mxml
    flex/sdk/trunk/frameworks/projects/wireframe/src/wireframe/FxNumericStepperSkin.mxml
    Added Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxNumericStepperTextInputSkin .mxml
    flex/sdk/trunk/frameworks/projects/wireframe/src/wireframe/FxNumericStepperTextInputSkin. mxml

  • [svn:fx-trunk] 11685: Ensure that when a recycled renderer gets put back into the mix for reuse, if the item it is rendering has the caret on it, it should draw in the careted state.

    Revision: 11685
    Author:   [email protected]
    Date:     2009-11-11 23:05:34 -0800 (Wed, 11 Nov 2009)
    Log Message:
    Ensure that when a recycled renderer gets put back into the mix for reuse, if the item it is rendering has the caret on it, it should draw in the careted state.
    QE notes: If there's anyway to simulate a mustella test for this situation, we should add it to the List testsuite.
    Doc notes: No
    Bugs: http://bugs.adobe.com/jira/browse/SDK-24012
    Reviewer: Ryan
    Tests run: List, checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24012
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as

    Hi Jurgen,
    Thanks for the information.Yes it is a common scenario where we are struggling when multiple transports occours,More over the fear of sequencing makes it more complicated in these situations.
    Definitely this is a helpful solution.
    Regards,
    Kannan

  • I was experiencing an issue with an app, I deleted, re-installed, and now the app is downloading brand new.  All of my progress is lost.  In itunes it says the app was created and modified the day i tried uninstalling.  Im at a loss, any suggestions?

    I have tried all of the support tips, and am now trying to contact the developers of the app.  I am a little frustrated because I have been playing about a year.  So when I open the app after I deleted it I start out brand new.  So I started a new ID and I looked up my old app ID and I can see the progress of my previous game before the delete but there is no possible way for me to play the app under that ID now.  From all the forums I have read this is impossible because you are not supposed to be able to reset the app from one device.  TaDa!  Leave it to me to be the only one.  I am in limbo waiting on the app developers to get back with me.  Who knows how long that will be...  Not sure if I am making any sense because I have never had this happen before.

    Lord K.  Thank you. Yes I am within the 90 time period, however I travel Intertionally and I can not receive not make a call to Apple. I was just at the Genius Bar in Chicago and they said, don't worry about it.  It just floats out there, however, I can not recover my messages on a flash drive. I need to go back to my old computer which I don't have with me.  My messages were in folders for a lawsuit.  It is going to take an incredible amount of work for me to, you have no Idea.  We are talking thousands of pages!  I the defendent will have them during discovery so I am not so worried.  However, I can not bring them to him on a Flashdrive when I meet with him without an extraordinary amount of presssure on my part.  THis is not just some little email issue. This is suing EXPEDIA and Tripadviosr.com

  • [svn:fx-trunk] 12063: Making these scripts a bit more Mac and NIX friendy.

    Revision: 12063
    Revision: 12063
    Author:   [email protected]
    Date:     2009-11-20 13:39:38 -0800 (Fri, 20 Nov 2009)
    Log Message:
    Making these scripts a bit more Mac and NIX friendy.  Since they were marked as native, and because we build with a Windows box, they were being deployed as incompatible with OSX.
    QE notes:  None
    Doc notes: None
    Bugs: SDK-24132
    Reviewer: Jim
    Tests run: Checkin
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24132
    Modified Paths:
        flex/sdk/trunk/bin/font2swf
        flex/sdk/trunk/bin/swcdepends
    Property Changed:
        flex/sdk/trunk/bin/aasdoc
        flex/sdk/trunk/bin/acompc
        flex/sdk/trunk/bin/amxmlc
        flex/sdk/trunk/bin/asc
        flex/sdk/trunk/bin/asdoc
        flex/sdk/trunk/bin/compc
        flex/sdk/trunk/bin/copylocale
        flex/sdk/trunk/bin/digest
        flex/sdk/trunk/bin/fcsh
        flex/sdk/trunk/bin/fdb
        flex/sdk/trunk/bin/font2swf
        flex/sdk/trunk/bin/mxmlc
        flex/sdk/trunk/bin/optimizer
        flex/sdk/trunk/bin/swcdepends
        flex/sdk/trunk/bin/swfdump

    Revision: 12063
    Revision: 12063
    Author:   [email protected]
    Date:     2009-11-20 13:39:38 -0800 (Fri, 20 Nov 2009)
    Log Message:
    Making these scripts a bit more Mac and NIX friendy.  Since they were marked as native, and because we build with a Windows box, they were being deployed as incompatible with OSX.
    QE notes:  None
    Doc notes: None
    Bugs: SDK-24132
    Reviewer: Jim
    Tests run: Checkin
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24132
    Modified Paths:
        flex/sdk/trunk/bin/font2swf
        flex/sdk/trunk/bin/swcdepends
    Property Changed:
        flex/sdk/trunk/bin/aasdoc
        flex/sdk/trunk/bin/acompc
        flex/sdk/trunk/bin/amxmlc
        flex/sdk/trunk/bin/asc
        flex/sdk/trunk/bin/asdoc
        flex/sdk/trunk/bin/compc
        flex/sdk/trunk/bin/copylocale
        flex/sdk/trunk/bin/digest
        flex/sdk/trunk/bin/fcsh
        flex/sdk/trunk/bin/fdb
        flex/sdk/trunk/bin/font2swf
        flex/sdk/trunk/bin/mxmlc
        flex/sdk/trunk/bin/optimizer
        flex/sdk/trunk/bin/swcdepends
        flex/sdk/trunk/bin/swfdump

  • [svn:fx-trunk] 10635: * Fixed FB issue with FXG in library projects.

    Revision: 10635
    Author:   [email protected]
    Date:     2009-09-28 06:49:45 -0700 (Mon, 28 Sep 2009)
    Log Message:
    Fixed FB issue with FXG in library projects.
    QE notes:
    Doc notes:
    Bugs: FB-22197
    Reviewer: pfarland
    Cycloner: gcomnino
    Tests run: checkintests
    Is noteworthy for integration: Yes, fixes FB issue
    Code-level description of changes:
      Modified getSourceListMimeTypes() to include FXG mime type.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FB-22197
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/tools/WebTierAPI.java

  • [svn:fx-trunk] 12982: Fix for issue with exposing accessible names for combobox list items

    Revision: 12982
    Revision: 12982
    Author:   [email protected]
    Date:     2009-12-15 20:44:23 -0800 (Tue, 15 Dec 2009)
    Log Message:
    Fix for issue with exposing accessible names for combobox list items
    QE notes: none
    Doc notes: none
    Bugs: n/a
    Reviewer: Gordon
    Tests run: checkintests
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ComboBoxAccImpl.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ListBaseAccImpl.as

    Add this to the end of your nav p CSS selector at Line 209 of your HTML file, after 'background-repeat...':
    margin-bottom: -2px;
    Your nav p will then look like this:
    nav p {
              font-size: 90%;
              font-weight: bold;
              color: #FFC;
              background-color: #090;
              text-align: right;
              padding-top: 5px;
              padding-right: 20px;
              padding-bottom: 5px;
              border-bottom-width: 2px;
              border-bottom-style: solid;
              border-bottom-color: #060;
              background-image: url(images/background.png);
              background-repeat: repeat-x;
              margin-bottom: -2px;

  • [svn:fx-trunk] 8968: sync api versions with flash runtime data

    Revision: 8968
    Author:   [email protected]
    Date:     2009-07-31 13:18:19 -0700 (Fri, 31 Jul 2009)
    Log Message:
    sync api versions with flash runtime data
    Modified Paths:
        flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/avmplus/ActionBlockEmitter.j ava
        flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/APIVersions.java

    Sorry to dig this out, but i just ran exactly into the same problem using a 7600GT. Reverting the appropriate libraries to 9.2.4 lead to a segfault in Compiz, deleting the libvdpau_nouveau files, however worked perfectly - thanks cro for the hint. But I guess, this is not a permanent solution, is there a better way to fix it? Maybe a bug report mentioning the problem would be of some use?
    Bug reported: https://bugs.archlinux.org/task/39975
    Last edited by PhotonX (2014-04-20 11:59:36)

  • [svn:fx-trunk] 11448: Making a small ItemRenderer change so that we don' t dispatch an unused, contentBackgroundColorChanged event anymore when the itemIndex gets set.

    Revision: 11448
    Author:   [email protected]
    Date:     2009-11-04 17:06:22 -0800 (Wed, 04 Nov 2009)
    Log Message:
    Making a small ItemRenderer change so that we don't dispatch an unused, contentBackgroundColorChanged event anymore when the itemIndex gets set.
    QE notes: -
    Doc notes: -
    Bugs: -
    Reviewer: Deepa
    Tests run: checkintests
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer .as

    Revision: 11448
    Author:   [email protected]
    Date:     2009-11-04 17:06:22 -0800 (Wed, 04 Nov 2009)
    Log Message:
    Making a small ItemRenderer change so that we don't dispatch an unused, contentBackgroundColorChanged event anymore when the itemIndex gets set.
    QE notes: -
    Doc notes: -
    Bugs: -
    Reviewer: Deepa
    Tests run: checkintests
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer .as

  • [svn:fx-trunk] 12795: Resolving race condition with interdependent Group properies alpha and blendMode .

    Revision: 12795
    Revision: 12795
    Author:   [email protected]
    Date:     2009-12-10 09:56:11 -0800 (Thu, 10 Dec 2009)
    Log Message:
    Resolving race condition with interdependent Group properies alpha and blendMode.
    QE notes: None
    Doc notes: None
    Bugs: SDK-24636
    Reviewer: Deepa
    Tests run: Checkin
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24636
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as

  • [svn:fx-trunk] 10445: We're stricter with styles now, so this was not compiling.

    Revision: 10445
    Author:   [email protected]
    Date:     2009-09-20 18:59:55 -0700 (Sun, 20 Sep 2009)
    Log Message:
    We're stricter with styles now, so this was not compiling.
    Modified Paths:
        flex/sdk/trunk/samples/ja_JP/explorer/core/SimpleApplicationExample.mxml

    You are welcome. I'm glad you got it back up.
    (1) You say you did the symbolic link. I will assume this is set correctly; it's very important that it is.
    (2) I don't know what you mean by "Been feeding the [email protected] for several weeks now, 700 emails each day at least." After the initial training period, SpamAssassin doesn't learn from mail it has already processed correctly. At this point, you only need to teach SpamAssassin when it is wrong. [email protected] should only be getting spam that is being passed as clean. Likewise, [email protected] should only be getting legitimate mail that is being flagged as junk. You are redirecting mail to both [email protected] and [email protected] ... right? SpamAssassin needs both.
    (3) Next, as I said before, you need to implement those "Frontline spam defense for Mac OS X Server." Once you have that done and issue "postfix reload" you can look at your SMTP log in Server Admin and watch as Postfix blocks one piece of junk mail after another. It's kind of cool.
    (4) Add some SARE rules:
    Visit http://www.rulesemporium.com/rules.htm and download the following rules:
    70sareadult.cf
    70saregenlsubj0.cf
    70sareheader0.cf
    70sarehtml0.cf
    70sareobfu0.cf
    70sareoem.cf
    70sarespoof.cf
    70sarestocks.cf
    70sareunsub.cf
    72sare_redirectpost
    Visit http://www.rulesemporium.com/other-rules.htm and download the following rules:
    backhair.cf
    bogus-virus-warnings.cf
    chickenpox.cf
    weeds.cf
    Copy these rules to /etc/mail/spamassassin/
    Then stop and restart mail services.
    There are other things you can do, and you'll find differing opinions about such things. In general, I think implementing the "Frontline spam defense for Mac OS X Server" and adding the SARE rules will help a lot. Good luck!

  • [svn:fx-trunk] 9985: * Recommitting revision 9936 with fix for AtEmbed. equals().

    Revision: 9985
    Author:   [email protected]
    Date:     2009-09-03 08:21:37 -0700 (Thu, 03 Sep 2009)
    Log Message:
    Recommitting revision 9936 with fix for AtEmbed.equals().
    Tests run: checkintests
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flash/css/StyleProperty.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/AtEmbed.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java

  • [svn:fx-trunk] 5564: New mustella.swc with namespace changes.

    Revision: 5564
    Author: [email protected]
    Date: 2009-03-25 20:24:48 -0700 (Wed, 25 Mar 2009)
    Log Message:
    New mustella.swc with namespace changes.
    Modified Paths:
    flex/sdk/trunk/mustella/mustella.swc

Maybe you are looking for