Page Fragment and javascript - need help please
Hi all..
I have a page fragment (being used as a header) and am trying to get a text field in this page fragment to recieve a value from a javascript (that is embeded in the page fragment).. see the example below..
--------------PageFragment1----------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<div style="-rave-layout: grid; width: 400px; height: 200px" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://www.sun.com/web/ui">
<f:subview id="Fragment1">
<ui:textField binding="#{Fragment1.textField1}" id="textField1" style="position: absolute; left: 180px; top: 30px; width: 165px; height: 15px">
<SCRIPT>
var d = new Date();
document.getElementById("Fragment1:textField1").value = d.toLocaleString();
</SCRIPT>
</ui:textField>
</f:subview>
</div>
My problem is that doesn't matter what I do I cannot set the textField1 value from the script. For the actual application it does need to be a javascript - does anyone know how to do this on a page fragment as opposed to a plain page...
The actual error I get is on the client side and it states that document.getElementById is null... :( someone please help.
Thanks in advance.
You probably need to prepend "form1:" to the id (or whatever your form's id is) One sure fire way to figure this out is choose view source in your browser and search for the target field.
Similar Messages
-
My iphone was stolen and i need help please!!
ok, so my iphone was stolen and i want to know if i can transfer my old number to my new iphone without a new contract since i don't have the old sim card nor my old computer with the old iphone's backup, any suggestions?
Message was edited by: iphonestolenU should call ATT&T and tell them that ur iPhone was stolen and u need to cancel or block your stolen iPhone account so they cannot use it and transfer the same number to a new iPhone ( or other phone)..
-
Hi there,
I have had my Macbook for 18 months and have never experienced this problem with strange windows suddenly opening in Safari. I know this happens on windows 8 computers a lot, and it has never happened on my Macbook before.
Please can someone tell me how to get rid of these. I have reset my Safari and rebooted my computer, and don't know what else to do. This is very frustrating, as I cannot just do what I need to do.
Thank you
CherylI'm pretty sure you've got adware installed on your Mac. Please download and install adwaremedic: www.adwaremedic.com
This will remove most know adware plugins for you. -
How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please. Thanks
Si vous avez utilisé la commande Save As Template depuis Pages, il y a forcément un dossier
iWork > Pages
contenant Templates > My Templates
comme il y a un dossier
iWork > Numbers
contenant Templates > My Templates
Depuis le Finder, tapez cmd + f
puis configurez la recherche comme sur cette recopie d'écran.
puis lancez la recherche.
Ainsi, vous allez trouver vos modèles personnalisés dans leur dossier.
Chez moi, il y en a une kyrielle en dehors des dossiers standards parce que je renomme wxcvb.template quasiment tous mes documents Pages et wxcvb.nmbtemplate à peu près tous mes documents Numbers.
Ainsi, quand je travaille sur un document, je ne suis pas ralenti par Autosave.
Désolé mais je ne répondrai plus avant demain.
Pour moi il est temps de dormir.
Yvan KOENIG (VALLAURIS, France) mercredi 23 janvier 2011 22:39:28
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
My iDisk is : <http://public.me.com/koenigyvan>
Please : Search for questions similar to your own before submitting them to the community -
I am trying like **** to download itunes 10.6.3 (64 bit - Windows 7) and I keep getting "the installer was interrupted before the requested operations for iTunes could be completed. Your systems has not been modified." I NEED HELP, PLEASE!
I got it figured out myself... yaaaaay for me!
-
After my iphone4S update to 7.0.6, it have a problem that keep searching network then no service show on display. Can't call. I have try check sim card, reset network settings, and restore my iphone. Still not working at all. Need help please.Urgent.TQ
Izit software or hardware? Confuse:(
Only can use wifi now.
Any way thanks guys for ur suggestion:) amishcake and simes -
Bought a new macbook and want to manually manage music onto my iphone 4s (as it is already full of music from old windows laptop) but when i click 'manually manage' and then 'apply' i get the message saying it will erase everything already on there. Need help please!
Before you sync your iPhone make sure that all the music that was synced to your phonereviously has been copied to your iTunes on the new MacBook Pro. Then when you connect your phone you will be able to either sync all music or select only those playlists that you want on the phone.
-
Hi i need help please i been playing clash of clans over 13 months. And today o realise what someone using my game Centra. Someone playing on my game Clash of Clans. I been change my Apple ID password, email, but doesn't work. Then I playing game I can see what someone else trying connecting to my game And I don't know what to do.So if you can help me please? I don't wanna lose my game.
Contact iTunes
Contact iTunes -
Hi i need help please i been playing clash of clans over 13 months. And today o realise what someone using my game Centra. Someone playing on my game Clash of Clans. I been change my Apple ID password, email, but doesn't work. When I playing game I can see what someone else trying connecting to my game And I don't know what to do.So if you can help me please? I don't wanna lose my game.
Hello Vaidas Vaidas,
It sounds like you are noticing someone else is accessing your Clash of Clans data by playing the game and you have tried to reset your Apple ID password. If you are following the steps outlined in this article:
Apple ID: Changing your password
http://support.apple.com/kb/ht5624
What is preventing you from changing your password? Any error messages or prompts?
Thank you for using Apple Support Communities.
All the best,
Sterling -
i dont know how i got my photos to my ipod touch from my pc and now i wanna delete them but couldn't. so need help. please let me know.
To turn off auto sync - launch iTunes and go to Edit>Preferences>Devices - check the box at the bottom that says - Prevent iPod, iPhones and iPads from syncing automatically. Click OK and then quit iTunes.
Connect your iDevice to your PC.
Launch iTunes,
Click on the device name on the left side of the iTunes Window.
Click on the Photos Tab in the iTunes window on the right.
Untick all of the photos or albums that you want to remove.
Click on Apply in the lower right corner of iTunes
If you untick or uncheck the Sync Photos heading and then click Apply it will remove all of the photos from the device when it syncs. In this screenshot - I have only certain albums and events selected to sync. -
Hello, I,m having problems with Polish spell check. It says in iPnstruction that this App (pages) should show my writing mistakes. Check spell button is on but but check spell is not working. Need help Please.
Hello, I,m having problems with Polish spell check. It says in iPnstruction that this App (pages) should show my writing mistakes. Check spell button is on but but check spell is not working. Need help Please.
-
I'm trying to reinstall Logic Pro 9, and it says It's already installed. I have a project due for class and I need help asap. Please help!!!
Yea I am. I deleted Logic Pro 9 and moved the App to the Trashcan like normal. Then when I go to install it, it says its already Installed. When I do this with other apps; it works fine, the install thing comes back up like it should once you have deleted the app
-
I need help please. I have 6 apps updates shown on on the upper right corner of the app store icon. When i tried to open the apps store and go to updates, the apps that need to be updated were not appearing therefore i have no idea what those apps are so that i can update them. Please give some solutions please
isthisonetaken wrote:
I'm having this problem. It started yesterday. I have 2 updates, but when I open the App Store, they won't appear.
Do you have apps purchased with a differnt AppleID?
For example, mine shows 12 updates but only 2 show up as being available.
The others are on my daughters account.
I log out of my iTunes account and log in with hers and those updates show up. -
had a problem with my itunes so i had went on itunes website and reinstall itunes for windows and after it complete it said that the feature yoy are trying to use is on a network resource that is unavailable i need help please!!!!!!!!!
first, head into your Add/Remove programs and uninstall your QuickTime. if it goes, good. if it doesn't, we'll just attend to it when we attend to itunes.
next, download and install the revo uninstaller http://http://www.revouninstaller.com/revo_uninstaller_free_download.html. use it to clear any existing itunes and/or QuickTime installation configuration information from the PC.
next download itunes. it worked for me hope this is helpful!!
oonce you get into the revo uninstallergo thru to delete itunes hit uninstall on the itunes icon then you will go thru to it will tell u the same nmessage about the feature and network hit cancell then go thru and hit scan (make sure bthe advance scan button is pushed) this will take awhile but go thru the list and hit everything associated with itunes. hit delete then install itunes again. it worked for me hope it works for you! -
Hello, I have a problem on my iPhone every second turn on and off I mean it shows the apple and off and again shows the apple icon and off and tried to Restore and it hangs on my iPhone and then waits Error 3004 Please I need help please!
Resolve communication issues
Related errors: 17, 1004, 1013, 1638, 3014, 3194, 3000, 3002, 3004, 3013, 3014, 3015, 3194, or 3200.
These alerts refer to gs.apple.com, say "There was a problem downloading the software," or say the "device isn't eligible for the requested build."
I would guess your iphone has been hacked ( jailbroken ) ring any bells ?
Maybe you are looking for
-
Acrobat 9.0 Pro Slow Moving Buttons
Hi All, Im new here but am experiencing considerable delay position buttons. Basically, its slow to create a button and to actually move the reposition the button. I am running Windows Vista Enterprise 32 bit with: - Acrobat Pro 9.0 - Intel 1.8ghz C
-
I have to admit, I'm baffled by all this. Nowhere in the explanations of Airport Express or any Airport products for that matter does it actually tell me what these things do or what exactly I need to get them to do it. There's a plain English defici
-
Best monitor for beginning graphic designer?
I am starting out in graphic design. I have been doing a good amount of design for the web and a bit of print also. My laptop is just not cutting it for screen space and I would like to get a monitor that has decent color clarity, etc so that the col
-
Questionnaire in Decision Point
Hi, Is it possible to maintain Questionnaire in Decision Point? If so can someone help me in providing the process to maintain the same.
-
Hi, i need to know What are all the SOLMAN areas get covered in the below topics. Process Related Documentation Repository Testing Management(Test Scripts, link w/ecatts) Definition of Business Process Hierarchy(Scope) Configuration Management Releas