BUG: jspx editor complains about missing method from superclass of bck bean

Hello,
I have found a bug that is more an annoyance than anything, but wanted to report the behavior. Here is the scenario:
1). Create a bean (I'll call it the super_backing_bean)
2). Put an action listener in the bean (I'll call it al)
3). Create a JSPX page
4). Create a backing bean for the jspx page (I'll call it page_backing_bean). Make page_backing_bean extend super_backing_bean.
5). Put a command button on the page. Bind it's actionlistener to #{page_backing_bean.al}. The pop-up properties editor allows you to do this nicely.
6). Open the jspx page in "source" view and look for the command button. There's a red squiggly under the actionListener property. If you hover over it, you get "The method al does not exist in the bean page_backing_bean"
Note this is merely an IDE bug. The code works as expected during run time.
Kind regards,
John

Hi Harry (and others),
I have seen similar behavior. It seems like the client side rendering for some reason has a hard time processing the collection model wrapping the ArrayList in this particular case. The table renders empty. After sorting in ascending order, the rows are all back (visible) again.
Is anyone aware of issues with the rich table based directly on ArrayList (in combination with a changing set of values and/or sorting)? (seems like a corner case but is still not uncommon). Is there any indication that wrapping the ArrayList in a CollectionModel ourselves might be required?
Harry: do you know whether this issue is introduced with PS3 (11.1.1.4) or already existed in previous releases?
kind regards,
Lucas

Similar Messages

  • Calling Stateful & Statless Methods from the same Entity Bean[EJB2.0]?

    Dear All,
    We using EJB2.0........
    Regarding segregation of stateless and stateful methods..These methods are defined in Session bean.Now my question is
    Is it a good practice to call Stateful and Stateless business methods from same single entity bean("EntityBean") defined at program level by extending MainBean..
    The architecture is like
    public class EntityBean extends MainBean
    Public Methodxyz
    stfobj.MakeConn();
    stlobj.getXyz();
    stfobj.CloseConn();
    Public Class MainBean{lookup("stl");lookup(stf) ;stl_obj=home.create;stf_obj=home.create()............}
    ejb-jar.xml
    { <session>
              <description>Entity Bean Employee Example</description>
              <ejb-name>stl</ejb-name>
              <local-home>com.packg.stlHome</local-home>
              <local>com.packg.stl</local>
              <ejb-class>com.packg.stlBean</ejb-class>
              <session-type>Stateless</session-type>
              <transaction-type>Container</transaction-type>
         </session>
         <session>
              <description>Entity Bean Employee Example for stateful</description>
              <ejb-name>stf</ejb-name>
              <local-home>com.packg.stfHome</local-home>
              <local>com.packg.ejbeans.stf</local>
              <ejb-class>com.packg.stfBean</ejb-class>
              <session-type>Stateful</session-type>
              <transaction-type>Container</transaction-type>
         </session>
         <session>
              <description>Session bean for System Parameters</description>
              <ejb-name>SysParam</ejb-name>
              <local-home>com.packg.Home</local-home>
              <local>com.packg.Param</local>
              <ejb-class>com.packg.Bean</ejb-class>
              <session-type>Stateless</session-type>
              <transaction-type>Bean</transaction-type>
              <ejb-local-ref>
              <ejb-ref-name>stl</ejb-ref-name>
              <ejb-ref-type>Session</ejb-ref-type>
              <local-home>com.packg.stlHome</local-home>
              <local>com.packg.ejbeans.stl</local>
              <ejb-link>stl</ejb-link>
         </ejb-local-ref>
              <ejb-local-ref>
              <ejb-ref-name>stf</ejb-ref-name>
              <ejb-ref-type>Session</ejb-ref-type>
              <local-home>com.packg.stfHome</local-home>
              <local>com.packg.stf</local>
              <ejb-link>stf</ejb-link>
         </ejb-local-ref>
         </session>
    Thanks !!
    Edited by: user9052593 on Jun 18, 2012 2:20 AM
    Edited by: user9052593 on Jun 18, 2012 2:25 AM

    All Business logic resides in session beans[Stateful or Stateless]..For stateful beans we are opening connections in entity bean ,calling business methods and closing connection in entity bean itself..Problem is
    I am doing lookup for stateful and stateless both since both objects are called by extending MainBean in same entity bean else will give null pointer exception..
    So whenever i call a Stateful or Stateless method from entity bean Which ultimately extends/calling MainBean and thereby calling home.create methods of stateful and stateless both..creating objects..Is this way fine or it will affect the performance?
    Do i need to segregate the Calls/invokation to Stateful / Stateless methods at entity bean level too..
    For ex:- Whenever i call Methodxyz() method ..at the same time it create 2 objects as its extending MainBean...i want to extend/create 1 object either of stateful or stateless one for stateful and stateless methods call respectively..
    See the code in entity bean is like
    public class EntityBean extends MainBean
    Public Methodxyz
    stfobj.MakeConn(); call to stateful method defined in stateful bean
    stlobj.getXyz();// call to stateless method defined in stateless bean
    stfobj.CloseConn(); call to stateful method defined in stateful bean
    ------------------------------------------------------------

  • [solved] cpanp wrongly complains about missing ExtUtils::MakeMaker

    (This appears to be the most suited subforum for the following matter. Please excuse and correct me if I am wrong.)
    As there is no AUR package for the CPAN module Image::Magick, which I need, I am trying to install it with cpanplus and cpanplus-dist-arch (and yes, I ran setupdistarch). Unsuccessfully, though:
    $ sudo cpanp i Image::Magick
    Installing Image::Magick (6.72)
    Running [/usr/bin/perl /usr/bin/core_perl/cpanp-run-perl /root/.cpanplus/5.14.2/build/PerlMagick-6.72/Makefile.PL INSTALLDIRS=site]...
    Writing Makefile for Image::Magick
    Writing MYMETA.yml and MYMETA.json
    [MSG] Module 'Image::Magick' depends on 'ExtUtils::MakeMaker', may need to build a 'CPANPLUS::Dist::Arch' package for it as well
    [ERROR] Use of uninitialized value $pkgver in substitution (s///) at /usr/share/perl5/vendor_perl/CPANPLUS/Dist/Arch.pm line 1591.
    So cpanp complains about ExtUtils::MakeMaker not being installed, which is wrong:
    $ pacman -Qs makemaker
    local/perl 5.14.2-2 (base)
    A highly capable, feature-rich programming language
    local/perl-extutils-makemaker 6.59-1
    Create a module Makefile
    Re-installing ExtUtils-MakeMaker with cpanp does not help. Any ideas what could be wrong and how to fix it? (Also I am open to suggestions for other means of installing CPAN modules.)
    EDIT:
    Just retried with latest git version of cpanplus-dist-arch. No change.
    Last edited by Franek (2011-10-23 21:16:06)

    Long story short is that Image::Magick is bundled with ImageMagick! Install the imagemagick package and you should be just fine. The PerlMagick distribution which contains the Image::Magick module on CPAN is simply a copy of what comes with ImageMagick.
    The warning about ExtUtils::MakeMaker is just something that cpanp does for every dependency of a module that you build. It is very annoying and other than convincing the CPANPLUS maintainer to remove it, there is nothing I can do about it. But it is a warning and not an error. I've just gotten used to it I suppose.
    The error about an uninitialized value which stops things for you is a bug. I'll try to figure out why it happens and fix it. Thanks for reporting it. I am having a tough time reproducing it, though. Which version of pacman are you using?

  • How to prevent ID Server from complaining about missing plug-ins?

    Hi,
    When opening the document which has some plug-in related data in it, InDesign Server gives an error message (to Event Log) :
    "The document XXX.indd uses one or more plug-ins which are not currently available on your system."
    This can be skipped on desktop InDesign but is there a way to skip this on InDesign Server? It is 64-bit Win InDesign CS6 Server.
    BR, Sirpa

    Found out that you can do this in your desktop plugin (what writes the persistent data to the document) by setting missing plugin warning level to "IgnoreTags".

  • Portege Z830: Can't install Win7, complains about missing CD/DVD driver

    Hi!
    I have a brand new Portege Z830 and as usual wanted to start with installing a new installation of Windows 7 x64 (as I don't want the supplied software and can't trust that it is safe anyway). I backed up the entire drive, prepared a bootable USB flashdisk with Windows installation and started it. The flashdisk boots OK, Windows ask me about my preferred language and keyboard, then shows a screen where I can choose between Install, Repair and something else (Recovery Console, I think).
    I click Install, Windows starts the installation program aand as soon as a first dialog appears, it shows an error message which says essentially this (it's a translation of my localized Windows' message): "A required driver for CD/DVD drive is missing. If you use a driver floppy disk, CD, DVD or flashdisk, insert it now." And I can't get over this error message. The strange thing is, there is no reason for Windows to require any extra drivers, as it can (apparently) read the installation flashdisk and it can see the ultrabook's SSD, too (can be verified both in the recovery console and by clicking the Browse button of this dialog). So far I tried:
    1) Four different Windows 7 images (two of them from MSDN AA, two physical, all of which have been successfully used to install the OS before).
    2) Switch SATA mode from AHCI to Compatible.
    3) Two different flashdisks.
    4) All possible combinations of boot order.
    Nothing worked. I even tried e-mailing Toshiba, but all messages come back with "user unknown" (understandable, I had to guess the addresses since Toshiba doesn't seem to provide any official way to contact them - or is hiding it so well I couldn't find it). Does anyone have any idea what I could try next? I rather like the Z830 and would love to use it, but the ability to install my own installation of the OS is essential for me.
    Thanks, Pepak

    > I even tried e-mailing Toshiba...
    Maybe stupid question now but have you tried to contact Microsoft too? If BIOS is OK and if all USB ports are working properly I dont think it is Toshiba related issue. Toshiba offers notebook with original recovery image (WIN7 64BIT HOME PREMIUM) and possibility to create bootable USB with recovery image that can be used anytime you want.
    What you do now is your own OS installation. What Toshiba must do is to offer all important drivers, tools and utilities on drivers download page.
    What else you can try? Try to obtain external USB ODD and try to install WIN7 using Microsoft installation disc. Im pretty sure this will work.

  • [SOLVED] Krita complains about missing lcms

    When I start Krita (before and after KDE 4.4 udpate) I get the same error message:
    The KOffice LittleCMS color management plugin is not installed. Krita will quit now.
    I do have lcms installed. When I start showfoto, I can enable color management just fine.
    Any idea?
    Thanks
    Alphazo
    [EDIT] Solution in the bug report http://bugs.archlinux.org/task/19621
    Basically sudo pacman -S koffice-plugins did the trick.
    Last edited by alphazo (2010-06-03 13:08:06)

    It's okay, I figured it out.  I was following this guide, in the hope it would eliminate the need for me to understand how exim configuration hangs together (I'm used to the simpler Debian exim4 template configuration).  However, it seems after reading the configuration file and noticing the configuration sections, I merely placed the gmail_relay in the wrong section.  Moving into the correct section has solved the problem.

  • Linking to ogre complains about missing -lboost_system

    could this be an issue with the ogre pkg_config file?
    from /usr/lib/pkgconfig/OGRE.pc I've changed the line :
    Libs: -L${libdir} -lOgreMain  -lpthread
    into:
    Libs: -L${libdir} -lOgreMain  -lpthread -lboost_system
    that fixed the problem.
    The suggestion was this is a broken file and should have -lboost_system in it. Is it and should it be fixed?
    An old ogre forum post is related to this problem http://www.ogre3d.org/forums/viewtopic.php?f=2&t=71037
    btw didn't know where to post this. I guessed here would be fine-ish..
    Last edited by quantummy (2013-07-15 20:01:18)

    More appropriate in the Creating and Modifying Packages forum. Moving...

  • [solved] exim complains about missing router driver "smtp"

    Seeing the following error:
    paniclog wrote:2014-02-15 14:41:41 Exim configuration error in line 546 of /etc/mail/exim.conf:
      router gmail_relay: cannot find router driver "smtp"
    My configuration:
    exim.conf wrote:
    gmail_route:
      driver = manualroute
      transport = gmail_relay
      route_list = * smtp.gmail.com
    gmail_relay:
      driver = smtp
      port = 587
      hosts_require_auth = $host_address
      hosts_require_tls = $host_address
    Last edited by iwonbigbro (2014-02-15 19:11:11)

    It's okay, I figured it out.  I was following this guide, in the hope it would eliminate the need for me to understand how exim configuration hangs together (I'm used to the simpler Debian exim4 template configuration).  However, it seems after reading the configuration file and noticing the configuration sections, I merely placed the gmail_relay in the wrong section.  Moving into the correct section has solved the problem.

  • Calling sub class method from superclass constructure

    hi all
    i have seen a program in which a super class constructure class methods of sub class before initialization of fields in subclass ,i want how this is posibble ?
    thanks in advance

    Hear is the code n other thing i have used final variable without initialization n compiler dosen't report error
    abstract class Test
    public Test()
    System.out.println("In DemoClass Constructer");
    this.show();
    public void show()
    System.out.println("In DemoClass Show() method");
    class Sub1 extends Test
    private final float number;
    public Sub1(float n)
    this.number=n;
    System.out.println((new StringBuilder()).append("Number is==").append(number).toString());
    int j;
    public void show()
    System.out.println("In Sub1 Class Show method ");
    public class DemoClass
    public static void main(String s[])
    Sub1 obj1=new Sub1(5);
    Sub1 obj2=new Sub1(6);
    thanks for reply

  • Calling init() method from "session scope" backing beans (AbstractPageBean)

    hi,
    i prepared a jsp/jsf page named DBmanage, its backing bean's scope is set to "session"
    the page contains - among other components - one radiobuttongroup, the buttons of which i would like to rename at the first time when the user visits the page... (default names are "item 1", "item 2", "item 3")
    i thought that the overridden init() method does the work for me with this simple code:
    import com.sun.webui.jsf.model.Option
    @override
    init() {
    rbg_default_options.setOption( new Option[]{new Option("it1", "RB1"), new Option("it2", "RB2")}
    so, let see how this code works when DBmanage backing bean's scope is "request"
    great! i see a radiobuttongroup with two buttons, named RB1 and RB2
    ok, now i change the scope to "session"
    sh&#@t!!! now i'm gazing at a page with buttons named "item 1", "item 2", "item 3"
    let's place a breakpoint inside the init() method and DEBUG... and my init() code has not run(??), how can this happen? init() method is valid only for request beans?
    pls! could anyone help me?
    ps.: i work with netbeans6.0 & glassfish
    thanks
    Gabor

    it's ok. i found out why it wasn't working.
    my scope was set to "session", but had to be "request" so that i could use the params syntax.
    thanks anyway.

  • Extensions Log complais about missing jars

    Hello!
    Extensions Log complains about missing jars
    Where can I find these jars?
    How to solve these problems?
    oracle.bpm.bpa
    Warning: Classpath entry C:\Oracle\Middleware\JDev\pcbpel\fabric\lib\orawsdl.jar not found.
    oracle.bpm.bpm-services.client
    Warning: Classpath entry C:\Oracle\Middleware\JDev\pcbpel\lib\j2ee\orasaaj.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\JDev\pcbpel\generated\jrf\orasaaj-rt.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\JDev\pcbpel\generated\jrf\wsclient.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\JDev\pcbpel\generated\jrf\wsclient-rt.jar not found.
    oracle.bpm.casemanagement.implementation
    Warning: Classpath entry C:\Oracle\Middleware\JDev\pcbpel\lib\j2ee\javax.persistence_1.0.0.0_1-0-2.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\JDev\pcbpel\fabric\lib\orawsdl.jar not found.
    oracle.bpm.compiler
    Warning: Classpath entry C:\Oracle\Middleware\JDev\jdeveloper\jdev\extensions\oracle.bpm.compiler.jar!\ade_autofs\nfsdo_base\JDK6\MAIN\LINUX\110210.1.6.0.24.B50\jdk6\lib\tools.jar not found.
    oracle.bpm.fusion.jdeveloper
    Warning: Classpath entry C:\Oracle\Middleware\JDev\jdeveloper\soa\modules\oracle.bpm.activityguide-ui_11.1.1.jar not found.
    oracle.bpm.pml.service
    Warning: Classpath entry C:\Oracle\Middleware\JDev\pcbpel\fabric\lib\soa-infra-mgmt.jar not found.
    oracle.bpm.project.catalog
    Warning: Classpath entry C:\Oracle\Middleware\JDev\jdeveloper\jdev\lib\adfm.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\JDev\jdeveloper\jdev\lib\ojdbc6dms.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\JDev\pcbpel\generated\jrf\dms.jar not found.
    Warning: Classpath entry C:\Oracle\Middleware\JDev\jdeveloper\lib\ojdl.jar not found.

    maybe I failed in my explanation..
    Versions:
    ADF Business Components     11.1.1.60.13
    BPMN Editor     11.1.1.5.0.0174
    Java(TM) Platform     1.6.0_24
    Oracle IDE     11.1.1.5.37.60.13
    SOA Composite Editor     11.1.1.5.0.01.74
    Versioning Support     11.1.1.5.37.60.13
    I have Oracle BPM Studio 11g and Oracle SOA Composite Editor
    I've looked for new updates that might resolve this but nothing ..

  • Calling session facade methods from my code

    My application consists of two projects: Interface and Model. Model, of course, is used for access to a database using TopLink with POJOs and session facade bean...Pretty much like thing done int tutorial. While, naturally, Interface project are the web pages etc. Standard web application.
    Now, there is no problem with using data controls from session facade bean (drag and drop to the form for making tables, lists, forms etc.), that works fine.
    What I need is to use methods from my session facade bean in my code. For example, I have made a TopLink query findAllLabels. It is exposed in session facade bean UtilBean so in the bean the code is
    List<Labels> findAllLabels(){
    So In some part of my code (for instance, in some backing bean) I would like to call this query. I have done this:
    UtilBean util=new UtilBean();
    List<Labels> labels=util.findAllLabels();
    And this works fine, for now. But, I'm wondering, is this the correct solution, and is there some more ellegant and correct way to do this? Is it correct to instantiate a session facade bean in this way?

    The more appropriate and correct solution is as follows:
    Drag the toplink named query(without expanding it) from the data control pallete into your h:form.
    You will get an option to create a ADF Command Button or ADF Command Link.
    Select ADF Command Button.
    Double click the generated button.
    It enables you to create a default action listener for the button. Ensure that the Check box labelled
    "Generate ADF Binding Code" is checked.
    Click OK.
    This should create a method in your backing bean
    as
    public String commandButton1_action(....)
    /*Generated Code.
    Insert your code here
    This should solve your problem
    Bye.

  • Time machine eventually complains about a missing time capsule

    In my environment I have the following scenario.
         - Several apple computers are running ML in my network. All of these mashines are configured to use time mashine to do backups to the same set of time capsules.
         - I do use 3 (three) time capsules for backup. One is always stationary, while the 2 others are exchanged in a fixed interval (a couple of weeks). One
            time capsule is always at an external place. The plan is to have a a maximum data loss of a couple of weeks.
    Everything is almost running fine. Every hour time mashine is doing backup up to a different disk. The missing time capsule is skipped. But over the sudden
    sometimes a time mashine dialog appears, telling me that it could not backup for so many days because the backup disk is missing. The problem is,
    there will be no further backup until this dialog is ackknowledged.
    I have no idea what situation will trigger this event. I do fear that my unattended server will stop backing up and I do not realize it. Or is this triggered by
    some application program which interacts with time mashine?
    Any comments are welcome.

    You are right, it is good to have diversive backup strategies. I do have others as well - but this is a diffrent story.
    I am wondering: am I the only one who uses multiple TC's with one TM?
    It is normal bahaviour, that if one backup disk could not be found, TM will use next one. The question is, what
    causes TM to complain about a missing disk and stating that there was no backup for say 10 days. The last
    successful backup is one hour old. In 99,9% it is working as expected, but once and a while this behavior is showing up.
    I am curious to find out if it is a bug in TM or some combination with other programs.

  • How to stop from asking about Missing Clips?

    Whenever I start Premiere Elements 8, it asks me to locate some missing clips (I deleted them from my machine as I no longer need them).
    If I choose "skip all", it proceeds into Premiere, but the next time I start up, it asks me again!
    How do I stop Premiere from asking me about missing clips?

    ATR,
    You are 100% correct. From the OP, it was my understanding that these files were not going to be used in this Project. If they really are, then they need to be retrieved (from backup, hopefully), or by re-Capture, as they have been deleted from the HDD.
    Your methods should help in the future, if such media files are really still required. Some do not understand that the Project file is NOT a repository for media - it is only an XML database of links and instructions. This ARTICLE goes into more details on that.
    If I am incorrect on these deleted files still being required, I do hope that copies of them exist elsewhere, or that a recovery program, like Stellar-Phoenix, can be run, before the HDD space gets overwritten. I hope that I am correct.
    Thanks for the warnings and for the instructions on how to handle things, in the event that the files ARE still needed in the Project.
    In my exampe above, one can see the Video usage column. In the OP's case, these should be empty, i.e. no numbers present. If they have ANY numbers besides them, they should also appear as Off-Line, and then the OP needs to get those back and in a hurry.
    Here's a look at that Video Usage Column:
    Good luck to the OP and please let us know exactly what the state of these files is, regarding your Project.
    Hunt

  • Calling a css user created method from jspx page in ADF faces

    Hi all,
    Can anyone help me out to solve an issue calling a css user created method from a jspx page.
    Note: The css method is not the default css method. It needs to be called using 'styleClass' attribute in any tag.
    Thanks
    Neha

    Hi,
    I am not an expert in CSS so I don't know what a css method is. However, CSS can be applied to components via EL accessing a managed bean that returns the sytle text
    Frank

Maybe you are looking for

  • What is the default unlock code after updating to iOS 8

    HAving never used app store I wanted to download an app and it forced me to update the operating system.  Three hours later I had ios8.  When I turned on the iPad this morning it wants an unlock pass code. I never selected one. Have never used iTunes

  • To create selection criteria for PO list

    Dear MM Experts, How we can get report on PO list on the basis of release strategy as selection criteria? Path : IMG - MM - Purchasing - Reporting - Maintain purchase list - Selection parameters - Define selection parameters. Please help me out. Than

  • Aero is disabled

    Hi, I am running Windows 7 RC build 7100 64 bit and Aero keeps turning itself off. I am using a Shuttle SN78SH7 http://eu.shuttle.com/en/DesktopDefault.aspx/tabid-72/170_read-14760/ with a Sapphire Radeon HD4550 graphics card The Windows Experience i

  • Can't open LR4, not supported on this type of Mac

    I just successfully installed LR4, however, it won't open the application because it says it is not supported on this type of Mac.  I have a Intel MacBook Pro, OS 10.6.8, with 2 GB RAM, and enough HD space to load and run.  I already have LR3 install

  • Click event on Graphics 2D

    Hi all , In my program i am using CALL FUNCTION 'GRAPH_2D' to show  output in graph , But my requriement is that,If i click on any column of the output ,  it should fetch the values of the particular column. eg : In  output at x-axis i have two value