Custom converter does not not in ADF

Hi gurus,

I use Jdeveloper 11.1.1.7.0 (Build JDEVADF_11.1.1.7.0_GENERIC_130226.1400.6493) and try to create a simple custom converter to convert the string to uppercase.

I can see out of PON show uppercase value, but the value is not rendered in the user interface.

Steps to follow:

1 create the converter of java class called UpperConverter

2 register in faces-config. XML

3 set the property of af: inputText as below

< af:inputText value = "#{bindings." TestName.inputValue}.

label = "#{bindings." TestName.hints.label}.

required = "#{bindings." TestName.hints.mandatory}.

columns = "#{bindings." TestName.hints.displayWidth}.

maximumLength = "#{bindings." TestName.hints.precision}.

shortDesc = "#{bindings." TestName.hints.tooltip}"id ="it1.

immediate = "true" autoSubmit = "true" >

< f: validator binding = "#{bindings." TestName.validator} "/ >"

< / af:inputText >

package xx.oracle.apps.fnd.custom.view.converters;

to import java.util.Collection;

import java.util.Collections;

javax.faces.component.UIComponent import;

Import javax.faces.context.FacesContext;

javax.faces.convert.Converter import;

Import org.apache.myfaces.trinidad.convert.ClientConverter;

/ public class UpperConverter implements converter, {ClientConverter}

public UpperConverter() {}

Super();

}

public String getClientLibrarySource (FacesContext facesContext) {}

Returns a null value.

}

public Collection < String > getClientImportNames() {}

Return Collections.emptySet ();

}

public String getClientScript (FacesContext facesContext,

UIComponent uIComponent) {}

Returns a null value.

}

public String getClientConversion (FacesContext facesContext,

UIComponent uIComponent) {}

Returns a null value.

}

public getAsObject (FacesContext facesContext Object,

UIComponent uIComponent, String string) {}

System.out.println ("value GetAsObject:" + string);

If (!) (String.Equals (null)) | (chaîne == ""))) {

System.out.println ("GetAsObject convert value:" + string.toUpperCase ());

return string.toUpperCase ();

}

Returns a null value.

}

public String getAsString (FacesContext facesContext,

UIComponent uIComponent object object) {}

System.out.println ("value of GetAsString:" + object.toString ());

Return object.toString () .toUpperCase ();

}

}


Enjoy all the entries.


Kind regards

Ferrere

Hello

I don't see the converter applied to the inputtext. I was expecting the inputtext will be like:


            
           
          

Tags: Java

Similar Questions

  • the custom words does not appear in my iPhone

    Hello

    I joined my iPhone IOS 10 6 more and I noticed that the custom words does not appear in my iPhone, even if I have them in my iTunes library. I signed up with the same Apple ID on all devices. Very few of them, I can access the lyrics in my phone, but not all of them (as he used to be in iOS 9)

    any help is appreciated.

    Thank you

    Ahmed

    I downloaded a program on my Mac (no app store unfortunately) called "get lyrical". automatically add lyrics to iTunes. Then in iTunes file > library > Update music library to iCloud. doing this during the last 20 minutes and so far it seems to work.

  • My custom workspace does not randomly.  Restart the application sometimes fix it.

    Y at - it a fix for the problem of my custom workspace does not not every time?  I was hoping that it was just a problem with CC2014.  I'm under CC2015 now.

    Quit Illustrator

    Run disk utility and set your permissions.

    Finder (hold down the Option key) > select Library > obtained in this folder

    / Library/Application Support/Adobe/Adobe Illustrator 19.

    Adobe Illustrator 19 and rename old Adobe Illustrator 19

    Start Illustrator

    I would upgrade to El Capitan.

  • Drawing a custom profile does not work for me. It works for you?

    Drawing a custom profile does not work for me. It works for you?

    I can only apply on an existing line, but cannot make a new one with the selected profile. In fact if I change the profile other than the default uniform I also can't draw a new stroke with any other width than the default 1 point. This does not seem normal.

    Use the SC5 on a PC.

    You have "Art has basic appearance nine" checked in the appearance Panel Menu? If Yes... Clear the check box, and then try again.

  • my art custom brush does not appear in the brush palette

    Hello

    I created a custom art brush, but it does not appear in the brush palette. (I draw a shape, I drag it to the brush palette, I choose Art Brush, I see the Art brush Options window, I do all the settings, I click ok but my art custom brush does not appear in the brush palette.) It only happens for Art Brush. Please help if anyone knows why?

    Thank you

    Check the menu popup palette of brushes, this would happen if the art brushes is not checked.

  • Converter does not reach 1% - "an error occurred during conversion:"converter.fault.ConverterFileFault"

    I'm trying to convert a laptop of ageing of a virtual machine, but it does not reach 1% with the vague error "an error occurred during conversion:"converter.fault.ConverterFileFault. "

    With VMware vCenter Converter Standalone Client 5.5.1 build 1682692 locally running the conversion of the machine running.

    On a laptop with WinXP Sp3, with a single drive, by recording the VM on a USB hard drive attached.

    I have run chkdsk on the drive. (with the F option) and defragmented several times

    Shadow copy services have been restarted and are running.  I even downloaded the VSS SDK and replaced the *.dll.
    It is with the latest version of the client converter

    No firewall is active.

    I am logged on as administrator, even tried to create a role of administrator with the name "Administrator".

    Drive is not encrypted I can say (no Truecrypt)

    The xp includes backup works (i.e. work VSS)

    I looked at the other questions/logs here, but do not see the same exact

    VMWare Converter error: impossible to clone the volume C

    Converter fails at 1%

    UPDATE: Solution via Hack
    I could get this job sort of a hard-working hack.

    I first downloaded Acronis image 2014 (a free 30 day trial) then who used to capture the image of the operating system, the * tib file is about 40 GB in size.

    Unfortunately VMWare converter works only with version of Acronis 2012, so the *.tib file could not be used directly to the source of the virtual machine

    So I created inside VMWare Workstation a new empty VM for Windows XP

    I gave her 2 virtual disks hard 50 GB and 50 GB mapped as C: and H:

    reinstalled windows in the C

    copied the *.tib in the secondary hard drive H: as shared folders (for example how a USB is sometimes mounted) are not accessible when the Acronis is restoration of the tib via its custom BootLoader

    Download and install Acronis image 2014 on this new fresh OS

    used Acronis to restore from this backup on H: * tib in the C: crush installing the OS

    reactivated again, windows

    fighting pilots who the real differeed

    Defragment the drive VMware

    Seems to work as expected.

    I got this job, see the update on the use of Acronis to work around the problem.

  • Custom color does not

    I am able to create the custom color, but when I apply it to an element of fireworks, it sort of chose a color close to the custom color, but it's not the color I wanted. I also tried to enter the HEX value that I got via a HEX RGB Converter, but it does not. It simply restores the color which is close to the color I want. I mean, I can clearly see the difference in the color Panel, but when I apply it, I get the right color. No idea why this is happening?

    Thank you
    -nc2dc

    Hey, thanks for the quick response. That's all. Thanks for the tip.

  • Connect a wireless printer anywhere, wired derivation convert, does not have radio, add WPA2 security.

    Update- good because when the wireless radio failed to convert a wired Ethernet printer to wireless technology, or if you want your printer to support greater security WPA2 wireless.

    Updated - connect to a hotel/motel/school dormitory may not work if the network uses Enterprise authentication requesting a user name and password on your computer.

    This article will try to explain how to connect your wireless devices, including printers, to a wireless network when you are away from home.  The problem when you're in a hotel, motel, room student or other areas is your computer connects fine, but your wireless printer, you have brought with you, has connection/security problems.  Other people/wireless devices can find the printer on an open network, connect you to the printer and start printing without reason just because 'they can do. "

    You'll need is a small wireless travel router.  TP-LINK TL-WR702N Wireless N Nano router or other router of trip is all you need.  The WR702N is available on eBay or Amazon for only $21.00, that's right, only $ 21.

    This device does not support the authentication of company systems because it cannot meet any username and password prompts these system as your computer can.  However, it will connect to a standard WPA SSID and your computer, but if you receive a browser for other questions page redirect, it won't work.

    It's a small powerful travel router which built in 5 modes of operation (more than your home router can do):

    1. AP mode
    2. Client mode
    3. Repeater mode
    4. Router mode
    5. Bridge mode

    The TP-WR702N information is found here:

    http://www.TP-link.com/en/products/details/?model=TL-WR702N#over

    To see the overview of applications see here first to understand:

    http://www.TP-link.com/en/products/details/?model=TL-WR702N#app

    I won't go into the details on how to configure these modes in the TP Link router Nano as the manual does a great job.  One thing you must remember is that you must assign a static IP address on your wired Ethernet connection of computers to access the Web interface internal of the Nano.  The Nano is configured with an Ethernet cable at any time.  It's security that the router that has DHCP disabled so if you connect to a network, you won't crash it with an IP address conflict.  The Nano is powered by a USB cable and comes with a USB AC adapter too.

    The IP address of the Nano is default 192.168.0.254.  Set your computers Ethernet Port, adapter not wireless, a static IP 192.168.0.1, 255.255.255.0 DNS address.  You have to find a way to do it yourself, but it is explained in the manual and on the web for the operating system of your computer.

    This leaves your wired Ethernet connection to a static IP address and your adapter wireless DHCP.  Don't forget to put your wired to DHCP if you need to use it later for a wired connection.  Connect the Ethernet cable from your computer to the router Nano.

    Set up your browser by going to 192.168.0.254 (Nano IP address) in the address bar and you'll get the username and password login screen.  The default username and password is admin/admin, you can change it if necessary.

    Set the Nano bridged mode:

    Other modes will be mentioned later but for now; Bridge mode will serve as this isolates and creates your own SSID private the hotel/motel/dorm room open wireless network SSID.  In Bridge Mode you entrance and connect to the Rangoon SSID (paraphrasing) AND set up your own small network with your own SSID and password.  Your SSID will be separated and protected through WPA2-AES security that you set up.   You will be able to go online normally fine, but all of your devices will now connect to your private SSID.

    Example:

    Hotel SSID: HILTON Hotel Paraphrase and password: GUEST

    Nano SSID: MYNETWORK Nano Paraphrase/password: HP5514

    With this information, the rest is easy.  You set your SSID private and password first, they you must find and connect to the SSID and password hotels.  Simply click on the SURVEY button and a list of all available networks will be displayed along with their MAC addresses.  Find the network SSID, you want to connect (bridge) too and click on "connect".  Information is entered automatically.  I suggest that you also edit your channel wireless on a fixed channel as the 1, 6 or 11, never 'auto '.

    Save your settings and you will be told to restart the router.  Follow the instructions and always restart the router after any changes take effect.  This Nano restarts in 20 seconds approximately.

    Now on your computer when you scan available networks, you will see MYNETWORK.  Connect your computer to the SSID and enter your HP5514 password and you're on!  Start surfing or something else.

    Now, what about your printer?  The printer must be set to DHCP and assuming that you have a printer wireless with front panel:

    1. Go to (Assistant) wireless configuration screen.
    2. Search for available networks.
    3. Select: MYNETWORK
    4. Enter your password: HP5514
    5. To connect!

    In about 15 seconds, you're connected!   Oh, guess what?  The Nano has a WAN/LAN port and in Bridge mode, it is a LAN port that is connected to your network too!  Then plug into a printer/computer Ethernet cable, if you wish.

    Your printer will work as usual with no change at all.  I set up in my house to test and it connected perfectly to my HP5514 wireless printer.  All the tools, diagnostics, printer functions, alerts of ink were normal.

    You're done!

    The bottom can be used anywhere to create a local private network so that you and others can use your printer.

    Now, what about the changes?  If at home, you can use the Nano in Repeater mode to connect to your own network and extend the reach of all devices.  Even as the Bridge mode, but you're on your network using your SSID and the word normal, so everyone can use the printer.

    Don't worry what you heard with speed of execution of a router in Repeater Mode.  Most routers House when running in wireless Repeater mode should be set to no encryption or WEP only.  Here max speed is 54 Mbps.  This Nano turns at full speed of 150 Mbps in these modes, using the highest security WPA2-AES (personal).

    Remember that the size is small, so it's good to perhaps more than 50 feet.  HD video streaming was impeccable and surf watch video at the same time was perfect.

    I hope this help you when business or vacation.  Some hotels charge for EACH device connection.  With the implementation above, it takes only a charge for multiple devices, such as cell phones, iPads, light fires, computers or anything else you want to connect.

    EDIT - do not forget that this Nano device has an Ethernet connection that once configured, you can use to connect a wired computer or wired Ethernet printer.  It is a good radio your printer wireless doesn't have to convert a wired Ethernet wireless printer or if you want your printer to support greater security WPA2 wireless.

    Have fun!

    Read here on how to connect your printer to a network asking for additional security and information (username and password).

    http://h30434.www3.HP.com/T5/printer-networking-and-wireless/how-to-connect-your-wireless-printer-to-a-network-requesting/TD-p/4468642

    Most likely, you won't be able to connect.

  • Converter does not recognize my rocket

    I got my rocket hip and downloaded the converter and everything, but when I pull up, he says theres no device. I tried unplugging and plugging back in my rocket and other but its does not work.

    Help? T_T

    ^. ^ yay Tounsiiaa love

    problem solved

  • Customer service does not meet the United States relative to the Compact Z3 repair

    Hello and happy new year!  I was wondering if anyone has experience with sending in a Compact Z3 for repair/replacement under warranty in the United States.  I live chatted and called several times and I can't get any information on the status of my repair or when I get my phone back.  I wonder if you guys could get some advice on what to do next.

    My Z3 Compact suddenly started having battery problems (first similar to this: http://talk.sonymobile.com/t5/Xperia-Z3-Compact/Battery-levels-jumping-randomly-and-not-charging/td-... and then it stuck at 50% and no loading or unloading).  My phone is under warranty until 2017, so I called, got an RMA number and sent him into their repair center in Laredo, Texas.  He arrived on 12/14, and here's the problem: no one can give me an update as to what is happening.  Many cats live and e-mail gave no information.  After a week, I called their customer service line and they said he was being sent to a Manager, who was supposed to send me an email in the next 24 to 48 hours, but didn't.  After the second week, I called again, and it's the same thing (promised an email of a Manager, who I have not received).

    I was told at the beginning that since my phone is an international model, they may have to order parts and could not give me an ETA, but they said that most of the repairs are completed within 14 working days.  They had my phone for at least 10 working days now (and 2.5 weeks in total), and I really should hear a kind of update now.  I'm trying to be patient because it's the holidays and I'm sure their technicians to repair a bit of time off the coast, but some communication would be the bare minimum of acceptable customer service.  At the very least, if Sony does not include automatic updates, I should be able to get some info by calling, instead of this ridiculous evasive.

    What else can I do to get information on the status of my claim?

    I feel your pain. I had a similar lack of information when the screen back of my cracked Z3C randomly after 3 days of property. He was sent to Laredo. I never had an update... called at least twice to get an update and told me I would soon receive a response and how if yes or no the repair would be covered by the warranty.

    Two weeks past, and all of a sudden I get a box from Sony with my phone repaired on the inside. No updates, no notification, no nothing.

    TL, DR: expecting anything near decent service communication or client with this Sony repair center is little more dreaming.

    We wish you the best of luck...

    -Evan

  • Custom control does not?

    I tried to implement a custom for my application control, but it does not phase is...

    Help, please...

    /*
     * ImageSlider.cpp
     *
     *  Created on: Jun 10, 2013
     *      Author: lalthomas
     */
    
    #include "ImageSlider.h"
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    
    using namespace bb::cascades;
    
    ImageSlider::ImageSlider (Container *parent)
    : CustomControl(parent)
    {
        m_Container = new Container();
        m_Container->setLayout(new AbsoluteLayout());
    
        Sample->setText("Hello");
        m_Container->add(Sample);
    
        for(int i=0;i<12;i++){
            m_Trackers[i] = ImageView::create().image(QUrl("asset:///images/bullet-24-24.png"));
            m_Container->add(m_Trackers[i]);
        }
        setRoot(m_Container);
        setPreferredSize(600,600);
    }
    
    /*
     * ImageSlider.h
     *
     *  Created on: Jun 10, 2013
     *      Author: lalthomas
     */
    
    #ifndef IMAGESLIDER_H_
    #define IMAGESLIDER_H_
    
    #include 
    #include 
    #include 
    #include 
    
    namespace bb {
    namespace cascades {
    class Container;
    class ImageView;
    class TouchEvent;
    }
    }
    
    class ImageSlider: public bb::cascades::CustomControl {
        Q_OBJECT
    public:
        ImageSlider(bb::cascades::Container *parent = 0);
        virtual ~ImageSlider();
    private:
        float m_width;
        float m_height;
        bb::cascades::ImageView *m_Trackers[12];
        bb::cascades::ImageView *m_SlideImages[12];
        bb::cascades::Image m_Tracker;
        bb::cascades::Image m_TrackerCurrent;
        bb::cascades::Container *m_Container;
        bb::cascades::Label *Sample;
    };
    
    #endif /* IMAGESLIDER_H_ */
    
    // Default empty project template
    import bb.cascades 1.0
    
    // creates one page with a label
    Page {
        Container {
            layout: DockLayout {}
            Label {
                text: qsTr("Hello World")
                textStyle.base: SystemDefaults.TextStyles.BigText
                verticalAlignment: VerticalAlignment.Center
                horizontalAlignment: HorizontalAlignment.Center
            }
            ImageSlider {
                id: slider
                horizontalAlignment: HorizontalAlignment.Center
                verticalAlignment: VerticalAlignment.Center
            }
        }
    }
    
    // Default empty project template
    #include "applicationui.hpp"
    #include "ImageSlider.h"
    
    #include 
    #include 
    #include 
    
    using namespace bb::cascades;
    
    #include 
    #include 
    
    ApplicationUI::ApplicationUI(bb::cascades::Application *app)
    : QObject(app)
    {
    
        // Register our custom control
        qmlRegisterType("custom.lib", 1, 0, "ImageSlider");
        // create scene document from main.qml asset
        // set parent to created document to ensure it exists for the whole application lifetime
        QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(this);
    
        // If the QML document is valid, we process it.
           if (!qml->hasErrors()) {
    
               // Create the application Page from QMLDocument.
               Page *appPage = qml->createRootObject();
    
               if (appPage) {
                   // Set the main scene for the application to the Page.
                   Application::instance()->setScene(appPage);
               }
           }
    }
    

    In short, I'd add this in your QML file...

    import custom.lib 1.0
    
  • Targeted custom HorizontalFieldManager does not click on Storm

    Hello everyone!

    I am facing a problem to make a compatible application to the storm. This application contains some managers of land and within a and that we have a list of custom HorizontalFieldManagers.

    These fields are accept touch and to implement the development, we simply implement the code below:

    protected boolean touchEvent(TouchEvent event){
        switch(event.getEvent()){
        case TouchEvent.DOWN:
            if(!this.focused){
                this.setFocus();
                invalidate();
            }
            break;
        }
        return false;
    }
    

    So, if you click directly on a ground without an accent, it works as expected. But if the field is already concentrated the click does not work! NavigationClick method is not called. In the hand of the command, as shown above, if the field is not well centered the navigationClick is called accordly.

    protected boolean navigationClick(int status, int time) {
        return clickListener.onNavigationBallClicked(this, status, time);
    }
    

    What we need to do to handle that click when the field that is already worn? Or better yet, what we're doing wrong?

    Thank you!!!

    Sorted!

    The trick is below:

    protected boolean touchEvent(TouchEvent event){
        switch(event.getEvent()){
        case TouchEvent.DOWN:
            if(!this.focused){
                this.setFocus();
                invalidate();
            }
            break;
        case TouchEvent.UNCLICK:
               return clickListener.onNavigationBallClicked(this, 0, 0);
        }
        return false;
    }
    
  • Alert on custom table does not

    Hello

    I create a custom alert based on a custom table. The event fires only when insert or update the table.

    And then I create or update the data, but the alert does not and then I check the history of this alert, no data found.

    My diagram is PVL and was recorded in Oracle.

    My custom table is XPV_INV_TRANSPORT_COST_DTL and has been registered with the AD_DD API. REGISTER_TABLE and AD_DD. REGISTER_COLUMN.

    and this custom table stands and all the privileges granted to applications too.

    Is there any step I'm missing to generate the alert?

    Any Suggestion?

    Kind regards

    THERY

    Hello

    I found a solution, in the installation of the tab of the alert form, I filled the work unit and how it works!

    My Question is if this (operational unit) field must be filled?

  • Customer CC does not open after the update/installation

    Hello

    I tried to upgrade to the latest version of the CC customer, but when I try to open it after installing it does not open and only told me (in German) "the program is not open.

    Furthermore, I'm not able to open any other application such as bridge/Photoshop and Lightroom cloud without getting "Error 16".

    I tried several steps to find the flaw, but for example, there is no log file to find an error; I tried to install with firewall/antivirus off but the same message popped up. I also changed the access privileges, but the result was the same.

    I couldn't uninstall Adobe CC, because a message told me I still have other applications on my system.

    I didn't uninstall my programs before consulting this forum - there you have an idea?

    I'm on Mac.

    Thank you very much

    Thanks for your help - I'll make one last try or contact support technique adobe Monday.

    I found this thread 16 error while using applications of the suite Adobe CC 2015...

    and finally, it worked!

  • UCM, RIDC sorting using custom metadata does not work

    I'm doing a search using GET_SEARCH_RESULTS and I am trying to sort the results, but unfortunately it does not work. I get this exception:

    Unable to retrieve search results. Error occurred while retrying the search query. Error occurred while processing. Unable to return results.
    oracle.stellent.ridc.protocol.ServiceException: Unable to retrieve search results. Error occurred while retrying the search query. Error occurred while processing. Unable to return results.

    at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:142)

    at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)

    to the sample. Connection.main (Connection.Java:661)

    The binder is like:

    binder.putLocal ("IdcService", "GET_SEARCH_RESULTS");

    binder.putLocal ('ResultCount', '10');

    binder.putLocal ("QueryText', 'xDocAudvTitle < contains >"togados"');

    binder.putLocal ('SortField', 'xDocAudvTitle');

    binder.putLocal ("SortOrder", "Asc");


    If I do not use the sortField and SortOrder parameter, the query retrieves the correct results.


    Any idea on this exception?


    Kind regards

    Juan Carlos.

    Thank you all,.

    The problem is that the custom metadata field is of type Memo, both because of its size is not optimizable, so I can't sort by using xDocAudvTitle.

    I'm done with the help of another field to sort.

    Once again, thank you to you two.

    Kind regards

    Juan Carlos.

Maybe you are looking for

  • Equium A60-692: Question on the RAM size

    I have an Equium a60-692, which indicates that she has a 256 MB DDR Ram. When I check the system, he says he has 197 MB of Ram. I am told that this is due to the pilot of the screen using the other 60 MB. Which seems big to me or is this normal? I al

  • Error code1009 iphone6

    I have the problem with app store, the error code 1009 seen im in iran help me solve this problem (please help)

  • Setup of database LV8.6

    Hello, I'm about to build a Setup program for my application, and it uses the database tool 1.0.2 I looked at the instructions on how to add all the files needed for the Installer (link below), but he asks "Database application template.bld" LabVIEW/

  • I installed kaspersky antivirus, so I should be safe with any kind of risk or not?

    I'm in confuse even if I install antivirus in my computer and I didn't know the other risk except viruses.

  • EOS 7 d Mark II vs 70 D

    Hi all I am an amateur (Techno IT by profession) and would like to know which one should I go for - EOS 7 d Mark II or 70 d? I have EOS 600 d for the last three years and lenses - lens 135mm kit, Canon macro 100mm, Tokina Wide angle and 400mm Tamron