CFGRID width percentage issue

Hello people..
I recently upgraded my CF8 dev environement to CF10 and have noticed a couple issues.  One of which being percentages are no longer supported in HTML formatted CFGRID.  According to the documentation, the width attribute can be: "In HTML format, can be in any valid CSS measurement unit, and a numeric-only value specifies pixels." However that does not seem to be the case.  Is this an error in the documentation or a bug in CF?
I'm also not the only person to notice:
http://iknowkungfoo.com/blog/index.cfm/2012/5/10/Upgrading-ColdFusion-CFGRID-has-an-incons istent-width-attribute
Does anyone have any thoughts on this?

Here you go..
<cfquery name="q" datasource="cfartgallery">
SELECT artID, artistID, artName
FROM app.art
ORDER BY artName
</cfquery>
<cfform name="frm">
    <cfgrid name="testGrid"
              query="q"
        height="250" 
        appendkey="yes" 
        width="100%"
        selectmode="browse"
        enabled="yes"
        visible="yes"
        format="html"
        striperows="yes"
        selectonload="false">
    </cfgrid>
</cfform>
just about as basic as you get.. I tested in CF8 works, then in CF10 error: "height/width attribute cannot be a percentage value."

Similar Messages

  • CF11 - CFGRID & CFSELECT binding issue

    We just upgraded to CF11 and one of our apps had pieces stop functioning. We have figured out most of it, however one of our cfgrids is having issues. When the page is loaded the cfgrid hits the CFC that is specified in the bind settings (passes in the default employee ID of 0 and returns no data). When we select an employee name from the dropdown menu, we receive a 400 error saying the page can't be found. When the select is changed, it looks like it reverts to the root path instead of the cfc specific in the bind argument. Does anyone have any idea on the direction we should go to fix this? The exact same code works on CF8... but is completely broken on CF11.
    Thanks for your help.

    BKBK Sorry for the confusion... we set an array for the arguments, below is the full block of code.
    <cfform id="evaluation" name="evaluation">
    <div style="height:30px; margin-top:10px;">
    <div style=" margin-right:10px; float:left;">
    <cfselect name="employee" query="EmployeeList" value="affiliateID" display="empName" queryPosition="below">
    <option value="0" selected="selected">--- Select an employee ---</option>
    </cfselect>
    </div>
    </div>
        <cfset args = structNew()>
    <cfset args.name = "ExistingEvals">
    <cfset args.format = "html">
    <cfset args.bindOnLoad = "true">
    <cfset args.bind = "cfc:empEval.getCompletedEvals({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridso rtdirection},{employee})">
    <cfset args.stripeRows = true>
    <cfset args.selectColor = "##D9E8FB">
    <cfset args.selectmode = "row">
    <cfset args.selectOnLoad = "false">
    <cfset args.autowidth = "no">
    <cfset args.width = "335px">
        <cfset args.pageSize = "6">
    <cfset args.height = "200px">
    <div style=" margin-top:5px;">
    <cfgrid name="employeeEvals" attributeCollection="#args#">
    <cfgridcolumn name="empAffiliateID" display="no">
    <cfgridcolumn name="FY" display="no">
    <cfgridcolumn name="evaluationID" display="no">
    <cfgridcolumn name="typeID" header="Eval Type" display="yes" width="75">
    <cfgridcolumn name="FY" header="Fiscal Year" display="yes" width="90">
    <cfgridcolumn name="Status" header="Status" display="yes" width="125">
    <!---<cfgridcolumn name="Date" header="Date" display="yes">--->
    </cfgrid>

  • Urgent please: Percentage issue with more data

    Hi,
    I am trying to calculate percentage but it is throwing error. Any help on calculating percentage type reports?
    Thanks,
    Sri

    Your statement "Looks like VO2 is not being attached to the adv table in PFR?" holds the key to your issue.
    Are you trying to attach the VO in PFR? Only a selected properties can be modified for beans in PFR. Put your code in processRequest and it should work.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Percentage issue, please?

    Hi Gurus,
    i have issue with percentage calculation
    Names |Count|Percentage
    AAAA | 4------|80.00%
    BBBBB | 1------|16.67%
    Total---| 5----- |100.00%
    I am getting wrong result in above table for 16.67%, but 1/5 is 20.00%.
    How i am doing is i am counting total records in one variable then diving.
    I am using code for counting is
    <?for-each@inlines:ssServiceRequest[(./ssSrType='Inc' or ./ssSrType='Pro') and (./ssStatus='Closed' or ./ssStatus='Reset')]?><?xdoxslt:set_variable($_XDOCTX, 'V_SNO', xdoxslt:get_variable($_XDOCTX,'V_SNO') +1)?><?end for-each?>
    Then in under pecetage i am using code is
    <?count(current-group()/ssSrNumber) div xdoxslt:get_variable($_XDOCTX, 'V_SNO')?><?xdoxslt:set_variable($_XDOCTX, 'V_SNO', xdoxslt:get_variable($_XDOCTX, 'V_SNO')+1)?>
    I guess my code is having issue to pull all total at some place,
    Please let me know and thanks in advance.
    Thanks,
    lax

    I have sent a reply to your email with the attached template. Please take a look.
    Thanks,
    Bipuser

  • 100% width slideshow issue

    i've created a full-width slideshow inside of a composition that is also 100% of the page width.  when the browser window is re-sized, the page develops a wide margin next to the images.
    if you go to http://blipdapp.com/ and click on the "about" link at the bottom, then resize the browser window and select one of the other tabs (connect, create or share), you'll see the problem.
    the only way to correct the issue seems to be refreshing the browser.  does anyone know of a way to fix this?

    Hi, please see the below thread link for a workaround.
    Re: slideshow within composition widget - 100%width image causes bug
    Also, please vote on the idea to add 100% width support to the composition widget so that the Adobe Muse team will hopefully fix this soon.
    100% width composition widget

  • SWFLoader width height Issue

    When I use the SWFLoader to load an swf from a URL it is not
    using the
    sizes specified in the SWFLoader component that is loading
    it, the swf
    seems to initially load at whatever size the actual swf is,
    but after
    the swf has been downloaded fully then the SWFLoader jumps to
    the
    width/height I specified, so basically all swfs I load start
    out huge
    then after sever seconds shrink to the size I want them to
    be. has
    anyone else seen this or know how to remedy this issue?
    (also the element in the swf that animate say from outside
    the
    original swf stage width/height show out way outside the
    bounds of the
    size specified)
    //set the source(within a function)
    swfplayer.source="
    http://www.somedomain.com/myswf.swf";
    <mx:Canvas id="swfplaycontainer" width="452" height="252"
    horizontalCenter="0" verticalCenter="0">
    <mx:SWFLoader id="swfplayer" width="100%"
    height="100%"/>
    </mx:Canvas>
    Also tried with no Canvas...
    <mx:SWFLoader id="swfplayer" width="452" height="252"
    width="100%"
    height="100%"/>
    Thanks, Tim
    specified size does not take effect until fully loaded swf

    hmm, well I tried explicitly setting the widht/height of the
    SWFLoader to no avail, I just tried the scaleContent, it also did
    not work ;-( I cannot hide the SWFLoader until complete event
    because these are long swf animations(they are tutorial videos in
    swf format) some seem to take 30-60 seconds to fully load(depending
    on network traffic). They do start playing quite well immediately
    but the size is messed up until complete, but I would think and
    explicit size on the SWFLoader should be the definitive answer.
    Adobe?

  • Width Percentage problem for IE6?

    I have a CSS navigation bar with buttons defined in percentage, placed in a 100% width container.  The buttons add up to 100% in their widths.  This works fine for every browser except IE 6, which seemingly sets all the widths and heights of the buttons to width:auto.  What I'm left with are oddly shaped buttons with terrible spacing throughout the container.  I tried using the following to force hasLayout:
    <!--[if IE 6]>
    wrapper {
    zoom: 1;
    Did I do something wrong or is there a better way to do it?  This did not solve my IE 6 rendering problem.

    It would be so much easier if you posted a URL to your test page.  Without seeing your page and surrounding code (HTML and CSS), it's impossible to guess what you have going on.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • CS6 width tool issues

    Hi,
    Since CS5, I've been using the width tool a lot to speed up my workflow (I have to vectorize a lot of hand drawn cartoons). It always worked perfectly. But since my company upgraded to CS6, I'm experiencing very annoying issues with it.
    First of all, the quality of the curves is sometimes very bad: when I add a width control point on a curve, the stroke becomes very sharp, like a low detail polygon. It seems to happen randomly, or at least there is no relation between the size of the curve and how much it is affected.
    And it is not an on-screen preview issue, since when I expand the stroke the shape stays exactly the same.
    Here is an example, the highlighted curve doesn't look smooth anymore...
    And then there is another big issue, that others seem to have reported here, about the position of the width control point: when I add a control point with the width tool, it appears somewhere else on the curve. But if I want to select the control point again, I have to click at the exact spot where I added it. So changing the point's width or position become terribly frustrating, and on complex drawings it becomes almost impossible to do so...
    Here is a video I did to show the issue
    On a previous thread here, there seemed to be a simple solution (and the thread was marked as "solved"): removing Illustrator's prefs file. I tried it, no improvement. I also tried a full reinstall of CS6, then of my OS, upgrading from OSX Snow Leopard to Lion, with no results.
    It seems to affect all other machines with CS6 installed in my company (MacPros running Snow Leopard or Lion). Could it be hardware related ? I'm running out of options, and is it really sad that we have to keep CS5.5 installed, because this tool became very important in our workflow...
    Thanks in advance for the help !

    srksphillips,
    Wherever you wish to define/change the Width, you need an Anchor Point. I believe you can (Smart Guides being your friends):
    1) Create an Anchor Point at each spot where you wish to have a specific width, such as the starts and ends of the thickest parts, you probably have them already;
    2) Use the Add Anchor Point Tool on the thick side right next to each existing Anchor Point (from 1)), and set the same Width;
    3) Use the Direct Selection Tool and ClickDrag the Anchor Point from 2) to coincide with the Anchor Point from 1).
    And the same for the thinner/thinnest part(s).
    That is basically the same way as when you create a gradient with hard stops, such as a two colour fill in one object.

  • Need Help! Wierd loading percentage issue does not work in IE  but in other browsers it is ok, why?

    Hi!
    I have created a little test swf for my client and I have
    encountered a wierd problem because the loading percentage text
    field does not seem to function in IE 6 but the same file works
    fine when viewed in Firefox and Netscape. When I test the movie
    using simulate download in Flash it works well too. Is this a bug
    and how can be fixed?
    Please take a look online:
    http://www.attila.reinhardt.com/clients/accentcom/clientprofiles_cheyney.html
    I have also posted the related actionscript code below.
    Thank you for any help in advance,
    Attila

    << I Tried to post it through this link -
    http://input.mozilla.com/en-US/feedback#sad
    There was no visual clue that it took the feedback - just sat on the screen with my information in the text box. >>
    The same thing happens with me.

  • Retina MacBook Pro Battery Percentage issue.

    Hi,
    I got a 2.3Ghz Retina MacBook Pro and have noticed that the battery indicator tells me (currently) I have 75% charge remaining. However, when I look into iStat widget, it tells me it's 72%.
    I ran into System Inormation under 'Power' tab and divided the total capacity by the one left and it does come out to 72% indicating that the iStat is indeed correct.
    Does anyone else have a similar problem? I just find it quite weird. I had to exchange the laptop once for batch of bad pixels on the screen. I really don't want to go to the store again and deal with setting up a new device if it's just a software glitch and not a battery issue.
    Thanks,
    Paul
    ALSO,
    I've checked the display for ghosting etc and no issues here. I've noticed that some of you have that problem. Just wanted to give an update on another rMBP.

    I'd start with http://www.apple.com/batteries/notebooks.html

  • Matrix Layout Width Percentage

    Dear Experts,
    I have a requirement.
    I need to create 4 Transparent Containers:-
    - TCO_MAIN (Matrix Header)
    - - TCO_RIGHT (Matrix Header)
    - - TCO_MIDDLE (Matrix Data)
    - - TCO_LEFT (Matrix Data)
    TCO_RIGHT, TCO_MIDDLE, and TCO_LEFT are in the TCO_MAIN.
    What propeties should i set in order to have these:-
    - TCO_RIGHT to occupy 20% of the TCO_MAIN width,
    - TCO_MIDDLE to occupy 20% of the TCO_MAIN width, and
    - TCO_LEFT to occupy 60% of the TCO_MAIN width.
    Thanks.
    Tee

    Hi Tee,
    Try this config:
    Layout of all the transparent containers should be Matrix Layout.
    TCO_MAIN width 100% Strecthed Horizon
    TCO_LEFT width 20%, Go to layout data property and give width as 20%
    TCO_MIDDLE width 20%, Go to layout data property and give width as 20%
    TCO_RIGHT width 60%. Go to layout data property and give width as 60%
    I hope it works.
    Regards
    Arjun

  • MBP Retina Battery Percentage Issue

    I use istats pro for my MBP Retina and I noticed yesterday that the battery percentage was 99 percentage on there but the percentage the laptop was telling me was 100%. So I noticed it again this morning and I unplugged my charger and I noticed how the istats pro percentage was going down and laptop was staying at 100%. Eventually the laptop percentage went down but so did the istats pro percentage.
    Like I have 2 battery percentages and not sure which one is correct, I'm assuming the laptop one. On my old 17 inch MBP the istats pro battery percentage and the laptop percentage were always the same but with my Retina they aren't.
    Can anyone else me out please.

    I use istats pro for my MBP Retina and I noticed yesterday that the battery percentage was 99 percentage on there but the percentage the laptop was telling me was 100%. So I noticed it again this morning and I unplugged my charger and I noticed how the istats pro percentage was going down and laptop was staying at 100%. Eventually the laptop percentage went down but so did the istats pro percentage.
    Like I have 2 battery percentages and not sure which one is correct, I'm assuming the laptop one. On my old 17 inch MBP the istats pro battery percentage and the laptop percentage were always the same but with my Retina they aren't.
    Can anyone else me out please.

  • Iphone 4s jumping battery percentage issue - please help!

    Hi, I was just wondering, does anyone else have this problem? i recently updated my iOS to 5.1.1 Now my phone's battery indicator jumps from 24% to Zero, it automatically shuts down right after 24% no warning, it will just give me the "Please Charge" graphic on the phone. I did a Restore on the phone, but still the problem persits. as soon as i charge it, it automatically powers up, back to 24%. software problem? or hardware problem? please help!

    It seems like all IPhone 4(S) users have this problem eventually.
    Nonsense. 
    Does anyone have suggestions or ways to fix this issue? I
    Do the basic troubleshooting steps.  If they don't work, there is a hardware problem.
    iPhone: Hardware troubleshooting
    definitely cannot afford a new phone right now and i will definitely not be looking into another IPhone when i get an upgrade.
    So, you think that you're entitled to an extended warranty without paying because of your financial limitations or idle threats?  Tell it to your parents.

  • RAM PERCENTAGE ISSUE

    i just upgraded from 1gb of ram to 4gb on my imac. it use to say using 13% of 1gb when i would launch AE now with the upgrade it says using 4% of 3gb, i don't get it. why would it use less when it has more? and why is it only recognizing 3gb instead of 4gb? please any information will help out a lot i need to get AE working a little more fluently then it is now...just takes too much time for previews and to work period.

    As stated in multiple postings over time: RAM usage is allocated dynamically. You will see peaks when AE needs more RAM, but not before. Simple as that. And 3GB on OSX is normal for an 32bit app, which also has been discussed endlessly before. Do a search on this forum for more detailed answers.
    Mylenium

  • Battery percentage issue !

    Well first time i saw my ihpone at 49% so i let it charge fully overnight, the next day i saw it still stucked at 49% i tried to turn it off then to turn it back on and it showed me 100% but after i played on it for a while it would still show me 100% so i turned off/on again and it showed me 78% .I read some solving ways on the internet i tried to let it down on 0% then i fully charged it but it showed me 1%, so i tried to restore my iphone but it would show me 2% ..

    Well first time i saw my ihpone at 49% so i let it charge fully overnight, the next day i saw it still stucked at 49% i tried to turn it off then to turn it back on and it showed me 100% but after i played on it for a while it would still show me 100% so i turned off/on again and it showed me 78% .I read some solving ways on the internet i tried to let it down on 0% then i fully charged it but it showed me 1%, so i tried to restore my iphone but it would show me 2% ..

Maybe you are looking for

  • Windows compatible video card for OSX?

    I have a windows PC with an ATI All-In-Wonder 9600XT card that i put in it a few years back. I was wondering if this card is compatible with my PPC Powermac G5 Dual 2.7 machine to add on as a second video card. It's only purpose would be for me to im

  • Problems signing into itunes store account from windows vista

    I have recently downloaded the latest version of itunes for a new computer running Windows Vista. I already have an apple ID account to use with the store and have been able to access this on other computers, but every time I try to sign in on the ne

  • Button URL issue

    Hello everyone! I have a problem, i have a site i made in flash, on every scene i have movieclips with nested buttons in them, when i double click on the MC and then click the button, i open the actionscript and type everything so when i press the bu

  • Server does not recognize my email address

    when i try to email something i get an error message that says the server does not accept my email address ?? any ideas

  • GL2DW Javascript Problem

    In Golive using the GL2DW extension to migrate my site to DW CS3, the JavaScript debugger launches with an error in Main.html in the templatecopy() function: Line 335: if (nodeVal && nodeVal.value = 'Component' && nodeRef) { The Log states: "the valu