BUG:text-align:right; inline style not working on read-only af:InputText

Hello,
A bug in how af:InputText works if readonly=true. I have an af:InputText that has "text-align:right;" for the InlineStyle. The inputText is inside of an af:Column in af:Table. If the inputtext is readonly=false, it works properly and renders right-aligned. If readonly=true, then it renders left-aligned. I have also tried setting inlineStyle for the column to text-align:right;, and I get the same behavior.
Regards,
John

John,
Try adding formatType="number" to your af:column (if you want all data in that column aligned to the right). If you don't want the entire column right aligned, try using disabled instead of readonly.
Jim

Similar Messages

  • ADF Mobile : Setting background image using inline style not working.

    The snippet is part of my amx page.
    But the issue is that the background image is not coming up in the deployed iphone application.
    The html source of app page shows that a background image is associated with this component but the location is file:///Users/oracle/Library/Application%20Support/iPhone%20Simulator/5.0/Applications/com.oracle.smartphone/smartphone.app/backgroundrepear.png instead of some Xcode_Project>Far location which I was expecting.
    The image is actually present in public_html/icons
    And I set the inline style using the property inspector of listItem.
    <amx:listItem showLinkIcon="true" id="li1" action="goToWorkerDetail"
    inlineStyle='background-image:url("/icons/backgroundrepear.png"); background-repeat:repeat-x;'>
    <amx:tableLayout width="100%" id="tl1">
    <amx:rowLayout id="rl2">

    955920 wrote:
    The snippet is part of my amx page.
    But the issue is that the background image is not coming up in the deployed iphone application.
    The html source of app page shows that a background image is associated with this component but the location is file:///Users/oracle/Library/Application%20Support/iPhone%20Simulator/5.0/Applications/com.oracle.smartphone/smartphone.app/backgroundrepear.png instead of some Xcode_Project>Far location which I was expecting.
    The image is actually present in public_html/icons
    And I set the inline style using the property inspector of listItem.
    <amx:listItem showLinkIcon="true" id="li1" action="goToWorkerDetail"
    inlineStyle='background-image:url("/icons/backgroundrepear.png"); background-repeat:repeat-x;'>
    <amx:tableLayout width="100%" id="tl1">
    <amx:rowLayout id="rl2">hi,
    i managed to get the background-image working. I dont use inlineStyle , instead i use "Skinning"
    Since im want all my pages have the same background image, i overwrite the panel page css
    .amx-panelPage {
    background-image: url("../pic1.jpg");
    the css file is located under "ApplicationController/public_html/resources/css/myiPhone.css"
    the image file is located under "ApplicationController/public_html/resources/pic1.jpg"

  • Style Code Not Working for Read Only Users !

    Hi 
    Can anyone help us with this issue. We have created some special Styling code in order to hid the Quick Launch on the home page of our main SharePoint site. The Styling works no problem at
    all for users with edit rights, however we found that the styling did not work for users with read only access.  What we found was that if we switched on the "Edit Items  -  Edit items in lists, edit documents in document libraries, and
    customize Web Part Pages in document libraries." in the List Permissions for the Permission Levels for the Read Access group, the Styling then works no problem at all. HOWEVER it then gives those users the ability to EDIT the site page, as it then
    puts the Edit option on the page top right for the user to click and then mess up the web page, which we can not permit. 
    SO..... How do we get this styling to work for ALL user types ?

    Hi,
    This usually happens when the CSS file is not published or approved, please check it.
    If the CSS files uploaded in the Style Library, please check whether you had to check in those CSS files or not.
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • SPSecurity.RunWithElevatedPrivileges Not Working for Read Only Permissions Users

    I have the following code in a method that generates tabbed web parts on any page in SharePoint 2010.
    The problem is that it will not work for users who have Read access only on a SharePoint site.  It will work when those users have Contribute access.  
    So even though I have elevated permissions in the code it does not actually elevate the permissions at the point where it is needed.
    if (panel != null)
    try
    using (SPLimitedWebPartManager wpManager = SPContext.Current.Web.GetLimitedWebPartManager(HttpContext.Current.Request.Url.ToString(), PersonalizationScope.Shared))
    try
    // Elevated previleges required for EXPORT and IMPORT. Else Users with normal read access will get errors.
    SPSecurity.RunWithElevatedPrivileges(delegate()
    // Retrieve the web part titles in the ConfigureTabs XML string for this tab.
    var webPartTitles = from t in xDocument.Descendants("webPart")
    where (string)t.Parent.Attribute("name") == (string)e.Item.DataItem
    select (string)t.Attribute("title");
    foreach (string wpTitle in webPartTitles)
    foreach (System.Web.UI.WebControls.WebParts.WebPart webPart in wpManager.WebParts)
    // Find the matched closed web part in WebParts collection
    if (webPart.Title == wpTitle && webPart.IsClosed == true)
    string errorMessage;
    //ADD EXPORT PROPERTY
    webPart.ExportMode = WebPartExportMode.All;
    MemoryStream stream = new MemoryStream();
    XmlTextWriter writer = new XmlTextWriter(stream, System.Text.Encoding.UTF8);
    // Export the closed webpart to a memory stream.
    wpManager.ExportWebPart(webPart, writer);
    writer.Flush();
    stream.Position = 0;
    XmlTextReader reader = new XmlTextReader(stream);
    // Import the exported webpart.
    System.Web.UI.WebControls.WebParts.WebPart newWebPart = wpManager.ImportWebPart(reader, out errorMessage);
    reader.Close();
    writer.Close();
    // Show the imported webpart.
    panel.Controls.Add(newWebPart);
    break;
    catch (Exception ex)
    // For debugging use only.
    Label label = new Label();
    label.Text = "Please check your XML configuration for error. " + Environment.NewLine + ex.Message;
    panel.Controls.Add(label);
    catch (Exception ex)
    // For debugging use only.
    Label label = new Label();
    label.Text = "Please Check SPContext.Current.Web is not null. " + Environment.NewLine + ex.Message;
    panel.Controls.Add(label);
    This snippet of code was originally pulled from a microsoft technet article on creating Tabbed web parts "the correct way" but it doesn't work in all scenarios.
    Is there a way to get this code working for Read/Visitors to a SharePoint site?

    From initial observation what I see is that your SPLimitedWebPartManager is not created from an elevated web. Try like below
    SPSecurity.RunWithElevatedPrivileges(delegate()
    using(SPSite elevatedSite = new SPSite(SPContext.Current.Site.ID))
    using(SPWeb elevatedWeb = elevatedSite.OpenWeb())
    using (SPLimitedWebPartManager wpManager = elevatedWeb.GetLimitedWebPartManager(HttpContext.Current.Request.Url.ToString(), PersonalizationScope.Shared))
    { //Rest of your code
    Geetanjali Arora | My blogs |

  • Why is the a:visited style not working?

    Hello.  I have created a horizontal menu and would like the a:visited text and background colors to be the reverse of a:link.  The a:link and the a:hover work well.  But when I make the a: visited color and background color different from a:link, all of the links text turn black and the background turns white for all of them.  The links were not cicked on.  But when a link was clicked on, a thin border of the text color appears around the box surrounding the link that was clicked on.  I would appreciate knowing how to correct this.  I have included the following styling link information that is in the head and body of the the html and css documents :
    html document:                                                                                css document:
    ul {                                                                                                     .navigation {
        list-style-type: none;                                                                           width:   960px;
        text-align: right;                                                                                   height:    50px;
        padding-top: 6px;                                                                               margin-top:  50px;
        padding-bottom: 6px;                                                                         font-size: 18px;
                                                                                                                     z-index: 5     
    li {
        display: inline;
    a:link {
        color:#FFF;
        text-decoration: none;
        background-color:#000;
        text-align: center;
        padding: 0px;
    a:visited {
        text-decoration: none;
        color: #000;
        background-color: #FFF;
    a:hover {
        text-decoration: none;
        color:#000;
        background-color:#FFF;
    a:active {
        text-decoration: none;
        color: #FFFFFF;
        background-color: #000;
    </head>
    <body>                   
    <div class="navigation">
        <ul>
            <li><a href="index.html" target="_self">HOME</a></li>
            <li><a href="digital.html" target="_self">DIGITAL</a></li>
            <li><a href="drawing.html" target="_self">DRAWING</a></li>
            <li><a href="painting.html" target="_self">PAINTING</a></li>
            <li><a href="about.html" target="_self">ABOUT</a></li></ul>
    </div>
    </body>
    Thank you.

    You have to clear your browser history/cache or all of the links you have visited in the past (while previewing) will show as the visited style which is a white background and black text.

  • I cant copy/paste from an article to my web site, get a Mozilla Rich Text Editing demo page will not work.HELP

    Tried to copy/paste from an article to my web site and got a "cannot copy /paste " warning and was directed to a security perferences site that said that Mozilla Rich Text Editing demo page will not work.
    Tried to find my Firefox profile directory using the start menu and was directed to hit enter to go to web. Feel like i am getting run around.

    Let's start with something very basic, and that is, you do not need to use the paste button on most websites. The button just reads what is on your clipboard and sticks it into the form. You can do that yourself using Ctrl+v or right-click>Paste.
    For your security, I suggest using those standard Windows keyboard shortcuts (Ctrl+x cut, Ctrl+c copy, Ctrl+v paste) or the context menu.
    Occasionally you will find a paste button that runs a clean-up script or otherwise does something useful. That is where the (admittedly a bit complicated) instructions come in handy.
    To open your active profile folder, you can use:
    Help > Troubleshooting Information > "Show Folder" button
    Which help article are you using for the modifications?
    Finally, please be cautious in opening up your clipboard to sites. You may have stuff you copied from other pages or other programs that you do not want to share with most sites.

  • Align Left Keyboard Shortcut Not Working

    Align Left Keyboard Shortcut on a Mac (command-shift-L) does not work on InDesign CC 9.1 and use to work on InDesign CS6.
    Align Right (command-shift-R) works fine.
    Does anybody know how to fix this?

    Open System Preferences > Keyboard > Shortcuts > Services and uncheck Search with Google. This setting is capturing your keyboard shortcut.

  • Why won't my text align right in Live View or Browsers?

    I created a class called .reviewer so the the name of the reviewer would align right while the the review itself remains aligned to the left. I applied the class to the reviewer's name and in design view, it looks perfect. But in Live view and when I preview in a browser, the text remains aligned left. I put this class in two external style sheets, main.css and mainReviews.css.
    The page in question is: www.jillgrovemezzo.com/reviews.htm
    To be more specific, the text I want to align right under the first review is "Lawrence A. Johnson, Chicago Classical Review"
    Regina

    Add display: block; to your css class .reviewer (as shown below).
    .reviewer {
        text-align: right;
        display: block;

  • Right click is not working in Web dynpro explorer

    Hi All,
    I have SAP net weaver developer studio 2.0.9.
    when i right click on web dynpro components, to create a component, the context  menu is not coming, right click is not working.
    though right click works fine in diagram view and outline view.
    Please suggest what might have happened? and how to get back the settings.
    Cheers,
    Srini.

    Hello Srinivas,
    Try closing and opening NWDS. If you still see the same problem, simple solution for this is, Just Change Workspace to new folder.
    Changing workspace - Window -> Workbench -> workspace -> give new path.
    Close nwds and open it again. It should solve the problem.
    Thanks,
    Sridhar

  • I have a macbook air and I can't cut and paste in itunes.  The right clic does not work. How can I work this out?

    I have a macbook air and I can't cut and paste in itunes.  The right clic does not work. How can I work this out?

    Great tip Stephen!!
    I was so frustated from this issue that I used to use Windows iTunes for mass editing info, adding Lyrics etc and then transfering songs to Mac. This tip has alleviated my pain!!
    Thanks for the tip. This question should be tagged as answered.

  • My right click is not working. the context menu does not come up and i can no longer drag files/folders. I have checked the mouse and track pad in system preferences and the correct boxes are all checked (with a support member). Please can you help

    My right click is not working and producing the context menu or ability to drag files and folders. I just spoke with a phone support person and we checked that all the mouse/trackpad options for right click were correct and checked.
    Please can you help with this.
    It has only just happened in the last few days.
    Many thanks

    You might want to update your profile so that we can see what model iMac you have and what version of OSX you're running.
    For this question, it might help to know if you're dealing with a trackpad, Magic Mouse, or something else?
    (Until your issue's resolved, you can Control-Left Click to get the right click functionality).

  • Brand New Ipod touch 4th gen  right earphone jack not working out of the box. Bought at Wal-Mart yesterday. Are we missing something in the set up or should we return it?

    We just purchased an ipod touch 4th gen 8 gb from Wal Mart. OUt of the box the right headphone is not working. Tried numerous pairs of headphones..tried the mono settings and nothing is working. Is there a setting we are missing or should we just return it?

    If the headphone plug is fully inserted, I would return the iPod for a replacement

  • Right click problem: I did not know about the Yahoo sidebar issue, I have removed all toolbars from my browser from 'view' menu. There is nothing in my 'extensions' to disable. Right click is not working. What to do?

    Right clicking is not working on any of the websites. I read up that it's a Yahoo sidebar issue. But, in my extentions, Yahoo sidebar is not there. I had removed all toolbars, but from 'view' menu. Now how do I get my right click to work?
    == This happened ==
    Every time Firefox opened
    == I've noticed it on 1 Aug 2010

    This is a user-supported board. You are not addressing Apple here. Nor is it a good idea to post your private information to a public forum. You should edit your post immediately.
    Unfortunately no one here can access your support history. You must respond to the emails directly.

  • Text-to-speech engine is not working

    when I want to use 'read out loud' in adobe reader and  foxit , I'm get no sound, I have similar problem in babylon that using TTS engine of OS.
    I'm using windows 8.1 64 bit.
    Do not get any error, but when play would have no sound.
    I previously didn't have any problem with these softwares.
    really need this functionality, please help me.
    Babylon support
    told me::
    Babylon uses a free text-to-speech engine that was developed by Microsoft and is part of Windows OS. please check with Microsoft support , why your text-to-speech engine is not working.

    Hi,
    If you go to the Start Screen, search for "Narrator" within All Apps and click it, what happens?
    In addition, please follow the steps below to check Speech Properties if there is anything wrong with it.
    Control Panel\Ease of Access\Speech Recognition\Advanced speech options
    Roger Lu
    TechNet Community Support

  • In "Show more Bookmarks" if I right click does not work (I want to open in a new tab)

    This is using Mac Firefox current version. I use lots of tabs and don't have space for all of them so there is a >> at the right end for clicking and displaying the rest of them. If I click and display list and highlight one of them, the right click does not work - I want to open in a new tab not use the existing - there are no menu options displayed on these tabs. The tabs across the top work fine for this

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for

  • How to delete the error message in the Web page Message Monitoring

    Hi All: I'd like to ask a question.If there is error message in the T-code sxmb_moni->Monitor for Processed XML Messages,I can cancel the error message manually and archive the message. After that,I can delete the message from "Monitor for Processed

  • Fix that works for my itunes/my-computer not recognizing 5G 60GB Ipod

    Hi: For me this fixed all problems with my own PC at work (when others in building worked fine). Turns out I had some networked drives and did not realize there was a conflict even. Russ Jacobson It is from the following help area on apple: http://do

  • [solved]Yet Another "X won't start" thread

    I get the black screen when i try to startx. i followed the wiki entry to set up X, but it doesn't work. Now, what i want to know is, how do i go back on a fresh install to an older version of X, that *doesn't* use HAL? Last edited by GypsyJoker (200

  • Difference of time in reports server

    my application is running on HP-Unix in Developer Suite 9i. I don't know why but i guess there is a difference of about 11-12 hrs in the actual time shown by the date command in the unix server and time shown when i give the following command on the

  • How To Add A Signature To Your Posts

    A signature is a great way to personalize your posts. You can add a brief details about your products or just a personal tagline to distinguish your posts. Creating or editing your signature is very easy. This is how you do it: 1. Log into the Forum.