How to create Links dynamically

Hello,
I've tried for several days to create links dynamically, and
I can't get it work out.
Here is what my application do : in a
viewstack, I create dynamically some
canvas as children of the viewstack. The number of canvas
depend on the number of items in an arraycollection.
Creation of a canvas (included in a "for" loop):
Objet_Courant = Curseur.current;
var canvas_cible:Canvas = new Canvas;
canvas_cible.id = "CN_"+i;
canvas_cible.width = 315;
canvas_cible.height = 160;
ViewStack_cible.addChild(canvas_cible);
I inject content in each canvas the same way :
var newModele:Text = new Text;
newModele.id = "MODELE_"+i;
newModele.text = (Objet_Courant.modele) as String;
canvas_cible.addChild(newModele);
And now my question (at last) : I would like to create links,
for example on the text item. The URL of the link would come from
the arraycollection, as the other datas I use.
Does anyone have a clue for this ?
Thanks in advance.

I still get stuck with this problem, even several months
after... I had the same problem with creating links on images, when
I dynamically create Tilelists with images as an ItemRenderer. How
can we associate links with the images ?
Any kind of help would be great :)

Similar Messages

  • How to create a dynamic link in a Form to link to a specific FOLDER

    Hello,
    I have created a reports of all employees of my department.
    This reports shows me the empno and ename
    When I clicked on a empno ( for example empno = 1 ) then then I got a MASTER DETAIL FORM about that employee(empno = 1) .
    Who he or she is and which course he or she had followed.
    I want create a dynamic link in the MASTER DETAIL FORM which shows me directly the folder of that employee ( in this example folder 1 ).
    If I clickt on the report with all employees of my department on an other number ( for example empno = 3333333) then if I click on the dynamic link in the MASTER DETAIL FORM I want to see the folder of employee 3333333 !!! You know what I mean ?
    What I want to know is, how to create a dynamic link that shows me directly a folder which is dependent on which empno I had clicked on in the report ( report with employee numbers and ename )
    Is there any way to pass some parameters into a link to a Folder ? Is this possible in Portal ? Does anyone know how to do this, or do you have a suggestion how to solve this problem ?
    Thanks a lot !!!
    Chu Lam

    Hi Chetan,
    I am glad that someone had replied on my question.
    I will explain it to you again.
    I have created a report that shows me all employees. If I click on a employee number then I get an MASTER DETAIL FORM on my screen with all the information(where he works now and which number I have to dial ifhow can I reach him by telephone) of that employee on which number I clicked on.
    I really like this mechanism. (You click on a number and the information that you see in the next screen is dependent of the number you clicked on ! )I have created all this. It works fine.
    What I want is to expand this example.
    Every employee has a FOLDER (yes, those ones in Content Area ) which they can insert text or image into that folder. The folder name is just the employee number. ( employee with employee number 3303, he owns a folder which is named 3303 and an employee with empno 9999, he or she owns a folder with the name 9999. )
    Every employee can tell more about himself in that FOLDER by iserting text and images. For example : What he likes, pictures of his vacation, something like this.
    What I want is this :
    If I click on the first report,which provides me all employees on screen, on a employee number 3303 then I get a Master Detail Form on my screen with all information about that employee with employee number 3303. And I want in this MASTER DETAIL FORM to create a link that shows me directly the FOLDER of that employee ( 3303), so I can learn more about employee with employee number 3303. But I don't know how to create this link.
    That link had to be dependent on the employee number. The difficult thing about this link is that this link had to be dynamic.
    I hope this will make it clear to you :
    (report all employees:)
    empno ename
    3301 john smith
    3302 peter clark
    3303 wilson jones
    If I click on a empno ( for example 3303) then I get a MASTER DETAIL FORM which provides me information.
    (MASTER DETAIL FORM )
    EMPNO 3303
    ENAME wilson jones
    department New York
    mobile number 98908763
    Company tel. no day
    AOL 097485838 monday till wednesday
    Oracle 04848584333 thursday and friday
    LINK
    (what I want is to create a link here )
    If I click on LINK in this MASTER DETAIL FORM then I want to link to the FOLDER of this employee ! ( In this example it is FOLDER 3303.
    BUT IF I CLICKED ON THE FIRST REPORT ON A DIFFERENT NUMBER ( FOR EXAMPLE 3301) THEN IF I CLICK ON LINK IN THE MASTER DETAIL FORM THEN I HAVE TO LINKED TO FOLDER 3301.
    I just want to know how to make a link like this ( create a dynamic link to a specific folder ).
    Thanks in Advance.
    Chu

  • How to create a dynamic mapping of columnar at the Runtime using ADF or JSF

    How to create a dynamic GUI at the Runtime using ADF or JSF in JDeveloper 11g.
    What I am trying to build is to allow the user to map one column to another at the run time.
    Say the column A has rows 1 to 10, and column B has rows 1 to 15.
    1. Allow the user to map rows of the two tables
    2. An dhte rows of the two columns are dynamically generated at the run time.
    Any help wil be appreciated.....
    Thnaks

    Oracle supports feedback form metalink was; "What you exactly want to approach is not possible in Htmldb"
    I can guess that it is not
    exactly possible since I looked at the forums and documantation etc. but
    couldnt find anything similar than this link; "http://www.oracle.com/technology/products/database/htmldb/howtos/tabular_form.h
    t". But this is a very common need and I thought that there must be at least a workaround?
    How can I talk or write to Html Db development team about this since any ideas, this is very important item in a critial project?
    I will be able to satisfy the need in a functional way if I could make the
    select lists in the tabular form dynamic with the noz_id;
    SELECT vozellik "Özellik",
    htmldb_item.select_list_from_query(2, t2.nozellik_deger, 'select vdeger
    a,vdeger b from tozellik_deger where noz_id = 10') "Select List",
    htmldb_item.text(3, NULL, t2.vcihaz_oz_deger) "Free Text"
    FROM vcihaz_grup_ozellik t1, tcihaz_oz t2
    WHERE t1.noz_id = t2.noz_id
    AND t2.ncihaz_id = 191
    AND t1.ngrup_id = 5
    But what I exactly need i something like this dynamic query;
    SELECT
    vozellik "Özellik",
    CASE
    WHEN (t2.nozellik_deger IS NULL AND t2.vcihaz_oz_deger IS NOT NULL) THEN
    'HTMLDB_ITEM.freetext(' || rownum || ', NULL) ' || vozellik
    WHEN (t2.nozellik_deger IS NOT NULL AND t2.vcihaz_oz_deger IS NULL) THEN
    'HTMLDB_ITEM.select_list_from_query(' || rownum ||
    ', NULL, ''select vdeger a,vdeger b from tozellik_deger where noz_id = ' ||
    t1.noz_id || ''' ) ' || vozellik
    END AS "Değer"
    FROM vcihaz_grup_ozellik t1, tcihaz_oz t2
    WHERE t1.noz_id = t2.noz_id
    AND t2.ncihaz_id = 191
    AND t1.ngrup_id = 5
    Thank you very much,
    Best regards.
    H.Tonguc

  • How to create Hyperlink dynamically

    Hi All,
    In my application , iam using one table , one of the field in that table is input field,
    when i entered data in that field at runtime, automatically that field value should become hyperlink, to show another table.
    is it possible to do, if possible please help me in this how to create field dynamically.
    regards,
    sush

    Hi Sushma,
    What I get is that at runtime, you will fill the input field with some value & wish to have the field changed to a link.
    Adding to what Armin has said, keep the input field as it is. Add a new column in the table, create the TableCellEditor of type LinkToURL (if it is a URL value) or LinkToAction (if some value).
    For LinkToURL type, set the 'reference' property to the same context value attribute as the input field.
    For LinkToAction type, set the onAction event where you call the appropriate code.
    You can also set the 'text' property as Link or bind it to this context value attribute as well.
    Hope this works.
    Kind Regards,
    Nitin
    Edited by: Nitin Jain on Mar 25, 2009 9:14 AM

  • How to create the dynamic report

    Hi,
    please help me, how to create the dynamic report

    Hi,
      Try this..
    DATA: p_temp(30)  TYPE c DEFAULT 'ZTEST_REPORT'.
    TYPES: BEGIN OF t_abapcode occurs 0,
            row(72) TYPE c,
           END OF t_abapcod.
    T_ABAPCODE-ROW = 'REPORT ZTEST_REPORT.'.
    APPEND T_ABAPCODE.
    T_ABAPCODE-ROW = 'WRITE: / ''TEST REPORT''. '.
    APPEND T_ABAPCODE.
    INSERT REPORT p_temp FROM it_abapcode.
          SUBMIT (p_temp) AND RETURN.
          DELETE REPORT p_temp.
    Thanks,
    naren

  • How to create a Dynamic IAF in WD

    Dear all,
    We'd like to create a dynamic interactive form based on a XDP in a WebDynpro application. How can we achieve this?
    We tried to use setDynamicPDF() and setInteractive(), but it looks like ADS doesn't create a dynamic pdf.
    Only the master page is being displayed.
    Any ideas how to create a dynamic interactive form via ADS and how to determine if the pdf is a dynamic interactive form (in the browser).
    Kind regards,
    Noël
    version info: Designer 7, NW SP15, Reader 7.0.7.

    Hello,
    Use the following code to get a dynamic pdf document created in your <b>wdDoModifyView()</b> method. Make use of the firstTime flag there if required :
    <b>IWDInteractiveForm iForm =
    (IWDInteractiveForm)view.getElement("InteractiveForm1");
    iForm.setDynamicPDF(true);</b>
    setDynamicPDF(boolean) nmethod has been deprecated in 04. Moving forward to 04s, you will have a different set of APIs to deal with such requirements. Hence the abiove mentioned method will be taken off with the next major release of NetWeaver.
    <b>How do you know whether the pdf document created is static or dynamic ?</b> Well, save the form locally and open it in the designer. Go to File > Form Properties > <b>Compatibility</b> Tab. Check your <b>Form Type</b> there.
    Best Regards,
    Krish

  • Tutorial Announcement .:: How to Create a Dynamic RSS Feeds  ::.

    .:: How to Create a Dynamic RSS Feeds ::.
    Using Adobe Dreamweaver 8 and InterAKT Rss Reader Writer Extension.
    Hello everyone...
    RSS feeds are very useful within sites, as they allow integrating for you website content in an automatic manner. Just share the source for the RSS feed, and when the original content changes, it will reflect in the content you share with any one who subscribed in this feeds on your site.
    In this tutorial i`ll help you integrate a RSS feed into one of your pages. This will display the content of your website to feeds subscribers with up to date content.
    The main purpose of this tutorial is to create a page that allows visitors subscribe to the RSS Feed that they want to see from your website content, or even enter their own in a text box by searching through feeds. also you can define feeds categories if your website is online store, merchant etc...
    :: Online Demo ::
    :: Go to tutorials ::
    Best Regards
    Waleed Barakat
    Developer-Online Creator and programmer
    http://www.developer-online.com

    Hey Waleed,
    thanks again for this great stuff -- and thanks for removing the login protection :-)
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • How to create a dynamic property in JavaFX

    public class Person() {
    private SimpleStringProperty _Name = new SimpleStringProperty();
    public final String NameGet() {
    return this._Name.getValue();
    public final void NameSet(String Name) {
    this._Name.setValue(ColumnName);
    public StringProperty NameProperty() {
    return this._Name;
    private SimpleStringProperty _SurName = new SimpleStringProperty();
    public final String SurNameGet() {
    return this._SurName.getValue();
    public final void SurNameSet(String SurName) {
    this._Name.setValue(ColumnName);
    public StringProperty SurNameProperty() {
    return this._SurName;
    How to create a dynamic property in JavaFX ?
    ObservableMap, ObservableMapValue, MapPropertyBase, MapProperty
    Which one should I use. Can you give an example?

    I'm not sure what you mean by "dynamic property"; can you be more explicit?
    Your code creates two properties that can be read, written, and observed for changes, though it's probably better to use the standard naming scheme for the methods (e.g they should be getName(), setName(...) and nameProperty()).
    An ObservableMap is an extension of the java.util.Map interface that can be observed; i.e. you can register a listener that will be notified if a key-value pair is added or removed from the map.
    ObservableMapValue is an interface that defines an observable reference to an ObservableMap; i.e. it has a get() method returning an ObservableMap and a set(...) method taking an ObservableMap. You can register a ChangeListener which is notified when the set(...) method is called. It additionally functions as an ObservableMap, so you can also register listeners that get notified when key-value pairs are added or removed from the underlying observable map.
    MapProperty and MapPropertyBase are effectively partial implementations of ObservableMapValue. SimpleMapProperty is a full implementation.
    If you just need a single ObservableMap (i.e. not an observable reference to one), then the FXCollections.observableHashMap() factory method will provide one.

  • How to create database dynamically

    Hi,
    Some one suggest, how to create database dynamically in oracle 8.1.6.0.0 standard edition with an example.
    Thanks in advance,

    Hello,
    I'd ask in the
    Windows Presentation Foundation (WPF) forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • How to create a dynamic table were the JTable columns keep varying

    How to create a dynamic table were the JTable columns keep varying based on the input to the jtable

    Oooh, I lied. DefaultTableModel has an API for adding and
    removing columns. I didn't know that. You should have read
    the API.
    As for preferring to extend AbstractTableModel rather than
    DefaultTableModel, I think it's more correct. DefaultTableModel
    is a simple implementation of Abstract for basic cases. It isn't
    intended to be extended. I figure most people extending
    DefaultTableModel are also extending JFrame, JPanel, and Thread
    instead of encapsulating the first two and implementing
    Runnable for the third.

  • How to create links in table view

    Hi
    I am working in IC WebClient.
    Can any body guide me how to create link on particular column of the table view and How can we navigate to another page by clicking on this link ?
    I am filling the internal table (for table view) by z tables. I do not have context node for that.
    Points will be rewarded.

    use Iterators. In the itarator you can create any BSP Object you wish to.
    in the method RENDER_CELL_START of the interface IF_HTMLB_TABLEVIEW_ITERATOR
    METHOD if_htmlb_tableview_iterator~render_cell_start.
      DATA: lo_text     TYPE REF TO cl_htmlb_textview,
            lo_link TYPE REF TO cl_htmlb_link,
            lv_link_click TYPE string,
            lv_link  TYPE string,
            lv_dim   TYPE string,
            lv_pernr TYPE string.
      FIELD-SYMBOLS: <dat> TYPE ANY.
      lv_link  = 'info.htm?pernr='.
      lv_dim   = 'left=300,top=220,width=620,height=200,menubar=0,scrollbars=yes,resizable=no'.
      row_ref = p_row_data_ref.
      CASE p_column_key.
        WHEN 'PERNR'.
          CREATE OBJECT lo_link.
          lo_link->id            = p_cell_id.
          lo_link->text          = get_column_value( p_column_key ).
          CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
            EXPORTING
              input  = lo_link->text
            IMPORTING
              output = lv_pernr.
          CONCATENATE `window.open('` lv_link lv_pernr `' , '` lo_link->text `', '` lv_dim `');` INTO lv_link_click.
          lo_link->text = lv_pernr.
          lo_link->onclientclick = lv_link_click.
          p_replacement_bee      = lo_link.
        WHEN OTHERS.
          CREATE OBJECT lo_text.
          lo_text->id       = p_cell_id.
          lo_text->wrapping = 'FALSE'.
          lo_text->text     = get_column_value( p_column_key ).
          lo_text->design   =  'STANDARD'.
          p_replacement_bee = lo_text.
      ENDCASE.
    ENDMETHOD.
    How to use Iterators.
    /people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator
    Hope this helps.
    Cheers
    Amandeep
    <i><b>Reward points for each helpful answer.</b></i>

  • How to create links to other pages i create??

    I have finished my "homepage" and it has 5 buttons on it.("home",
    "Contact us", etc.).
    I have no idea how to create links to other pages i create.
    For example, if the user clicks on "Contact us", i wnat contact information
    to appear. So, do i create another html document that will contain contact
    information and then call that page whenever the user clicks "Contact us". Or
    do i just create another applet that contains contact information and display
    the applet in the appropriate area, whenever the user clicks "contact us".
    Hope that wasnt confusing. Bascially, I am sitting here looking at my buttons, not knowing
    what code to put under the actionPerfomed part of each button.
    thanx
    trin

    ... judging from your question... the best way i think is to create another page...
    .... so when ur user clicks on Contact Us..... he/she will be taken to another page...
    there are other techniques besides this.... but it is always better to stick with the easiest one
    ... so you need to create separate pages for all of your links....
    ... if you have any questions... let me know
    .... have fun

  • How to create links and how to use that links to go to other pages?

    my question is....how to create links...i mean by using make link option.....when we do right click on a word,etc in the design view.....and my other question is.....how to use that links to go to other pages.....i mean when i click on a link...it takes me to another web page.....

    Please do not post the same subject to more than one forum.

  • How to create links to the same page, how to create links to the same page

    How to create link to the same page with iweb?
    Thanks

    You're referring to anchors.  There are a couple of ways. These topics discuss them:
    iWeb FAQ - Anchors
    How do i hyperlink to certain portion...: Apple Support Communities
    OT

  • How to create links betwen two documents in KM?

    how to create links betwen two documents in KM?

    If you use the KM provided HTML editor, there is an option to provide a link to another KM document from one KM document.
    Else if its an uploaded HTML, create a link like this:
    <a href="/irj/go/km/docs/documents.....">CLICK</a>

Maybe you are looking for

  • Problem deploying composite with Business Rules

    I´m trying to deploy a simple composite at my EM, but the following error occurs when i try: [06:10:29 PM] Error deploying archive sca_POProcessing_rev1.1.jar to partition "default" on server AdminServer [http://soabpm-vm.site:7001] [06:10:29 PM] HTT

  • Datagram Socket  send different sizes Buffers ...

    hi, I'm sending different sizes Datagrams from a datagram socket so how can I receive them I've tried to send the packet in two packets the first one is fixed size that carries the size of the real data then create a suitable buffer on the client sid

  • How to reset an ipod

    How do I reset an ipod?  It went into lock mode and is saying password is in correct which it isn't.  I don't know what happened.  Then when I put passcode in, it disables it for 10 min, then 15, then 60min.

  • How do I set the URL to be correct in the browser?

    When I click on a link, like the following: "http://127.0.0.1:8100/test/viewpage?cmd=viewpage&id=2808" I then get that link appearing in the browser URL field. However, when I go to the same page via a Servlet (and the action is activated via a Submi

  • My ipod touch camera isn't working!!!

    my ipod touch camera isn't working, it just shows the shutter. The only way I can take a photo is if I use the front camera with instagram. Please Help! What do I do? I have tried everything apart from a complete restore. PLEASE HELP!