Custom converter for selectManyCheckbox

I am having the following problem/general question regarding custom converter and a selectManyCheckbox tag:
The value property of the selectManyCheckbox tag is referring to a List of Transfer Objects (TO). For this example it is a UserRoleTo, which consists of role id and role description. A List of the SelectItems is used to generate a complete list of roles. Now, I want to convert selected role id�s to UserRoleTOs, and vice versa, but it does not seem to work. What should be the Object returned by getAsObject method: UserRoleTO or SelectItem?
I would appreciate help and an example.

This article might provide an interesting read: [http://balusc.blogspot.com/2007/09/objects-in-hselectonemenu.html]

Similar Messages

  • Custom converter for h:selectManyCheckbox, no getAsObject call

    Hello.
    I have a strange problem with my PersonConverter. This converter should convert object of type Person. Implementatin of these classes is not important. So I defined it to faces-config.xml:
    <converter>
      <converter-for-class>x.y.Person</converter-for-class>
      <converter-class>x.y.PersonConverter</converter-class>
    </converter>In my jsp page I have:
    <!-- List<Person> Bean.getSelectedPersons() -->
    <h:selectManyCheckbox id="xyz" value="#{bean.selectedPersons}">
      <!-- List<SelectItem> Bean.getPersons() -->
      <!-- SelectItem oneItem = new SelectItem(person, person[i].getName()) -->
    <f:selectItems value="#{products.persons}"/>
    <h:message for="xyz"/>
    </h:selectManyCheckbox>
    When I access this page I get requested result, eg. checkboxes with names. There are printlns in  getAsString() and getAsObject() so I see that getAsString() was called. However when I submit page I cannot see call to getAsObject() (eg. the println) and on page I get:Conversion Error setting value 'Thomas' for '#{bean.selectedPersons}'. (Assuming that I checked checkbox with label 'Thomas', If I don't check anything, there is '').
    What am I doing wrong please?
    I also tried giving the converter id and adding <f:converter id="personConverterId"/> between h:selectManyCheckbox tags, but it was same.
    Thank you.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Thanks for your support.
    I found that #{bean.selectedPersons} evaluated to Set so I added selectedPersonsList property which just creates ArrayList from Set. This is pretty stupid, I'm sorry. Next time I'll look twice before posting.
    By the way, thanks for tutorials on your blog. It helped me a lot with understanding JSF.

  • Af:selectInputDate and custom converter

    I am using a custom converter for an af:selectInputDatetag. Dates are treated like strings so that data conversion errors are not trapped during the Apply Request Values phase (I prefer to gather all errors at a later stage).
    This works but an unintended side effect was that I receiving a JavaScript error when tabbing off the text box and firing its onblur event. This was because a calendar was not being passed into the _dfb function. I eventually fixed this by adding a line to the function in Commonea14.js:
    function _dfb(dateField, calendarID)
    // By Jason 31 March 2005
    // Start
    if (calendarID == null) return;
    // End
    _fixDFF(dateField);
    // if (calendarID != (void 0))
    // _calActiveDateFields[calendarID] = null;
    Hope that this helps someone.

    Frank,
    Thank you for your answer. I'm not using ADF BC, so is there a possible workaround? My model provides a standard java.util.Date. My converter looks like:
    public class BirthdateConverter implements Converter {
      public Object getAsObject(FacesContext facesContext, UIComponent uIComponent, String sDate) {
        Locale locale = facesContext.getCurrentInstance().getExternalContext().getRequestLocale();
        String pattern = AppUtil.getFourDigitYearPattern(DateFormat.SHORT);
        SimpleDateFormat sdf = new SimpleDateFormat(pattern, locale);
        java.util.Date d = sdf.parse(sDate);
        // converter logic
        return d;
      public String getAsString(FacesContext facesContext, UIComponent uIComponent, Object object) {
        if (object == null)
          return null;
        if (!(object instanceof Date))
          return object.toString();
        Locale locale = facesContext.getCurrentInstance().getExternalContext().getRequestLocale();
        String pattern = AppUtil.getFourDigitYearPattern(DateFormat.SHORT);
        SimpleDateFormat sdf = new SimpleDateFormat(pattern, locale);
        return sdf.format((java.util.Date)object);
    }AppUtil.getFourDigitYearPattern(DateFormat.SHORT) provides a date pattern, e.g. "M/d/yyyy" for locale en-us. In the above code I did not include try-catch blocks to make it more readable.
    Herbert
    Message was edited by:
    user575859

  • Custom sorting for a Table column

    I have a Table object with multiple columns. The first is an alphanumeric unique identifier that is usually utilized by clients as String representations of integers. When a client does use integers, the sorting is completely off. Here is a sample list of how Studio Creator sorts this data:
    1
    10
    11
    12
    2
    3
    4
    5
    6
    7
    8
    9I obviously would like 10, 11, and 12 to come after 9. One way I could do this is to sort the values after they have been left-padded with zeros; however, I don't know how to implement this. I created a small class that implements Comparator in a way that will left-pad all Strings up to a max of 25 characters long, and then sorts them.
    How can I have Studio Creator sort like I want it to? Thanks.

    Solved.
    I continued down the path of the object that implements Comparator and left-pads all values with zeros up to a total length of 25; I also sorted alphanumeric characters after numeric characters. I overwrote .compare(), .equals(), and .toString(). The issue was that I had to create a custom Converter for the TextField to be able to write updates to it.

  • H:selectManyCheckbox and custom converter

    Hi there
    Firstly, I am trying to implement a custom converter to capture choices a user makes on a check box(es), i.e. if they uncheck one or more boxes I want to use the converter to save this information. I have applied this logic previously for a selectOneMenu based on BalusC's tutorial (very good by the way): http://balusc.blogspot.com/2007/09/objects-in-hselectonemenu.html. So, my first question is... Is this the correct way of doing this?
    Assuming that it is, this is the code I have implemented:
    Faces-config.xml
    <converter>
    <converter-id>CheckBoxStatusConverter</converter-id>
    <converter-class>examples.user.CheckBoxStatusConverter</converter-class>
    </converter>jsp file
    <h:form>
    <body>
    <h1>A horizontal line of check boxes!</h1>
    <%-- value="#{standardCheckBoxBeanStatus.colours}" --%>
    <h:selectManyCheckbox id="HStandardcheckbox" value="#{standardCheckBoxBeanStatus.status}">
    <f:selectItems value="#{standardCheckBoxBeanStatus.colour}" />
    <f:converter binding="CheckBoxStatusConverter" converterId="checkboxstatus" />
    </h:selectManyCheckbox>
    </body>
    </h:form>standardCheckBoxBeanStatus
    public class standardCheckBoxBeanStatus
    private List<SelectItem> Colour = new ArrayList<SelectItem>();
    private CheckBoxStatusBean Colours = new CheckBoxStatusBean();
    private String[] CheckBoxStatus = new String[7];
    private static CheckBoxStatusDAO CheckBoxcoloursDAO = new CheckBoxStatusDAO();
    private String selectedColour;
    private dbBean db;
    public standardCheckBoxBeanStatus()
    fillCColourItems();
    db = new dbBean("username","password");
    public List<SelectItem> getColour()
    return Colour;
    public String[] getStatus()
    String[] b = new String[7];
    for (int i = 0; i < 7; i++)
    b[i] = Colour.get(i).getValue().toString();
    return b;
    public void setStatus(String[] state)
    System.out.println("Status could be set to ");
    for (int i = 0; i < state.length; i++)
    System.out.println(state);
    public void setColours(CheckBoxStatusBean t)
    System.out.println("setColours called with "+t);
    Colours = t;
    public String Action()
    System.out.println("Action called!");
    return "ValuesUpdated";
    private void fillCColourItems()
    int i = 0;
    for (CheckBoxStatusBean tK : CheckBoxcoloursDAO.list())
    System.out.println("Colour adding "+tK+", "+tK.getValue());
    Colour.add(new SelectItem(tK, tK.getValue()));
    CheckBoxStatus[i] = tK.getKey();
    i++;
    ChechBoxStatusConverter:public class CheckBoxStatusConverter implements Converter
    private static CheckBoxStatusDAO CheckBoxStatusDAO = new CheckBoxStatusDAO();
    public String getAsString(FacesContext f, UIComponent c, Object o)
    System.out.println("In converter getAsString method");
    String ret = "";
    if ((o != null) && (o instanceof CheckBoxStatusBean) )
    ret = ((CheckBoxStatusBean)o).getKey();
    return ret;
    public Object getAsObject(FacesContext f, UIComponent c, String s)
    System.out.println("In converter getAsObject method");
    return CheckBoxStatusDAO.find(s);
    CheckBoxStatusDAOpublic class CheckBoxStatusDAO
    private static ArrayList<SelectItem> checkBoxColours = new ArrayList<SelectItem>();
    private static Map<String, CheckBoxStatusBean> CheckBoxRecordsMap;
    private static dbBean db = new dbBean("tagcloud","tagcloud");
    static
    setupcheckBoxColours();
    loadKRecordsMap();
    public CheckBoxStatusDAO()
    public CheckBoxStatusDAO(ArrayList<SelectItem> t)
    this.checkBoxColours = t;
    public CheckBoxStatusBean find(String key)
    return CheckBoxRecordsMap.get(key);
    public List<CheckBoxStatusBean> list()
    return new ArrayList<CheckBoxStatusBean>(CheckBoxRecordsMap.values());
    public Map<String, CheckBoxStatusBean> map()
    return CheckBoxRecordsMap;
    private static void loadKRecordsMap()
    checkBoxColours = db.getAllColoursStatus();
    CheckBoxRecordsMap = new LinkedHashMap<String, CheckBoxStatusBean>();
    for (int i = 0; i < checkBoxColours.size(); i++)
    System.out.println("CheckBoxRecordsMap contains: "+checkBoxColours.get(i).getValue()+", "+checkBoxColours.get(i).getLabel());
    CheckBoxRecordsMap.put(String.valueOf(i), new CheckBoxStatusBean((String)checkBoxColours.get(i).getValue(), (String)checkBoxColours.get(i).getLabel()));
    System.out.println("Complete, RecordsMap is "+CheckBoxRecordsMap.size()+" in size");
    So I add the line: <f:converter binding="CheckBoxStatusConverter" converterId="checkboxstatus" /> to my jsp file I get the error mesage:{noformat}java.lang.IllegalArgumentException: Cannot convert CheckBoxStatusConverter of type class java.lang.String to interface javax.faces.convert.Converter{noformat}However, without that line I get a nice line of check boxes.
    Could you advise. I have been struggling on this all day. I am not even sure this is the correct approach any more?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Obviously you bind the converter to a litteral string !!
    <f:selectItems value="#{standardCheckBoxBeanStatus.colour}" />
    <f:converter binding="CheckBoxStatusConverter" <!-- use an EL here not a simple string-->
    converterId="checkboxstatus" />
    </h:selectManyCheckbox>Are you sure that f:converter had a binding attribute ?

  • How to create a custom tag for a custom converter

    In Jdeveloper 11g, I have a project where I have created a custom converter class that impements the javax.faces.convert.Converter class. I have registered the converter with an id in the faces-config.xml file of the project, and the converter works fine by using the <f:converter type="myconverter"> tag. However, the custom converter has a field which I would like to set from the tag itself. Hence, I would like to add an attribute to <f:converter> tag if possible or create a custom tag that has the attribute.
    I have done some reserach and I found that a custom tag can be implemented: I need to create a class which extends from the ConverterTag class or javax.faces.webapp.ConverterElTag class, which I did, but I also need to create ".tld" (tag library) file which defines the tag itself.
    The part about creating the ".tld" file and registring the new tag is what I'm not sure how to do.
    Does someone know how to do this?
    thank you

    Hi frank,
    that's a good document, and it explains how to make a custom converter. I already created the custom converter, it converts a number to any currency pattern. I know java already has a currency converter, but it doesn't support Rupee currency format, and I need that format.
    My converter works, but I would like to pass the pattern of the format through an attribute in a tag. Since f:converter doesn't seem to support that, I created a custom tag which uses my converter, and it enables me to pass a pattern to the converter.
    All of that works, but I need to be able to pass the pattern as an EL expression, and it's not evaluating the expression before passing it to the converter. It just passes the whole expression as a string. I'm thinking It may be something I'm doing wrong.
    this is the tag library definition file:
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
    "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
    <taglib>
    <tlib-version>1.2</tlib-version>
    <jsp-version>2.1</jsp-version>
    <short-name>custom</short-name>
    <uri>custom-currency-converter</uri>
    <description>
    custom currency custom tag library
    </description>
    <tag>
    <name>CurrencyConverter</name>
    <tag-class>
    converter.Tag.CurrencyConverterTag
    </tag-class>
    <body-content>JSP</body-content>
    <attribute>
    <name>pattern</name>
    <type>java.util.String</type>
    <required>true</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    </tag>
    </taglib>
    Edited by: Abraham Ciokler on Feb 4, 2011 11:20 AM

  • Outlook Sync Error SOLVED - Multi-day repeating appointment cannot be converted for use on the Handheld...

    *UPDATE 1/23/2009 07:08 AM* This is a partial fix. I no longer think the Recurrence Range is the culprit. It seems the Time Zones features between Outlook & Palm are not cooperating. This explains why my 12 am events are syncing as 6 pm the day before; I live in GMT-6:00 so it's moving my events ahead by 6 hours. Another event I set for 1 pm in Outlook was changed to 7 am on my Treo. I am going to start over and recreate each event, this time setting the Time Zones, which I hadn't done before. I tested it out and it worked with a single event... let's see how long it lasts. I've also found that using 'No Time' on my Treo is not compatible with Outlook. It's better to set a time with 0 minutes duration.
    *UPDATE 1/23/2009 04:11 AM* This is a partial fix. My monthly and yearly problematic recurring events are now showing up at 6 pm the day before on my Treo, though my Outlook calendar is fine. I think this has to do with the Recurrence Range Start/End in Outlook, which is set automatically. If only there were a way to change this... 
    After a WHOLE LOTTA trial-and-error (like 3 days worth), I think I finally solved my OLERR:14-001 issue!
    Problem: Syncing Palm Treo 755p calendar with Outlook 2007
    Error Message (simplified):
    HotSync session completed with messages on [date] [time]
    HotSync session started on [date] [time], and completed in [0] seconds
    Outlook Calendar synchronization completed with messages
    Duration: [0] seconds
    Outlook Calendar
    The multi-day repeating appointment titled [event] beginning [date] [time] cannot be converted for use on the Handheld. Please divide the appointment up into single-days and re-synchronize.
     OLERR:14-0001
    - Desktop overwrite HH Sync
    Note: You will likely have several of these ‘Multi-day’ instances in your hotsync log (I had 58). You may want to change Calendar in hotsync to "Desktop overwrites Handheld" after you get this error, to avoid erasing events while you are fixing this issue. Otherwise, you may have to restore them from a backup copy (if you have one) and start over. You can switch back once you’re through.
    Solution: First, I tried this Palm KB Article: http://kb.palm.com/SRVS/NUA/launchKB.asp?c=31167. After this didn’t work for me… I did trial-and-error. I believe the problem is that each recurring event, which you set up as ‘All-day’, must be changed to have a duration of 0 minutes from within Outlook. I was able to change some events directly, but I found that some of the records had corrupted, and would just revert. My fool-proof solution was to recreate EVERY problematic event (yes, one-by-one) using the following steps:
    Open Outlook
    Go to your default calendar, where your events are synced
    In the top menu choose ‘View’ > ‘Current View’ > ‘Recurring Appointments’
    Open a ‘New Appointment’
    Enter subject and other options, such as Categorize, Importance, Time Zones, or Reminder
    Make sure starting and ending date & time are the EXACT same
    Select ‘Recurrence’ & choose your pattern
    I did not choose ‘No end date’ (hence the Palm article), but rather ‘End by:’ and typed in 2031, then pressed tab to auto-generate a suitable end date. I chose 2031 because that is last year my Treo’s calendar goes to. Click OK
    Repeat for every event in your error log, until you get a clean "Desktop overwrites Handheld" hotsync (Outlook should be closed when you sync)
    Switch Calendar in hotsync back to "Synchronize"
    Even though I still get the message OLERR14:001, my syncs are successful. Now I will give my Treo time to see if the issue returns later. Until then, happy Outlook syncing and good luck!
    Post relates to: Treo 755p (Sprint)
    Message Edited by akeaw3000 on 01-23-2009 04:11 AM
    Message Edited by akeaw3000 on 01-23-2009 07:08 AM

    hello,
    if all of your data is on the phone you can change the sync action to handhled overwrites desktop
    how to:
    open palm desktop software
    on the top left click on 'hotsync' and then 'custom'
    on the calendar conduit
    highlight it and click on 'change'
    then choose 'handhled overwrites desktop'
    hope this will help you
    Post relates to: Palm TX

  • Is there a Simple Way to Reformat  Database Text with Custom Converter?

    When a database column contains a string, often the string may be stored in the database in a form that may not be suitable for viewing by the user. It is often interesting to show the user the string after it has been reformatted. Many things including phone numbers, product codes and various other application specific encodings fit into this category. The JSF Converter concept seems to be an ideal place to apply the reformatting via the application of a custom converter. In fact, many of the text books written on JSF refer to the JSF ability to support text reformatting using a custom converter. However, we have not been able to make it work in JSC2_1.
    For example, when a CachedRowSet Table Data Provider is used in a JSC2 application to show tabular data from a database, text columns from the database are automatically bound to StaticText components. Unfortunately, if the developer creates a custom converter and attaches it to the StaticText component, the converter is never called when the object to be converted is already of type String. If the object to be converted is a Date, CLOB or any other type the custom converter will be called - but not for type String. Thus the text is presented to the user directly as stored in the database witout the desired reformatting. The OutputText component on the other hand does appear to support custom converters but there is no possibility within the JSC2 IDE to substitute the OutputText component for the StaticText component in the CachedRowSet Table Data Provider.
    This situation appears to be inconsistent with the JSF specification. Does anyone know if this is a bug or a deliberate design decision or a misuse of the IDE on our part? Last question; has anyone come across a workaround?

    Try using "Examine Document" to remove the OCR output.
    Be well...

  • Custom Exit for determining previous-year time range

    Dear all:
    I have a problem about custom exit:
    We have created a new object for combining Fiscal Year/Month and Period. So the format will be shown as " yyyymmp"
    now we have one requirement which is determining the same period but previous year based on user input. For Example, if user input start and end period as
    "2006041" and "2006111". There are should be 2 custom exit which are able to convert the user input to be "2005041" and "2005111". We created 2 custom exit for telling the previous-year period.
    Then based on this converted time range, we should be able to extract applicable data. But after testing, we cant get supposing result. The code is following:
    We will be very grateful for any input. thank you all so much
    Calculate (Start)previous year/month/period by current
    *year/month/period
    *user-entry calendar year/month/period
    WHEN 'ZFACLV19'.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZFACYMP1'.
            CLEAR l_s_range.
            LOC_YEAR = LOC_VAR_RANGE-LOW(4).
            LOC_MONTH = LOC_VAR_RANGE-LOW+4(2).
              LOC_YEAR = LOC_YEAR - 1.
            L_S_RANGE-LOW(4) = LOC_YEAR.
            L_S_RANGE-LOW+4(2) = LOC_MONTH.
            L_S_RANGE-LOW6(1) = LOC_VAR_RANGE-LOW6(1).
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            APPEND l_s_range TO e_t_range.
            EXIT.
          ENDLOOP.
    Calculate (End)previous year/month/period by current
    *year/month/period
    *user-entry calendar year/month/period
    WHEN 'ZFACLV20'.
    break ab_william.
          LOOP AT i_t_var_range INTO loc_var_range
          WHERE vnam = 'ZFACYMP2'.
            CLEAR l_s_range.
            LOC_YEAR = LOC_VAR_RANGE-LOW(4).
            LOC_MONTH = LOC_VAR_RANGE-LOW+4(2).
              LOC_YEAR = LOC_YEAR - 1.
            L_S_RANGE-LOW(4) = LOC_YEAR.
            L_S_RANGE-LOW+4(2) = LOC_MONTH.
            L_S_RANGE-LOW6(1) = LOC_VAR_RANGE-LOW6(1).
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            APPEND l_s_range TO e_t_range.
            EXIT.
          ENDLOOP.
    SzuFen

    Hi,
    Try with following modifications:
    ZYEAR1(4) = LOC_VAR_RANGE-LOW(4).
    ZYEAR1(4) = ZYEAR1(4)- 1.
    ZMONTH1(2) = LOC_VAR_RANGE-LOW+4(2).
    CONCATENATE ZYEAR1(4) ZMONTH1(2) INTO LOC_VAR_RANGE-LOW(6).
    With rgds,
    Anil Kumar Sharma .P

  • My Custom Converter Doesn't Work With DataModel

    Hi,
    I have this simple object with its custom converter taken from the Core JSF Book. It works fine, but when I put it in DataModel, somehow it didn't get updated. I don't put the whole codes here, only the important parts.
    Any1 knows what is the reason? I have been looking for an answer but I haven't found one. Plz help.
    public class CreditCard {
    private String number;
    public CreditCard(String number) { this.number = number; }
    public String toString() { return number; }
    public class CreditCardConverter implements Converter, Serializable {
    private String separator;
    public void setSeparator(String newValue) { separator = newValue; }
    public Object getAsObject(............);
    return new CreditCard(builder.toString());
    public String getAsString(..............)
    throws ConverterException {
    return result.toString();
    public class MyBackBean{
    private DataModel creditCardDataModel;
    private static final CreditCard[] ccs = {
    new CreditCard("1111 111 111 111"),
    new CreditCard("2222 222 222 222")
    public DataModel getCards(){
    if (creditCardDataModel == null) {
    creditCardDataModel = new ArrayDataModel(ccs);
    return creditCardDataModel;
    <h:dataTable value="#{myBackBean.cards}" var="card">
    <h:column>
    <h:inputText id="card" value="#{card}"/>
    </h:column>
    </h:dataTable>
    Edited by: JW77 on Dec 3, 2009 12:47 AM

    Please explain.
    What does "cellcom line doesn't work with my iPhone" mean?
    What are you trying?  What is happening?
    Where did you buy the iphone?
    Any info abnout your issue at all?

  • Customer conversion for Non-English languages

    Hi:
    We have a requirement to convert customer data from lagacy system to Oracle EBS supporting English and Non-English languages. Our conversion programs for english is working fine but we are not sure about the approach for other language converions. Can anyboody share the knowledge if faced similar requirements?
    Thanks /Santanu

    Duplicate thread (please post only once) ...
    Customer conversion for non-english language
    Re: Customer conversion for non-english language

  • Custom icon for boot camp disk?

    I have a Win XP boot camp disk partition (NTFS file system) on an internal hard drive. I want to use a custom icon for this partition on my OS X desktop. However, when I select the icon of this partition in a Get Info window, the only Edit option that ever appears is to Copy the icon. That is, I cannot paste another icon over it (the Paste option is grayed out).
    Is this due to the partition being Windows? Is there a way other than the Get Info method for applying a custom icon? I'm using 10.5.2, but the same thing happened with 10.5.1, and also using a fresh test account.

    Did you know you could have converted the drive to NTFS within Window (not reformatting and losing everything)? I converted mine from FAT32 to NTFS a few months back, lucky for me I already had a drive icon in OSX so the conversion kept the icon.
    For your case though, do this:
    1) Paste your icon (in the Get Info window) onto a USB thumb drive formatted as FAT32. The name of the drive doesn't matter.
    2) Launch Windows through Boot Camp, Parallels Desktop, or VMware Fusion.
    3) Open the thumb drive in Windows.
    4) Select Folder Options… from the Tools menu, and set it to show invisible files.
    5) Copy the two files .VolumeIcon.icns and ._[cr]File, where [cr] is a carriage return, to the NTFS drive.

  • Custom converter

    I am writing a custom converter to convert number to date and is trying to use it with inputRangeSlider component.
    The tick labels are converted but the range begin and end points are not.
    Is there a special coding to do it?
    I am using 11gTP4.
    Thanks

    You may want to try the [url http://forums.oracle.com/forums/forum.jspa?forumID=381]JDev 11g TP forum for that.
    John

  • SelectOneListbox and custom converter

    I'm using a selectOneListbox with a custom converter and I keep getting a conversion error. If I replace the selectOneListbox with a selectManyListbox things work as expected. With the 'One' listbox the only code of mine that gets called is the custom converter. With the 'Many' listbox the following get called: custom converter, selection setter, and my button action. Is there a known defect with the selectOneListbox? I've searched online but have not found anything. Is there some subtle difference between the two 'One' vs 'Many' that I'm overlooking? I literally replace selectOneListbox with selectManyListbox. I've stepped through the faces code but didn't see any obvious error.
    This is the version I'm using. Could it be old?
    COPYRIGHT,v 1.4 2004/02/26 20:30:14
    Anyone have a suggestion. Thanks for your help.

    Well, I feel stupid. I changed the selection getter and setter to use the object instead of an array and all is well. Thanks so much for the nudge in the right direction. I think I was distracted by the conversion error displayed on my page.

  • Two customs Invoices for a single PO item

    Hi,
      For a Purchase Order line item we have already posted a custom invoice and goods receipt done for partial qty.
    The Customs invoice was also done for Partial qty.
    Now the second consignment is arrived and we want to post the custome invoice for the remaining qty.
    While trying to post the same,system is giving qty error....
    Quantity invoiced greater than goods receipt quantity
    Message no. M8081
    As this is a Import PO the "GR based IV" is not ticked...
    Cant we post two custom invoices for a single PO item.....any suggestions....
    Regards,
    Rajesh

    Hi,
       I am thinking of converting the message M8081 - Quantity invoiced greater than goods receipt quantity to warning message.
    This will resolve my issue which I am facing for multiple customs invoice for a single PO line Item.
    I have two similer message configured in my system
    M8081 - Quantity invoiced greater than goods receipt quantity
    M8504 - Quantity invoiced greater than goods receipt quantity
    Both are error messages.
    My understanding is that the first one is used where the Indicator for "GR based IV" is unticked in PO and the secod one is for the GR based IV is ticked.
    Your opinion on this..so that I can understan the implication
    Rajesh

Maybe you are looking for

  • HT6209 e-mail server setup

    Foe Windows 8.1 - Outlook mail: what is the server setup for iCloud mail?

  • Photoshop CS2 crashes when opening selective color

    Every time I try to open image/adjust/selective color the program crashes. It has also started crashing after I save a file. I have tried uninstalling and re-installing the program, but to no avail. I'm using a Mac Mini OSX 10.4.1 with 1 GB ram. I've

  • Is there a way to find out how much time an Upgrade took with DBUA?

    Hello! I've performed a successful upgrade from 10g to 11g using dbua. The thing is that I made that upgrade last friday, I know when it started but I can't manage to find any log that tells me when It was finished exactly. I tried to search in the .

  • C1 Inventory Database object

    I've been trying to install ZDM services on a OES2 server and have been having all sorts of trouble. After numerous reinstalls, I've decided to install the parts one at a time until I found what wasn't working, and it ends up being the Inventory Data

  • After installing update 1 for Windows 8.1 NTVDM.exe not working anymore.

    Hi. After waiting for the new WSUS friendly version of the KB2919355 update, I deployed it via WSUS to various machines. After the update, one machine started giving NTVDM errors when calling the wuauclt.exe file. I need a way to re-install the NTVDM