Global Template Button without any code on the page, only in the template

I have a template with 2 facets
     Main
     SubMenu
I would like to have some global Button on my template like Insert, save, delete, next and prev. And only have the code in the template.
So others just can use the template without thinking on added code to the page, to make the template work.
I have found some tutorials but there you have to create a managed bean on the page that uses the template.
What i would like it to make a piece of Java code in the bean on the template that do
something like this:
Look in Facet("Main) for form, find the last focus table
     then do the action "Insert,save,delete,next and prev" on table
I guess i need to run thru all the children of the Facet and look for a specific type
and somehow run the action for this child.
I don't wanna have to do any coding on the page, that uses the template only the template.

Hi,
have a look at http://thepeninsulasedge.com/frank_nimphius/2007/11/23/adf-faces-rc-implementation-strategies-for-global-buttons-in-page-templates/
Maybe this is what you are after
Frank

Similar Messages

Maybe you are looking for

  • Delivery Date in RFQ

    Dears, The delivery date is not coming in RFQ from the first screen, instead it is showing current date.  For each and every material we have to change the delivery date.  Any idea how to to put as default so that it will pick up from the first scree

  • PROBLEM WITH AUTO POPULATE IN THE GOOGLE SEARCH BOX

    When I type in the google search box it auto populates search terms as it always has. However since upgrading to FF4 when I click on the one I want to go to ... nothing happens. I have to type the full search every time. I don't see this issue anywhe

  • Obsolete keywords/techniques in ABAP HR

    hi experts, i am working on PY and time implimentation on ECC 6.0 , i need to have a refrence of Obsolete keywords/techniques in ABAP HR. kindly provide me the same or link to source to get the same. regards, Rahul

  • New work computer, apps keep quitting on me

    Hello! About 2 weeks ago, I received a new work computer (iMac9,1 ; Intel Core 2 Duo; 2.66 GHz). About 3 days into using the new computer, I had a series of applications quit on me. I typically have Apple Mail, Excel, Firefox, Meeting Maker, iTunes,

  • Serial Change on FCP 7

    Hello.  I'm trying to change the serial number on my macbook pro.  I deleted "Final Cut Studio System ID" and FCP 7 is still opening under my old serial.  Is there another trick for Snow Leopard?  The trash is empty, I'm not on the network, and I've