Converter property editor locale always blank

While doing the Tutorial 'About Converters' at http://devservices.sun.com/premium/jscreator/standard/learning/tutorials/converters.html
Specifically while viewing the sample code for "Example Two: Using Converters for Numeric Formatting" I noticed that no matter what I enter for a locale in the converter's property editor in the Java Studio IDE the properties always remains blank in the IDE (and are not set in the constructor either). I'm speaking specifically about the locale. It never gets set for me unless I do it manually in the constructor myself.
I see from the example code provided for Converter_ex2.zip (http://devservices.sun.com/premium/jscreator/standard/learning/tutorials/converters/Converter_ex2.zip)
that the value for locale is set in the constructor for Page1.java (code below).
            numberConverter1.setType("currency");
            numberConverter2.setType("currency");
            numberConverter2.setLocale(new java.util.Locale("en", "GB"));
            numberConverter3.setType("currency");
            numberConverter3.setLocale(new java.util.Locale("de", "DE"));
            numberConverter3.setCurrencySymbol("E");   Despite that the code is in the constructor the IDE properties editor for the numberConverter locale is blank.
Just wondering why the property editor is always blank for the locales? This happen to anybody else?

Hi,
I was able to reproduce the behaviour you have described. I have filed a change request on yoru behalf.
We thank you for your valuable feedback.
Cheers :-)
Sun Microsystems

Similar Messages

  • Upgrading to JSF 1.2,  error: Property Editor not registered

    we have a JSF appliction working well on Jboss 4.0.5GA using myfaces 1.1. Now we are moving to jboss 5.0.1GA that uses jsf ri 1.2. After fixing some issues, finally we got the following error for our custom component at runtime:
    <x:hello value="#{bean.name}" />
    org.apache.jasper.JasperException: Unable to convert string "#{bean.name}" to class "javax.el.ValueExpression" for attribute "value": Property Editor not registered with the PropertyEditorManager.
    org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:887)
    It works for myfaces 1.1 version. What is the possible reason? Thanks for any information.
    Dave

    Thanks a lot for response!
    We are using weblogic10.3
    We had MyFaces jars and things are very fine. We are planning to use Iceface which required JSF 1.2
    I had taken jsf-api-1.2.jar and jsf-impl-1.2.jar and latest supporting jars.
    Now I am getting below error with existing jsp
    welcome.jsp:31:25: No property editor found for the bean "javax.el.ValueExpression".
    <h:outputText value=_"click here"_ styleClass="TXT" />
    ^----------^
    welcome.jsp:31:25: No property editor found for the bean "javax.el.ValueExpression".
    <h:outputText value="click here" styleClass=_"TXT"_ />
    ^----------^
    It is throwing while compiling jsp for almost all the places....
    Is there any extra configuration required which is specific to jsf 1.2?
    Edited by: nishantparmar on Jun 13, 2009 8:30 AM
    Edited by: nishantparmar on Jun 13, 2009 8:31 AM

  • Installed ES - Error when loading adminui: Property Editor not registered with the PropertyEditorManager

    I just installed LiveCycle ES on a Windows 2003 virtual machine using the WebSphere application server.
    Everything is finally installed, but now when I try to access the adminui url (http://xxxxx:9080/adminui/login.faces) I receive the following exception:
    Error 500: com.ibm.ws.jsp.JspCoreException: Unable to convert string 'adminUIResources' to class javax.el.ValueExpression for attribute basename: java.lang.IllegalArgumentException: Property Editor not registered with the PropertyEditorManager
    Am I missing something?  What now?

    You shouldn't have any appserver specific libraries in WEB-INF/lib (covered by the webapp's default classpath). Further on the appserver/lib (covered by the appserver's default classpath) should only contain appserver specific libraries and at highest 3rd party libraries which are going to be shared among all webapps. Finally you should NOT have added or modified anything in the jdk/lib (covered by the runtime's default classpath).
    So in case of a default and unmodified environment everything should just work flawlessly. In your specific case it seems that you've unnecessarily added/copied appserver specific libraries in the WEB-INF/lib or that you have duplicated EL libraries from (another) appserver in the appserver/lib or maybe -more worse- in the jdk/lib.

  • Property Editor not registered with the PropertyEditorManager

    I´m trying to integrate a fully working jsf 1.1 application into JBoss 4.2.2 which uses jsf 1.2 which isn´t that compatible at all.
    I just have one implementation of the jsf-libs and not any in the application war.
    "ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[samigo].[jsp]] Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: Unable to convert string "#{authorFrontDoorMessages.auth_front_door}" to class "javax.el.ValueExpression" for attribute "value": Property Editor not registered with the PropertyEditorManager".
    And yes, i have been searching a lot on google and read a lot of the article and forum threads but i haven´t been able to solve this.
    I have been struggling with this problem more than a week now, so please give me a tip on what the problem might be.
    Any idea?

    You shouldn't have any appserver specific libraries in WEB-INF/lib (covered by the webapp's default classpath). Further on the appserver/lib (covered by the appserver's default classpath) should only contain appserver specific libraries and at highest 3rd party libraries which are going to be shared among all webapps. Finally you should NOT have added or modified anything in the jdk/lib (covered by the runtime's default classpath).
    So in case of a default and unmodified environment everything should just work flawlessly. In your specific case it seems that you've unnecessarily added/copied appserver specific libraries in the WEB-INF/lib or that you have duplicated EL libraries from (another) appserver in the appserver/lib or maybe -more worse- in the jdk/lib.

  • Precision error in converter property of h:outputText tag?

    Hi.
    I have a date object that I am trying to render using the <hutputText> tag. Since the object contains the full date/time string, I am formatting using the converter property("*converter="javax.faces.DateTime*").
    But the resulting date is a day before the actual date! Tracing this I have found that the converter property calculates the day as starting from 00:00:01 and not 00:00:00 as is standard in Java.
    I am curious to find out if this is an error, intentional behaviour or an error on my part?

    I am not explicitly setting the time zone or the locale because when printing out the value without the converter, the value does include the correct time zone(e.g. Fri Oct 01 00:00:00 CAT 2010). So this kinda buffles me as to why the converter would require explicit time zone handling? (perhaps I should try it.)

  • Setting a converter property from faces-config.xml

    According to web-facesconfig_1_1.dtd you could assign a value to a converter
    property, e.g.:
    <converter>
    <converter-id>date_time</converter-id>
    <converter-class>javax.faces.convert.DateTimeConverter</converter-class>
    <property>
    <property-name>pattern</property-name>
    <property-class>java.lang.String</property-class>
    <default-value>dd.MM.yyyy hh:mm:ss</default-value>
    </property>
    </converter>
    This simply isn't implemented, and I haven't found it reported anywhere!
    I'm really surprised! I even look at the source code of the RI and it seems
    that the property tags are parsed by the xml digester, but then are ignored when adding the converter to the application!
    Any one has a clue?

    Today I downloaded tomahawk-examples-1.1.5-bin. (http://myfaces.apache.org/download.html). They have one example with tiles, and it works the way I want it to.
    I'm still trying to figure it out what is causing this behaviour.
    At least, I tried to change the value they're using for linkage between <to-view-id> and tiles definition, and found that JSF is still ignoring the real value in <to-view-id>
    : it was originally 'blah.jsp', but 'blah' or 'blah.tiles' worked the same way, while in tiles definition the corresponding name was always blah.tiles.
    It seems that they are looking into tiles definitions first with the key composed of the first part of the value in <to-view-id> (before the dot) concatenated with hardcoded '.faces'.
    I tried to change the key value in both config files to something like 'blah.ttt', and it did not work.
    I'm not sure at the moment if this would be a problem for me, I may use this framework, knowing the limitations.
    Also, I'll look into the code, if this may be altered and at what cost.
    Still, the basic jsf problem with always interpreting the value in <to-view-id> as blah.jsp remains.

  • How to use Property Editor from an Add-In?

    Hi,
    I am writing a WYSIWYG add-in for JDev that allows users to put some object into a JPanel instance.
    Thess object has properties such as left, right, width, height, etc.
    - Question: how to use JDev's property editor to allow users change properties of thess object?
    - Another word: how to user JDev's Property Editor API from an add-in?
    I looked at the document. It does not give me enough information about Property Editor.
    Thanks in advance,
    Trung

    Hello Prasad,
    You are on the right avenue - launch an external application which can connect to running Outlook instance and then close it. After this you can launch Outlook anew. Here are the steps required to get the job done:
    1. Use the Marshal.GetActiveObject method which obtains
    a running instance of the specified object from the running object table (ROT) - Outlook in your case, for example:
    // Check whether there is an Outlook process running.
    if (Process.GetProcessesByName("OUTLOOK").Count() > 0)
    // If so, use the GetActiveObject method to obtain the process and cast it to an Application object.
    application = Marshal.GetActiveObject("Outlook.Application") as Outlook.Application;
    then use the
    Quit method to close the running instance. The
    associated Outlook session will be closed completely; the user will be logged out of the messaging system and any changes to items not already saved will be discarded.
    2.  Use the
    Start method of the System.Diagnostics.Process class to start Outlook anew.

  • Enum property editor not rendering

    I am trying to get a simple Enum property editor to work for my custom component but I keep getting an error: "Failed to load/render Property Editor"
    The component XML is:
    <input-parameter  hidden="false"  name="level" required="true" title="Log Level" type="org.apache.log4j.Level">
              <default-value>
            </default-value>
          <property-editor editor-id="com.adobe.idp.dsc.propertyeditor.system.Enum" />
      </input-parameter>
    <class-path>
          libs/log4j.jar
       </class-path>
    Log4j.jar is in the component package and in the component class path
    I have tried the com.adobe.idp.dsc.propertyeditor.system.Enum Class as described in the docs here: http://help.adobe.com/en_US/livecycle/9.0/programLC/help/index.htm?content=001419.html
    I also tried using com.adobe.idp.dsc.propertyeditor.system.EnumPropertyEditorComponent as described here: http://help.adobe.com/en_US/livecycle/9.0/programLC/help/index.htm?content=001379.html
    Both give the same error. I even tried using my own Enum class insteasd of org.apache.log4j.Level and referencing that, but still get the same error.
    Any ideas would be helpful - thanks
    (Adobe LiveCycle Workbench ES2
    Version: 9.0.0.1.20100511.1.236086)

    Ok after some playing about and changing random things, I seem to have figured it out.
    - org.apache.log4j.Level is not an Enum class, it is a collection of static vars.
    - I refactored my own Enum class to remove everything but the Enumeration values (no constructor, methods or construction parameters)
    - I used com.adobe.idp.dsc.propertyeditor.system.Enum and not com.adobe.idp.dsc.propertyeditor.system.EnumPropertyEditorComponent
    - I added my Enum class to the <export-packages> XML parameter
    Hope this helps someone else with the same issues

  • What is Link-to in  Property Editor-Items

    hi
    tell me purpose of this properties in Property Editor.
                 link-to---static text
    ,            Unique id--in all items and  in form,
                 Linkedobject--in link button
                .ObjectType----form
    reply appreciated
    karthik

    Karthik
    link-to--- if u keep any label and textbox u have to give the textboxname to linkto property of label. This is used becoz for ex u place the label and textbox and maximize the form these two  wont be in correct level
    Unique id-- Using this property we can use the items its the name of item
    Linkedobject-- in link button if u specify only the correct form will open
    .ObjectType----in link button u have to specify the linkobject and object type.
    To refer the linkobject and objectype see
    C:\Program Files\SAP\SAP Business One SDK\Help\SDK_EN.chm
    there search for BoLinked Object
    If thishelps u give reward points,
    Regards,
    Anitha

  • Can't share photos using photo stream in iCloud. File is always blank.

    Can't share photos using photo stream in iCloud. File is always blank.

    Hello desert_dweller5,
    It sounds like you art trying to access a Shared Photo Stream, but you do not have one of the devices to enable your Apple ID as an iCloud account.  The following article provides information on how Shared Photo Streams work:
    iCloud: Photo Stream FAQ
    http://support.apple.com/kb/HT4486
    The article states that for privately Shared Photo Streams to work, the recipient will not only have to have an Apple ID, but it will have to be an iCloud account:
    Friends and family with iCloud accounts can view your photos in the Photos app on any device using iOS 6 or later; on a Mac in iPhoto 9.4 or Aperture 3.4 or later; on a Windows PC with Windows Vista or later and iCloud Control Panel 2.0 or later installed; or on a second generation or later Apple TV with software version 5.1 or later installed. They can also view your photos on the web if you enable Public Website in the settings or options for your Shared Photo Stream.
    Since you do not have an iCloud account and just and Apple ID, your friend can share the photo stream as a public website so that you can view it, as stated in the same article: 
    Can I share with people who don't have an iCloud account?
    Yes. If you enable Public Website in the settings or options for your shared photo stream your photos will be published to a website that anyone can view in an up-to-date web browser.
    To be able to change an Apple ID to an iCloud account, you would need an iPhone, iPad, or iPod touch with iOS 5 or later or a Mac with OS X Lion v10.7.4 or later as stated in the following article:
    Creating an iCloud account: Frequently Asked Questions
    http://support.apple.com/kb/HT4436
    Best,
    Sheila M.

  • Property Editor Missing

    Hi,
    My situation: I created a role and tried to create a folder as a point of access in my role.
    My problem: Logging on to the portal as Administrator User, I can see the Property Editor for this folder and define this folder as an Entrypoint. By Logging on to the Portal with a User, which I assigned to the same Roles and Groups as the Administrator User, I am not able to see the Property Editor. Do someone know, why I don't see the Property Editor?
    Thanks,
    Anna

    Hello Anna,
    Your Adminstrator User have some specific roles such as super_admin role other that the groups you have specified.
    So when you do a USER COPY the role are also assigned to the new user with the groups. So it has all the authorizations of the Administrator User.
    So try assigning the roles the adminstartor user has, like super_admin_role to the user you have created and the problem will be solved.
    Regards
    Deb
    [provide points for helpful answers]
    Message was edited by:
            Debasish Sarkar

  • Property Editor failed! for workset creation

    Hi All,
    I am getting "Property Editor failed!" when i create a new workset in EP.i am not seeing any properties window for the workset at all.any help greatly appreciated.
    Thanks
    Aravind

    Hi Aravind,
    When asking a question, can you try to be just a little more precise: At what point do you get the error? When you click Finish to create the workset, or when you open up the workset in the Portal Catalog? What version are you using? Any other special features of your portal or landscape?
    Thanks.
    Daniel

  • Property Editor is missing from page editor

    Hi,
    We are on EP7 SP10.  Strange one - the page editor does not have a property editor in it.
    I've logged a call with SAP but was wondering if anyone else has had the same issue?
    Thanks
    Paul

    Hi Milan,
    Navigate to User Admin --> Identity Management, and select a user. In the general Information tab there is a property called Activate Accessibility Feature.
    For an end user, they go to the portal personalziation link (Personalize) in the masthead, and then go User Profile.
    Hope this helps.
    Daniel
    P.S.: Why is this thread labeled Answered but no points have been awarded and the thread continues?

  • LOok for Emergeny help about Property editor not visible

    For some reason, my Property Editor window of Workshop is not visible any more. I have tried restart workshop and from possible menus.
    I have read a posting dated Mar 10, 15,17 by Jared, Judecki, he said even by restall the workshop, the problem still there. He talked about editing a properties file that Weblogic placed in Window's profile
    (which related with the window's location.
    I post this problem again want to get tour response especially from Jared Judecki, if you know what's the name of properties file and how to edit it, also if you know the email of Jared Judecki, that's of great help.
    Thanks again!!
    Please tell me the steps how to fix the "property
    editor not visible in weblogic", where is the properties file related with weblogic in windows profile. and how to edit this file.

    Did you try selecting portal components like books, pages, portlets. I have seen this problem too. But it would go away when you restart workshop.
    --SJ                                                                                                                                                                                                                                                                                                               

  • Property Editor not visible

    For some reason my property editor window can no longer be seen. When I select View->Property Editor nothing shows. My current window loses focus, but no editor appears. The same happens when I use the shortcut Alt-6. I have the same problem with the Document Structure Window. Double clicking on items in the Data Palette does not bring up the Property Editor either.
    The best I can figure is that I accidentally dragged the window off screen or something. I've even uninstalled and deleted my entire BEA_HOME directory and reinstalled, but that did not fix anything.
    Any ideas how I can get my Property Editor back?
    Thanks.

    Did you try selecting portal components like books, pages, portlets. I have seen this problem too. But it would go away when you restart workshop.
    --SJ                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • What is the table name ?

    Hi all,             I have to add a new column 'initial approval date" in a simple report.    for the PO (purchase order). i want to know where i can get this type of field   i.e 'initial approval date"  in which table.                  If anybody kn

  • How do I delete bookmarks from the Firefox Home app on my iphone?

    I just installed Firefox Sync on my iphone and it has successfully synced all of my bookmarks. After I read a bookmark on my phone, I'd like to delete that bookmark permanently so I don't have to delete it on my computer as well. I can't find an opti

  • Opening a .PDF causes lightroom to launch?!

    Hi, whenever I open a .pdf, not only does the pdf come up in adobe reader, but it also launches lightroom! Is there anyway to stop this from happening? Thanks, Wim

  • Smartform - Internal table

    Hi experts, If I want to pass my internal table from an abap program to the smartform, should I always declare it in se11 if that kind of table is not existing in sap?

  • Does Apple plan to update iWeb?

    I've enjoyed using iWeb 09 for just over a year, but I'm beginning to wonder if this program is going to be around in the future. I'm a small business guy with limited time to spend on making a web site, so if Apple is going to ditch iWeb I think I'd