Import HTC in JSF and invoke the javascript function in it

Hello,
I am trying to import HTC file in JSF file using sysntax below.
<?import namespace="testtest" implementation="/Advisor/iAdvisorWeb/appcomponents/tree/tree.htc" ?>
When I want to use the function within this HTC file in JSF file, then it doesn't find that function and gives javascript error.
Thanks for your time and help.
Hiren

This can happen if Firefox is in private browsing mode. for details of how to turn off private browsing mode see the [[private browsing]] article.

Similar Messages

  • Triggering a reRender of a JSF component from a Javascript function

    Hi
    I am using a javascript calendar component(JQuery +JCal) to allow the user to select a date for which they want to see events displayed for. When the user selects the date I was planning on outputting the events in a rich:dataTable or something similar.
    Is there anyway that I can trigger a reRender of the dataTable from the javascript, i.e. when someone selects a particular date I would like to trigger a reRender of the rich:dataTable.
    I know I can do it easily from another JSF component, e.g. if I had a commandLink I could set the reRender property to be the id of the dataTable. But I am wondering can I trigger the reRender of the dataTable from a Javascript function, i.e. can I submit an AJAX request
    Thanks

    If you are using the the Richfaces components then you should look at the a4j:jsFunction component, which is provided by Richfaces.
    Follow the following format using the a4j:jsFunction:
    <a4j:jsFunction name="functionName" reRender="targetCompoentId"/>So in the component that the event should be triggered...like the 'onclick' or 'onmouseover' or whatever the legal event is use the following format:
    onclick="functionName();"Richfaces renders the a4j:jsFunction as a javascript function. The a4j:jsFunction name attibute becomes the name of the javascript function; You just have to remember to add the "()" parenthesis to the end of the function name.
    You could technically call the function also inside a javascript that has page access to the javascript generated from the a4j:jsFunction component.
    Hope this helps!

  • Problems invoking sequential javascript functions to managed bean

    Hi all.
    I have a problem. I need to do the next steps in my application.
    1. From my jsff, I need to obtain a String generated in a function in the Managed Bean.
    2. Take this generated String in my jsff and send it to a javascript function in the same jsff.
    3. The javascript function will sign this String and later will also send it to the managed bean.
    Summarizing, in my page I need to call a function in managed bean to generate one String. The page must get this String and send it to a JavaScript function. Later, from this JavaScript funcion, send the String to the Managed Bean.
    I have tried to do this with event handling (AdfCustomEvent.queue), but I think that my approach isn`t right. Now I`m trying to do this with the task flow.
    Maybe this doub is because my lack of knowledge of adf... I am newby.
    Any suggestion please?
    Regards

    I just did same thing for gov CAC card functions....
    Create inputText/outputText visible="false" bind it to your bean, compute string in your bean and assign it to your it/ot.
    ExtendedRenderKitService erks = Service.getService(context.getRenderKit(), ExtendedRenderKitService.class);
    erks.addScript(context, script);
    In the script you can use AdfPage.PAGE.findComponent('") to find your component
    when your script done assign data to a second hidden control, that you can simple get from mb

  • Is there a way to select multiple files and initiate the Capitalize function?

    I have hundreds of files all in upper case that are driving me crazy. I can select them one at a time, right click and then select Transformations/Capitalize. Is there a way to select multiple files and initiate the Capitalize function?

    You could use Automator to do this - take a look at the article at http://www.wikihow.com/Batch-Rename-Files-in-Mac-OS-X-Using-Automator to see how this might be done.
    Good luck...

  • I have a database of names. When I go to the database and pull up names I right click on the option "Open in new tab". I would like to bring up 200 names and do the same function simultaaneously to them like, add a vote to their total individual vote co

    I have a database of names. When I go to the database and pull up names I right click on the option "Open in new tab". I would like to bring up 200 names and do the same function simultaaneously to them like, add a vote to their total individual vote count. Is this possible?

    I ended up reformating the drive as FAT32 because I still need to use it on my Windows 98SE system also. I did have a problem with the allocation size. I wanted to use 512 bytes but it kept failing so I used the default size(8192 bytes) and then it worked fine. I didn't think there would be a problem formatting as NTFS but since you are having problems I just tried it. It failed at 512 bytes allocation size so I tried again using 4096 bytes, the default, as the allocation size and it failed again. It looks like these drives will not format as NTFS.
    Also, I think I figured out what's going on with the ReadyBoost problem. As I said initially it wouldn't work with ReadyBoost then after I had 12GB of data on the drive the ReadyBoost feature started working. After I deleted all the files it quit working again. After doing some reading on the net about Flash drives and ReadyBoost problems it appears that the memory chips on my Lenovo Flash drive are mixed with both fast memory chips that work fine with ReadyBoost and slower memory  chips that are too slow for ReadyBoost. Apparently, after I fill up the portion of memory with data that uses the slow chip(s) then ReadyBoost works fine with the fast chip(s).  I also verified the Flash drives read and write memory speeds using Vista's Event Viewer. To work with ReadyBoost the Flash drive has to read at a minimum of 2.5MB/s (for 4KB random reads) and write at a minimum of  1.75MB/s (for 512KB random writes).
    Let me know what you find out.

  • Hi I'm new to Mac. I have a macbook air and for some reason the top keys, ec, f1 etc etc are not functioning and emitt the non function noise when pressed. Also the volume keys don't adjust the volume. Have I done something to disable them?

    Hi I'm new to Mac. I have a macbook air and for some reason the top keys, ec, f1 etc etc are not functioning and emitt the non function noise when pressed. Also the volume keys don't adjust the volume. Have I done something to disable them?

    I don't have the same version of OS X here but try System Preferences>Keyboard. Is there an option similar to "Use the F1, etc, keys as standard function keys"?
    If so, and it has a checkmark, uncheck it & see if that does the trick.
    ~Lyssa

  • Messaging Server 3.x: Is there an option to enable and disable the ETRN function?

    Is there an option in Messaging Server to enable and disable the ETRN function?
    <P>
    Yes. You can add the option for enabling and disabling the ETRN function by
    modifying the code in the file <BR>
    <P>
    <I>server-root</I>
    bin/mail/admin/html/SMTPChannelOptions.html
    <P>
    The original code to be modified will appear as follows:<BR>
    <P>
    <!-- ELEM txt="Allow SMTP command 'EXPN': " -->
    <!-- M_RADIO n="SMTP-Accept/Config/AllowEXPN" v="yes" -->
    Yes
    <!-- M_RADIO n="SMTP-Accept/Config/AllowEXPN" v="no" -->
    No
    <P>
    Modify the code to look like this:<BR>
    <P>
    <!-- ELEM txt="Allow SMTP command 'EXPN': " -->
    <!-- M_RADIO n="SMTP-Accept/Config/AllowEXPN" v="yes" -->
    Yes
    <!-- M_RADIO n="SMTP-Accept/Config/AllowEXPN" v="no" -->
    No
    <!-- ELEM txt="Allow SMTP command 'ETRN': " -->
    <!-- M_RADIO n="SMTP-Accept/Config/AllowETRN" v="yes" -->
    Yes
    <!-- M_RADIO n="SMTP-Accept/Config/AllowETRN" v="no" -->
    No
    <P>
    Making these changes will create an extra option to enable and disable the ETRN
    function on the SMTP Options page in the Administration Server.

    Yes, this is possible. In Cisco Webex Administration->Settings->Audio you can choose your audio (system-wide) options:
    WebEx Audio:
    Call In and Call Me service – Enables users to attend a teleconference by calling specified phone numbers or by receiving a Call Me call from the system.
    Call In – Enables users to attend a teleconference by calling specified phone numbers.
    OFF – Disables all calling features.
    Voice connection using computer
    ON
    OFF
    See also this section in the administartion guide.

  • Rendering PDF form and invoking the process

    I've seen few recent posts about rendering the form from .NET application and I was wondering if you could explain and give few more details about how to create an .NET application which will render the form with LC Forms and then invoke the process.
    If you have any kind of other documentation please tell me about it...
    I was reading SDK help and few livedocs, but since I do not have experience with .NET it is all a little bit confusing for me.
    Once I render the PDF in my application how do I invoke the process? Is the submit button on the form enough or I have to write an a web service?

    What did the errors say? Can you post a copy of the pdf so we can test out. The presets embed the font, but might be a unicode issue, or one of the few fonts which are copyrighted and do not allow embedding.
    What application was the pdf was created from, what settings were used, and if you can outline the fonts. What font or font(s) are the ones reflowing?

  • Import ID Configuration Scenarios and keep the same Business System names

    Hi Guys,
    Is it possible to transport ID Configuration Scenarios Objects between 2 XI systems and keep the same names for both sender and receiver Business Systems ? That is, to skip the SLD lookup for transport Source and Transport Targets systems ?
    I tried to create the same Business Systems under the same name twice, but this was not possible. Any ideas ?
    The reason is that I want to transport all the objects from one XI DEV server to another XI DEV server.
    Thank you,
    Best Regards,
    Evaggelos Gkatzios

    Hi,
    We have done same but with bit of manual work (without Transport).
    Create SLD object in target system with same name as in Souce XI system SLD.
    IR & ID was exported using TPZ files from Source system & were imported in Target system.
    It used same object names in both XI systems.
    Regards
    Sushil

  • Import file from Excel and ignoring the headers

    Hi all,
    is it possible to import files(spreadsheets) from Excel and ignoring the first row that contains the headers? Since headers might contain special characters such as "\n", "&" and "/", i wonder if you can tell me how to load .xlsx files while ignoring the first line that contains description regarding the header.
    Thanks

    Put a filter on one of the fields on the source data store in your interface. It is likely that your header row will have some unique identifying attribute so filter on that e.g. if you are importing nmeric amount data it is unlikely that your header line contains a numeric value in the amount field but a decription such as "amount", put a filter testing if the value of that field is numeric or not

  • I am trying to upload movies from my pc to my itunes, when i select import files or folders and select the movie it does nothing, no error message or anything, it just sits there.

    please get back to me, this is very frustrating

    You are using File->Add File (or Folder) to Library, right?
    Make sure that you also look at the various categories of content stored on the library:  turn on the sidebar (Ctrl+S keys toggle) and click the categories to see if the content shows in the content window of iTunes.
    It could be you are trying to add a video/movie in a format iTunes does not accept because it cannot play it or work with it.  (And yes, if iTunes cannot add it to the library, it should absolutely report an error message rather than leave you wondering and drop the command.)

  • Where to call the javascript function

    Hi,
    I am using JSF and ADF.
    I have a javascript function called by the body onload.
    The javascript is to set the first the first column of a table fixed.
    But when I click the next page link which is generated by defaut,
    the function from the javascript disappears.
    Can I call a javascript function when pressing the next page link which is
    generated by default ?
    Thanks.
    Ivan

    Hi Frank,
    My javascript function is to make the first column of the table fixed which
    is something like the function in the Excel.
    The function is called by body onload.
    But when the 'next page' link is clicked, it will not refresh the whole page.
    The above cannot be called.
    So I wanna add it during the action of pressing the link.
    any alternatives ?
    Ivan

  • How to invoke the exported function of odbc32.dll

    Hi,
    I am unable to find the dll (SQLAllocHandle.dll) in our system. Its mentioned that the ‘SQLAllocHandle’ is one of the exported function of odbc32.dll
    I want to find out how to invoke this exported function and make use of the same in our system?
    Regards,
    Jay

    Your question leads me to believe you're not sure what you're asking.
    SQLAllocHandle is an ODBC api call, and you use it in your ODBC API program, the same way you use other ODBC api calls.
    Here's an example of a simple ODBC API program that uses SQLAllocHandle.
    Hope it helps,
    Greg
    #include "windows.h"
    #include "stdio.h"
    #include "sql.h"
    #include "sqlext.h"
    void GetSQLError();
    #define checkforerrors if (rc!=SQL_SUCCESS){GetSQLError();exit(1);}
    static      HENV     henv;
    static      HDBC     hdbc;
    void main(int argc, char *argv[])
         SQLRETURN rc=0;
         SQLCHAR* uid="SCOTT";
         SQLCHAR* pwd="tiger";
         SQLCHAR* dsn="orcl32";
         rc = SQLAllocHandle(SQL_HANDLE_ENV,SQL_NULL_HANDLE,&henv);checkforerrors
         rc = SQLSetEnvAttr(henv,  SQL_ATTR_ODBC_VERSION,(SQLPOINTER)SQL_OV_ODBC3,0);checkforerrors
         rc = SQLAllocHandle(SQL_HANDLE_DBC, henv, &hdbc);checkforerrors
         rc = SQLConnect(hdbc, dsn, (SWORD)strlen(dsn), uid,(SWORD)strlen(uid),pwd,(SWORD)strlen(pwd));checkforerrors
         printf("connected\n");
         rc = SQLDisconnect(hdbc);checkforerrors
         rc = SQLFreeConnect(hdbc);checkforerrors
         rc = SQLFreeEnv(henv);checkforerrors
    void GetSQLError()
    long    llDbErrCd = 0;
    short   llRetMsgLen = 0;
    char    lszSqlErrMsg[255];
    char    lszSqlMsg[255];
    SQLError(henv,hdbc,0,(SQLCHAR*) lszSqlErrMsg,&llDbErrCd,(SQLCHAR*) lszSqlMsg,255,&llRetMsgLen);
    printf(lszSqlErrMsg);
    printf(lszSqlMsg);
    }

  • Invoke the "save"-Function of Reader by a forms script

    Is it possible, to provide a button within a form, which invokes the save dialog of Adobe Reader?
    It's just for user convenience to allow saving a local copy of a filled in form (providing the form is ARES enabled).
    Regards, Martin

    Hi, again!
    I have only been working with live cycle designer since this Monday!
    I have the object palette up and the scripting window open but I do not know where to find the click event option.
    Forgive my ignorance but every expert was once a beginner!
    I appreciate all the help.
    Thanks bunches.
    J.-L.

  • HT1766 Now, I understand how the backup and restore the backup functions. However, if I don't want to transfer the music that I have on iTunes to my phone, how do I avoid it? How do I not transfer the music or take it out of my iPhone if it is already the

    Now, I understand how the backup and restore the backup features function. However, if I don't want to transfer the music that I have on iTunes to my phone, how do I avoid it? How do I not transfer the music or take it out of my iPhone if it is already there? I really do not want any music on my iPhone because I have an iPod for that. Thanks. Hope someone can help.

    When you connect your phone and start iTunes on the left side you will see your phone listed under devices.Click on te icon next to it that looks like a battery. Click on the music button at the top and uncheck the sync music box.

Maybe you are looking for

  • How Do RoboHelp 9 WebHelp Generated Files Handle Map IDs and Aliases?

    The text below was written by our team's developer/architect. I am the help author who uses RoboHelp to write content and generate the help files, but I am clueless how it all gets generated and is deployed. Please help. We use RoboHelp 9. I use it i

  • HOW CAN I Publish ALL the Original Different Colors in iCal

    I am trying to publish a grouped calendar which includes several differently colored events. I am testing it by subscribing to it from an iCal that has no calendars created at all....and it still will not publish the different colors of the original

  • Constant: Could not complete your request because of a program error

    Hi Guys, Last week I upgraded from CS3 Design Premium to CS4 Design Premium, everything is working perfectly bar Photoshop 11.0.1 I am running OSX 10.5.8 on a Dual 2 GHz PowerPC G5 with 5.5GB ram I am getting the error message "Could not complete you

  • How do I get Adobe to send me a link to download Adobe Acrobat Pro Extended V 9.x

    how do I get adobe to send me a link to down load this version?  Adobe pro 9 does not work.  I old computer crashed, I lost the hard drive.  I have the code, but cannot find the link to download this version.  I don't want to spend money for a new ve

  • Photo Gallery Grid style

    Is there a way to have a photo gallery on a web page but in the style of a grid instead of a slideshow? Im going to have a lot of photos and would like my clients to be able to scroll through them all. Thanks