Can I use JavaScript HTML Portlet and PDK Portlets

Can I use JavaScript HTML Portlet and PDK Portlets?
My Script works fine with the an HTML portlet but it always gives a an Error Message in the status bar is that normal...
Other then that I have JavaScript in my PDK portlet page it does not work.. it is the the same javascript I use for in my HTML portlet which works in HTML portlets..

You'll have to place your JavaScript in the header section of your Portal page. To do so, use HTML/UI templates. For more information, refer to the How to Design and Build Compelling Portal Interfaces whitepaper.
Good luck,
Peter

Similar Messages

  • How can I use javascript in a Text Area with HTML editor??

    My question is... how can I use javascript in Text Area with HTML editor??
    I can use javascript functions that change the content of Text Areas but i can´t if i try in text area with html editor....
    I need to limit number of characters in a text area with html editor and i can´t.
    could anybody help me please?

    I have been experiencing similar problems with the HTML Editor and have managed to find an answer that should start to answer some of my questions. The Apex HTML Editor Standard is actually an HTML editor called FCKeditor. The FCKeditor has a Javascript API that can be found at http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/JavaScript_API. Unfortuately this doesn't seem to give the whole answer and I found more at http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:49607.
    I needed to get the text entered within my html editor standard (e.g. P1_MYTEXT) and use it within my javascript function. I did this by using the following script
    <script language="JavaScript" type="text/javascript">
    function showtext(){
    var oEditor = FCKeditorAPI.GetInstance('P1_MYTEXT');
    var editortext = escape(oEditor.GetXHTML(oEditor.FormatOutput));
    alert(editortext);
    </script>
    Hope this helps.
    Matthew

  • How can i use javascript in weblogic jsp

    Hai,
              I know that we can use the jsvascript to validate the html parameters.
              Is the wblogic jsp support the javascript ?. I tried in weblogic
              5.1.0.,the javascript is not working.
              anybody can help me how to validate html input and how can i use
              javascript in jsp.
              Thanks
              Srinivas
              

              Do you know how JSP can use a variable defined in Javascrip ?
              Thx,
              Lin
              "Cameron Purdy" <[email protected]> wrote:
              >Write your JSP as you would any HTML file, including JavaScript. Then
              >rename the .html file to .jsp. Add your custom tags and Java code as
              >desired. Done.
              >
              >There was a complaint in the 5.0 beta about the JSP parser choking on
              >JavaScript, so I would make sure you at least try on the latest 5.1 service
              >pack, just in case.
              >
              >Cameron Purdy
              >
              >"SRINIVAS" <[email protected]> wrote in message
              >news:[email protected]..
              >> Hai,
              >> I know that we can use the jsvascript to validate the html parameters.
              >>
              >> Is the wblogic jsp support the javascript ?. I tried in weblogic
              >> 5.1.0.,the javascript is not working.
              >> anybody can help me how to validate html input and how can i use
              >> javascript in jsp.
              >>
              >> Thanks
              >> Srinivas
              >>
              >
              >
              

  • Can I use the HTML created in Adobe Edge Reflow?

    Can I use the HTML and CSS code generated to create the webpage preview in Adobe Edge Reflow?

    Hi Joseph,
    After creating and saving your Edge Reflow project, you can use View-> Preview In Chrome. This will create your HTML and CSS in your project folder's "assets" directory.  While our goal with this code is to provide a way for you to preview and share your designs in the browser (not to output production quality code), you can do anything you'd like with the output.
    Joan

  • I tried to install the new iOs 7 on my iphone 4, but it wasn't completed (showing error 4005). Now, my iphone is stuck on the itunes' logo with the usb cord, and I can't use my phone. And itunes doesn't detect my iphone when I connect it on my computer.

    Hi everyone! I tried to install the new iOs 7 on my iphone 4, but it wasn't completed (showing error 4005). Now, my iphone is stuck on the itunes' logo with the usb cord, and I can't use my phone. And itunes doesn't detect my iphone when I connect it on my computer, so I can't put it in recovery mode or someting like that... What can I do?? I tried everything they tell me to do in the apple support but nothing seems to work. Thank you!

    No problem, glad to help!
    Update: my PC USB hub was connected to a USB 3 port, I connected the 30 pin cable directly to my PC, And the restore worked just fine. Restored phone from iCloud backup and seems to be working fine.

  • Multiple iphones each with an apple id - can i use the same laptop and itunes for back up, restore and updates?

    We have two iphones each with a different apple id - can i use the same laptop and itunes for back up, restore and updates without risking having my apps overwritten.  Basically does itunes keep the two iphones as two separate entities ?  Does iTunes differentiate between the two devices and keep two different SYNCs ?

    Yes, you can use the same computer for BACK UPS, RESTORING AND UPDATING. But that is it.
    You cannot, however, use it to sync the different devices. iTunes will only recognize one device to sync with and if you sync any other devices with that iTunes library, it will replace what is on the phone with whatever is in the library. It cannot differentiate between devices. At most, it will jsut recognize that the phone has been synced with a different iTunes library.
    So if you would like to use the same computer for backing up, restoring and updating, just make sure to turn of Automatic Syncing in your iTunes Preferences.

  • I have a Ipod Nano and want to get another one , and use both. Can I use the same computer and library for both?

    I have a Ipod Nano and want to get another one , and use both. Can I use the same computer and library for both?

    Yes

  • Can I use iTunes 10.7 and iTunes 11.1.3 on the same computer running Windows 7?

    Can I use iTunes 10.7 and iTunes 11.1.3 on the same computer running Windows 7 (64-bit)?

    Yes, but it needs to have at least two copies of Windows installed.
    (94491)

  • HT201251 I want to use 30  ipads to run kiosk software in my restaurant. Can I use one Apple ID (and one credit card) for all devices

    I want to use 30  ipads to run kiosk software in my restaurant. Can I use one Apple ID (and one credit card) for all devices?

    Alternatively you can always manage your iPads (does not matter how many) with a single apple id and all reporting to your account under "find my device" service. Keeping an eye on all your units. Additionally as you mentioned these are for your Restaurant you may find the solutions offered by this company who creates apps and hardware for this purpose: http://www.spartakioskpro.com
    Additionally if you expand beyond those 30 iPads to say 300 you will want to enable or plan on MDM as your best option to automate every ipad to use the same profile and app and ios configuration while also keeping a close eye on all of them via online MDM services like: https://meraki.cisco.com/products/systems-manager
    Here is a pic

  • Can i use cdma for internet and gsm for phone at a time in Iphone4s?

    Can i use cdma for internet and gsm for phone at a time in Iphone4s?

    No. Phones sold by GSM carriers can't access CDMA at all and phones sold by CDMA carriers can only access GSM if they are a) unlocked and b) in an area where there is not CDMA.
    Best of luck.

  • What format i should use for my external hard drive that can be used interchangeably between mac and pc?

    What format i should use for my external hard drive that can be used interchangeably between mac and pc?

    Usually Fat32/MS-DOS as mentioned, but that has several limitatiuns, like 4GB filesize limit.
    One option is MacDrive for you PCs... allows them to Read/Write HFS+...
    http://www.mediafour.com/products/macdrive/
    More options...
    NTFS-3G Stable Read/Write Driver...
    http://www.ntfs-3g.org/
    MacFUSE: Full Read-Write NTFS for Mac OS X, Among Others...
    http://www.osnews.com/story/16930

  • Can i use a track pad and mouse at the same time

    can i use a track pad and a mouse at the same time

    If you mean can you have them both connected at the same time, then it's a yes. I have both connected and use the mouse for some functions and the trackpad for others... works a charm.

  • Can I use BOTH IE & FF and retain the shortcuts to both to use at will?

    Can I use BOTH IE & FF and retain the shortcuts to both to use at will? I can download FF ok and use for a day or so along with IE, but after that I start to get messages from Windows saying IE is not my default browser and do I want to make it the default. If I answer no, many links in my windows mail and other links in the windows system don't work...I get a message that the file can't be found . If I answer yes, the FF shortcuts disappear and can't bring up the FF from the FF folder, I get a msg that the FF folder is corrupt!

    Hi, aparently we're a problem while you installed firefox. try to uninstall and reinstall firefox again,
    after you do that, open firefox and go to Tools>options>Advanced>General, and see that it have to be an option at last that sez "always check to see if firefox is the default browser on startup" uncheck that option.,
    Then go to IE, go to tools>internet options>programs>and clic on "Make Default".
    With this you make that IE the default browser.
    Bye

  • TS1398 How can I use both, Windows PC and iMac, when using WiFi?. It is either-or. What can I do?

    How can I use both, Windows PC and iMac, when using WiFi?. It is either-or. What can I do?

    What does this have to do with using an iPad?
    But yes, you should be able to connect to your home WiFi network with multiple computers and devices. In my house my wife, my daughter and I will all be using the WiFi Internet connection at the same time with our Laptops and I will also be using my iPad, my daughter uses her iPhone, and we have no issues at all.
    Is this what you want to know about?

  • Can I use both iPhoto 6 and 5 on the same Mac?

    I gave up on iPhoto 6 when it comes to publishing web galleries (see my posts at http://discussions.apple.com/thread.jspa?threadID=456532&tstart=0 )
    Can I use both iPhoto 6 and 5 on the same Mac?
    Thanks!

    Lior:
    Welcome to the Apple Discussions. Yes you can but it takes a lot of caution! You can have both application running their own library. But the problem comes in when you launch V5 into the last used library, a V6 library, and it can corrupt that library so it won't open in V6 again. Conversely, if you open V6 and the V5 library was the last to be opened and you don't pay attention, you'll convert it to a V6 and lose the V5 access.
    So you have to make sure you ALWAYS launch iPhoto with the Option key depressed and manually select the library to use each time. Also Name each library differently. I use V6 LIbrary and V5 Library. You can rename your current one and then launch iPhoto with the Option key depressed and navigate to it to open it.

Maybe you are looking for

  • Error while Deploying DynPro Sneakpreview Java

    Hi Sdn,           I was able to install SneakPreview but while deploying Dynpro i get the following error. 22.12.2006 11:36:54 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR: [001]Deployme

  • Add new system to an Existing project in Change Request in Solution Manager

    HI, Is it ok to add new systems and remove systems to an existing Project in Solution Manager with Change Request Management activated? Currently, Change request is already set-up in our solution landscape, however, a new BI Dev and QA systems were c

  • How to call UPDATE statements in the timesten

    Hi i want to know how can i call UPDATE statements from the c program as of now i am using SQLPREPARE and SQLEXECUTE for the same. but i get the following error. Is there any special way of calling UPDATE and INSERT routines. As my select statements

  • Hands-Free Car Options using AUX connection

    Looking at hands-free car options for my wife's iPhone 4s. She has a Honda Civic with AUX jack to the stereo system. So far, tested two locally available systems: Belkin AirCast Bluetooth - connecting via Aux jack: http://store.apple.com/ca/product/H

  • IPhoto 9.2 Library Rebuild

    I did the rebuild library option to try to stop the crashes and now none of the pictures show up except as gray squares. I have a backup copy but am afraid to open it. What should I do?