Setting read-only property for a RTL inputtext.

HI,
I am using JDeveloper version 11.1.2.2.0. In my fusion web application, in the af:inputtext field, if the language is, RTL or LTR the value is displaying according to that. Suppose, if it is English, the value is displaying left to right. If it is, Arabic, the value is displaying from left to right. But if I set the column value is read-only, everything is displaying as left to right. Here is the code of my input text field.
<af:column sortProperty="#{bindings.PhraseTranslationView3.hints.Description.name}"
sortable="true"
headerText="#{bundle['PhraseTranslation.des']}"
id="c5">
<af:inputText value="#{row.Description}" id="ot6"
inlineStyle="border-style:none; overflow:hidden;border-color:rgb(255,255,255);direction:#{row.TextDirection};border-width:thin;height:16px; font-weight:bold; color:rgb(0,0,0); font-size:8.0pt;font-family:Arial Unicode MS;"
label="Label 6">
</af:inputText>
</af:column>
What is going wrong in this?

Yeah, I have set it to 'True'. If I set it, the value is not displaying from left to right.
Here is the code.
<af:inputText value="#{row.Description}" id="ot6"
inlineStyle="border-style:none; overflow:hidden;border-color:rgb(255,255,255);direction:#{row.TextDirection};border-width:thin;height:16px; font-weight:bold; color:rgb(0,0,0); font-size:8.0pt;font-family:Arial Unicode MS;"
label="Label 6"
styleClass="rtl" readOnly="true">
</af:inputText>
Regards,
Infy

Similar Messages

  • How to set the read only property for dynamic ALV column

    Hi All,
    I have built one dynamiv ALV and I have one name column inside that ALV for which I have to set read only property based on two column fields that exist in the same ALV,say IS_SP and IS_CORP of type boolean.
    If any one of the flag is 'X',i have to make that name column as display only and
    If both flag are not set,it should be displayed as ediatable column.
    I have written one method as INIT_ALV which gets called when ALV is loaded.
    Code is as  follows:
      lr_column_settings ?= wd_this->alv_all_roles.
      lt_columns = lr_column_settings->get_columns( ).
    LOOP AT lt_columns INTO ls_column.
    CASE ls_column-id.
       WHEN <NAMECOLUMN>. "name column which should be editable/display
    Create Input Field
            CREATE OBJECT lr_uie_input_field_ro
              EXPORTING
                value_fieldname = ls_column-id.
         ls_column-r_column->set_cell_editor( lr_uie_input_field_ro ).
        After this,I have to set the read only property based on IS_SP and IS_CORP values,
              CALL METHOD lr_uie_input_field_ro->set_read_only_fieldname
              EXPORTING
                *value = 'IS_SP' or 'IS_CORP'
    ENDLOOP.
    I dont want to use cell variants also.
    Help me to achieve this.
    Thanks and Regards,
    Divya

    Divya - I have done it in the past following these documents. Please read it and try it it will work.
    Please read it in the following order since both are a continuation documents for the same purpose (it also contains how to change colors of row dynamically but I didnt do that part I just did the read_only part as your requirement) 
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0625002-596c-2b10-46af-91cb31b71393
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0155eb5-b6ce-2b10-3195-d9704982d69b?quicklink=index&overridelayout=true
    thanks!
    Jason PV

  • WD ALV  read only property

    Hi,
    Is there a read only property for the cell editor in the ALV table?
    (I prefer it to the enabled/disabled) visually.
    Many thanks!

    CL_SALV_WD_UIE_INPUT_FIELD

  • Problem when I make Read Only Property True

    Dear Members,
    I have an OAF Page on which I have the below two items:
    1/ item1
    2/ item2
    These two items are message input text items and these two items will always have some value.
    To meet one of my requirement, I am making the READ ONLY property of these two items to TRUE in processRequest method of page CO using PPR Concept. After this when I am trying to access the values of these two parameters in processFormRequest method using pageContext.getParameter method I am getting the Null Pointer Exception error.
    Kindly please help me in resolving the above error.
    Note: I have created a transient variable hdr1Trans and attached this variable to the both the items i.e., item1 & item2
    Code in my processRequest method is as follows:_
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject pvo = (OAViewObject)am.findViewObject("pprPVO1");
    pvo.setMaxFetchSize(0);
    Row newRow = pvo.createRow();
    pvo.insertRow(newRow);
    OAViewObject vo = (OAViewObject)am.findViewObject("Headers_VO1");
    String status="";
    status=vo.getCurrentRow().getAttribute("Status").toString();
    if(status!=null && !("".equalsIgnoreCase(status)))
    if(status.equalsIgnoreCase("IN PROCESS"))
    pvo.getCurrentRow().setAttribute("hdr1Trans",Boolean.TRUE);
    else if(status.equalsIgnoreCase("NEW"))
    pvo.getCurrentRow().setAttribute("hdr1Trans",Boolean.FALSE);
    Code in my processFormRequest method is as follows:_
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    String headerId ="";
    System.out.println("test-1");
    String item1=pageContext.getParameter("item1").toString();
    String item2=pageContext.getParameter("item2").toString();
    I am getting the NPE error when I am trying to access a record with status value IN PROCESS.
    Once I make the read only property to TRUE for both the above 2 items and after that if iam trying to access their value using pageContext.getParameter Iam getting this error.
    Kindly please help me in resolving this error.
    Many thanks in advance.
    Best Regards,
    Arun Reddy D.

    Arun,
    When you set item as readonly field, it will always show null when you will use pageContext.getParameter("<itemID>").
    If there is a VO attached with these items eg- item1, item2 then you can get the value using below code
    OAViewObject vo = (OAViewObject)am.findViewObject("<Some Vo>");
    String item1=(String) vo.getCurrentRow().getAttribute("<Attribute Name>");Regards,
    Gyan

  • [svn:fx-3.x] 13374: Expose a public read-only property httpService on HTTPOperation.

    Revision: 13374
    Revision: 13374
    Author:   [email protected]
    Date:     2010-01-08 07:43:33 -0800 (Fri, 08 Jan 2010)
    Log Message:
    Expose a public read-only property httpService on HTTPOperation. HTTPOperation.service will still return null as a consequence of an old design decision (HTTPService does not extend AbstractService), but a warning is now logged to inform the user that they should use HTTPOperation.httpService to access the containing service.
    Doc notes: Please explain that if a standard HTTPService is used, the event.target on the ResultEvent from this service is an instance of HTTPOperation, and users can access the originating HTTPService with event.target.httpService. (see bug for use-case)
    Bugs: SDK-24775
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24775
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as

    For a TwoWay binding to work the source property must have public setter and an anonymous object (like the one your select new LINQ query creates) has not.
    But since you are binding to the Text property of TextBlocks you could just remove Mode=TwoWay from the bindings in the ItemTemplate of the ListBox:
    <TextBox Name="txtOrderID" Text="{Binding Path=OrderID,Mode=OneWay}" Margin="5,0,10,0" Width="30"/>
    <TextBlock Text="Order Date:" TextAlignment="Right" Width="80"/>
    <TextBlock Name="txtOrderDate" Text="{Binding Path=OrderDate,StringFormat={}{0:MM/dd/yyyy}}" Margin="5,0,10,0" Width="75"/>
    <TextBlock Text="Required Date:" TextAlignment="Right" Width="80"/>
    <TextBlock Name="txtRequiredDate" Text="{Binding Path=RequiredDate,StringFormat={}{0:MM/dd/yyyy}}" Margin="5,0,10,0" Width="75"/>
    There is no reason to bind TwoWay to a TextBlock.
    Hope that helps.
    Please remember to mark helpful posts as answer to close your threads and then start a new thread if you have a new question. Please don't ask several questions in the same thread.

  • Set read only attributes

    Is there a way to set read only for specific attributes of an Entity in MDS?
    RaghuM

    Is there a way to set read only for specific attributes of an Entity in MDS?
    RaghuM
    Hello,
    Please go through the following document, and then follow the steps to assign model object permissions:
    Assign Model Object Permissions (Master Data Services):
    http://msdn.microsoft.com/en-us/library/ff486969.aspx
    Note: The model object permission determine the attributes a user can access in the
    Explorer functional area of the UI.
    Regards,
    Elvis Long
    TechNet Community Support

  • When i try and open the auto cad Lt that i just downloaded i get this error The directory may be locked by another process or have been set Read Only. Directory: '/Users/hockaday' Please correct this problem and press OK to exit the application.

    i get this error why i try and open the auto cad that i just downloaded
    The directory may be locked by another process or have been set Read Only.
    Directory: '/Users/hockaday'
    Please correct this problem and press OK to exit the application.

    I did install it in the admin account.  Actually the computer has four accounts, one for my husband, where I installed it.  One for me which also is set to admin, one is called TEST and has nothing in it and one is guest user.
    I don't know how AutoCad is interfacing with the account.  That is why I am not sure what to do about it.  I read other threads in various places and some seemed to point to something having to do with having multiple users.  The solutions were not clear.  I was hoping someone else had this problem and could tell me what to do.  I tried apple support but no help.  I have not tried AutoCad yet as I assumed they wont help since this is a free educational version of their product.

  • How to Enable/Disable MessageTextInput Read Only property in PFR?

    Dear All,
    When i click on a submit button i need to enable/disable the Read only property of MessageTextInput item.
    Can any one tell me how to do this?
    I am executing the code
    if (pageContext.getParameter("EnableBT") != null) {
    OAMessageTextInputBean beanEmployeeIdCL = (OAMessageTextInputBean)webBean.findIndexedChildRecursive("EmployeeIdCL");
    beanEmployeeIdCL.setReadOnly(false);
    When i used the above code in Process Form Request method it is showing developer mode exception in run time as we can call the above code only in Process Request form.
    Request to please help regarding this.
    Thanks & Regards,
    CAK

    CAK,
    You need to make use of Partial Page Rendering (PPR) & SPELL. Modifying the bean property in PFR is not supported in OAF.
    Refer - PPR section of Devguide for more.
    Regards
    Gyan

  • Read-only user for Weblogic 6.1 sp2 console

    Is there a way to restrict a user to read-only priv. on the weblogic
    console? Either by using acl's or other means.
    Thanks in advance,
    Brown

    "Seb" <[email protected]> wrote in message news:3f33c3e2$[email protected]..
    >
    Hello,
    I'd like to create a read-only user for a customer that gives him acces tothe
    Console only for reading all the configuration. I don't him to modifyanything
    Is there a simple way to do this ?A previous post mentioned that this is not possible in 6.1.
    Brown,
    This functionality is not available in 6.1. The newest version of wls
    8.1 has this feature depending on the role that the user is in.
    ~satya

  • Read only user for Weblogic Server Console (6.1)

    Hello,
    I'd like to create a read-only user for a customer that gives him acces to the
    Console only for reading all the configuration. I don't him to modify anything
    Is there a simple way to do this ?
    Thanks in advance.
    --Seb

    "Seb" <[email protected]> wrote in message news:3f33c3e2$[email protected]..
    >
    Hello,
    I'd like to create a read-only user for a customer that gives him acces tothe
    Console only for reading all the configuration. I don't him to modifyanything
    Is there a simple way to do this ?A previous post mentioned that this is not possible in 6.1.
    Brown,
    This functionality is not available in 6.1. The newest version of wls
    8.1 has this feature depending on the role that the user is in.
    ~satya

  • Is BAM-reader only available for US IDs?

    Is BAM-reader only available for US IDs?

    I see it in the USA App store.  If you can't from your store, I would assume it's not available in your country.  AFAICT, all their physical stores are in the USA.

  • Fields in read-only mode for BP transaction in upgrade from 4.72 to ECC6.0

    Hello,
    This is regarding the query for BP transaction in upgrade from 4.72 to ECC 6.0.
    While creating BP / Changing BP system is disabling the fields in compnay code & sales area option. There is a SAP not provided 907860; and specified that the proplem is because of the delta customizing.
    All the customization settings are as per the note. And the Synchronization Control is also activated. But still the fields are disabled only.
    I have checked the field settings also in Cross-Application-Components & Logistic-Genral.
    But these are not working for compnay code & sales area data.
    please let me know if anyone has faced this type of problem / found any solution on this.
    Best Regards,
    Shubhada

    SAP IMG  -> Cross Application Components -> Master Data Synchronization &#61664; Synchronization Control -> Synchronization Control -> Activate Synchronization options
    This setting allows you to activate synchronization of BP with R/3. Not maintaining the values may result in certain fields being read-only in BP.
    Suggested Values:
    Source Object: BP | Target Object: CUSTOMER | Active Indicator : X
    Source Object: BP | Target Object: VENDOR | Active Indicator : X
    Source Object: CUSTOMER | Target Object: BP | Active Indicator : X
    Source Object: VENDOR | Target Object: BP | Active Indicator : X
    Have you set all of the above settings??
    BHARATH

  • Is there a way to set read-only on a file manually?

    Is there a secret keypress combo that will allow me to set
    the read-only attribute on files in the file inspector window? I
    can not use the check-in/out function because, IMHO, it is broken.
    Macromedia has given a menu ability to "reset" (turn off) the
    read-only attribute but they left out the "turn on" function. Would
    certainly help me a lot...anyone?
    Thanks!
    p.s. in order to defray wasted back-n-forth postings, here is
    why it is broken:
    1. I run DW8 locally while connected to the network with
    mapped fileserver drives (M:, P:, etc)
    2. I have the default website set up pointing to our
    DEVELOPMENT file server
    3. when I do a PUT the files are FTP'd to a different web
    server for public consumption
    4. the error is that if check-in/out is enabled, the files
    are pulled from the PUBLIC web server instead of just opening them
    from the DEVELOPMENT server like I clicked on...if I wanted to edit
    the live files I would have changed my site pointer to remote
    instead of local (good grief)
    5. this is bad because everyone else in the company uses that
    cr@ppy Frontpage and are constantly editing their division's
    webpages, which are in various stages of readiness. When I edit one
    of those pages I need to be editing the one they have been working
    on, NOT the one that is currently published to the public website!
    DW8 is doing more work than I want it to do by going out and
    grabbing the published page instead of simply opening the one I
    clicked on in the file manager window. That makes NO sense at all,
    and as a developer I certainly wouldn't have programmed it that
    way...

    quote:
    Originally posted by:
    Michael Hager
    The problem with any boxed software is that the developers
    can NEVER know how every possible customer will use the software.
    That's why, as a developer, they need to make
    the software have MANY more checkboxes in the options screen to
    allow the user to use the software the way they need to, not the
    way the developers THINK they will need to. Just look at Microsoft
    as a poor example of this--I am never so frustrated as when trying
    to use ANY of their Office products, which make easy tasks
    difficult and do not include some of the most common options that
    competing products have.
    quote:
    The Dreamweaver check out system actually works very well if
    it’s set up properly and administered strictly. If you set it
    up on your testing server with everyone set up on their work
    stations correctly it will tell you who has a file locked for
    editing. Once everyone is working as a team with good supervision
    and division of tasks under a strict policy set by management,
    Dreamweaver will work very well for your purposes. You
    shouldn’t have to lock and unlock files manually since the
    check in-check out function will do it for you nicely. When you are
    satisfied that all is well with the site or particular pages, then
    someone in a managing position can release or authorize release to
    the live site.
    The problem is that I am the only person using
    DW in the organization, everyone else is using Frontpage...blah...
    You and Murray have both alluded to a separate "testing"
    server. Perhaps I can make this system work by setting up the
    testing server as a duplicate of the development server in my site
    manager. Then I would have to manually publish the files from the
    testing server to the live production server myself. What a pain!!!
    I can not believe that I am the only person in the world that has a
    setup like this -- it seems very common to me. I would assume most
    government organizations are set up identically as us.
    <sigh>

  • Access read-only LDAP for username/password, Directory Server LDAP for rest

    Hello! I keep trying to find documentation on the above, but thus far I have been unable to find something that explains this well (and my attempts at figuring out thus far have failed).
    I have a read-only LDAP that is used University wide, and I am not allowed to change how it currently operates. It uses double-bind authentication in that you search for a user to get their DN, then bind to that DN with the users password to see if it was correct.
    I'd like to use the above setup to verify a user's credential as well as return some basic information about them (name, email, etc). After this, I'd like to use another freshly installed Directory Server LDAP to manage the roles that seem to be needed for Portal Server (as I cannot write to the original LDAP).
    Any help or advice on the above would be appreciated! Thank you.

    The authentication you described is the default way LDAP authentication works.
    AM Ldap auth-module allows you to 'pull' attributes from the LDAP server you're using for authentication and store it in it's 'amSDK' Directory Server - which is leveraged by Portal Server (if you're talking about Sun's Portal Server).
    However this is only done if the profile is created (set 'dynamic profile generation' in auth - service).
    As Portal Server does not support the new 'identity repsoistory API' of AM you have to stick to AM's legacy mode when using Portal Server.
    To keep the the data in sync (if needed) you have to write a post-auth class.
    -Bernhard

  • Form personalization for a read only responsibility for a custom form

    Hi,
    I have a read only responsibility. My requirement is to make a custom form updatable through this responsibility but wth a condition that only the specific custom form should be updatable and rest all other form accessed through read only responsibility be read only. How can i achieve this using form personalization?
    Pls give me detailed steps if possible.
    Thanks

    I tried override Query Only values through Forms Personalization but it did not work for me. With a bit of determination I might have been able to work around it but no luck on that front.
    You can do it this way, although it's a bit cumbersome:
    1. Clone every function and menu in the Responsibility
    2. In all but your custom function set the Function parameter QUERY_ONLY=YES

Maybe you are looking for

  • My mac pro keeps making a chirping cricket-like sound

    My Mac Pro keeps making a chirping cricket-like sound, more and more frequently. Has anyone else had this problem? Is this telling me one of my HD is going bad?

  • Unable to Connect to Other Computers on Network

    We have a small network of 4 Macs and suddenly one of our computers cannot connect to other computers on the network. We have file sharing turned on all the Macs, and the other computers can connect to this G4 733 DA, but the G4 DA can "see" the othe

  • ABAP and fields with NULL on a table

    If a table has columns where some rows contains NULL values and a SELECT * is done on that table, what values are returned to the ABAP program for those rows that contain NULL at the database level? Example: TABLE_A COL_A CHAR(20) NOT NULL COL_B CHAR

  • Ref_Cursor Issue

    Hi , I want to write an SP which should contain a sysrefcursor as O/P. The query to populate the sysrefcursor should be such that tablename,column name and value in the select query in where clause should be dynamic. What I mean is "select abc from <

  • Cannot load visual basic for applications

    I cannot load visual basic for applications on word doc