How to use saprk textArea TextEvent.link

  Hello
  I had a question . I used Saprk textArea   .
I want to catch TextEvent.link ..but is not work...Please help me....
   private function init():void
   // Util.showAlert("TalkMsgPage","dd");
    textArea.addEventListener(TextEvent.LINK , onhandleLink,true);
    textArea.textFlow.addEventListener("yourSelfEvent",clickAHander);
    textArea.selectable = true;
   private function clickAHander(event:FlowElementMouseEvent):void{
    Util.showAlert("TalkMsgPage","ddd");
   private function onhandleLink(e:TextEvent):void
    Util.showAlert("TalkMsgPage","dd");

zafadm,
as Leonardo pointed out you should refer to the db link by it's name - '@dbl_14952_5'. The USING clause expects a full address or an alias that refer's to your tnsnames.ora file on the local server (SUPPORT1) where an entry would exist with that alias. You can bypass the tnsnames.ora file by supplying the full address in your create database link statement, ie;
create database link dbl_14952_5
connect to  BELGA_5
identified by "password"
using '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=host_ip)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=MZFB)))';Update the statement with the ip of the remote (MZFXPDESK) server.

Similar Messages

  • How to use Remote key for linking two repository

    Hi,
    I have a challenge like not to repeate common tables like Company_code,Currency,Vendor name,customer name across all repositories.
    Is there any way I can use 'Remote key' to link different repository.
    I can create a Main table with all common attributes required across the repository but want to know how I can connect it to different repository.
    For example to get company-code in Vendor table , how can I link Company-code main table(customized) in another repository may be thru 'Remote key'.
    Going thru java api route is not prefffered for the sake of simple solution.
    Appreciate your help in providing any idea and detail steps for the process.
    -regards, Reo

    could you confirm the name and the existence of this file "IOMM_20121213_060736.csv" ?
    same error like:
    http://www.oracle-base.com/articles/9i/external-tables-9i.php
    if the load files have not been saved in the appropriate directory the following result will be displayed.
    SQL> SELECT *
      2  FROM   countries_ext
      3  ORDER BY country_name;
    SELECT *
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04040: file Countries1.txt in EXT_TABLES not found
    ORA-06512: at "SYS.ORACLE_LOADER", line 14
    ORA-06512: at line 1Edited by: Fran on 10-ene-2013 23:32

  • How to use PDF files with links to other PDF Files

    How to use a PDF file with links to other PDF files that have been transferred to the same folder

    Are you using a mouse, or a trackpad on a laptop? Either way, your cursor is usually an arrow, right? And presumably it's working/moving MOST of the time, otherwise you wouldn't be able to do anything?
    For example, can you move the cursor arrow to the "Annotate" tool to click on it and go into Annotate mode? If so, can you click on the text tool? If so, does the cursor change to a crosshairs? At what point can you NOT move the cursor around the screen?
    Matt

  • How to use Combobox to direct link

    Hi all, how can i use combobox to direct link in adf. For example: I have a list of value with combobox, when i selected "Page A" ---> go to Page A, selected "Page B" ----> go to Page B
    Thanks

    Hi,
    How about using a menu model instead of a combo box? Check out this example : Oracle JDeveloper 11g Release 2 Tutorials - Creating ADF Menus for Page Navigation
    -Arun

  • How can I catch a TextEvent.LINK in the new TLF?...

    ... or what should I use insetd of?

    I found the solution...
    I have to add an CLICK event listener... and than change that to a textEvent.LINK
    public function set htmlText(htmlText:String):void
    //... code
        textFlow = TextFilter.importToFlow(htmlText, TextFilter.TEXT_LAYOUT_FORMAT);
    //... code
        textFlow.addEventListener(MouseEvent.CLICK, handleLinkClick, false,0,true);
    //... code
    private function handleLinkClick(event:FlowElementMouseEvent):void
        if (textFlow.interactionManager == null && event.flowElement is LinkElement)
            event.preventDefault();
            dispatchEvent(new TextEvent(TextEvent.LINK,
                                  LinkElement(event.flowElement).href));

  • How to use object collection with linked objects

    <p>Hi,</p><p>I&#39;m using VS2005 Crystal reports in a c# client app (server has database, but client does not have!). So the use of the objects transfered to the client seemed to me a good solution for showing reports on the client. The objects mostly link to several other objects (properties of type <type> or properties of type [] <type>) and the links are correctly configured in database assistant.</p><p>But: Whenever using one of the linked fields, all of the main fields will never show up in the report.</p><p>So, what is the correct way of showing a master / detail report using linked object collections???</p><p> (A small test sample app can be provided upon request)</p><p> TIA</p><p>BP</p>

    What database and connection type are you using? Are you connecting the report directly to the database, or trying to assign the datasource to object data?
    It sounds like you might be trying to use a linked list, collection or other C# construct to pass your data in. This currently isn't supported by the Crystal Reports SDK. You can use a DataSet or a DataTable, and possibly also an IDataReader depending on which version of Crystal Reports you're referencing in your project. Of course you can also connect directly to the database, even if the database isn't on the same machine as the application.
    The way to show master records with detail information is through the use of subreports and linked subreport parameters. Linked subreports take their parameter value from a record in the main report, so that only the data appropriate to that master record is displayed. The guys over in the [report design|SAP Crystal Reports; forum can help you out with this if you have questions on the specifics.

  • How to use a textArea in another class

    Hi,
    Well I'm having this problem with a project where I need to print in my main Frame some values however this values need to be in a cycle I made my textArea public and with inheritance I was able to use the textArea variable however it doesn't actually work, it compiles and everything but still doesn't draw in my textArea what is supposed to? Any help? I'm using netbeans btw.

    pberardi1 wrote:
    Tip:
    If you show your code here, you have a better chance of someone helping you. Dont forget to post your errors and use code tags.
    Good LuckThe thing is that it ain't showing an error is compiling and debugging just fine when I debug it, it even goes to the line where it should print on the textArea but it just doesn't.
    Here's some code it's made to try that textArea print
    import Principal.Memoria;
    * @author Sveind
    public class FIFO extends Memoria {
        private int bloques[];
        private int numRan, bloque, numConj,numBloques,m=0;
        private String mapeo;
        /** Creates a new instance of FIFO */
        public FIFO(int numRan, int numConj, String mapeo, int numBloques) {
            this.numRan=numRan;
            this.numConj=numConj;
            this.mapeo=mapeo;
            this.numBloques=numBloques;
            bloques = new int[numBloques];
            dialogo.append("Wassa!!!!"+"\n");    // This is where it's supposed to print however it doesnt do it
        }

  • How to use Spry validation with link styled submit buttons..??

    I'm working with a theme package that comes with a bunch of button styles that work with basic links.  For example:
    <a href='page.html' class='small-button smallblue'><span>Button Label</span></a>
    I've got a basic form setup with Spry validation, but the submit button needs some styling to make it look nice with the site.  Since there are already styles ready for me to turn links into buttons I figured I'd use the same thing for my submit buttons.
    To accomplish that, I'm using the following javascript...
    <script type="text/javascript">
    function submitForm() {
        document.getElementById("form_name").submit();   
    </script>
    And then I'm updating my submit button to something like this...
    <a href='javascript: submitForm()' class='small-button smallblue'><span>Button Label</span></a>
    When I do this, the form submits as expected, but the Spry validation doesn't work.  Is there a way I can make the Spry stuff work with these types of buttons?  I know I could create separate styles for the submit buttons themselves, or I could use an image type button, but I'd really like to figure out how to get these existing styles to work for me since the theme already has so many of them done for me.
    Any information on this would be greatly appreciated.  Thanks!

    Save yourself a lot of trouble and style the normal submit button as per
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css">
    <style>
    .Standout {
        font-family: Geneva, Arial, Helvetica, sans-serif;
        text-transform: uppercase;
        color: #FFFFFF;
        font-size: 16px;
        background-color: #CC0000;
        font-weight: bold;
        border-style: none;
        padding-top: 6px;
        padding-bottom: 5px;
        padding-right: 64px;
        padding-left: 64px;
        letter-spacing: 1px;
    .Standout:hover {
        background-color: #000000;
    </style>
    </head>
    <body>
    <form action="" method="get" name="myform">
      <span id="sprytextfield1">
      <label for="text1"></label>
      <input type="text" name="text1" id="text1">
      <span class="textfieldRequiredMsg">A value is required.</span></span>
      <input name="input" type="submit" class="Standout">
    </form>
    <script>
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "none", {validateOn:["blur"]});
    </script>
    </body>
    </html>
    Gramps

  • How to use a Global database link

    i try to create a global database link through two databases MZFB et MZF14952.
    the MZFB database is installed under the machine MZFXPDESK
    the MZF14952 database is installed under another machine SUPPORT1
    i execute this code
    CREATE DATABASE LINK dbl_14952_5
    CONNECT TO BELGA_5          
    IDENTIFIED BY mypwd
    USING 'MZFB'
    select * from dba_db_links
    OWNER      DB_LINK      USERNAME      HOST      CREATED
    MZF14952     DBL_14952_5.CORP.MYCOMPANY.COM     BELGA_5          MZFB                    02/14/2007 14:17:21:000
    select * from global_name
    DBL_14952_1.CORP.MYCOMPANY.COM
    select * from [email protected]
    => ORA-02019: connection description for remote database not found

    zafadm,
    as Leonardo pointed out you should refer to the db link by it's name - '@dbl_14952_5'. The USING clause expects a full address or an alias that refer's to your tnsnames.ora file on the local server (SUPPORT1) where an entry would exist with that alias. You can bypass the tnsnames.ora file by supplying the full address in your create database link statement, ie;
    create database link dbl_14952_5
    connect to  BELGA_5
    identified by "password"
    using '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=host_ip)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=MZFB)))';Update the statement with the ip of the remote (MZFXPDESK) server.

  • How to use html pages as links on portal

    Hi,
    I have uploaded some html files in KM.
    Now i want to create an iview and add these uploaded html files as hyperlinks in that iview.
    Can i know the solution for these?
    Awaiting for your respose.
    Regards,
    Raju

    Hi buddy,
    from your initial question, i guess you need to display a page which has multiple links to various pages which you have uploaded in KM.
    So what you can do is, create another html file which link in it.
    <a href = "some_html_file.html">Page1</a>
    <a href = "some_html_file.html">Page2</a>
    <a href = "some_html_file.html">Page3</a>
    <a href = "some_html_file.html">Page4</a>
    Some_html_file.html should point to the corrrect file(s) in the KM directory. Now save the new file which you have created (the one with links) in the KM directory and create a KM Document iView for this page and assign it to a role, and assign the role to the user and test.
    Thanks,
    GLM

  • How to use pdk-struts-html:link

    i have a portlet,
         <pdk-html:link href="/StartEhrpHrj.do?targetGroup=Hrj1030MInfDtlGroup">
                   xyz
    </pdk-html:link> </td>
    but no link,why

    Hi,
    It is not an issue with the tag. Look at the docs for the struts html:link tag; the pdk-html:link tag is intended to replace this tag and not the regular HTML anchor tag.
    Good luck,
    Hernando
    hjbconsulting at comcast dot net

  • Is it possible to use HTTP GET navigation links?

    Hi,
    I'm learing JSF technology, I found it very powerful.
    But I'm not able to understand how generate navigation links that use HTTP GET method. Do anyone Help me?
    It seems impossilbe, but I don't want believe that it is true.
    Building a web site using only HTTP POST methods is out of the W3C for Web Site suggestions.
    A "good" serach engine for example dosen't take in cosideration HTTP POST Links.
    I hope that someone tell me how generate using JSF HTTP GET links for navigation.
    Bye

    Balusc, thanks for you help.
    The blog is very good!
    I make help classe (FacesUtils) who you show in blog, but not find the property on request context map, but I use the param variable on faces-config.xml and Request Managed Bean and all work fine.
    thanks.
    I'm wrong where I think the Request Managed Bean is create for each request on all pages, the Request Managed Bean is create only on requeste page reference its.
    Parte of my faces-config where I put the Request Managed Bean:
    <managed-bean>
              <managed-bean-name>uuidParamManager</managed-bean-name>
              <managed-bean-class>
                   br.srv.full.virtual.managers.request.UUIDParamManager
              </managed-bean-class>
              <managed-bean-scope>request</managed-bean-scope>
                   <managed-property>
                   <property-name>loginManager</property-name>
                   <property-class>
                        br.srv.full.virtual.managers.LoginManager
                   </property-class>
                   <value>#{loginManager}</value>
              </managed-property>
              <managed-property>
                   <property-name>uuid</property-name>
                   <property-class>java.lang.String</property-class>
                   <value>#{param.UUID}</value>
              </managed-property>
         </managed-bean>Where UUIDParamManager is create on request its receive first the LoginManager Instance, and later its receive the UUID param.
    I put the prototype of project on virtual.full.srv.br.
    thanks.

  • I have iPhone 4s, and using latest iOS. When I try to open any link from Twitter or Facebook, it goes to open some wrong webpage. My iphone seems to be infected or suffering from some spyware or malware. How can I remove this wrong link opening

    I have iPhone 4s, and using latest iOS. When I try to open any link from Twitter or Facebook, it goes to open some wrong webpage. My iphone seems to be infected or suffering from some spyware or malware. How can I remove this wrong link opening ? Please help me to resolve...

    I think the McAfee suite will do the trick when I pay them a one-time fee of $69 or $179 for a year for unlimited support.
    Your call of course but IMO a waste of money. Please read this first:
    There are many forms of ‘Malware’ that can affect a computer system, of which ‘a virus’ is but one type, ‘trojans’ another. Using the strict definition of a computer virus, no viruses that can attack OS X have so far been detected 'in the wild', i.e. in anything other than laboratory conditions. The same is not true of other forms of malware, such as Trojans. Whilst it is a fairly safe bet that your Mac has NOT been infected by a virus, it may have another security-related problem, but more likely a technical problem unrelated to any malware threat.
    You may find this User Tip on Viruses, Trojan Detection and Removal, as well as general Internet Security and Privacy, useful:
    https://discussions.apple.com/docs/DOC-2435
    The User Tip (which you are welcome to print out and retain for future reference) seeks to offer guidance on the main security threats and how to avoid them.
    More useful information can also be found here:
    http://www.reedcorner.net/mmg/

  • How to use methods when objects stored in a linked list?

    Hi friend:
    I stored a series of objects of certain class inside a linked list. When I get one of them out of the list, I want to use the instance method associated with this object. However, the complier only allow me to treat this object as general object, ( of Object Class), as a result I can't use instance methods which are associated with this object. Can someone tell me how to use the methods associated with the objects which are stored inside a linked list?
    Here is my code:
    import java.util.*;
    public class QueueW
         LinkedList qList;
         public QueueW(Collection s) //Constructor of QuequW Class
              qList = new LinkedList(s); //Declare an object linked list
         public void addWaiting(WaitingList w)
         boolean result = qList.isEmpty(); //true if list contains no elements
              if (result)
              qList.addFirst(w);
              else
              qList.add(w);
         public int printCid()
         Object d = qList.getFirst(); // the complier doesn't allow me to treat d as a object of waitingList class
              int n = d.getCid(); // so I use "Object d"
         return n; // yet object can't use getCid() method, so I got error in "int n = d.getCid()"
         public void removeWaiting(WaitingList w)
         qList.removeFirst();
    class WaitingList
    int cusmNo;
    String cusmName;
    int cid;
    private static int id_count = 0;
         /* constructor */
         public WaitingList(int c, String cN)
         cusmNo = c;
         cusmName = cN;
         cid = ++id_count;
         public int getCid() //this is the method I want to use
         return cid;

    Use casting. In other words, cat the object taken from the collection to the correct type and call your method.
       HashMap map = /* ... */;
       map.put(someKey, myObject);
       ((MyClass)(map.get(someKey)).myMethod();Chuck

  • How to use quick link property in the km navigation iview

    Hi all
    I have requirement.
    T structured lables
    one on top and rest 12 at the bottem in 3 columns, 4 rows.
    when i click the lable it should connect to a  respective folder in the KM
    this entire page have to be connected to a folder link...ie when i click this folder link this page with T structured lables have to come and when i click each lable respective folders should open...
    so for that i have created  one KM Document iview(this is like heading in the page) and 12 KM Navigation iviews(pointing to  respective folders)
    after that which layout will be suitable for this in page layout???
    if i add all iviews into a  one single page
    how to connect lables to folder???
    one of my friend have suggested to use '"quicklink'" property along with html page...???
    how to use it ???
    so pls do help me???
    my dead line is by today evening i.e 2.12.08
    pl do reply me as soon as posible
    thanks and regards
    Gayathri vuthukota

    hi Nikhil
    cau u explain me in detail please.
    I have done with HTML page and attached to Km document iview.and i have my 12 Km navigation i views.
    Then create static Links on HTML page to navigate to other iviews. It can be created by using the Insert link in Km tool of the html editor available in Km. For opening a url iview from a link you can write this for executing the 'donavigate method' to open the iview you needed.???
    what is EPCF client eventing???
    thanksn regards
    Gayathri

Maybe you are looking for

  • Time Out Connection to Database

    Dears,, I am trying to connect to the database through Toad or Sql but it gave me the following error: ORA-12170: TNS:Connect timeout occurred Also, ifd i tried to log in the database UNIX server through Putty ,it gave me the following error Network

  • Epub; it's listed but not viable

    It's nice Adobe has listed epub as a digital editions export option. It is terribly unfortunate that a company proud of publishing, communications and elearning can't/doesn't provide informatin on how to make this format viable. I love InDesign, Acro

  • How to embedd java in bpel?

    I have taken 2 variables in xsd and created a small java program in the same soa project. i want to embed java code in to BPEL and use the variables which i have created in XSD through getVariableData and after calculations the result should go back

  • Dowload problems

    I downloaded the trial version of Adobe Acrobat XI Pro and after the trial paid for the upgrade.  After two days of trying to download the program I finally got to a point where it said that my serial Number was valid but it could not locate a qualif

  • How can I open a large pdf (about 700 mb) on ibooks?

    I have been trying to open a large pdf file on ibooks (the file is over 700 MB) but it is unable to open it... Anyone has any idea what could I do to open it?