ReportContextAttributeMessage does not highlight field

Hi
I have a node named Params, and I have created the elements under that dynamically. One of the elements created dynamically is "Rating".
I need to check if the input field(created dynamically) mapped to "Rating" is null or not. if it is null, I need to report a message and highlight the field.
I have a validation helper class, that Im calling, with the method:
public static void raiseError(IWDMessageManager messageMgr, IWDMessage message, IWDNodeInfo node,
IWDNodeElement element, String fieldName, String fieldLabel)
IWDAttributeInfo attributeInfo = node.getAttribute(fieldName);
messageMgr.reportContextAttributeMessage(element,attributeInfo,message,new Object[] {
     fieldLabel },true);
I have done everything thats necessary and am calling the validation class raise error with all the attributes as follows:
ValidationHelper.raiseError(messageMgr, IMessageEmployeeRating.MESSAGE,
wdContext.nodeParams().getNodeInfo(), wdContext.currentParamsElement(), "Rating"+i, "The rating
has not been entered");
The problem is that the message "The rating has not been entered" is displayed as expected, but the field is not highlighted or outlined red.
What could be wrong?
BTW, Im on EP 7.00 SP 13.
Thanks
OJ

Hi Manoj
Yes, the attributeinfo is for the same attribute im checking, and the element is the current element.
Im still not able to fugure out what the problem is.
There was a recent upgrade of patches in my system. Do you think this could have caused it? It was working prior to that. I searched for some docs or Notes on it, but found none.
Thanks.
Edited by: Jo on Jan 29, 2008 4:58 PM

Similar Messages

  • When I open iWeb it does not "Highlight" the New site or new page options. It ahs had this issue for over a year! I have tried uninstalling and re-installing it. What do I do? It opens the tutorial video, then when you close it, nothing else is clickable.

    When I open iWeb it does not "Highlight" the New site or new page options. It has had this issue for over a year! I have tried uninstalling and re-installing it. What do I do? It opens the tutorial video, then when you close it, nothing else is clickable.

    Open iPhoto, select a couple of photos and use the Share ➙ iWeb ➙ Photo page menu option.  That has jump started iWeb for others.  I could take a couple of tries.
    If that doesn't work try the following:
    1 - delete the iWeb preference file, com.apple.iiWeb.plist, that resides in your
         User/Home()/Library/ Preferences folder.
    2 - delete iWeb's cache file, Cache.db, that is located in your
         User/Home()/Library/Caches/com.apple.iWeb folder. 
    Click to view full size
    3 - launch iWeb and try again.
    OT

  • Left arrow that brings you to last site does not highlight or work.

    When I move from home screen to second site after a search the left button < does not highlight and I can not go back to a visited site. This has happened to me on more than one computer.

    See http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • 0CRM_OPPT_H always does not extract field BWSTONESYS4

    Hi,
    The extractor 0CRM_OPPT_H always does not extract field BWSTONESYS4 “BW status”. However by transaction CRMD_BUS2000111 I visualize the status E0003 Won. 
    Can you help me?
    Versions:
    CRM 5.0
    BW 7.0
    PS: Sorry about my English. I speak Italian and French

    Hi All,
    I am facing the same problem..
    standard 0CRM_OPPT_H dose not contain the 'STATUS' field, e.g. E0001
    I found that maybe we can find that field by join the following three tables and the oppt guid.
                    CRM_JEST
         CRM_JSTO
         TJ30T
    but it is too suffering....
    anyone can help?

  • SQL Compilation does not highlight erroneous construct

    Hi,
    When I execute a query in SQL Worksheet, if there is an invalid column, it does not highlight which column is invalid. It just gives me a message. Is that a feature fixed in R4? I'm using R3.
    Thanks
    Alex

    I am having exactly the same problem running on Oracle 7.1 I was wondering of anyone has any good ideas on how to resolve this problem in Oracle 7.2.3

  • My disk utility option to turn off encryption does not highlight so I can't turn off the encryption of my external hard drive with time machine back up

    I have an iMac and Retina MBP. I use Time Capsule for backup of iMac and I wanted to use an external hard drive attached to time capsule as time machine backup. The problem is that I encrypted previously that external hard drive and now Time Capsule does not recognize it.
    When I try to turn off encryption with Disk Utility, that option is not highlighted so I cannot use it.
    I tried with terminal but it answers The given UUID is a not a CoreStorage Logical Volume UUID

    Can you plug in the hard drive directly to your MBP and then decrypt the hard drive?  You should be able to do this by opening up Finder and then either right clicking the hard drive (holding down two fingers and clicking) or holding down ctrl and then clicking on the hard drive.

  • JTree calling setSelectionPath() does not highlight new selection

    I have looked throughout many forum entries and this question has been asked a few times but I have not seen a solution that works at least for me.
    When I do the following:
              TreePath path = new TreePath(...)
    this.tree.setExpandsSelectedPaths(true);          // not sure if I need this
              this.tree.getSelectionModel().setSelectionPath( path ); // this alone should work correct?
              this.tree.scrollPathToVisible(path);
    The original selection disappears (no highlighting) but the new one selected does not
    I have also tried calling just for fun ...
         this.tree.getSelectionModel().resetRowSelection();
    and this.tree.getSelectionModel().reload( path.getLastComponent() );
    Does anybody have an idea of what may be going wrong ? The selection path is valid as I have verified it with the debugger.
    Any ideas or suggestions are much appreciated
    thanks
    Doug

              TreePath path = new TreePath(...)
    The devil is in the details... Unfortunately your case's details are in the ellipsis! :o)
    Try to provide an SSCCE to get informed help, otherwise you can only hope that we guess well. That being said, here is my "guess":
    A preliminary: JTree renders selection by comparing nodes pathes with the selection path(es).
    As is common in the Java world, these comparisons rely on the equals() methods of the objets that make up the TreePath's components.
    If any of the classes involved does not override equals, the corresponding components objects will be considered equals only if they are identical. In other words, a TreePath which contain a "new" instance of whatever class that does not override equals() will never be considered equal to any TreePath created formerly.
    Now comes the gory part: DefaultMutableTreeNode (which is the most often common build block of TreeModels and TreePathes) does not override equals().
    So if your TreePath are made of DefaultMutableTreeNode components, they will never be considered equal unless they use the same DefaultMutableTreeNode instances, which would somewhat not be a common nor practical way of building TreePathes.
    The original selection disappears (no highlighting) but the new one selected does not Under my assumption:
    - the original selection disappears (because by construction the original selection's TreePath it is not equals() to the TreePath passed in argument to setSelectionPath(...)).
    - no new selection is rendered (because by construction no TreePath in the JTree's model can be equals() to the TreePath argument).
    Does anybody have an idea of what may be going wrong ? The selection path is valid as I have verified it with the debugger.Under my assumption:
    - you may have verified that the TreePath seemingly contained the expected values (often rendered in a debugger using toString() calls)
    - you may have overlooked that the TreePath components were not the same references.
    - you may not have executed step-by-step the TreePath.equals() methods nor the equals() method of the path's components.
    Keep in mind that this is just an assumption, based on your code fragment (and on prior painful experience with JTree). If i'm off base and you still need help, please post an SSCCE as sugested previously.
    Edited by: jduprez on Oct 11, 2009 12:53 PM

  • When printing from web pagess, right margin cuts off print, cant seem to reconfigure. Frames select on print choices does not highlight for printing options. What will help?

    Using a Dell Dimension E310 with Windows XP and Dell photo 924 Print/Scan/Copier. When printing from web pages on the browser the right portion of the print is cut off. It appears that the "folders" frame on the left side of the page is always printing with the page, which cuts off the print on the right side of the main page frame by the width of the "folders" frame. When I select the print command, the choice for selecting a particular frame to print is on the drop down menu, but is not highlighted for use. We have had this problem with Firefox for some time. Printing from IE or Word, etc. does not produce the same problem. We like Firefox otherwise. What is the fix?

    You're right: most web pages do not use frames, so that option usually is not available.
    I don't know why a page that printed just the main content before would change to printing with useless sidebars. Can you try the site in Firefox's Safe Mode and see whether it prints/previews correctly there?
    First, I recommend backing up your Firefox settings in case something goes wrong. See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, try starting Firefox in Firefox
    [http://support.mozilla.com/kb/Safe+Mode Safe Mode]. Be careful not to "reset" anything permanently if you didn't back up.
    Does that fix it? If so, the difference usually is caused by one of your add-ons. You can restart the regular way and disable all non-essential add-ons here:
    orange Firefox button ''or'' Tools menu > Add-ons
    In particular, check the Extensions category.

  • Castor:Marshalling java class does not yield field of same type as class

    Hi,
    I am using Castor for marshaling java classes into xml.
    It works fine except for a field which is in super class and of type as super class.
    I have used mapping files to provide field by field mapping to xml elements.
    <class name="com.xyz.GenericNode">
    <field name="parent" type="com.xyz.GenericNode">
    <bind-xml name="parent" node="element"/>
    </field>......
    </class>
    <class name="com.xyz.ResourceNode" extends="com.xyz.GenericNode">
    </class>Now when I see the marshaled xml it does not have the *<parent>* element for the ResourceNode.
    All other elements for all other fields are generated.
    I want to know whether my assumption that I will get the parent element in the binding xml for ResourceNode is valid or not.
    If not, then how else would I get the parent element. Because of this whenever I am un-marshaling these xmls for generating objects(ResourceNode Object) it gives null for parent field and I am not able to use it as per the logic.
    Please help me with this.
    Thanks

    Please send any suggestions / pointers.

  • "Save for Web and Devices" does not highlight in my Mac CS5

    I cannot even get the 'Save for Web and Devices' to work at all. It does  not come up as a highlighted choice on my Mac CS5 for any image file  format. I've tried in 64 and 32 bit. I wish I had stuck with CS4 until  CS5 worked. Anyone got any tips?

    1) You can run multiple releases on the same system. This is especially useful if you have an established workflow and you need to ease into an upgrade,
    2) You can download a trial of CS5 before blowing £200 to see if it does all that you need.

  • OIM LDAP connector does not update fields

    Hi,
    I have installed and configured LDAP connector to SunOne directory server. All default adapters configured in the process form seem to work. But when I added my own attributes and used the adpIPLANETMODIFYUSER to update the values to LDAP server, nothing happened. The create user action works with the new attributes. It does not do anything when I change the values of those user defined fields.
    Any help will be appreciated.
    Iris

    Hi Iris,
    For a process task to be called the name of the task should start with label of the field.For example if the Last Name field is updated the task name should be 'Last Name Updated', So make sure your task name is like that.
    Also check the Conditional box in the Task. This will make the task called when a condition is met. Also enable the adapter to be called during the Pre-Update in the event handler form.
    Lookup definition is the mapping defined from xellerate resource profile to the end resource. If it is a new field which is not added by default, then you have to update the lookup definition. For example for AD there is a mapping called Atmap.AD. I am wondering if there is such mapping for iPlanet.(Check if the lookup definition is present).
    Thanks.
    Subhani Shaik

  • TS3048 My left and right arrow on my wireless keyboard is not working.  It does not highlight in the keyboard viewer.  What's next?

    My left and right arrow on my wireless keyboard are not working.  I've looked at the keyboard viewer and see that they do not highlight.  What do I do now?

    Hello:
    Try resetting the PRAM.
    Barry

  • TS3356 I have compiled my movie and I downloaded it into iphoto.  I then transfered it to imovie.  The movie shows fine, but when trying to export it to facebook, the share menu does not highlight.  Any help would be appreciated.

    I have compiled my movie and I downloaded it into iphoto and then transfered it to imovie.  The problem is that the movie plays fine, but will not highlight on the

    You may be attempting to Share (export) the movie from the Event Library. You need to create a Project, drag clips (or segments of clips) from the Event to the Project, then use the Share menu to export the Project. Movie clips can't be exported directly from the Event. Clips you add to a Project reference (point to) the clips in the associated Event (or Events).
    For more information, see the following iMovie Help topics:
    Start a new video project -
    http://help.apple.com/imovie/#mov3a61ee67
    Add video to a project -
    http://help.apple.com/imovie/#mov3a62377a
    The Help topics are also accessible from within iMovie. Click on the iMovie menu item "Help>iMovie Help".
    John

  • TS2621 settings will not allow me to click on email, it does not highlight email, account, or fetch new data

    Please give me some assistance with a problem that we have encountered with our ipod touch. We have lost the camera app, and most of all we need to change the email address on the ipod touch but when I go to settings, the email account, add account, fetch New Data will not highlight to allow me to click on them to access them to change them.
    I have forgotten the password on the ipod also, we set it when we first purchased it for my daughter and never used it again and we cannot remember for the life of us what that pass code is now.
    Thank you very much for your time with this matter.
    Catrina Hernandez
    <Email Edited By Host>

    Cat5214 wrote:
    I have forgotten the password on the ipod ...
    If you cannot remember the passcode, you will need to Restore the device...
    Connect to iTunes on the computer you usually Sync with and Restore...
    http://support.apple.com/kb/HT1414
    If necessary Place the Device into Recovery mode...
    http://support.apple.com/kb/HT1808
    Note on Recovery Mode.
    You may need to try this More than Once...
    Be sure to Follow ALL the Steps...
    But... if the Device has been Modified... this will Not necessarily work.

  • Immediate postback does not retain field values under a dataTable

    A fairly common input dialog requirement is allowing the user to enter a variable number of rows of data -- as a concrete example say the form has one <h:inputText/> for a subject followed by a <h:dataTable/> initially with one <h:inputText/> for a URL, with a <h:commandButton immediate="true"/> called "Add Row". The user fills in subject, enters a URL, and then pushes "Add Row" to allow the entry of a second URL. This is an "immediate" button, and the action just adds a new element to the backing bean property which is a list of URL's.
    This almost+ does what the developer wants -- the form is redisplayed with a new empty URL row, the subject field remains filled in with what the user already entered, but the problem is the already filled in URL field is reset to blank.
    So it appears that input fields inside of a <h:dataTable/> do not retain user input if the form is submitted in immediate mode, but fields outside of <h:dataTable/> are preserved.
    I am using Sun's RI JSF 1.2, and it is not clear if this is just a bug, or some fundamental limitation. Given that the input fields in a data table have unique names that include the row index it seems possible that the posted parameters for the rows in a data table that remain after the action method adds or removes a row can be applied to the new view, just like for fields outside of the data table, and furthermore, this is what the user and developer would expect.
    The questions are:
    <ol><li>Is this a bug?</li>
    <li>If it is not a bug, what is another way to achieve the desired behavior?</li>
    </ol>

    EEG wrote:
    Hello.
    I'm using Apex 4.1.0 on Oracle 10.2.0.5 and Oracle app server (mod_plsq).
    Unfortunately, whenever I change this field to "InActive" in an existing row and then click my "Add Row" button, the tabular form re-appears with a new row but the modified row still has "Active" as the setting.
    I checked the values in my COL_CHOICES collection to be sure that the "active_status" field actually changed from "Active" to "InActive" for the existing/modified row. And it did. The modified row in the collection shows "InActive" as the value, even though the page displays "Active" for the value.
    How then can I make this drop down show the actual modified value?
    I've looked at the APEX_ITEM docs and have tried various combinations of the parameters but nothing works.The second parameter to <tt>apex_item.select_list</tt> is the value for the control. Your code has
    apex_item.select_list(16, null, 'Active;Y,InActive;N', 'style="color:darkred;"', 'NO', '%NULL%', '%', 'f16_' || '#ROWNUM#', NULL, 'NO') active_statusThis will always have the value NULL and thus default to the first option "Active". You need to use the appropriate column from the collection here instead of NULL:
    apex_item.select_list(16, c021, 'Active;Y,InActive;N', 'style="color:darkred;"', 'NO', '%NULL%', '%', 'f16_' || '#ROWNUM#', NULL

Maybe you are looking for