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
-
I created a book on iPhoto. I click on the buy button, and I get a message that says Connecting with a moving blue striped rectangle. I am connected to the internet and I have made books before without any problems. I have tried for the past two weeks at various times and I get this same message each time. Any ideas about what is going on?
First confirm that you can create a PDF file of your book as described in this Apple document: iPhoto '11: Preview a book, card, or calendar before you order or print it. Post back with the results.
OT -
I have an Apple MacBook Pro with 2 USB ports and a MiniDisplay Port. I also have an HDTV with a HDMI port. How can I use the TV as a display without any tethering wires between my computer and the TV? I have a MiniDisplay Port to VGA adapter, but there are two issues with it: The new display doesn't have a VGA port, and even if it did, I wouldn't want to have my mac constantly attached to the display by a cable. I was looking for a way to use the TV as a display without any wires. Is there some type of bluetooth setup I could use? Please let me know if you have any suggestions.
As I wrote above, I think you should look into the Apple TV yourself. The best place to find information about what it can and can't do and to ask your own specific questions is probably in the Apple TV forum, here:
https://discussions.apple.com/community/appletv/appletv -
I can send tv shows from my ipad to my apple tv without any issues. Why cant i do the same with a movie rental? Or how do i do the same with a movie rental?
Personally I think the iOS devices are poor at reconnecting - Airplay establishes that a link is available but when the iPhone/iPad has been away from the house and rejoins the network i think AppleTV already thinks it's connected with a different IP address and fails to recognise it has joined the network again with new credentials.
Something along those lines anyway.
I find that a combination of restarting AppleTV, router and iOS device tends to fix it, but not for everyone.
AC -
hi
I want to print the page numbers for the data in Advance Data grid, For printing I am using print advance data grid , but unable to print the page numbers with that.
actually i tried with Vbox/Vgroup, but when tha data is more because of this it is strucking, and more over imageRenderer in the PrintAdvancedataGrid not printing.
can any one help in this regard?Image Caches hold images you've already loaded so the next time you request them, they can be made available without network latency. This assume for your DG, that all images you need to print have been loaded by, for example, whatever DG the user was looking at before hitting Print. This is easy when there are only a few icons used to show status, but won't work if each row has a different image unless you've somehow loaded up all of those images beforehand.
Spark BitmapImage has an Image cache, but some third party ones are discussed here:
http://thanksmister.com/2009/01/18/superimage-redux/
-Alex -
Problems buying 'pages and numbers, I have an itunes a/c and have been trying to buy pages and numbers for 2 weeks now. When I press the green button to 'Buy now' nothing happens, the page remains on the screen. If I open my account, i haven't purchased anything
Has any-one experienced this problem
ThanksJust to clarify...
Did you know that by purchasing it in iTunes, you are purchasing the iOS version of Pages and Numbers? If you wanted the Mac version, it should be downloaded from the Mac App Store.
If you DID want to download a copy for an iPhone, iPod touch and iPad, then try purchasing these apps on one of those devices rather than iTunes and see if it works. -
I am unable to access my mail account on my iphone, which I have been able to do previously. I press the mail icon, the page refreshes to the mail format page - blue bar top and bottom, white text space in the middle.... and that is as far as it goes. It does not list my email accounts or offer any.
Close the mail app, double tap the home button and completely close out of the app.
then do a reset, no data loss. Hold down the home/sleep button together until you see the apple logo and then release, then wait for the phone to boot back up. -
but this is only for the songs downloaded on my phone. I can't play any songs on my phone, only on the original itunes library. Whats going on??
The iPod backup that iTunes makes does not inlcuded synced media like apps and music. Thes those iTunes are not restored to the iPod unless they are in the iTunes library.
Try:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Unsync all music and resync
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device. -
My apple TV is not working. The light blinks but the TV only shows the apple picture and nothing happens. Any idea why?
James,
Thank you for the information. I did what you said but it is still not working. My apple box works with my wifi so I think the wife was disconnected and I can't figure out where to go to set up the wifi pass word for the apple box. Any hits would be appreciated if not my next step is to ship back the box to apple.
Thanks,
Marta -
Is there any way to link page number with the reference page number within text in InDesign CC and CS6?
You should ask in InDesign
The Cloud forum is not about using individual programs
The Cloud forum is about the Cloud as a delivery & install process
If you will start at the Forums Index https://forums.adobe.com/welcome
You will be able to select a forum for the specific Adobe product(s) you use
Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll -
Im not sure what I am doing wrong but I am building a portfolio site from a template that I downloaded online.
The site is working and I am slowly converting it from the template content to the content that I want.
As I will be editing the site and adding more pages I decided to try and add the Header, footer and main navigation bar as a template with another gallery container and navigation as an option on the template.
I thought that it was working fine untill I noticed that the links on the pages created using the template are showing as follows,
instead of the links that were in the template that show as,
Is this something that will change when I upload the site with the template or have I done something wrong making the links?Usually this happens when you don't use a proper Site Definition, or if you have files outside your defined site folder.
Have you defined your site properly?
http://tv.adobe.com/watch/learn-dreamweaver-cs5/gs01-defining-a-new-site/ -
Hi
I m not sure i m in the right comunity.
I have a brand new Ipad 2
In the SETTINGS page, when i press MAIL,CONTACT , CALENDARS the page back to the initial page and do not open the page requested..
Any ideas?
Tks for the helpA reboot should be enough to make it work.
Just restart your computer.
Otherwise, make sure you're an administrator - as if you're not, it could be that the administrator put a restiction. -
Since I have upgraded to ios7 my internet banking page will not fit the screen. Before updating I enlarged the page by using the *2 button in the bottom right hand of the screen, there no longer is that option?
Install or Reinstall OS X from Scratch
Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
Boot to the Recovery HD:
Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
Erase the hard drive:
1. Select Disk Utility from the main menu and click on the Continue button.
2. After DU loads select your startup volume (usually Macintosh HD) from the
left side list. Click on the Erase tab in the DU main window.
3. Set the format type to Mac OS Extended (Journaled.) Optionally, click on
the Security button and set the Zero Data option to one-pass. Click on
the Erase button and wait until the process has completed.
4. Quit DU and return to the main menu.
Reinstall OS X: Select Reinstall OS X and click on the Install button.
Note: You will need an active Internet connection. I suggest using Ethernet if possible
because it is three times faster than wireless. -
I am super frustrated with Safari in ios 7. I do not have the pages icon on the bottom right of Safari ios 7. When I press the plus sign at the top right I see 'private' on the bottom left side but there are no buttons on the bottom right at all. I am trying to get Safari to have the tab Rolodex look of the tabbed windows. So I can see the pages. Hope this is making sense. Why am I not seeing the pages button on the bottom right of Safari?
Thanks!Bummer! Hopefully this will change in the future. At least I know now that I am not crazy for not seeing the pages icon! Thanks so much :)
-
not getting any sound when connecting my hdmi on the tv only on the laptop, no option in sound settings for altering hdmi
Solution may be found if you search in the "More Like This" section over in the right column.
Maybe you are looking for
-
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,
-
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