Can't bin MethodExpression to HtmlCommandButton

Hi there,
I have the following class structure in a JSF project with facelets:
ManagedBeanAncestor class, and
subclasses A,B,C
The purpose ManagedBeanAncestor is to hold 3 HtmlCommandButton non-static instances and 3 non-static methods : Save,Cancel and Delete. As you might guess, these are Entity managedbeans whose purpose is to interface with POJO objects and the Persistence context.
Since I have to build all jspx pages in a similar way, I decided this structure in order to need only to implement in A,B and C backing bean every specific Save,Cancel and Delete behaviour. Together with an ui:include file, containing in the front-end the layout of the three buttons, I guessed including that template in every A.jspx, B.jspx and C.jspx, would solve the problem.
However I am finding myself now that the backbean methods Save() Cancel() and Delete() are not called neither in the backing bean (A,B,C or the superinstance), although defining the bindings of the HtmlCommandButtons to the commandButton tags in the jspx file through the "binding" attribute of the commandButton tag. I am not setting the action attribute, because in a phase listener after the renderresponse phase, I attach MethodExpression's to the involved subclass. The attach method should parse the expressión automatically (according to the documentation) so no error in the EL expression is possible. Moreover after attaching the MethodExpression, while debugging I can see a MethodExpression was successfullyattached to the HtmlCommandButton in the backing bean. I already tried setting the MethodExpression through the action attribute, but again no luck.
As you can imagine when clicking on the button.. nothing happens.
Can you guess any reason for that? I have been struggling with it for a few hours now, and cannot figure anything out on what can be the cause.
Would appreciate some light on the matter if possible. It was hard for me to explaing. Hope the problem is more or less clear.
Many thanks in advance for your help
Chal.lo

Well thanks for the remembering. It was a silly thing I was forgetting. TO ENCLOSE THE BUTTON IN A FORM!!!!!!!!!!!!!
Sorry for the little waste of time! The rest of the srategy worked at first after that.
Washeavily pushing for this one since I found it really time saving
Regards and thanks again!
Carlos

Similar Messages

  • Can config.bin be "restored" from a command prompt?

    After trying to find ways to configure the router using batch commands, I've realized that configuring the router with port forwarding enabled and backing up the router to config.bin, and then configuring it with port forwarding disabled and backing up the router to config.bin, I now have an ON and OFF. If there is a way to load config.bin to the router via command prompt it would achieve what I'm looking for.
    Thanks,
    Terry

    Sure.
    The Messenger project at Jakarta already has Producer and Consumer classes that can be run from the command line to send / receive messages via JMS. So you don't even need to write any code ;-)
    http://jakarta.apache.org/commons/messenger.html

  • Ovi Suite upgraded 6220 Classic. Can I bin home sc...

    I hadn't backed up my phone in 2 and a half years (I'd previously done so with Nokia PC Suite), so I thought I should create a fresh back-up. To do this I connected the phone to my Dad's PC laptop (running Windows Vista Home Premium) as my own computer is a 10 year old Mac which won't run PC software natively.
    The PC detected the phone, automatically installed some 6220 Classic device drivers onto itself, and then asked for permission to update 2 different bits of software on the phone, which it did quite quickly & easily. (The version numbers of these 2 pieces of software both went from 1.0.0 to 1.x.x after the updates were applied - I can't recall the exact version numbers, but one of them became 1.5.x).
    After this the PC downloaded & installed PC Suite. At the point where I was asked if I wanted to run PC Suite, I was presented with a button offering me the option to download, install & run Ovi Suite instead. I accepted.
    Once Ovi Suite was running, it told me that it wanted to update my phone's software, but to do this it would need to move all the data from the phone to the PC, do the update, and then put everything back again. I agreed, and this (lengthy) process took place. I had to log into my Nokia account near the beginning of this process.
    After the process completed & the phone restarted itself, I was asked for permission to re-update the 2 small pieces of software that the PC had originally updated on the phone. (Strangely, after the Ovi Suite wipe & restore, the version numbers had reverted to 1.0.0, but this repeat of the updating took them back to 1.x.x again in both cases).
    After everything was complete, I successfully backed all my data up from the phone to the PC.
    Because of the Ovi Suite wipe, upgrade & restore, many settings/preferences had reverted to their factory defaults rather than to my preferred settings. I've been able to put everything back to how I like it apart from 2 things:
    1. The main/home/start screen, rather than just having my chosen wallpaper shown, has a row of icons overlaying the top of the wallpaper, with a dotted line below them, a summary of today & tomorrow's calendar entries below that, another dotted line, a "Search: Internet and My content" line, another dotted line, and then a "Share online" line. I can't seem to get rid of all this - is there any way to?
    2. This is related to problem 1. Previously I had the four directions of the "Navi" scroll key (plus the centre button) set to my five preferred commands. Since the upgrade there doesn't seem to be any way to change their functions. Up, down, left & right now move a highlight around the icons & lines referred to in the paragraph above, and the centre key is labelled "Open". If I go to Menu -> Settings -> Phone Settings -> General -> Personalisation -> Standby Mode -> Shortcuts, I can assign whatever I like to the Left & Right selection keys as before, but there are no entries to allow me to assign anything to the Navi scroll key. Instead I can assign whatever I like to Shortcuts 1 through 6 - i.e. I can choose which 6 icons should overlay the top of my wallpaper. The problem is I don't want any icons overlaying my wallpaper, and I want to restore the ability to customise the Navi scroll key's functions on the home screen - is there any way to make things how they were, without somehow wiping the phone & restoring it to how it was before Ovi Suite did its worst?
    Many thanks.
    Solved!
    Go to Solution.

    While I was fiddling around with my phone first thing this morning I actually figured out the answers to both problems myself, almost by accident, but many thanks for the reply anyway.
    Just to give a precise version of the answer above for the 6200 Classic, anyone in this situation should go to:
    Menu -> Settings -> Phone settings -> General -> Personalisation -> Standby mode -> Standby theme
    and change "Horizontal icon bar" to "Basic". This will solve problem 1.
    Pressing "Back" then "Shortcuts" will reveal that the options to alter the Navi key functionality are now also available (solving problem 2).
    Simple when you know how!

  • Error while creating folder named "bin" using explorer view in sharepoint 2010

    I am getting error when I create a folder in a library named "bin" using explorer view in sharepoint 2010.
    When I create folders with other names I don't get any errors.
     Please suggest.

    Hi,
    According to your description, my understanding is that you got an
    error when you create a folder named “bin” in a SharePoint library with explorer view.
    There are any Microsoft.NET Framework assemblies that have controls or parts that the SharePoint site uses, which are stored in the bin folder. You can remove “bin”  from hidden segments, then you can create a folder named “bin”
    in the SharePoint library with explorer view.
       1.Opened IIS Manager and selected Server name -> Request Filtering -> Hidden Segments tab -> Removed "bin" from there:
       2.Perform IISRESET:
    Thanks,
    Dean Wang

  • How can I recover a .psd file that photoshop says is 'empty'?

    I've been working on this file for a long time, then I tried to work on it tonight, and Photoshop gave me a message that said "Could not complete your request because the file is empty."  I have no idea why this happened and I really don't want to have to redo all of my work.  Any suggestions?
    My operating system is Mac OSX.
    Thanks!

    If not, and you're out of luck, take heart...  Photoshop CS6 has an auto-save feature that might be able to help you.
    I have also suggested multiple times that Adobe start to make use of the Trash Can / Recycle Bin, so that any older save could be recovered in a pinch.  I've gotten fairly little attention with that suggestion, though it would be well appreciated by people like yourself, I'm sure!
    -Noel

  • Grouping of bins withing one storage section per Material Number

    HI,
    We have requirement of placing materials into fix group of bins. e.g One material in 4 bins, second material in 8 bins, third Material in 10 bins, Fourth Material in 2 bins and so on. We have approximately 8500 numbers of different material in store.
    Material Master has only One bin defined in WM view 2.
    How can we keep one material into Group of Fix bin within one section.
    Could you please help me to get above requirement.
    Regards,
    Manish

    Hi ,
    It means this is only way we can group bins togeather. I may be having more then 100 sections in the warehouse.
    I mentioned in my earlier communication that we have lot of materials.
    Its a very big storage area , and each material has fixed number of bins. So within one storage type there will be approximately 300 sections.
    As per your advice I should go for Sections for grouping of bins.
    Is there any other way we can do it, as asked by me in my query, i.e.  within one section, gouping of bins.
    Regards,
    Manish

  • Can't mount root filesystem, even though it's there

    I've moved my system to a new hard drive as described at http://oreilly.com/pub/h/2504 , but I'm having issues booting. GRUB starts the kernel okay, which runs fine until it tries to mount the root drive. It does the "Waiting 10s for /dev/whatever" bit and finds it, but then mount complains "No such file or directory", which is ridiculous, since both it and /new_root/ are clearly there.
    This seems to be a problem with mount and /dev--I can mount /bin/ls on /new_root (or at least try to without mount complaining about its existence, though it does freeze), but I can't try anything in /dev, e.g. mounting /dev/zero also returns "No such file or directory", though it should return "/dev/zero is not a block device" based on what it does in my other system.
    What's going on?

    You do not have a virus.  See my Mac Malware Guide.
    As to what is going on, I'm not sure.  Have you tried restarting the machine?  If that makes the problem go away, I wouldn't worry about it further unless it recurs.
    (Note that my pages contain links to other pages that promote my services, and this should not be taken as an endorsement of my services by Apple.)

  • How can I stop Elements 7 from trying to reconnect photos?

    Do all photos in Elements
    7 also have to be in Windows, etc?  I deleted all my photos from
    Windows Vista to save space and now all 2000+ photos in Element
    s are disconnected.  I cannot do anything with these photos.  Is there a way to have Elements ignore the fact that they are disconnected?  Do I really have to reconnect all of these photos one at a time?  I loaded a lot of these photos back onto Windows Vista from my external hard drive but they returned with new names that the external drive assigned them so Photoshop Elements can still not find them without them being connected through browse.  I would be so grateful if anyone can help with this!

    I deleted all my photos fromWindows Vista to save space and now all 2000+ photos in Element
    s are disconnected.
    You might want to look in the trash can/recycle bin and see if your photos are there. If they are, move them back to EXACTLY the same place where they were.
    Not only will this fix all your problems, but it is never a good idea to delete your photos. PSE does not contain copies of your photos!

  • Material picking by bin number

    Hello all,
    Is there any transaction or SAP functionality to consolidate a list with all materials to be picked by bin number relevant to goods issue. Pl post documents or links related to it.
    Thanks,
    maxx

    Generally there are two areas where bin location /number can be maintained.
    1.     In MMSC transaction for a particular material and for plant –for the storage locations you can maintain bin locations. Correspondingly the bin location will be displayed.
    2.     In the classification data for a particular class type you can define characteristic called bin location there also you can maintain.
    3.     In the material master general plant data storage location you can maintain bin location.
    4.     If the material subjected to a warehouse management you can maintain the fixed bin data in warehouse management -2 views.
    If you want extract the report when storage location base if the material subjected to batch management all bin location will be displayed only when the report is extracted on the basis of storage location. If batch wise even though the bin location is specified for a particular storage location if extract in batched the bin location will not be displayed.
    If satisfied please award with some points
    Thanks
    Hari prasd

  • [SOLVED] Terminator stopped working Unable to start shell:/bin/bash

    Hello,
    I just wanted to share as I didn't found anything about it,
    Since yesterday I can't launch my favorite terminal emulator which is terminator, it gives me :
    Unable to start shell:/bin/bash
    displayed in terminator window where I'm supposed to type commands.
    What is strange is that I can launch /bin/bash in tty's plus I installed xterm temporarily which works fine with bash.
    One more thing is that if I close terminator window it closes my graphical session !
    Any idea to troubleshoot this ?
    Last edited by detestable (2013-08-16 08:39:54)

    I'm getting this :
    me@latitude ~ $ gdb /usr/bin/python
    GNU gdb (GDB) 7.6
    Copyright (C) 2013 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "x86_64-unknown-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /usr/bin/python3.3...(no debugging symbols found)...done.
    (gdb) run /bin/terminator
    Starting program: /usr/bin/python3.3 /bin/terminator
    warning: Could not load shared library symbols for linux-vdso.so.1.
    Do you need "set solib-search-path" or "set sysroot"?
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/usr/lib/libthread_db.so.1".
    File "/bin/terminator", line 103
    except (KeyError,ValueError), ex:
    ^
    SyntaxError: invalid syntax
    [Inferior 1 (process 13780) exited with code 01]
    I also tried gnome-terminal which is not working correctly (installed right now)
    From the user interface it says in red :
    "There was an error creating the child process for this terminal"
    "grantpt failed: Operation not permitted"
    From gdb :
    m@latitude ~ $ gdb /usr/bin/gnome-terminal
    GNU gdb (GDB) 7.6
    Copyright (C) 2013 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "x86_64-unknown-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /usr/bin/gnome-terminal...(no debugging symbols found)...done.
    (gdb) run
    Starting program: /usr/bin/gnome-terminal
    warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
    warning: Could not load shared library symbols for linux-vdso.so.1.
    Do you need "set solib-search-path" or "set sysroot"?
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/usr/lib/libthread_db.so.1".
    [New Thread 0x7fffea2b9700 (LWP 13839)]
    Error: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._vte_2dpty_2derror.Code1: grantpt failed: Operation not permitted
    [Thread 0x7fffea2b9700 (LWP 13839) exited]
    [Inferior 1 (process 13835) exited normally]
    Only xterm seems to work

  • Bin to bin transfer from SU managed storage type to NON SU storage type

    Hi Experts ,
    Kindly guide as how i can  perform  Bin to bin transfer from SU managed storage type to NON SU storage type
    Thanks
    Jinoy

    There is no particular technique for this. You can use single or collective method (LT01 or LT10).
    Provide the source SU and destination storage type and bin and save the TO. Your transfer will be complete.
    The SU number will be lost because you have moved the stock to a non SU storage type.
    Regards,
    Aroop

  • Bin to Bin error

    Hi All,
    Can not Bin to Bin ...getting error message
    Can't explain why this is not working....may be because base unit is kg's?  This is material that has been returned to us.  The bin is the Delivery number (xxxxxxxxx) , but when try to take out the amount for one pallet you get the pop up message (requested amt couldnt be supplied.)    But , next I did a bin to bin with 1LB and it took....but then when I tried to bin it back....it left rounding amount?   So basically there are two questions.....why will it not let us break this down...and why did it leave rounding amount in bin for just a regular bin to bin?  I have shipping had to do a LT01 (manual TO) to get the amounts moved?
    When I did next bin to bin, I only did 1lb and it took?
    Then I bin to bin back the 1lb and it left material in bin

    SAP says in OSS 1595843 - No warning message is issued for a short pick in transaction LT01 :
    Transaction LT01 is use for internal warehouse moves (bin to bin transfer). Even if the requested amount is higher on the initial input screen, it is only physically possible to move what is actually available in that bin. As the TO is always manually created, it is assumed that the warehouse operator is aware of the stock that is being moved from point A to point B.
    Read the full note it has a resolution for you

  • Bin problem

    Hi All,
    Can not Bin to Bin ...getting error message
    Can't explain why this is not working....may be because base unit is kg's?  This is material that has been returned to us.  The bin is the Delivery number (xxxxxxxxx) , but when try to take out the amount for one pallet you get the pop up message (requested amt couldnt be supplied.)    But , next I did a bin to bin with 1LB and it took....but then when I tried to bin it back....it left rounding amount?   So basically there are two questions.....why will it not let us break this down...and why did it leave rounding amount in bin for just a regular bin to bin?  I have shipping had to do a LT01 (manual TO) to get the amounts moved?
    When I did next bin to bin, I only did 1lb and it took?
    Then I bin to bin back the 1lb and it left material in bin

    hi
    check the UoM maintained for the materials. Base UoM,Conversion Uom for Purchase/Issue.

  • I lost my images from my hard drive and now I can not access them in Lightroom. What can I do?

    I lost my images from my hard drive and now I can not access them in Lightroom. What can I do?

    Your images are truly no longer present on the hard drive(s)? Have you had your operating system do a search for them?
    If such a search fails to find them, here's what I would do, in order
    Look in the trash can/recycle bin
    Restore from backups
    If you don't have backups ... well, why not? ... find a program on the internet called an "undelete utility" (free versons are available) and then download and install it and run it. If you are going to do this, then do not perform any other tasks on your computer except find the program, download it (if possible to a different drive than the photos were stored on), install it (if possible to a different drive than the photos were stored on), and run it. In the future, you will need to commit to making regular backups of your photos and of your Lightroom catalog file, no excuses.
    If that doesn't work, but the thumbnails still appear in Lightroom, you can probably recover the thumbnails from Lightroom via a plug-in, but these would be low-resolution versions of your photos, if you really need instructions on this step, write back

  • Bin structure template

    Hello everyone,
           in the Structure of storage bins for automatic creation ( IMGLogistics execution-warehouse management-master datastorage binsdefine storage structure ..how do we define the template  ( FOR EX: ANNCCCCCCN )
    please explain me about the template in detail ...Thanks all

    Hi,
    Template is created based  alpha numric character & special character like hipen
    template ( FOR EX: ANNCCCCCCN ).
    A-Alphabet
    N-Numeric
    C-character
    So you can create bin with structure by using alphabet & numeric,special characters.
    Regards
    Ravi shankar.

Maybe you are looking for

  • Customization form at top populate Report Results at bottom of screen?

    Is it possible to develop a customization form and its report on the same page? Here is the scenario. We want the customization form on the top of the Portal page, and then we want the results of the query form (the report results) to populate in the

  • Insufficient privileges when creating MV with alter session set current_sch

    I am getting Insufficient privileges when creating MV with alter session set current_schema=Application schema name. User running the alter session is DBA user. If run as SYSDBA, MV is created successfully. DB Version is 10.2.0.3 I observed similiar

  • I cannot open raw files in elements 10

    i cannot open raw files in elements 10

  • How to update KDE (with dependencies)?

    I wanted to update KDE from 4.3.2 to 4.3.3 So I picked one package (kdebase-workspace) and updated. Unfortunately none of the other packages was updated automatically, which broke the system. So do I have to install every single KDE package manually?

  • Lenovo Flex 2 14, poor speaker quality.

    I just bought a Flex 2 14 and I feel that the speaker quality is really bad. The speakers sound plastic and, to be honest, crappy. I've tried tinkering around with the audio settings and the Dolby thing, and while it gives it a little bit of boost, t