Bug: Null Element Width and Max Width on page item won't stay null (v3.0.1)

Well, it's pretty much what it says. I'm trying to edit a page item and remove the width and max width on the Element properties. When I remove them and hit apply it functions properly, and the page item shows up with no width or max width property set. However, if I go to edit the page item again, the Width and Max Width fields are populated (30 and 2000 respectively) again. Thus, any action which saves the item will save the unwanted values. I don't want a width and a max width on the item; it shouldn't put them back.

I think default values should only be used in a
situation where no value has previously been
provided.
How can I tell the difference between the case where
I fetch a null value from the column because a null
value was previously saved and the case where "no
value has previously been provided"?Well, I would assume that there is something unique about the initial creation of an item versus the editing thereof (e.g. the item does not exist in the database, yet). It's only on create that you would want to provide default values, that is, when no value has previously been provided by the user. Any other time the item is edited, it already exists and any values submitted should not be overridden or replaced. Off the top of my head, this could be done with table level defaults (if all item types were to share the same defaults for all properties), or via an insert trigger. Either way, the defaults would only be applied on create, and not on edit.
Message was edited by:
CaptSimian

Similar Messages

  • Why does Live View not work with the following: @media only screen and (max-width: 480px)?

    When I use the above media query in my stylesheet Live View ceases to update the viewport.  I have to update it manually each time I add or change a style.  This is not the case when I use styles under a common tablet sized query @media only screen and (max-width: 768px), or when there is no query at all.  Is this a bug or is there something I am missing here? 

    Code errors might account for the discrepancy. Validate your code and fix any reported errors.
    CSS - http://jigsaw.w3.org/css-validator/
    HTML - http://validator.w3.org/
    Nancy O.

  • [svn:osmf:] 14928: Fix bug FM-468: Initial and max indices not being respected for RTMP MBR.

    Revision: 14928
    Revision: 14928
    Author:   [email protected]
    Date:     2010-03-22 17:35:43 -0700 (Mon, 22 Mar 2010)
    Log Message:
    Fix bug FM-468: Initial and max indices not being respected for RTMP MBR.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-468
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/NetStreamSwitchManager.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/TestNetStreamSwitchManager.as

  • Width and Client width of form

    Hi All,
    Anybody please let me know the difference between Width and Client Width of a form.
    Thanks
    Jisha

    Hi Jisha,
        client_width :  Specifies the width of the area in which you can add items (client rectangle).
           Width  : Specifies the form width (including the title area) in pixels.
    Thanks
    Shafi

  • "Firefox has had a problem and crashed"; repeatedly since skype update, won't stay up more than 3 or 4 minutes s, how do I stop it from crashing?

    "Firefox has had a problem and crashed"; repeatedly since skype update, won't stay up more than 3 or 4 minutes s, how do I stop it from crashing?

    hello, could you provide your latest few submitted crash reports? please enter '''about:crashes''' into the location bar, copy the latest few report ids from there starting with '''bp-''' & paste them here into a forum reply. this will give us a better understanding what may be triggering those crashes.

  • Find new width and height of a rotated item

    hi all,
    I have an issue where I have a rectangle that I rotate and I need to know the new width and height of the bounding box of the rectangle when it has been rotated
    example:
    I have this rectangle shape
    so its known width and height is 20pixels x 60pixels
    now i rotate the rectangle by 90 degrees
    so it looks like this
    now its 60pixels x 20 pixels
    but all i know is the width height is 20 x 60
    how do I calculate the new width and height after rotation?
    obviously a rotation of 45 degrees would mean the bounding box will not be 20 x 60 or 60 x 20 so I need to take that into consideration
    thanks

    If your shapes are not restricted to being rectangels, then the bounding box after rotation can't be calculate from simply the bounding box before rotation alone.
    Simples counter-example:
    The bounding box of those two shapes are equivalent:
    {noformat}
    and
    {noformat}But after a 45 degree rotation, their bounding boxes are different.
    For the exact way to calculate the bounding box for arbitrary shapes, you'll need to consult some geometry books (or wait and hope for a useful hint here, I can't give one).

  • Max Date in Page item

    Has anyone figured out how to get a date field to default to max date when used as a page item. I have select max(timestamp), create an item timetwo that -= max(timestamp), you name it we have abused and used it. Nothing seems to work.. I am sure we are missing the obvious. Any help appreciated.
    Stefan

    Has anyone figured out how to get a date field to default to max date when used as a page item. I have select max(timestamp), create an item timetwo that -= max(timestamp), you name it we have abused and used it. Nothing seems to work.. I am sure we are missing the obvious. Any help appreciated.
    Stefan

  • Invalid datetime format (null) Elements 4 and 7

    I have about 20,000 photos in Elements 4 organizer (windows XP SP2). I am trying to get the catalog in shape to be converted to Elements 7 format--it will not convert at present, telling me the file has errors in which need to be fixed before conversion. In Elements 4 I've run "Recovery" which completes successfully (several times). I've tried "reconnect all files" which reports all files are connected.
    But I think I have found the problem. There is one file/photo with the same name (it is the same photo) both inside and outside of a version set. I do not know how or when this happened.
    Whenever I try to do any of the following I get the same error
    1. Delete either version of the file (i.e. inside or outside of the version set)
    2. Stack the outside file/photo with the 2 in the version set
    3. Convert the version set to individual photos
    The Error is
    The ODBC data source reported the following error
    "[Microsoft][ODBC Microsoft Access Driver] Invalid datetime format (null)"
    By the way, the metadata for this photo has a proper date. I have tried various tricks like deleted the file outside of Elements, adding it back with a reconnect, etc. No resolution.
    I am completely stumped. By the way, other than this, the Organizer seems to work OK (a bit slow sometimes, but that is relative. I was hoping 7 would be faster).
    Please advise.

    John
    Thanks for the tips. The following are the last several lines from the conversion log:
    created media a:107486 for file "J:/Album of Photos/2005 Photos/2005_04_22 Barcelona/133_3382_edited-1.jpg"
    created media a:107502 for file "J:/Album of Photos/2005 Photos/2005_04_22 Barcelona/133_338920050423.JPG"
    created media a:107518 for file "J:/Album of Photos/2005 Photos/2005_04_22 Barcelona/133_3387.JPG"
    created media a:107534 for file "J:/Album of Photos/2005 Photos/2005_04_22 Barcelona/133_3388.JPG"
    created media a:107550 for file "J:/Album of Photos/2005 Photos/2005_04_23 Barcelona/133_3386.JPG"
    The file 133_3386 is the problem file I noted. However the first instance in the log above has a 2005_04_22 date, which does not exist in the actual file.
    I don't have PSE5 and I don't know ACCESS. Does any of this make sense?
    Ralph

  • Assigning NULL in a select statement to a page item that doesn't exist? 2.2

    Hi all,
    Should the following raise an exception or cause an error? It does not in APEX 2.2.0. This is in a PL/SQL region at the "After Header" render point.
    Using a value other that NULL causes an error.
    Thanks!
    BEGIN
        SELECT
            NULL
        INTO
            :NOT_AN_ITEM
        FROM
            DUAL;
    END;

    It probably should but it doesn't in any version. It's because before it tries to update session state it compares the old and new values. If they're the same it skips the update. Since v('NOT_AN_ITEM') is null and the bound value is null, no update is attempted and no exception is raised.
    Scott

  • Can't open visualizer in itunes window. It goes to full screen and "show visualizer in full screen" won't stay unchecked. I'm running SL and everything is up to date.

    I would really like to be able to view the visualizer in the itunes window. when I uncheck full screen in preferences it does not take. I'ts automatically checked when I open preferences.

    I would really like to be able to view the visualizer in the itunes window. when I uncheck full screen in preferences it does not take. I'ts automatically checked when I open preferences.

  • SWF at 100 % width and proportional height

    I have a SWF that I would like to use in an XHTML 1.0 Strict document.
    My need is that the flash must:
    - Be 100% width
    - Grow / shrink proportionally in height (depending on width)
    - The flash may not be cropped or distorted
    - I must be able to to put a div just before the flash
    - I must be able to place a div right after the flash
    The flash should behave just as if you pasted below image in an HTML file:
    <img
    style ="
    width: 100%;
    min-width:800px;
    min-height:280px;
    height: auto; "src="xxxx"
    alt ="-"/>
    I need it to show a dias show (SWF), where the size changes with the browser window size.
    If some someone can help, I would be very happy :-)

    Here is an older post that has examples of various scaling:
    Here are examples of different scaling parameters available in the Publish settings. You can also add these parameters directly in the html (<param name="scale" value="noscale"). All the examples replace the actual Flash dimensions with 100% for both width and height (width="100%" height="100%"). These examples use the old <object> and <embed> to illustrate the different ways to scale Flash. Once you understand how it works I’d recommend that you use swfobject to place the Flash in your final project.
    View the source code for each page to see the full code.
    http://www.cidigitalmedia.com/tutorials/scale/exact_fit.html
    "exactFit" scales the file to fit exactly within the confines of the screen, irregardless if the movie becomes consequently distorted. The original aspect ratio is not maintained. So round things are not round and squares are not square.
    http://www.cidigitalmedia.com/tutorials/scale/noScale.html
    "noScale" is the default setting, and causes the movie to be displayed at the originally designed dimensions.
    http://www.cidigitalmedia.com/tutorials/scale/no_border.html
    "noBorder" causes the movie to be scaled to what ever dimensions are needed to have no border surrounding the movie within the player, which consequently could result in some of the movie being cut off from view. In other words, the movie will maintain the original aspect ratio and will fill the screen completely. But if the movie has to be streched wider to fill both sides of the screen, it will also stretch taller, but then some of the top and the bottom of the movie may be cut off from view.
    http://www.cidigitalmedia.com/tutorials/scale/show_all.html
    "showAll" scales the movie to the size of the screen (which could cause pixelation if the file contains raster information), the difference between showAll and exactFit is that showAll mantains initial movie size proportions. Because it maintains the original aspect ratio, there can be space to the sides or the top and bottom. But everything always shows and they are not distorted. But notice the photo in the center, it becomes pixilated at larger screen resolutions.
    The trickiest part of trying to go full screen is that it’s difficult to make the Flash wider without making it taller also, that is, to maintain the correct proportions or aspect ratio of everything on the stage. These methods are just simple scaling accomplished with html. There are also methods to dynamically scale the stage and it’s elements using Actionscript… but that’s a much more complex undertaking.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com
    Adninjastrator

  • Dimensions width and length of a book in iBooks Author

    How I can set the width and size throughout the pages and therefore the book in iBooks Author?
    IPad and need to export it to PDF for printing with specific steps.
    Any help please?

    Just supply a link that says 'Review This Book' - use http://itunes.apple.com/linkmaker/ to generate one.

  • How much longer will we have to wait before Adobe fixes the bugs in Elements 10?

    Lassoo misbehaving - I use it all the time - I'm seriously thinking of consigning Elements 10 to the bin and going back to Elements 8. Can't save file owing to program error - every second or third save - drives me bananas. I know, I know, if I click in the corner of the box a couple of times it works again but I expect a program to work as described not to have to patch it up myself.
    So come on Adobe pull your finger out and fix it - I spent my money on your product now you spend some of yours on getting it right.

    If you look around at all the forums and support sites you will find this exact same question be asked everywhere concerning numerous bugs. Right now the only answer you get is "try elements 11 you'll like it". So in my humble opinion I think ADOBE plans on fixing the bugs in elements 9 and 10 when you know what freezes over and not a minute sooner. For all those considering elements 11 you might want to wait and see what shows up in the forums concerning any bugs it may have, because based on any past experience they won't fix until next version (12) comes out, in other words you become the beta tester for the next version.

  • Dynamic alignment of report column and page item value

    Hi friends,
    I have an interactive report which contains the columns like
    <li>empno
    <li>Name
    In the above i have "empno" with a column alignment of left and a "Name" with a column alignment of left.
    Whether it is possible to override the data alignment that we set in the report according to the value of the application item like
    If my application item value is US, then i need the column alignment of both the column"empno" and "Name" to be left and if my application item value is AR, then i need the column alignment of both the column "empno" and "Name" to be right. Whether is it possible to achieve the dynamic alignment to the report data of both the columns "empno" and "Name" according to the application page item value.
    And also in the case of page item i have a page item with a name P1_NAME in which it has a Element Horizontal/Vertical alignment to left.
    I need that element alignment of the page item to behave dynamically according to the application page item, like if the application page item is US then the element alignment of the page item has to be left and if the application page item is AR then the element alignment of the page item has to be right.
    Whether is it possible to achieve my above two scenario's friends. Kindly help me with this.
    Thanks in advance.
    Brgds,
    Mini

    Kees,
    Your approach is excellent and brilliant:-)
    I tried with your steps and i can achieve those alignment in both ways like you said(either on page load/through DA).
    But im going with the DA way. I have certain query regarding this kees.
    <li>Suppose if the report, is classic whether i can go with the same approach that i have achieved alignment with the IR report.
    <li>Currently through the DA way, i used the page item in the condition. Is it possible to use the application item instead of page item in DA. Because im going to use the application item FSP_LANGUAGE_PREFERENCE for getting the code either 'AR' or 'US'.
    <li>Finally i need this kind of restriction for the page item also, consider like i have a page item P1_X with an Element Vertical/Horizontal alignment as left. Now i need to change that alignment to right according to the application page item value, hence i can give application item condition for the page item like below
    PL-SQL EXPRESSION: :FSP_LANGUAGE_PREFERENCE = 'AR'
    i need the element alignment of the page item to behave dynamically suppose if the application item value is AR then the element alignment of that page item has to be right if the application item value is US then the element alignment of that page item has to be left, irrespective of the page item Element Vertical/Horizontal alignment that was set to it.
    Thanks for your kind help
    Brgds,
    Mini

  • Arangement of Page Items and Regions

    I created an APEX page (version 4.0.1.00.03) named Request Edit with many page items for data entry of user requests. The form has a region named Request Edit that holds the data entry page items. Within the region is a region for buttons. There were two addition regions on the page below the buttons named Jobs a report region and Audit a Show/Hide region. The users do not like to scroll the page during data entry so I decided to place many page items into three new Hide/Show regions name Requestor, Recipient, and Service. I defined the regions and then moved the page items to one of the three regions Requestor, Recipient, and Service. When the page is displayed the three new regions displayed after the audit region. I wanted the new regions to display after the Request Number and before the Comments page items. I decide to change the Parent Region in the User Interface properties of the page to Request Edit for the new regions. That moved the three regions above the Audit region but after the Comments page item.
    What properties of the three new regions Requestor, Recipient, and Service will position the new regions after the Request Number and before the Comments Page items? Is it necessary to define the Parent Region in the User Interface properties of the page to Request Edit for all of the regions?
    To describe visually what I am trying to do imagine the following simplified page:
    <Create> <Save>
    Request ID: [________]
    Requestor Name: [_________]
    Recipient Name:[ __________]
    Service Type: [____________]
    Comments: [____________________]
    <Create> <Save>
    Jobs Report Region
    +Audit Region
    I defined three regions and moved the page items to them
    <Create> <Save>
    Request ID: [________]
    Comments: [____________________]
    <Create> <Save>
    +Requestor
    +Recipient
    +Service
    Jobs Report Region
    +Audit Region
    After I defined the Parent Region in the User Interface properties of the page to Request Edit it looks something like this:
    <Create> <Save>
    Request ID: [________]
    Comments: [____________________]
    +Requestor
    +Recipient
    +Service
    <Create> <Save>
    Jobs Report Region
    +Audit Region
    But I want the new regions to display between the Request ID and Comments page items.
    Thank you.

    here is how i got someting like that to work with a raoid group.
    page HTML header:
    &lt;script&gt;
    function Show_On_Radio_Value_2(pThis, pThat, pValue, pLabel){
    var rv = html_RadioValue(pThis);
    var elm = document.getElementById(pThat);
    var lbl = document.getElementById(pLabel);
    if (rv == pValue) {
    html_ShowElement(pThat);
    html_ShowElement(pLabel);
    } else {
    html_HideElement(pThat);
    html_HideElement(pLabel); }
    }&lt;/script&gt;
    REGION Footer:
    &lt;script&gt;
    Show_On_Radio_Value_2('<code>P3_ENT_APPROVAL</code>
    ','<code>P3_REJECTION_DESC</code>
    ',"Y",'L_<code>P3_REJECTION_DESC</code>
    &lt;/script&gt;
    I think thats it but it should get you in ther right direction.
    jp
    Edited by: SHONET on Nov 12, 2008 9:26 AM

Maybe you are looking for

  • Database connection not working in Crystal Reports for Eclipse 2.0

    Hello All, We have several hunderd reports that were created in CR 8.5.  We are moving to a new Java  environemnt and we are also considering using BIRT.However to save development time and effort we are considering using the CR for Eclipse 2.0. For

  • Can I highlight and post-it-note a pdf on a tablet and then open it later on my laptop (and vice-versa)?

    Thank you for your time and clear answers. Obviously I would save it and then transfer it to my laptop. One more thing: I am interested in purchasing a tablet primarily for reading PDFs (often scanned books and articles).  But I must be able to highl

  • Flash in java

    I want to embed flash movie into java application, How will i do it? I am using swings to create my java application

  • Cannot connect HTTP Server for oracle 9i database

    I tried starting the HTTP Sever for oracle 9i, but i keep getting this error: Could not start the OracleOraHome92HTTPServer service on Local Computer. The service did not return an error. This could be an internal Windows error or an intrenal service

  • Xclock - solaris 8

    Not sure this is really the right forum for this, but I couldn't see where else to post it. My customer wants to use xclock to have a permanently displayed clock on the screen for the user. The system is a network monitoring one, so they need to be a