ADF inputText component not displaying the password value in desired format

Hi All,
I have an ADF <af:table component with a selectOneChoice as its partialTrigger. The problem is that when I navigate to the concerned page for the 1st time, the password textfield of the table displays the password in the desired format (dots), but when I change the value of the selectOneChoice component to another value and then reset it back to the original value with which the password should be displayed in dots format (as for the 1st time), the textfield is displayed as blank.
Help appreciated.
Message was edited by:
user562826
Message was edited by:
user562826

Thanks Frank,
My system is a Windows XP Pro SP2 version 2002, I don't use JDeveloper, I am using Eclipse 3.2 and tomcat 5.5
This is a step-by-step to reproduce the problem:
I move from a .jspx screen by clicking a commandLink component which takes me to an edit screen with the following table component:
<af:table id="methodProperties"
emptyText="#{res['info.noitems']}"                                             value="#{mbAdminMethod.tableModel}"                                        binding="#{mbAdminMethod.adminList.table}"
partialTriggers="methodType"
var="row"
banding="row"
bandingInterval="1"
width="100%">
<af:column                                                  headerText="#{res['admin.methodPropertyName']}" width="40%" noWrap="true">
<af:outputText value="#{row.name}"/>
</af:column>
<af:column                                                  headerText="#{res['admin.methodPropertyValue']}" width="60%" noWrap="true">
<af:inputText id="propertyValue"
value="#{row.value}"
secret="#{row.password}"
columns="40"/>
</af:column>
</af:table>
The partialTrigger "methodType" is a selectOneChoice component.
Once you navigate to this edit screen for the first time, the password is displayed in the right format (dots). While you are on this page and you select another value from the selectOneChoice, the page is refreshed. The problem is that, when you reset the value of the selectOneChoice component to the original value (which displayed the password in the right way), this time the password textField is displayed as blank.
Thanks.

Similar Messages

  • Module Pool for displaying the Grid values in Matrix format

    Hi Experts,
    I have one requirement which as follows,
    In Module pool program i need to display the Grid Values in Matrix format i.e,
    Row = Color
    Column = Size
    Like what we can see in Sales order or Purchase Order if you click Grid Entries Button.
    Can you Please Help me out.
    Thanks n Advance.
    Logu

    Hi
    the sources ate the function groups WMMB and WMMA.
    In a new release you should find the function module MGW_UTILITIES_MATRIX_SHELL_RA
    the report RWRFMATCHARVAL is a good example
    Regards
    Björn

  • Not to display the null values from data base

    Hiiii.
    In a jsp file i have ten check boxes.The jsp file is mapped to a servlet file for parameter requesting and to
    store it in DB.
    The unchecked box values has null values.All the values are store in a Mysql DB table.
    Again i have to display it in a jsp page from table.
    The problem am facing was,how can i display only the values in a row.it must not display the null values and the crresponding column name.
    Or any other way is their like below
    How i can retrieve only the selected check boxes from tht jsp file.and store in backend.
    Thanks in Advance
    regards,
    satheesh kannan

    Here is a rough example that may give you some ideas:
    On the JSP page:
    <%if(myData.getFirstName()!=null){%>
    Your First Name'
    <input type="text" name="firstName" value="<%=myData.getFirstName()%>">
    <%}%>
    In the servlet:
    String firstName= request.getParameter("firstName");
    if(firstName!=null){
    //write it to the database
    }

  • How to update zero to a column value when record does not exist in table but should display the column value when it exists in table?

    Hello Everyone,
    How to update zero to a column value when record does not exist in table  but should display the column value when it exists in table
    Regards
    Regards Gautam S

    As per my understanding...
    You Would like to see this 
    Code:
    SELECT COALESCE(Salary,0) from Employee;
    Regards
    Shivaprasad S
    Please mark as answer if helpful
    Shiv

  • Could not initialize the Password Store Database Link value in Preference Store

    I have 9iAS release 2, insfrastructure and midtier installed on the same Windows 2000 box...
    I am trying to install and configure portal on remote machine (solaris) on RDBMS 9.0.1.4...
    - Portal installation was no problem
    - creating a new DAD was no problem
    Now, I am trying to configure portal with MIDTIER mode...It falls over on STEP 1 for INSTALL_ACTION:assocPortalToExistingSSO() module with following error message:
    "SQL> Could not initialize the Password Store Database Link value in Preference Store
    ERROR: User-Defined Exception"
    Database link is been created on my remote database by ptlasst.bat command...
    How do I see whether that DB LINK is working properly ?
    Any comment would be helpful...
    Jagdish

    I found the problem to the iTunes Music Store connectivity. When iTunes version 6 is installed, it places a configuration / preferences file in the following location:
    "C:\Documents and Settings\<user>\Application Data\Apple Computer\iTunes\iTunes.pref"
    This file contains several very large keys:
    Preferences:129= (41,826 characters in length)
    Music Store= (1,722 Characters in length)
    Somewhere in these keys is stored are references to userid's, connections or other TCP/IP / internet connectivity objects that are being used when iTunes is installed. By deleting this file, these old setting appear to be cleared out.
    In my case, one or more of the keys in this file appear to have been storing a property from my old dial-up ISP connection that was no longer valid for my new, Comcast cable modem connection.
    Once I deleted this file, and re-started iTunes, it was as if I had never run the software before. I bypassed the option for searching for and importing .mp4's from My Music, and Itunes opened correctly, with full access to the music store. My library and playlists were intact and all is well.
    Apple should re-write the protion of iTunes codes that stores anything pertaning to an internet connection that may change over time. Alternatively, iTunes should either A) Prompt for this information B) Enable user access to this parameter in a settings dialog C) Access this information dynamically at runtime.
    Paul

  • Strange scenario,Oracle can not display the data in mysql correctly

    I use Heterogeneous Service+ODBC to achieve "oracle access mysql"(any other method?),and now i find Oracle can not display the data in mysql correctly:
    -------mysql------------
    mysql> create table tst(id int,name varchar(10));
    Query OK, 0 rows affected (0.00 sec)
    mysql> insert into tst values(1,'a');
    Query OK, 1 row affected (0.00 sec)
    mysql> select * from tst;
    ------------+
    | id | name |
    ------------+
    | 1 | a |
    ------------+
    1 row in set (0.00 sec)
    mysql> show create table tst\G
    *************************** 1. row ***************************
    Table: tst
    Create Table: CREATE TABLE `tst` (
    `id` int(11) DEFAULT NULL,
    `name` varchar(10) DEFAULT NULL
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8
    1 row in set (0.00 sec)
    -------------oracle ------------------
    SQL> select count(*) from "tst"@mysql;
    COUNT(*)
    49
    SQL> select * from "tst"@mysql;
    id
    1
    SQL> desc "tst"@mysql;
    Name Null? Type
    id NUMBER(10)

    You can make the following query on the result page:
    "select * from the_table where movietitle = ? and cinema = ?"
    then you set movietitle and cinema to those which the user selected. If the resultset contains more than 0 rows, that means the movie is available.
    Below is the sample code, it assumes you have a connection to the database:
    PreparedStatement stat = myConnection.prepareStatement("select * from the_table where movietitle = ? and cinema = ?");
    stat.setString(1, usersMovieTitleSelection);
    stat.setString(2, usersCinemaSelection);
    ResultSet res = stat.executeQuery();
    if (res.next()) {
    out.print("The movie is available");
    } else {
    out.print("The movie is not available");
    }Now just add that to your JSP page. Enjoy ! =)

  • Firefox is not displaying the correct font color on my blog, but other browsers are.

    I have a web designer issue. Firefox is not displaying the correct font color on the header in my blog. Explorer, Chrome, and Safari have no problems. The page is in css but this particular section has html code o designate color. The code is as follows:
    <font face="helvetica" color="FF9966" size="1">blog</font>
    Though all other browsers display the light orange color designated, Firefox displays white. Strangely, if if retype the code by spelling out a color, Firefox displays it correctly. i.e.
    <font face="helvetica" color="black" size="1">blog</font>
    ... will give me black. You can see the effect by viewing the link below and looking at the word "blog" in the header, which should be light orange but is not in Firefox.

    Actually it also seems to work in the current Firefox 4 beta as it is.
    The code is not right though - the correct syntax for the color attribute with hex values is with a # at the start, so:
    color="#FF9966"
    It might work in Firefox 3.x if you change that.

  • Error :Value of restricted LOV parameter not among the selectable values

    Hi,
    I am designing a report which has two layouts. I have a parameter :P_Reason_code which is applicable to only one layout.
    There is a repeating frame in my first layout which should display only if :P_Reason_code value is 'Y'.
    I have wriiten a format trigger for this repeating frame saying the repating frame should return true if :P_Reason_code value= 'Y'.
    else, it should return false meaning it shouldnt display.
    :P_Reason_code is an optional parameter when i run it at the oracle apps front end.
    The problem that i am facing is that when i run the report for the second layout by not providing value for the parameter :P_Reason_code
    , it errors out saying "REP-0788: Warning: The value of restricted LOV parameter P_REASON_CODE is not among the selectable values.'
    I tried creating another user parameter P_REASON_CODE1 and putting a trigger in the After parameter form trigger saying
    if P_REASON_CODE is null then
    P_REASON_CODE1 :='Y';
    P_REASON_CODE := P_REASON_CODE1;
    ELSE
    P_REASON_CODE1 := P_REASON_CODE;
    P_REASON_CODE := P_REASON_CODE;
    END IF;
    But still it doesnt seem to work.
    What could be the issue?
    Can anyone help?

    try setting the default-value for the parameter to Y (or whatever value is in the LoV defined for the parameter).
    Is there a parameterform used for the report. If not remove the LoV from the parameter.

  • How to force JTree to not display  the leaves

    Hi
    Is there anyway to force JTree to not display the "end nodes" so to speak.
    What I want is that if a node is a leaf and is not allowed to have children
    I do not want the JTree to display them.
    I need this to build a component for a custom file system view like Windows Explorer
    which contains a tree with folders on the left and and contents of the currently selected( expanded)
    folder on the right. But Explorer does not display any files in the left pane, only folders.
    So I need to implement the same in my component

    This will give you some things to think aboutimport java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.tree.*;
    import javax.swing.event.*;
    import java.util.*;
    public class Test3 extends JFrame {
      Vector nodes = new Vector();
      DefaultMutableTreeNode root = new DefaultMutableTreeNode("Root");
      DefaultTreeModel dtm = new DefaultTreeModel(root);
      JTree jt = new JTree(dtm);
      JCheckBox jcb = new JCheckBox("Allow Expansion");
      Random r = new Random();
      int nodeCount=0;
      public Test3() {
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        Container content = getContentPane();
        addNodes(root,0);
        content.add(jcb, BorderLayout.NORTH);
        content.add(new JScrollPane(jt), BorderLayout.CENTER);
        jt.addTreeWillExpandListener(new TreeWillExpandListener() {
          public void treeWillCollapse(TreeExpansionEvent tse) {}
          public void treeWillExpand(TreeExpansionEvent tse) throws ExpandVetoException{
            if (jcb.isSelected()) return;
            TreeNode tn = (TreeNode)tse.getPath().getLastPathComponent();
            Enumeration e = tn.children();
            boolean expand = false;
            while (!expand && e.hasMoreElements()) {
              if (((TreeNode)e.nextElement()).getChildCount()!=0) expand  = true;
            if (!expand) throw new ExpandVetoException(tse);
        setSize(400, 400);
      private void addNodes(DefaultMutableTreeNode parent, int level) {
        int cnt = r.nextInt(3)+3-level;
        for (int i=0; i<cnt; i++) {
          DefaultMutableTreeNode node = new DefaultMutableTreeNode("Node"+nodeCount++);
          parent.add(node);
          nodes.add(node);
          addNodes(node, level+1);
      public static void main(String[] args) { new Test3().setVisible(true); }
    }

  • Select list: Display the selected value using JSP

    Hi
    I have a select list with a set of values and when I select a value from the list I want the selected text to appear on the screeen. How do I display the selected value?
    Please help:
    Here is the code for the list:
    <select name="arraySelect" size="8" onclick="">
    <%for (int i = 0; i < dumpArray.length; i++) {
    if( i == 3){
    %>
    <option value="<%=dumpArray%>" selected><%=dumpArray[i]%></option>
    <% i++;} else %>
    <option value="<%=i%>"><%=dumpArray[i]%></option><p>
    <% } %>
    </select>
    <% String name;
    name = request.getParameter("arraySelect");
    out.println(name);
    I tried request parameter but it did not help. How can I do it?

    did you submit your page?

  • Pagelet is not displaying the content

    Hi All, I am facing an issue where in the pagelets content is not loading into the page.
    We have upgraded from the tools 8.49.23 to 8.52.09. After that when I am checking the pagelets its not displaying the content. But it displayes all my pagelets as a boxes. All pagelets are not in minimized mode.
    I have checked the code which load the page. Its component based pagelet. we are passing the URL to HTML which is using iFrame as given below.
    <iframe src="%Bind(:1)" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" width=%Bind(:2) height=%Bind(:3) style="overflow:hidden; width:100%;"> </iframe>
    %bind(:1) is the component url. I have test this URL independently and is showing the content. Not sure why is this not rendered inside the iframe pagelet?
    I am able to see the pagelet content using personlize preview pagelet option as well. Can anyone help me to understand Why it is not loading inside the pagelet?
    Edited by: 923121 on 17-Sep-2012 06:45
    Edited by: 923121 on 17-Sep-2012 22:23

    There seems to be a new configuration page that might be controlling the display of the Toolbar.
    Navigation: Main Menu > Enterprise Components > Component Configurations > Toolbar > Toolbar Definition
    See: HCSC_NOTIFICATION
    Not sure, if any of the data in these tables were accidentally deleted in your upgraded environment?

  • UserPrincipal.ChangePassword thinks the password does not meet the password policy requirements.

    I am working with C# 3.5.  My goal is to have a simple program to allow a user change their Active Directory user password via a web page.  I have a console application to initially test the commands to active directory and I am running into a problem.
    my domains password policy is as follows.
    Enforce password history 24 passwords remembered
    Minimum password length 7 characters
    Password must meet complexity requirements Enabled
    Store passwords using reversible encryption Disabled
    The error I am getting is "The password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements. (Exception from HRESULT: 0x800708C5)"
    I believe the new password I am using does meet the policy requirements and I can't seem to get this program to work.  All I want to build is a simple program to allow a user to change their Active Directory user password.
    My test code is below.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.DirectoryServices.AccountManagement;
    using System.DirectoryServices;
    namespace ActiveDirectoryHacking
    class Program
    static void Main(string[] args)
    PrincipalContext adPrincipalContext = new PrincipalContext(ContextType.Domain, "192.168.1.26", "OU=Staff,DC=SFdev,DC=org", "John.Doe", "Initial Complex P234dfword");
    Console.WriteLine("Validate user {0}", adPrincipalContext.ValidateCredentials("John.Doe", "Initial Complex P234dfword"));
    UserPrincipal user = UserPrincipal.FindByIdentity(adPrincipalContext, "John.Doe");
    Console.WriteLine(user.DistinguishedName);
    user.ChangePassword("Initial Complex P234dfword", "e$213434sDKS really? www.microsoft.com");
    //user.SetPassword("Initial Complex P234dfword");
    user.Save();
    Console.WriteLine("Press a key to exit.");
    Console.ReadKey();
    The .SetPassword works if I use a user with Domain Admin access but it appears the John.Doe is unable to change their own password with the .ChangePassword method.
    The output until the exception is the following
    Validate user True
    CN=John Doe,OU=Staff,DC=SFdev,DC=org
    I have no clue why any password I select for the new password does not work.

    I looked into the password policy and this is what I have learned.  There is a major difference between undefined and defined in policies plus making sure the defined policies are set with values that will provide the desired results.
    Since this is a development domain and is used for testing I have tweaked the password policy to allow me to develop and test against the domain with a little bit more freedom than a production domain.
    I have changed the policy to the following settings. 
    Enforce password history 0 passwords remembered
    Maximum password age 0 days
    Minimum password age 0 days
    Minimum password length 7 characters
    Password must meet complexity requirements Disabled
    Store passwords using reversible encryption Disabled
    Now, I am able to run my program against the domain testing the password change utility.  My error was leaving some of the policy settings as not defined and not understanding what that really means for each setting.  For development of a password change utility I need the flexibility to test and the relaxed policy changes allows me to run the program many times without having to work with test data that works around a more restricted policy.

  • Ttitle not displaying the title when no rows selected from a table

    My requirement is display the Ttitle value even when there are no rows fetched from a table. I tried the following -it didn't work. We are on Oracle 9.2.0.7.0. Anybody has thoughts on this... your help greatly appreciated.
    ORACLE_SID = [oracle] ? ABCDE
    PSDEVDB1:>sqlplus babu
    SQL*Plus: Release 9.2.0.7.0 - Production on Mon Jul 10 17:56:52 2006
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Enter password:
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.7.0 - Production
    SQL> ttitle center 'testing'
    SQL> column x noprint
    SQL> select 'x' x from dual;
    testing
    SQL> select *from mytable3;
    testing
    NAME NO
    KUMAR 10
    RAMU 10
    BABU 10
    SQL> select *from mytable3 where no=20;
    no rows selected
    SQL>

    If your concepts are clear for Right outer join, Left outer join and Full outer join you can achieve what you are looking for.
    http://www.oreillynet.com/pub/a/network/2002/04/23/fulljoin.html
    Play with the data and may the force be with you.

  • JComboBox is not displaying the down arrow..

    jComboBox is not displaying the down arrow..
    I was first using the "choice" component but was having problems with the size only on Unix. So I changed it to a jComboBox and I'm having problems on both NT and UNIX. First the down arrow doesn't show up on NT....and the drop down doesn't even show up on UNIX.
    Any ideas?
    Thanks!
    pt

    could be coz you have not left enough room for it on the layout of your JPanel?

  • Not reflecting the new value of the AWvariable

    I am working with Jdeveloper and BI beans
    we are using Java Analytical workspace API for connecting and saving the user input as a Analytical workspace Variable
    by using fallowing code
    awConn.executeCommand("awvariable=value");
    here the problem is i can not made this assignment perminent in Analytical Workspace
    i.e after execution of the program i checked with AnallyticalworkSpace manager's worksheet it not reflecting the new value of the AWvariable. It is showing only old value.
    how can i do that assignment it from java api .
    any one can help me

    That other post looks different, though - the OP is now manipulating the model.The OPs statement of the problem was:
    Adding new data to the exitsting model causes the JList to display blank when I refresh the screen.
    The suggestion in the other posting was to change the model not the array and the tutorial has a working example of this.
    The OPs question was:
    When my action performed creates a new instance of the model everything works fine but is this how it should work?
    The answer to this is no, you don't need to change the model, just update the model.
    So if the OP read the other posting and read the tutorial they should have an answer to their problem.
    As you suggested there is no need to create a custom model. The example in the tutorial uses the default list model, if the OP read the tutorial they would know that.

Maybe you are looking for

  • Read out Loud problem in Adobe Reader X

    I tried the Read out loud feature of Adobe Reader X, but it does not seem to be working. I am using Adobe Reader X on windows XP sp3 when i click activate read out loud it gives me to more options in the view menu to read current page and read entire

  • Robocall Blocking is incompatib​le with FIOS Freedom Essentials

    I receive a half-dozen robocalls each day, so I decided to sign up for NOMOROBO's robocall blocking service. However, I was unable to complete my registration because the Simultaneous Ring feature apparently is unavailable with FIOS Freedom Essential

  • IPad touchscreen malfunctioning

         I recently updated my iPad mini to iOS 7, and everything was going fine until a few days ago. I was on Safari and the touchscreen began responding to something other than my touch. It randomly clicks links and scrolls up and down without me touc

  • Dropped frames on the timeline... why ??

    Hi everybody, This is my first post here... i'm French, so please excuse my english I have a little but very annoying problem on Final Cut Pro 7. I work with a Canon HV40, HDV 1080 25p. The FCP project is set on HDV 1080 25p. When i play the imported

  • Worklfow for GR of Production order.

    HI .... is there any standard worflow template for GR of production order using MB31. Thanks in advance.