the link works in jsf, but not in jsff

Hello.

I use jdev 12.1.3.

I have an application that will provide a jsf, an input file, a button and a code in a method to download and save the file in a scope of request bean. And it works very well...

<af:button text="button 1" id="b1" action="#{requestScope.uploadBean.uploading}"/>

Of the same application, I have an exact copy of this configuration in a JSFF calling the bean in scope request even. The jsff is placed in a dynamic region in a jsf which has 2 dynamic regions in 2 panel tabs... and if gives me a nullPointerException. Unattainable goal, 'null' returned null with the binding also works very well in the Joint Strike Fighter

<af:button text="button 1" id="b1" action="#{requestScope.uploadBean.uploading}"/>

Anyone have any idea why I'm down on this behavior?

Kind regards.

Marc

Try my solution Application6_working.zip | JDev & ADF Goodies

Timo

Tags: Java

Similar Questions

  • Why did the counter works in MAX, but not of Labview?

    Please help, I've been away from Labview for more than 3 months and I'm pretty rusty...

    Last year, I configured successfully NI9401 to measure the period (in seconds) by counting the rising edges of my sensor signal.  Since then, I bought a new PC and loaded all my software inside, including the Labview VI that has worked successfully on the old computer.

    I can see the digital signal using MAX and test for the NI9401 Panel, then, I know that my son and my TTL signal is OK, but nothing except the below error when I try to run the attached VI, happens...  How can I say this VI to search for the signal on channel 14 and MOD3/CTR0?

    Thank you. I'm sure it's a small adjustment... it worked well a few months ago... do not know what the problem is now.

    Thank you

    Dave

    OK, now.  Solved the problem. The vi is fine, but some fragile son have been identified... worked in MAX but not in vi.  Now that the connections have been tightened, it works for both.  Sorry for the inconvenience.

    Dave

  • Rh9 link works in preview but not on the generated version

    Question: I have the theme with link to a MS Excel file. When I make a point of view, the link action behaves correctly, by displaying the file download dialog box. When I generate the layout (WebHelp), the link action does not respond.

    Notes:

    • The file appears in the two c:\appname\! SSL! \WebHelp\,rules_summary_1.xls , and c:\appname\Rules_Summary_1.xls

    (not sure if the case of filenames questions)

    • I created a test subject and got the same behavior

    Any ideas?

    Thank you

    -bruce.

    Hello

    It is probably the result of having Mark of The Web (MOTW) activated at the time of publication and that you view using Microsoft Internet Explorer as your browser.

    If you have decided to copy the files on a web server for your end users to open, the links should work properly.

    If you want to test your local PC to ensure that things work, you can disable MOTW and deal with problems of boxes dialog IE or you can relax in the Internet Explorer security to allow to run active content. Your call.

    What version of IE are you using?

    See you soon... Rick

    Useful and practical links

    Wish to RoboHelp form/Bug report form

    Begin to learn RoboHelp HTML 7, 8 or 9 in the day!

    Adobe Certified RoboHelp HTML Training

    SorcerStone blog

    RoboHelp EBooks

  • OAM e-mail link works on desktop but not on phone

    Hi all!

    I created the office and the versions of my site but the oam even that works perfectly on the phone desktop version does not work on the phone; specifically, the symbol of e-mail, which has a mailto link: link. The MCO is a grid square of mugshots with individual e-mail links in each photo.

    I inserted a link to ordinary e-mail directly in muse and it worked fine on my phone, so I think it's a matter of oam. I wonder if I have to design a unique oam for phone site, that the office.

    I can PM my project files for all those who want to look under the hood.

    Any help is greatly appreciated!

    Ian

    Thx for Cynthia answered!

    I only tried the chrome site. You're right, however, totally forgot to test it in other browsers. Now, I know the site of phone works in firefox android but not chrome and native browser of my S6. I'll try as much as possible. But what I do to make it work in browsers more?

    As for the location of the problematic page, I came back to an old version of the site where the CAO located in the 'about' section under the 'diverse team' link text I have since made another version which replaces the MCO with own objects of Muse, which works fine, but I still want to go to the bottom of the issue of the Internet browser.

    thx again!

    Ian

  • Chronology of the DW works in IE but not Firefox

    I need help to find out why my calendar I created in Dreamweaver CS3 works in Internet Explorer, but not in Firefox. I created a second animation intro 4 on a layer and then after that the intro has finished playing, the layer would hide and seems so the rest of the page.

    The url is http://www.neartscouncil.org/

    Any help would be greatly appreciated on why it does not work in Firefox.
    Thank you!

    I thought about it, thanks for the suggestions!

  • Search bar on the Macbook Air doesn't work, will allow me to load the pages of Favorites and links to these pages, but not let me google from the bar or manually enter Web sites, however, it works perfectly on the guest user

    Search bar on the Macbook Air doesn't work, will allow me to load the pages of Favorites and links to these pages, but not let me google from the bar or manually enter Web sites, however, it works perfectly fine on the guest user. Have you tried restarting and it still does not work.

    The problem should be solved now.

    Otherwise:

    OS X

    iOS

    Workaround for problems with the Safari address bar

    http://osxdaily.com/2016/01/05/fix-Safari-freezing-address-bar-use/

  • The links on this page do not work?

    Download the CS3 products

    I have the serial number, but I don't have the software, but the links in this site do not work

    Hi Julien,

    It seems that you have the serial number for a volume license product.

    Reference: Adobe site licenses | Serial numbers | Orders | Accounts

    Kind regards

    Sheena

  • Just got 2 of SE. Weather app works on one but not the other.

    Just got 2 of SE. Weather app works on one but not the other. Ideas?

    Drosea,

    Define/describe does not.

    What's the weather App?

  • Using Acrobat Pro and what impression on network printer it prints very slow. I have found that if we choose to print the image works fine. But how do I print as image remains for all of my PDF files. I have to choose each time now and it's not always r

    Using Acrobat Pro and what impression on network printer it prints very slow. I have found that if we choose to print the image works fine. But how do I print as image remains for all of my PDF files. I have to choose every time now and that is not always known.

    Hi jeans37547790,

    Please do mention it below as follows to change the settings:

    Open Acrobat > click file > print > click on advanced > and check the box that says "Print as Image".

    Here is the screenshot:

    .

    Let us know if you face any problem.

    Thank you!

    Shivam

  • Loading an image works on Z10, but not on the Q5

    I use FilePicker to load an image from the library by using the following code

    Container {
            ...
    
            ImageView {
                id: imgView
                verticalAlignment: VerticalAlignment.Center
                horizontalAlignment: HorizontalAlignment.Center
                scalingMethod: ScalingMethod.AspectFit
                maxHeight: 250
                minHeight: 100
                bottomMargin: 30.0
    
            }
    
        }
        Container {
            verticalAlignment: VerticalAlignment.Bottom
            horizontalAlignment: HorizontalAlignment.Fill
            bottomPadding: 30.0
            leftPadding: 30
            rightPadding: 30
    
            Button {
                id: btnSelectImg
                topPadding: 25
                horizontalAlignment: HorizontalAlignment.Fill
                text: qsTr("Select Image") + Retranslate.onLocaleOrLanguageChanged
                onClicked: {
                    console.log("FilePicker")
                    picker.open()
                }
    
                attachedObjects: [
                    FilePicker { //image picker
                        id: picker
                        property string selectedFile
                        type: FileType.Picture
                        title: qsTr("Select Image") + Retranslate.onLocaleOrLanguageChanged
                        onFileSelected: {
                            imgView.imageSource = "file://" + selectedFiles[0];
                        }
    
                    }
                ]
            }
        }
    }
    

    Copy the following code to display the image correctly on Z10, but not on Q5 however both running the same version.

    No idea what could be the problem?

    It turns out that the problem is exactly as described by dbigham, ImageView can handle images up to a certain size depedning on the device.

    I added a C++ code to resize the image before feeding it to QML

    QML code:

    ImageView {
                id: imgView
                attachedObjects: [
                    ImageTracker {
                        id: imgViewTracker
    
                        onStateChanged: {
                            if (state == ResourceState.Loaded)
                            {
                                imgView.image = imgViewTracker.image
                                console.log("Shared image loaded correctly!")
                            }
                            else if (state == ResourceState.ErrorMemory)
                            {
                                console.log("Shared image load: Error Memory!")
                            }
                            else if (state == ResourceState.ErrorInvalidFormat || state == ResourceState.ErrorNotFound) {
                                console.log("Shared image load: " + state + "!")
                            }
                        }
                    },
                    FilePicker { //image picker
                        id: picker
                        property string selectedFile
                        type: FileType.Picture
                        title: qsTr("Select Image") + Retranslate.onLocaleOrLanguageChanged
                        onFileSelected: {
                            _app.loadImage(selectedFiles[0],300,200)
                            imgViewTracker.image = _app.image;
                        }
    
                    }
                ]
    
            }
    

    C++ code:

    void ApplicationUI::loadImage(QString strImageFileName, int width, int height)
     {
         QImage image;
    
         image.load(strImageFileName);
    
         image = image.scaled(width, height, Qt::KeepAspectRatioByExpanding);
    
         QImage swappedImage = image.rgbSwapped();
         if(swappedImage.format() != QImage::Format_RGB32) {
             swappedImage = swappedImage.convertToFormat(QImage::Format_RGB32);
         }
         const bb::ImageData imageData = bb::ImageData::fromPixels(swappedImage.bits(), bb::PixelFormat::RGBX, swappedImage.width(), swappedImage.height(), swappedImage.bytesPerLine());
    
         m_image = bb::cascades::Image(imageData);
         emit imageChanged();
     }
    
    QVariant ApplicationUI::image() const
     {
         return QVariant::fromValue(m_image);
     }
    

    C++ header:

    class ApplicationUI : public QObject
    {
    ...
    
    Q_PROPERTY(QVariant image READ image NOTIFY imageChanged)
    
    public:
    ...
    
    Q_INVOKABLE void loadImage(QString strImageFileName, int width, int height);
    
    signals:
    ...
    
    void imageChanged();
    
    private:
    ...
        QVariant image() const;
        bb::cascades::Image m_image;
    
  • Stylesheet CSS and SWF works with Mac, but not PC.

    Notebook PC converts stylesheet. Can not know how to solve the problem.

    SCP allows you to preview the files in a zip file, but the links within these files do not work until all files have been extracted.

    You will need to drag the files of "Temp1 Sinai (1) .zip" and your desktop to extract from archive. Links should work fine after that.

  • reCAPTCHA works in IE8, but not in Firefox - missing graphics

    reCAPTCHA works in IE8, but not in Firefox

    All the graphics, the challenge, radio buttons and logo do not appear.

    Make sure that you are not blocking JavaScript.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the Add-ons is the cause of the problem (switch to the DEFAULT theme: Tools > Modules > themes).

    • Makes no changes on the start safe mode window.

    See:

    See also:

  • Satellite L40-15B - WiFi works at home but not at school

    My daughter has satellite worked at home and at school: wifi OK, internet OK. The satellite crashed: hard disk failure. Bought a new hard drive.

    I reset the Satellite via the recovery CD. It is now a new clean system with * Windows Vista home premium *. * Wifi works immediately at home. Internet too, but at school with my daughter, the wifi is NOT working anymore.*
    Laptops from other children at school always work with wifi.

    A college of my work told me his sister had exactly the same problem!

    Help!

    Hello

    If the WIFI connection works at home but not at school it has nothing to do with Toshiba. I think that your daughter should ask the administrator of the school what is the problem. Maybe the WLAN requires a certain configuration of TCP/IP or else I n t he know and I think that no one here can answer this question.

    Is that wireless network card is properly installed and works, because you can access the Internet at home.

    Sorry, but everything that s what I can say.

  • OCR has worked with xp but not windows 7

    With the help of HP C3180 all-in-One printer and Windows 7, 64-bit.

    OCR has worked with XP but not with 7.  Am I missing something?

    Hello belcanguy

    If scanning with I.R.I.S. only shows the scan to image that says Solution Center? Try I scan a document using the Solution Center and see if you can choose an OCR pdf or RTF document.

  • Why my website slider works in Chrome, but not in Internet Explorer

    Why my website slider works in Chrome, but not in Internet Explorer

    On this page it says IE version 10 uses "animation".

    & then if you look at the examples on this page it shows:

    div {}

    -webkit-animation: myfirst 5 s; / * Chrome, Safari, opera * /.

    Animation: myfirst 5 s;

    }

    So, you will need to do.

    Also, check the CSS3 menu on the left, there "transform 2D" then you should find how to join also CSS3 2D transforms

    I have never used myself these animation properties, but these pages will have the info you need.

Maybe you are looking for