U0081u009AAbout dropdownListBox client side script?(Urgent)u0081u009A

    <script language = "javascript">
        function ConfirmShiftAlert(htmlbevent) {
          var Check = false;
          Check = confirm('Do you wanna change?');
          if(Check == false) {
            htmlbevent.cancelSubmit = true;
          } else {
            htmlbevent.cancelSubmit = false;
    </script>
<htmlb:dropdownListBox id = "pa_2003-shift"
                    table = "<%= application->mv_tprog %>"
                selection = "<%= application->mv_2003-shift %>"
                onSelect  = "TPROG_CHANGE"
                onClientSelect = "ConfirmShiftAlert(htmlbevent)"
                disabled  = "<%= pa_disabled %>"
                nameOfKeyColumn   = "key"
                nameOfValueColumn = "value" />
Question..
When user changes listbox's value
Alert window pop up and then clicks "cancel" button
I want that the listbox has previous value.
Because the user clicks the cancel button.....
How can i do?

Hai U can check out the following code for ur reference,
<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<htmlb:content design="design2003" >
  <htmlb:page title="dropdowntest " >
    <htmlb:form id="form1" >
     <%
  DATA: t TYPE TIHTTPNVP, entry TYPE IHTTPNVP.
  entry-name = 'key_red'.   entry-value = ' '.   APPEND entry TO t.
  entry-name = 'key_green'. entry-value = 'Green'. APPEND entry TO t.
  entry-name = 'key_blue'.  entry-value = 'Blue'.  APPEND entry TO t.
  entry-name = 'key_black'. entry-value = 'Black'. APPEND entry TO t.
      %>
      <htmlb:dropdownListBox id                = "abc"
                             nameOfKeyColumn   = "NAME"
                             nameOfValueColumn = "VALUE"
                             table             = "<%= t %>"
                             onSelect          = "TPROG_CHANGE"
                             onClientSelect    = "ConfirmShiftAlert(htmlbevent)"
                             selection         = "key_green" />
      <script language = "javascript">
      var sel_var;
      sel_var = window.document.form1.abc.options.selectedIndex ;
      alert( sel_var);
      function ConfirmShiftAlert(htmlbevent) {
      var Check = false;
      Check = confirm('Do you wanna change?');
      if(Check == false) {
      window.document.form1.abc.options.selectedIndex = sel_var;
      alert( sel_var);
      htmlbevent.cancelSubmit = true;
      } else {
      htmlbevent.cancelSubmit = false;
      </script>
    </htmlb:form>
  </htmlb:page>
</htmlb:content>
regards,
venkatesh
Message was edited by: venkateshwarlu yelagandula

Similar Messages

  • Can we access popularity trends using client side script?

    Hi, 
     I have a requirement to show the hit count for my image library's item(s). When ever I am opening an image from the image library, I just wanted to show the hit counts. For this I have created a Number column and updating this column by using CSOM
    when ever hit happens to that particular item. 
    The problem arises here, for visitors ( who has read only permission to the site) I am not able to update the column due to permission issue. Since we all know that we can't elevate the privilege from client side script. And also our design says that we
    can't give the contribute permission to all the users at the library level. How can we update the count at item level even when the visitors are opening an item from the image library? 
    Please help me... 
    Thanks in advance
    Sekar - Our life is short, so help others to grow
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
    you see a reply being an answer to the question of the thread, click "Mark As Answer

    972454 wrote:
    can we access 11gr2 oracle using 11g r1 OWB Client? NO .. Oracle 11gR2 db is accessible only from OWB11gR2 client
    we have 11g r1 database installed on our machine, and 11g r2 OWB client on other machine.
    Please help. we are unable to connect.
    Sorry this is different from your 1st question.
    For your information OWB11gR2 client can access 11g r1 database
    Regards
    Gaurav

  • Does URL Services support client side script?

    My ASP page it built as a portlet, and displays fine but it
    won't submit. When I view the Source in my browser, Portal
    didn't include any of my client side vbscript script, then html
    is there but everything else is missing....
    Question: Does URLServices support client-side VBScript?
    I am using some vbscript for validation purposes and then
    using the document.ChangePassword.submit() to submit the
    form.
    If URLServices doesn't support it, then URLServices is totally
    useless... Everyone uses some kind of client-side script to
    validate the form!

    Hi Rea,
    Per my understanding you want to know some information about using the Visual Studio to do the debugging, right?
    Example, If you want to debug a customized extension for SQL Server Reporting Services(SSRS) in Visual Studio, you can attach the process to ReportingSerivcesService. We need to check the items "Show processes from all users" and "Show
    processes in all sessions" to show the "ReportingSerivcesService. exe" process.
    Additionally, please make sure the customized extension is invoked in the Reporting Services(make sure all configurations is set correctly), otherwise we won't be able to run into the breakpoint. More Details information in this article for your reference:Start
    a debugging session for a Store app in Visual Studio (VB, C#, C++ and XAML)
    You can also add the debugger keyword in the code, see
    Debug JavaScript and jQuery using Visual Studio in Internet Explorer browser
    Similar thread below for your reference:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-us/df9dfaab-59af-4a85-916c-ef9e11e07071/debug-custom-net-assembly-in-context-of-sql-reporting-server-2008?forum=sqlreportingservices
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu

  • Identifying Flash Player versions 10a, 10b and 10c using client side scripting

    I need to write a client side script to identify users with 10a, 10b or 10c installed, but I only see version 10 (no letters.) Is there a translation between version keys major/minor/revision, and 10a/10b/10c? I want to use the (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash"))) method in conjuction with the javascript.GetVariable("$version") method, and I need to know what values to check for.
    Thanks very much!

    For your information
    Flash10.ocx  / FlDbg10.ocx  = 10.0.2.54   Shipped with CS4
    Flash10a.ocx / FlDbg10a.ocx = 10.0.12.36
    Flash10b.ocx / FlDbg10b.ocx = 10.0.22.87
    Flash10c.ocx / FlDbg10c.ocx = 10.0.32.18
    Flash10d.ocx / FlDbg10d.ocx = 10.0.42.34

  • Can I open a recordset On Client Side Script?

    Hi Guys,
    On a form I have a client side VBscript thet checks the email
    addy a user has added into a text box in a form and if its in the
    array of values set in the script it gets refused. This works.....
    I would like to adapt this a little if possible and make it
    so that instead of hardcoding the array values into the script, I
    would like to have the array values taken from a recordset because
    it will allow the user to add and delete bad domains via a form and
    not need to go into the page code to add to the array I have at the
    moment.
    I have tried serval times to replace my array loop with a
    recordset while loop to get the badDomains from the field in the
    database but I just get script error on page in my task bar.
    Can I open a recordset from a client side script?
    Id apprecaiate eny thoughts on how I can do this.
    Thanks again
    Tag

    Hi Envision,
    Its actually VBScript im in at the moment...
    I have tried to get my client script to run but im still just
    not getting it although I dont think im far away, mixing client
    side and server side scripts to get this array loaded is still
    throwing me a bit !!!!!!
    I tried to follow the For loop suggested in JS but did it in
    VBS and wondered if anyone could give it a look and point me to my
    errors?
    I dont like just posting code without being asked as its a
    bit presumptious of me but Im not asking anyone to write this for
    just point me to my problems hopefully.....
    Here is what I have , when the page loads I used DW to make a
    recordset for me to open the table with stored bad domains and this
    client script is supposed to harness the recordset created server
    side by DW and loop through the field and compare whats in the
    forms email textbox..
    [code]
    Sub CheckMail()
    Dim sValidationMessage
    Dim sEmail
    Dim sBadDomains()
    Dim nIndex
    dim counter
    sValidationMessage = ""
    sEmail = Document.Form2.email.value
    nIndex = 0
    counter =<%=(rsGetBadDomains_total)%>
    If Not (InStr(1, sEmail, "@") > 0 And InStr(1, sEmail,
    ".") > 0) Then
    sValidationMessage = "You have entered an invalid email
    address!"
    End If
    If Len(sValidationMessage) = 0 Then
    For nIndex = 0 to counter
    sBadDomains(nIndex) =
    <%=(rsGetBadDomains.Fields.Item("sBadDomains").Value)%>
    If InStr(1, sEmail, sBadDomains(nIndex)) > 0 Then
    sValidationMessage = "You have entered an unsuitable E-Mail
    address please use your main ISP E-Mail address"
    Exit For
    End If
    nIndex=nIndex+1
    Next
    End If
    If Len(sValidationMessage) > 0 Then
    MsgBox sValidationMessage
    document.Form2.email.select
    Else
    document.Form2.submit()
    End If
    End Sub
    [/code]
    Thanks again for all the support so far.
    Regards
    Tag

  • Debugging SSRS client side script

    Hi eb
    I would appriciate your recomendations for debbuging SSRS client side functionality
    especially when it is embedded in web applications like performancepoint dashboards. 
    Was any one succesfull in using IE developer tools script debbuger
    - or any other tool fot this matter?
    For example 
    I would like to put a breakpoint on the function which opens the plus sign next to row groups and step into its 
    code but dont know how to locate it inside the script that is presented to me in IE script debbuger...
    IE dev tools should be usefull on debuging specific user issues.
    Does visual studio have other usefull methods for debugging SSRS reports - I am interested especially
    in debugging SSRS functions that sometimes do not work as i expect...
    TIA!
    Rea

    Hi Rea,
    Per my understanding you want to know some information about using the Visual Studio to do the debugging, right?
    Example, If you want to debug a customized extension for SQL Server Reporting Services(SSRS) in Visual Studio, you can attach the process to ReportingSerivcesService. We need to check the items "Show processes from all users" and "Show
    processes in all sessions" to show the "ReportingSerivcesService. exe" process.
    Additionally, please make sure the customized extension is invoked in the Reporting Services(make sure all configurations is set correctly), otherwise we won't be able to run into the breakpoint. More Details information in this article for your reference:Start
    a debugging session for a Store app in Visual Studio (VB, C#, C++ and XAML)
    You can also add the debugger keyword in the code, see
    Debug JavaScript and jQuery using Visual Studio in Internet Explorer browser
    Similar thread below for your reference:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-us/df9dfaab-59af-4a85-916c-ef9e11e07071/debug-custom-net-assembly-in-context-of-sql-reporting-server-2008?forum=sqlreportingservices
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu

  • How to use KeyChain API from client-side HTML scripting in Safari on iPad?

    I have a requirement where I need to add client-side scripting in an HTML page to be supported by Safari on iPad that creates a private / public key pair and that creates a CSR (Certificate Signing Request) in PKCS#10 or SPKAC format that can be sent to a certification authority server using form HTTP/POST that will then return the generated certificate.
    I initially thought that I could simply use the HTML 5 tag <keygen> which can do exactly what I need, but unfortunately this tag is not at all supported on mobile Apple devices like iPad or iPhone, so I have to look for another solution.
    I have noticed that the KeyChain tool should be available on iPad using the documented API, but I have no idea based on the documentation whether the API can be called from client-side HTML scripting on iPad.
    Question : is it technically possible using the functionalities and API's exposed on an iPad to implement what I just described in HTML client-side scripting? If so, do you have some links with useful information that can help me on my way?

    I have a requirement where I need to add client-side scripting in an HTML page to be supported by Safari on iPad that creates a private / public key pair and that creates a CSR (Certificate Signing Request) in PKCS#10 or SPKAC format that can be sent to a certification authority server using form HTTP/POST that will then return the generated certificate.
    I initially thought that I could simply use the HTML 5 tag <keygen> which can do exactly what I need, but unfortunately this tag is not at all supported on mobile Apple devices like iPad or iPhone, so I have to look for another solution.
    I have noticed that the KeyChain tool should be available on iPad using the documented API, but I have no idea based on the documentation whether the API can be called from client-side HTML scripting on iPad.
    Question : is it technically possible using the functionalities and API's exposed on an iPad to implement what I just described in HTML client-side scripting? If so, do you have some links with useful information that can help me on my way?

  • The Group Policy client-side extension Scripts failed ...

    This is an error I've been seeing forever and it was always the impression that upgrading would resolve it, but it never has even in 10.3. 100% of our users get these errors in the Event Viewer:
    Event Type: Error
    Event Source: Userenv
    Event Category: None
    Event ID: 1085
    Date: 10/21/2010
    Time: 8:04:52 AM
    User: NT AUTHORITY\SYSTEM
    Computer: XXXXXX
    Description:
    The Group Policy client-side extension Scripts failed to execute. Please look for any errors reported earlier by that extension.
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    We also seem to have flakey policy issues where once in awhile a user will not be able to logon to Windows with Workstation Only while getting the " not allowed to logon interactively" message, other times the users report not being able to access the Windows Date and Time Properties and further sometimes they are unable to make system changes.
    We have troubleshooted this and the only resolutions we've found are to run zac cc, zac ref, zac pl and sometimes it seems like deleting c:\windows\system32\grouppolicy will help.
    In regards to the Event Viewer entry I posted, on any given machine I can issue the command gpupdate and it will put another entry into the Event Viewer (sometimes multiple ones). I've learned through research that if I "clean up" c:\windows\system32\grouppolicy\gpt.ini the errors go away, but once the policy is refreshed they come right back.
    This is the version ZenWorks gives the users:
    [General]
    gPCFunctionalityVersion=2
    gPCFunctionalityVersion=2
    gPCMachineExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{3610EDA5-77EF-11D2-8DC5-00C04FA31A66}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{42B5FAAE-6536-11D2-AE5A-0000F87571E3}{40B6664F-4972-11D1-A7CA-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{827D319E-6EAC-11D2-A4EA-00C04F79F83A}{803E14A0-B4FB-11D0-A0D0-00A0C90F574B}]
    Version=6488106
    gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{42B5FAAE-6536-11D2-AE5A-0000F87571E3}{40B66650-4972-11D1-A7CA-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
    This is the version I cleaned up:
    [General]
    gPCFunctionalityVersion=2
    gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
    gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
    I'm not sure how to get Zenworks to use the cleaned up version nor and I too sure what those extra extensions are and how they got in there. I may need to contact Novell in regards to this, but since I'm already working on an SR with them I figured I'd go ahead and post here first.
    Any help or advice would be greatly appreciated.

    Here are the groups I'm using. NOTE: These have been in affect throughout the issues experienced. Users will work perfectly fine then suddenly the problem will start happening without any policy change on our side.
    -Member of-
    Network Configuration Operators+
    Remote Desktop Users+
    Users+
    -Assigned Rights under a group I called "Other Rights"-
    Access this computer from network
    Change the system time
    Log on locally
    Shut down the system
    The only condition I have is that these issues happen when logging in Workstation Only and I'm not able to recreate the problem on demand with tests.
    Originally Posted by craig_wilson
    The "Interactive Logon" is a Windows Security Permission.
    It is generally assigned to certain local groups such as "User".
    Which groups are assigned this right can be changed manually and
    controlled by local security policies.
    When user's get this error, it generally means their account is not in a
    local group that has been assigned that right.
    If using "DLU", make sure the user accounts are a member of "Users".
    And If anyone was messing with security policies, make sure they did not
    take away "Interactive Logons" from anyone.
    On 10/29/2010 7:06 AM, jcsmith1 wrote:
    >
    > Thanks for replying craig.
    >
    > My policy woes have only grown since my first post. We are currently
    > testing the removal of administrative rights and now we're having
    > teleworkers (who login Workstation Only) getting the message "policy
    > does not allow interactive login". What -seems- to fix it is a zac cc,
    > zac ref and zac pl, however we just started getting call backs from
    > users.
    >
    > I seem to have no further leads and Novell's ZenWorks tech supports
    > seems to be going through some kind of painful-to-the-customer
    > transition as one of my thoughts on resolving the issue is to go to 10.3
    > or 10.3.1, but my Satellites appear to be upgrading but in reality do
    > not upgrade (but the primary servers upgraded) (See SR 10655976331).
    >
    > Does anyone knows how to troubleshoot policy issues when the users
    > aren't loggin into ZCM?
    >
    > craig_wilson;2036646 Wrote:
    >> See: 'Group Policy Error: The Group Policy client-side extension Script
    >> failed to execute.'
    >> (Group Policy Error: The Group Policy client-side extension Script failed to execute.)
    >>
    >> This would never be fixed in any patch, since it would be the job of
    >> GPEDIT to properly maintain the GPT.INI.
    >>
    >> Most of the Time these errors are cosmetic and caused by stray script
    >> extensions.
    >>
    >> You may want to create an Enhancement Request to allow the creation of
    >> "Filters" so certain errors are discarded and not sent to the DB/ZCC.
    >> This way an Admin could choose to filter out various error messages
    >> that
    >> they deem are not actually of concern.
    >>
    >> On 10/21/2010 9:36 AM, jcsmith1 wrote:
    >>>
    >>> This is an error I've been seeing forever and it was always the
    >>> impression that upgrading would resolve it, but it never has even in
    >>> 10.3. 100% of our users get these errors in the Event Viewer:
    >>>
    >>> -Event Type: Error
    >>> Event Source: Userenv
    >>> Event Category: None
    >>> Event ID: 1085
    >>> Date: 10/21/2010
    >>> Time: 8:04:52 AM
    >>> User: NT AUTHORITY\SYSTEM
    >>> Computer: XXXXXX
    >>> Description:
    >>> The Group Policy client-side extension Scripts failed to execute.
    >>> Please look for any errors reported earlier by that extension.
    >>>
    >>> For more information, see Help and Support Center at
    >>> http://go.microsoft.com/fwlink/events.asp.
    >>> -
    >>> We also seem to have flakey policy issues where once in awhile a
    >> user
    >>> will not be able to logon to Windows with Workstation Only while
    >> getting
    >>> the " not allowed to logon interactively" message, other times the
    >> users
    >>> report not being able to access the Windows Date and Time Properties
    >> and
    >>> further sometimes they are unable to make system changes.
    >>>
    >>> We have troubleshooted this and the only resolutions we've found are
    >> to
    >>> run zac cc, zac ref, zac pl and sometimes it seems like deleting
    >>> c:\windows\system32\grouppolicy will help.
    >>>
    >>> In regards to the Event Viewer entry I posted, on any given machine
    >> I
    >>> can issue the command gpupdate and it will put another entry into
    >> the
    >>> Event Viewer (sometimes multiple ones). I've learned through
    >> research
    >>> that if I "clean up" c:\windows\system32\grouppolicy\gpt.ini the
    >> errors
    >>> go away, but once the policy is refreshed they come right back.
    >>>
    >>> This is the version ZenWorks gives the users:
    >>>> [General]
    >>>> gPCFunctionalityVersion=2
    >>>> gPCFunctionalityVersion=2
    >>>>
    >> gPCMachineExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{3610EDA5-77EF-11D2-8DC5-00C04FA31A66}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{42B5FAAE-6536-11D2-AE5A-0000F87571E3}{40B6664F-4972-11D1-A7CA-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{827D319E-6EAC-11D2-A4EA-00C04F79F83A}{803E14A0-B4FB-11D0-A0D0-00A0C90F574B}]
    >>>> Version=6488106
    >>>>
    >> gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{42B5FAAE-6536-11D2-AE5A-0000F87571E3}{40B66650-4972-11D1-A7CA-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
    >>>>
    >>>>
    >>>
    >>> This is the version I cleaned up:
    >>>> [General]
    >>>> gPCFunctionalityVersion=2
    >>>>
    >> gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
    >>>>
    >> gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
    >>>>
    >>>>
    >>>
    >>> I'm not sure how to get Zenworks to use the cleaned up version nor
    >> and
    >>> I too sure what those extra extensions are and how they got in there.
    >> I
    >>> may need to contact Novell in regards to this, but since I'm already
    >>> working on an SR with them I figured I'd go ahead and post here
    >> first.
    >>>
    >>> Any help or advice would be greatly appreciated.
    >>>
    >>>
    >>
    >>
    >> --
    >> Craig Wilson - MCNE, MCSE, CCNA
    >> Novell Knowledge Partner
    >>
    >> Novell does not officially monitor these forums.
    >>
    >> Suggestions/Opinions/Statements made by me are solely my own.
    >> These thoughts may not be shared by either Novell or any rational
    >> human.
    >
    >
    Craig Wilson - MCNE, MCSE, CCNA
    Novell Knowledge Partner
    Novell does not officially monitor these forums.
    Suggestions/Opinions/Statements made by me are solely my own.
    These thoughts may not be shared by either Novell or any rational human.

  • Error in a array populated using jsp in client-side in java-script

    hii ,
    I have this problem.
    I have populated an array with records in jsp.The array is being populated correctly ..i hav check it .
    Now I need to get back this array in client side in a java-script function.
    I need this bcoz i need to check whether the value entered in a particular field in the form is there in the table before the form is submitted...hence the need of array.
    Surprisingly in my java-script function i can get back the length of array,but as soon as i am writing something like arr[0] where arr is the name of array populated in server side using jsp,i am get scripting error.
    i.e a code like
    funtion partynamecheck()
    var n=<%arr[0]%>
    alert (n) ;
    is giving scripting error.i.e showing error in page at the bottom left -side of browser.
    but code like
    funtion partynamecheck()
    var n=<%arr.length%>
    alert (n) ;
    } is working fine.
    Please help ..all wrk stuck.
    Arnab

    Hi,
    i cann't help you with javascript, but the jsp-expression must have this syntax
    var n=<%=arr[0]%>
    Hope this help!
    Roland

  • Net Use in Script Client Side Extension

    Hi,
    I just rebuild my home Network. In my old home Network I had my loginscripts added to each user in AD. However - now I want to move my Loginscripts to GPO. So I added a batch to User Configuration\Policies\Windows Settings\Logon
    The script is just a simple net use Batch.
    But after logon and multiple GPUpdates - drives were not mapped. So I started to troubleshoot.
    First I thought the script wasn't started. And yes there were some Problems:
    - Sync Processing,
    - Local Intranet for \\domain.name\sysvol
    But it still didn't work. Executing the script from
    \\domain.name\sysvol... mapped the drives.
    So I changed the script to vbs and added a msgbox now() - and I got a messagebox during logon. But still no drives mapped.
    If I map the drive by Configuration\Preferences\Windows Settings\Drive Maps - the drives will be mapped.
    If I add the script to the user object in AD - I also works.
    So maybe I am wrong - but is there a Problem to map drives in Script Client Side Extensions?
    I searched the web - but didn't find a clear Statement.
    thx in advance

    Hi,
    Since the issue persists when you turned off UAC, I suggest you could try to enable the following policy setting “Always wait for the network at computer startup and logon”
    to see if it works at this time. You could configure it from the following path in GPMC:
    Computer Configuration\Administrative Templates\System\Logon\. For details, please refer to the following article.
    Description of the Windows Fast Logon Optimization feature
    http://support.microsoft.com/kb/305293
    In addition, I suggest you’d better map these drives via GPP. It will reduce your logon scripts. Here is an article as reference, hope it helps.
    GP Preferences Will Reduce Logon Scripts : Mapping Drives
    http://blogs.technet.com/b/grouppolicy/archive/2009/02/11/gp-preferences-will-reduce-logon-scripts-mapping-drives.aspx
    Best Regards,
    Andy Qi
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Andy Qi
    TechNet Community Support

  • URGENT: Need to read file on client side from a 9i form

    Hi
    I have developed a 9i form and I assumed I could use TEXT_IO to read a file on the client side and insert the data into a database table. However, I have just tested the form and discovered that TEXT_IO only looks for files on the application server and NOT the client side.
    Does anyone know of a forms package in 9i that will do this for me? Using ftp to get the file onto the application server is not really an option.

    Francois
    We are sure that we do not have the WebUtil package installed in our environment. We are using a thrid party forms 9i application which we can tailor by adding our own forms to the existing menus. The third party application has some upload screens provided that are able to do upload a file without using WebUtil. Is there any other way this could be done? I have asked the third party to provide some asistance with this but they are not too forthcoming. Is there any other way you know of using Oracle/forms that allows a file to be read on the client side and sent to the application server? Oracle logs was mentioned by someone I talked to but this means nothing to me.

  • Error writing data to client-side row cache.  URGENT!!!

    Hi everyone
    I had had this error for 3 weeks and I don't know what am I doing wrong?
    I have an Oracle Database. and when I Run my project from JSC I get this error:.
    Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
    Exception Details: javax.faces.FacesException
    java.sql.SQLException: [sunm][Oracle JDBC Driver]Error writing data to client-side row cache.
    Possible Source of Error:
    Class Name: com.sun.jsfcl.data.RowSetDataModel
    File Name: RowSetDataModel.java
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    I uninstalled and installed the JSC and the first time that I run my project worked fine, but just that time, because then the error appeared again.
    What can I do????
    Thanks!!!
    Wendy,
    Costa Rica

    Duplicate thread of
    http://swforum.sun.com/jive/thread.jspa?threadID=53424&tstart=0

  • Show the Read more link in the list view webpart using Client side Rendering

    Hi,
    I have a share point list name as Team.It contains two columns like Role(single line of text) and Name( people and picker).
    I want the display the list view webpart like below format using JS Link/Client side rendering concept.
    If list contains more than 3 items (display like this)
    >TeamMemberName1
    >TeamMemberName2
    >TeamMemberName3
    Readmore... (Read more link should expand all the team members)
    If list contains more than 3 items (display like this)
    >TeamMemberName1
    >TeamMemberName2
    >TeamMemberName3
    Could you please provide the code.It is very urgent for me.
    Thanks for the help!!!

    (function () {
        debugger;
        //Create our Namespace object to avoid polluting the global namespace
        var pfh = pfh || {};
        //Define our Header Render pattern
        pfh.renderHeader = function (ctx) {
            var headerHTML = "<ul>";
            return headerHTML;
        pfh.renderFooter = function (ctx) {
            //Define any footer content here.
            var footerHTML = "</ul>";
            return footerHTML;
        pfh.CustomItem = function (ctx) {
            var itemHTML = "<li>" + ctx.CurrentItem.TeamMemberName[0].title; + "</li>";
            return itemHTML;
        //Define any code/function that needs to be run AFTER the page has been completed and the DOM is complete.
        pfh.PostRenderCallback = function (ctx) {
        //Define the function that will register our Override with SharePoint.
        pfh.RegisterTemplateOverride = function () {
            var overrideCtx = {};
            overrideCtx.Templates = {};
            overrideCtx.Templates.Header = pfh.renderHeader;
            overrideCtx.Templates.Footer = pfh.renderFooter;
            overrideCtx.Templates.Item = pfh.CustomItem;
            overrideCtx.onPostRender = [pfh.PostRenderCallback(ctx)];
            overrideCtx.BaseViewID = 98; //Note: We're using BaseView ID 99 to match our override below
            overrideCtx.ListTemplateType = 100;
            SPClientTemplates.TemplateManager.RegisterTemplateOverrides(overrideCtx);
        //Now we load in our override to ensure that this Override is only applied to the intended ListView
        ExecuteOrDelayUntilScriptLoaded(function () {
            var OldRenderListView = RenderListView;
            RenderListView = function (ctx, webPartID) {
                if (ctx.ListTitle == "Test") {
                    ctx.BaseViewID = 98;
                OldRenderListView(ctx, webPartID)
        }, 'ClientTemplates.js');
        //Register for MDS enabled site otherwise the display template doesn't work on refresh
        //Note: The ~sitecollection tokens cannot be used here!
        RegisterModuleInit("/_catalogs/masterpage/Display Templates/csr_ovr_RenderListTemplate_Fixed.js", pfh.RegisterTemplateOverride); // CSR-override for MDS enabled site
        pfh.RegisterTemplateOverride(); //CSR-override for MDS disabled site (because we need to call the entry point function in this case whereas it is not needed for anonymous functions)
    I am using the above script to render the items.
    I am new to the CSR.
    Where do i need to include your script in my script.
    Please help on this.
    Thank you for reply sagar.
    Please note that i am not using content search webpart.

  • Client side event for h:outputText... and other JSF component

    Hello friends...
    I need client side (to use Java script ) event for change in <h:outputText /> or <h:inputText...>.
    I want to open a popup window when there is a change in there. I donot want to use onblur() for this. Is there any thing for achiev it.
    Thanks.
    Regard
    Roshan Lal ( I don't know why there is "DOG" display in LIST )
    :-)

    Hi Jacek,
    Unfortunately I think you may be stuck extending Renderer. Another possibility is creating your component via a template, which will be available in JSF 2.0. However, as JSF 2.0 won't be out for a while... you can use JSFTemplating in the meantime:
    http://java.sun.com/developer/technicalArticles/J2EE/jsf_templating/
    http://www.theserverside.com/tt/articles/article.tss?l=JSFTemplateComponent
    Good luck!
    Ken Paulsen
    https://jsftemplating.dev.java.net

  • Crystal report printing in client side

    Hi ...
    I have using asp.net web app with crystal report version 10.5.3700.0
    I have uploaded the project and database in the below link. Check out.
    http://www.2shared.com/file/vHTSGl13/ASPnet_Webapp_using_CR_Rpt_Pri.html
    http://i52.tinypic.com/2rdds7d.jpg
    I have few requirement in the crytsal report asp,net page:-
    1) If user click Print button of crystal report viewer toolbar then it goes to PDf then its show me all of my pages instead of showing me the current page on which i click print.
    2) I want to use client side print..if user click on a my print button then i need to show print dailogue like image above in that if user click print then i need to print that current page.. let us consider im viewing I3 Invoice number using Crysatl report viewer Navagition then it show me as 3/7 in toolbar if user click on my print button then i need to print the page 3 only.. coz user clicked print on Page3.
    3)My asp.net web app is in Hosting server if user click my print button then i need to show client print dailogue and it will show my cleint connected printer. Here crytsal report toolbar and other things should be hide. It should be like what we have designed in crystal report that alone should be get printed.
    4) One more thing i want is if user gives I4 invoice no. in my textbox1 then click view report button then it will show that Invoice Report now its shows two pages, here if user click print then i need to print two pages coz it has two pages...
    Please do a code using my webapp which is above and waiitng for your codes..
    Thank you
    Note: please do a code so that i can know, i already visited some of the website like http://aspalliance.com/ i didt undertstand how to do so im posting here to get a code.

    *i tried this also but it show me the same only hosting server printer not a client side printer*
    if (System.Drawing.Printing.PrinterSettings.InstalledPrinters.Count > 0)
                foreach (String myPrinter in System.Drawing.Printing.PrinterSettings.InstalledPrinters)
                    cboCurrentPrinters.Items.Add(myPrinter);
                cboCurrentPrinters.SelectedIndex = 0;
            //For printers exposed to System account as per MS Kbase
            //http://support.microsoft.com/default.aspx?scid=kb;en-us;184291
            //Look to HKEY_USERS\.Default\Software\Microsoft\Windows NT\CurrentVersion\Devices
            Microsoft.Win32.RegistryKey mySystemPrinters =
                    Microsoft.Win32.Registry.Users.OpenSubKey(@".DEFAULT\Software\Microsoft\Windows NT\CurrentVersion\Devices");
            foreach (String defaultPrinters in mySystemPrinters.GetValueNames())
                cboDefaultPrinters.Items.Add(defaultPrinters);
            if (cboDefaultPrinters.Items.Count > 0)
                cboDefaultPrinters.SelectedIndex = 0;
    help me in this.. its very urgent needed..

Maybe you are looking for

  • PDF output in character mode

    Hi, We are trying to print a XML out put in PDF format using dot matrix printer. The problem is, the dot matrix printer is printing in graphic mode, i.e. each line is printed as two halves. We need each character to be printed as a whole character. D

  • Error while testing script in ME22N

    HI Friends, I am testing a script in ME22N. When i enter the PO number and press the print preview button I get the following error *Enter rate BAM / EUR rate type M for 20.1..09.0 in the system settings* Please let me know what should be done. Thank

  • DB Lookup Not Initialising PLz Help!

    Dear all, I Tried to do DB Lookup as told in this blog by siva /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler I used the below code. I am not Getting any error, the mapping is successfully ACTIVATED. But in the Receiver field i a

  • HT5922 I cannot connect my Bowers & Wilkins A5 to my mbp running Mavericks

    I connected my iPad easily to the B & W A5, but have had no success with my mbp running OS X Mavericks.

  • SOS Help!! Control Block is hitting me on my nerves....

    Hello All! I have a problem and id any body can solve this then i will be very thankful to her/him. Actually, i have four tables.One of them(studentfee) has two primary keys.(Rollono & Date)in this table the rollno is both PK & FK which reference the