PERL and PDK

Can i use the PDK to write perl portlets or is the technology limited to only using url services to integrate perl applications. Are PL/SQL and Java the only languages supported?

PDK support API's for Java and PL/SQL only. You can use Web Clipping to clip any PERL generated contents as Portlets.

Similar Messages

  • [HELP!] perl and unicode are not working

    I have a database that I know supports Unicode, I'm trying to read/write data using perl and I'm pulling my hair out! I have a table populated with some Unicode characters that I inserted using TOAD and this sql statement:
    insert into jay_test values (-101, 'Τη γλώσσα μου έδωσ');
    When I look at the data in TOAD everything looks great, when I read the data out using .NET it works great, when I read it out using PERL the result if a bunch of question marks.
    Here is the code:
    #!/usr/bin/perl -w
    <%
    use utf8;
    use DBD::Oracle;
    $Response->AddHeader("Content-Type","text/html; charset=utf-8;");
    my $dbh2 = DBI->connect($db, $user, $password, {AutoCommit => 1});
    my $x = $dbh2->ora_can_unicode();
    my $sth = $dbh2->prepare("SELECT i, j from jay_test order by i desc");
    $sth->execute();
    while (my ($i, $j) = $sth->fetchrow_array()) {
         debug("i = $i, j = $j");
         $html .= qq{
              <tr>
                   <td>$i</td>
                   <td>$j</td>
              </tr>
    The result is this:
    -101      ?? ?????? ??? ????
    As a note: the line "$dbh2->ora_can_unicode();" returns a value of 3, which means that Unicode should be fully supported.
    Anyone who can point me in the right direction will be my savior! Thanks in advance

    The OS is Red Hat Enterprise Linux Server release 5.4 (Tikanga)
    The Kernel is 2.6.18
    Database is 10g
    Toad is 10.1.1.8
    Here are the parameters that PERL is seeing:
    my $params = $dbh2->ora_nls_parameters();
    print_r($params); return;
    [Hash] {
         NLS_CALENDAR => GREGORIAN
         NLS_CHARACTERSET => AL32UTF8
         NLS_COMP => BINARY
         NLS_CURRENCY => $
         NLS_DATE_FORMAT => DD-MON-RR
         NLS_DATE_LANGUAGE => AMERICAN
         NLS_DUAL_CURRENCY => $
         NLS_ISO_CURRENCY => AMERICA
         NLS_LANGUAGE => AMERICAN
         NLS_LENGTH_SEMANTICS => BYTE
         NLS_NCHAR_CHARACTERSET => AL16UTF16
         NLS_NCHAR_CONV_EXCP => FALSE
         NLS_NUMERIC_CHARACTERS => .,
         NLS_SORT => BINARY
         NLS_TERRITORY => AMERICA
         NLS_TIMESTAMP_FORMAT => DD-MON-RR HH.MI.SSXFF AM
         NLS_TIMESTAMP_TZ_FORMAT => DD-MON-RR HH.MI.SSXFF AM TZR
         NLS_TIME_FORMAT => HH.MI.SSXFF AM
         NLS_TIME_TZ_FORMAT => HH.MI.SSXFF AM TZR
    Do i need to issue a PERL command to change one of these NLS params?
    I appreciate the help everyone, this issue is killing me!

  • 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

  • How to access SAP netweaver development Studio and PDK?

    Hi All,
      I have access to EP server on my machine with super admin role .Is there any way I can acess SAP netweaver Developer Studio and PDK through EP server or I have to install in my local machine?
    Thanks in advance,
    Jasmine.

    You'd want to install the NWDS application locally no matter what (unless everyone has a thin client/citrix connection via dumb terminal). You can however, opt to install a local instance of EP or use a central instance. Here's how I see the two approaches:
    1-install the NWDS on developers' machines and deploy to a development instance of EP
    <b>PROS:</b>
    i-developers can develop locally and only connect to the EP server for deploying/testing
    ii-share development (although not very efficiently) and test each others' iViews etc.
    iii-demo your work online to business users directly
    iv-connect to the corporate SAP R/3 and other ERP systems
    <b>CONS:</b>
    i-you can only use this while connected to the network
    ii-could be slow over a slow/remote network connection
    iii-developers may not be able to do everything on the portal server (may not have super admin access)
    2-install the NWDS on the developers' PC along with a test EP environment
    <b>PROS:</b>
    i-develop and deploy locally, without a network connection, anywhere and anytime, fast and efficient
    ii-enjoy full access (super admin) to the Portal - to be able to test pretty much everything
    <b>CONS:</b>
    i-may not be able to connect to the company SAP R/3 and other ERP systems, unless you're connected to the network and have configured the connections
    ii-not able to get others to test or demo your development without having to port them to a central EP instance
    I think a developer needs every resource they can get, therefore I suggest a combination of the above two scenarios, an instance of EP locally and a central instance of EP for the best of both worlds

  • Perl and Ruby

    I was running OmniDiskSweeper to see what was taking up space on my iMac. I saw "Perl" and "Ruby". I'm wondering what they are, and do I need them?
    Thank you,
    Romelle

    Perl and Ruby come installed with Leopard 10.5; each has a different purpose and
    could be used by users and developers. Usually they use little space and don't need
    to be removed if looking for big space wasters on the computer.
    +Warning: OS X expects and sometimes relies on frameworks and software shipped+
    +with the system. It would be a very bad idea to remove the system Ruby (or Perl.)+
    You can't just drag items from the System to Trash; some will mess up the OS X if
    they are removed. There should be Developer pages about Perl and Ruby; the
    versions installed as part of OS X 10.5, are probably best left alone...!
    Sometimes, these obscure sounding things may have a connection to something you
    do, or have done, in your computer. If you use X11 (for open office, etc) some of these
    items may be helpful or required as support items. If you installed X11, you'd have to
    use Terminal to uninstall it; same as with Ruby. A small input error in Terminal, and the
    OS X may no longer work; so a re-install of OS X would be required. People who are
    developers, may replace an older Perl or Ruby, with a newer one, for a project; the OS
    looks for these to be there as part of its working system. Whether you do is secondary.
    Ruby is a programming and scripting language. An open source utility, of a sort.
    This kind of thing can be used with Xcode and Terminal, to customize the OS.
    Perl is used by the system, too; and anything you find from the original OS X install
    should be left alone... it helps scripting and other functions for the OS and the user.
    There are several different background things essential to OS X functions.
    • *An Introduction to Perl for Mac OS X:*
    http://www.mactech.com/articles/mactech/Vol.18/18.09/PerlforMacOSX/index.html
    • *An Introduction to Ruby for Mac OS X:*
    http://www.io.com/~jimm/writing/IntrotoRuby.html
    Some of these kinds of items would require careful consideration before removal;
    and for some users, who use and need them, there are newer versions. To remove
    Ruby, there is a command-line (terminal) level of access to handle it.
    Since parts of OS X are very integrated, one has to be careful if removing stuff.
    Software can use these items; so support for them is included with OS X 10.5.
    You may be able to search a Wiki site to get more detailed information on each.
    {However, as a matter of course, since they were installed with the original computer
    software, they should not be a concern in what may be a need to remove folders &
    files created by the user. A few dozen music files, and/or images can occupy much
    more hard disk drive space than a few support software files.}
    Have you archived music, photo, movie, and other files to an off-computer device?
    Large libraries of images and music can be moved from the computer and then
    the original files can be deleted; just be sure to double-check files in the new location
    before trashing them off the computer's internal hard disk drive.
    So, I'd not mess with anything in the OS X that was not user installed.
    And to have a complete bootable backup clone on externally enclosed
    hard disk drive, before attempting to change items in the computer' OS
    where you have originals without a backup, is really asking for troubles.
    But that's just my opinion:
    Full speed ahead and swat the mosquitoes.
    Good luck & happy computing!

  • Just upgraded perl, and boom! cgi-scripts went kerflooey

    Allright, I don't know too much about perl's configuration, so I don't know if this is an issue with my system, or the upgrade.
    I've got some perl scripts in /home/httpd/cgi-bin/.  They're the MT (Movable Type) engine scripts.  Before the upgrade, they worked just fine.  Upgrade perl, and then I try http://192.168.1.25/cgi-bin/mt.cgi and get:
    Server error!
    The server encountered an internal error and was unable to complete your request.
    Error message:
    Premature end of script headers: mt.cgi
    If you think this is a server error, please contact the webmaster.
    Error 500
    aias.no-ip.info
    Fri Nov 7 11:51:56 2003
    Apache/2.0.48 (Unix) DAV/2 mod_ssl/2.0.48 OpenSSL/0.9.6k PHP/4.3.4
    So, now I try running the scripts on the command line to see if I can get some better output from it:
    [root@siren cgi-bin]# ./mt.cgi
    Can't locate strict.pm in @INC (@INC contains: /usr/lib/perl5/5.8.2/i686-linux /usr/lib/perl5/5.8.2 /usr/lib/perl5/site_perl/5.8.2/i686-linux /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1/i686-linux /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl .) at ./mt.cgi line 7.
    BEGIN failed--compilation aborted at ./mt.cgi line 7.
    And this is what /home/httpd/cgi-bin/mt.cgi looks like:
    #!/usr/bin/perl -w
    # Copyright 2001-2003 Six Apart. This code cannot be redistributed without
    # permission from www.movabletype.org.
    # $Id: mt.cgi,v 1.18 2003/02/12 01:05:31 btrott Exp $
    use strict;
    my($MT_DIR);
    Any thoughts/suggestions?

    this is the conents of /usr/lib/perl5/5.8.2:
    [root@siren perl5]# cd 5.8.2/
    [root@siren 5.8.2]# ls
    i686-linux
    solution:
    delete the package out of /var/cache/pacman/pkg/
    redownload, and install, and everything is fine
    odd

  • Perl and Shell Involvement in Oracle

    Hi All,
    I want to know about the involvement of Perl Script and Shell Script in Oracle.
    Can anyone guide how to prepare for perl script as a DBA.
    Cheers,
    Moorthy.GS

    A
    grep perl * under $ORACLE_HOME/bin will reveal there are quite a few scripts are prepared by perl especially EM related.
    Shell script is usually a wrapper script to setup environment variable before calling a another program.
    Being a DBA, you have a some advantage knowing how to write a Perl or Shell script. Do not have to be super proficient, at least you can read and understand a perl and shell coding and duplicate or modify according to your needs.

  • Xgettext for perl and shell scripts on Solaris 9

    Hi......I have to internationalized perl and shell scripts on Linux and Solaris 9.
    I have used gettext on linux to internationalized both perl and shell scripts but on solaris i m not able to
    achieve the same.
    If we see help of xgettect on Linux, it shows input file options for Perl, Shell, C, C++ etc but help for
    xgettext on Solaris shows input file option for C only.
    Can you please provide me some way of using xgettext for perl and shell scripts on Solaris 9 or
    is there any other way of internationalizing perl and shell scripts on Solaris 9.
    Many Thanks,
    Lokesh

    Signature link blocked.
    db
    Contentprise wrote:
    Hi......I have to internationalized perl and shell scripts on Linux and Solaris 9.
    I have used gettext on linux to internationalized both perl and shell scripts but on solaris i m not able to
    achieve the same.
    If we see help of xgettect on Linux, it shows input file options for Perl, Shell, C, C++ etc but help for
    xgettext on Solaris shows input file option for C only.
    Can you please provide me some way of using xgettext for perl and shell scripts on Solaris 9 or
    is there any other way of internationalizing perl and shell scripts on Solaris 9.
    Many Thanks

  • TestStand with perl and Tcl examples need newer dlls

    I'm trying to run the TestStand with perl and tcl examples but they both point to older dlls. When I try to update by making changes and recompiling the main.cpp in VC++ 6.0, I get errors referencing cl.exe and oleauto.h, I'm not sure if I missed a step or what. See attached screenshot. TIA. Judy Jiru
    Attachments:
    scrnShotErrors.doc ‏110 KB

    Hey Judy,
    From my understanding oleauto.h and cl.exe are not National Instruments files. My suggestion would be to google the files - I found a bunch of hits for both the files. It may also be helpful to post on a discussion forum dedicated to VC++ 6.0. You may want to try the Microsoft newsgroups or I'm sure there are tons of other online.
    I hope this helps! Once you compile the dll if you have problems calling it from TestStand please post back.
    Regards,
    Sarah Miracle
    National Instruments

  • JavaScript and "pdk-html:form" Variables

    I am having a problem using javaScript with my "pdk-html:form" variables.
    Here is what the .jsp looks like:
    <SCRIPT type=text/javascript>
         function test() {
              alert("act = "+window.document.facListBean.act.value);
    </SCRIPT>
    <pdk-html:form name="facListBean" .......>
         <pdk-html:text property="act" />
    </pdk-html:form>
    The problem is that when the HTML is rendered the name of the form field "act" gets translated to "_piref584_1533941_584_1533923_1533923.act"
    Is there a simple way to handle this problem? Can someone suggest a workaround?
    Thanks,

    hi Matt,
    i've faced the same problem. The only solution i've found was that:
    cicle your form and get all the elements in it.
    var field1;
    var x=document.getElementById("myForm");
    for (var i=0;i<x.length;i++) {
    if(x.elements.name.indexOf('field1')) field1 = x.elements[i];
    []s,
    Felippe

  • Problem using pdk-html:multibox and pdk-html:checkbox

    Hi all,
    I am developing a PDK struts application using OC4J 10.1.2. I have to create some form pages which are going to have some checkboxes. I have tried to follow the following code in order to use the pdk version of the checkbox in my form:
    in jsp file
    <logic:iterate id="item" property="items">
    <pdk-html:multibox property="selectedItems">
    <bean:write name="item"/>
    </pdk-html:multibox>
    <bean:write name="item"/>
    </logic:iterate>
    Given an ActionForm setup like this
    private String[] selectedItems = {};
    private String[] items = {"UPS","FedEx","Airborne"};
    public String[] getSelectedItems() {
    return this.selectedItems;
    public void setSelectedItems(String[] selectedItems) {
    this.selectedItems = selectedItems;
    ....... //getters and setters of items//
    In the reset method I also reinitialize the selectedItems array like :
    selectedItems=new String[]{};
    But the value of the multibox is not reflected in the action class. To my surprise, the html code generated by the server is similar to ordinary checkbox which ideally should carry some portlet specific information like pdk-html:text
    Same is the case with single checkbox. I have created a boolean variable for the single checkbox in the actionForm class. But same problem frustrates me again. The value is not passed simply.
    Can anybody comment. Is this some kind of a bug or may be there is no support for checkbox and multibox in pdkstruts.jar (10.1.2.0.2).
    Best regards,
    Omer

    following below the code that generate the XML. I still need help.
    I hope someone can help me in this issue
    The servlet that generate the XML.
    response.setContentType("text/xml");
    String Xml = "";
    Xml = Xml + "<?xml version=\"1.0\"?>";
    Xml = Xml + "<?xml-stylesheet href=\"/XslGravaCrit.xsl\" type=\"text/xsl\"?>";
    Xml = Xml + "<!-- Here is a sample XML file -->";
    Xml = Xml + "<page>";
    Xml = Xml + "<title>Test Page</title>";
    Xml = Xml + "<content>";
    Xml = Xml + "<paragraph>What you see is what you get!</paragraph>";
    Xml = Xml + "</content>";
    Xml = Xml + "</page>";
    try{
    TransformerFactory tFactory = TransformerFactory.newInstance();
    byte[] arr=Xml.getBytes();
    ByteArrayInputStream bytes=new ByteArrayInputStream(arr);
    Source xsl=new StreamSource("../XslGravaCrit.xsl");
    Templates template=tFactory.newTemplates(xsl);
    Transformer transformer = template.newTransformer();
    transformer.transform(new StreamSource(bytes), new StreamResult(response.getWriter()));
    }catch(Exception e){
    System.out.println("Excecao 100: " + e.getMessage() + e.getLocalizedMessage());
    The XSL XslGravaCrit.xsl
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:java="http://xml.apache.org/xslt/java" exclude-result-prefixes="java"
    version="1.0">
    <xsl:strip-space elements="*"/>
    <xsl:output method="html" indent="yes" version="4.0"/>
    <xsl:template match="page">
    <html>
    <body><b>
    <xsl:value-of select="java:java.util.Date.new()"/>
         </b>
    <xsl:for-each select="/page">
    <xsl:sort select="paragraph"/>
    <xsl:value-of select="paragraph"/>
    </xsl:for-each>
    <i>Hello World</i>
    </body>
    </html>
    </xsl:template>
    </xsl:stylesheet>

  • Oracle 9iAS 9.0.2.1.0 patchset and PDK

    I'm patching Oracle 9iAS as described in Metalink note 215882.1. The readme file for the bundled patchset 9.0.2.10 says that the set can not be installed when Oracle 9iAS Developer Kits are installed. I have installed PDK Release 2 (9.0.2). What am I supposed to do.

    For all administrator guides, go to:
    http://download-east.oracle.com/docs/cd/A97329_03/index.htm
    As for a configuration tool, all there really is is an installation "cookbook". It is really helpful. It goes through pre-intall task, installing 9ias, and post-install tasks.
    For Windows:
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=214691.1
    For Unix:
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=200075.1
    Hope this helps,
    Martin

  • Trouble connecting from Perl (and perhaps other API) to 11gR2

    1. I can connect to my instance via sqlplus
    2. I can tnsping the SID I want to connect to
    3. DB is alive
    But my Perl script reports: ORA-12154: TNS:could not resolve the connect identifier specified (DBD ERROR: OCIServerAttach)
    Please help me diagnose the problem, been stuck on this for DAYS :(. I guess I've been going around in cluster of errors and I have no idea what I'm doing (I'm not a DBA).
    TIA.

    But my Perl script reports: ORA-12154: TNS:could not resolve the connect identifier specified (DBD ERROR: OCIServerAttach)Error mean alias in connection string could not be resolved; typically not found in tnsnames.ora.
    PERL utilizes TWO_TASK variable when it exists.
    post connection string, content of tnsnames.ora & sqlnet.ora files

  • Perl and apache giving access denied message locally...

    I have a simple perl script that is sitting in my "sites" directory, and have turned on all the changes in the apache httpd.conf file.
    when I use http://localhost~username i get the default web page, but when I add the firct.cgi to the end, I get the following error...
    Forbidden
    You don't have permission to access /~kentjason/first.cgi on this server.
    why is this happening. I should be able to see anything in that directory, right?
    thanks alot,
    jason

    That was it! ok so what did that do? I thought the x
    property was for actual executables like safari
    etc...
    You need the executable bit set in any UNIX variant for a file that is executed directly. It could be a script or an actual executable binary. For example, if you tried to execute the file from the command line directly it would have given an error.ls -l test.pl
    -rw-r--r-- 1 joe staff 226 Jan 15 2003 test.plNote that the execute bit is not set. Now try to execute it from the command line like so:./test.pl
    -bash: ./test.pl: Permission deniedBut, you could execute it by calling perl directly and using the script as an argument.which perl
    /usr/bin/perlNote that perl's execute bit is set:ls -l /usr/bin/perl
    -rwxr-xr-x 1 root wheel 19280 Mar 20 2005 /usr/bin/perlSo, without changing the permissions on the script itself, it would run if you did it this way:perl test.plThe web server always tries to run CGI scripts directly, so in that case the execute bit must be set. For scripts that use interpreters like bash or perl, the "sh-bang" line (ie, #!/usr/bin/perl on line 1) tells the OS which interpreter to use when you execute it directly. You could leave that out, but then you'd need to run the script as an argument to the interpreter as mentioned above. Does that all make sense?
    Anyway, I'm glad you have it working and hope I didn't over complicate things with this explanation

  • Linux Cheat Sheets (awk, ed, sed, bash, screen, perl, and more)

    Hey! While learning various linux tools in the past, I made several cheat sheets to speed up the learning process. Recently I decided to put them on my blog.
    Here is a link to all the cheat sheets on my blog:
    cheat sheets at catonmat (my blog)
    They include (some of the links include tutorials, as well):
    * awk (awk, nawk and gawk) programming language cheat sheet,
    * sed, unix stream editor, cheat sheet,
    * ed, interactive unix text editor, cheat sheet,
    * perl's special variable cheat sheet,
    * perl's pack/unpack and printf/sprintf function cheat sheet,
    * screen vt100 terminal emulator cheat sheet,
    * bash vi editing mode (readline) cheat sheet, and
    * bash emacs editing mode cheat sheet.
    Tell me what you think and I hope you find them useful!
    ps. I have 5-10 more to publish, if you are interested, check back and possibly subscribe to my posts via rss feed
    Last edited by pkrumins (2008-02-19 15:41:00)

    Hi all! I just wrote a another article with a cheat sheet. It's called "The Definitive Guide to Bash Command Line History". This tutorial teaches you how to quickly retrieve and modify commands you executed previously.
    It starts by reviewing the keyboard shortcuts for history retrieval in emacs and vi editing modes, then it covers the commands for listing and erasing the history, then it goes into discussing history expansion mechanism - event designators, word designators and their modifiers. Finally the guide lists variables and options to modify the default history behavior.
    The cheat sheet comes in PDF, Plain Text ASCII and LaTeX:
    * PDF format (.pdf): bash history cheat sheet (.pdf)
    * ASCII .txt format: bash history cheat sheet (.txt)
    * LaTeX format (.tex): bash history cheat sheet (latex .tex)
    Last edited by pkrumins (2008-02-19 15:40:31)

Maybe you are looking for

  • My ipod wont let me download free apps.

    Every time i try to download a free app, a sign pops up saying "SIGN IN REQUIRED: Tap continue and sign in to view billing information." and when i press continue, it wants me to put in my credit card info.

  • Red Epic Importer not working in Premiere Pro 5.52 (what am I doing wrong?)

    Hello: I installed latest version of Adobe Premiere Pro 5.52 this week. I immediately downloaded the RED EPIC Importer updates found here: http://labs.adobe.com/technologies/r...details#tabTop I believe I followed the directions accurately-After the

  • Bluetooth keeps searching

    Is there a problem with iPad bluetooth syncing with either the iPhone or the macbook? I am having a problem connecting since the iPad is keeps on searching thanks tk

  • Summary Table for GL Balances

    Does anyone know what is the table to store the GL balances in ECC 6.0? I am going to GLT0 (the table for classical ledger), it is not containing any data. We are using new GL functionality. We are having issues with a GL account not getting revaluat

  • Doc files not fully opening in pages

    Hi experts, I am a recent convert from word to pages and I'm trying to transfer my doc. and docx. files to pages.  When I open the doc. files, they only have the first page (it looks like a screen shot) available in pages.  Can anyone help with the t