FileDownload link inside  af:inputFile

Hi, is it possible to create a link for downloading the uploaded file in the same component?
The af:inputFile component creates an outputText with the uploaded file but it is not a link
and af:fileDownloadActionListener requires a separate output text.
Has anyone implement something like this?
Thanks

Hi,
no, there is no option for this. You would use a commandLink or goLonk component for this
Frank

Similar Messages

  • Ios7 bookamrking web application to home screen via Safari crashes after login and when we try to open any link inside. Can anyone please tell me if there is any scheduled fix for this bug in safari?

    ios7 bookmarking web application to home screen via Safari, crashes after login and when we try to open any link inside from the icon that gets created on the home screen. Can anyone please tell me if there is any scheduled fix for this bug in safari?
    From what i understand i see that - Cookies are not transferred between your website and your webapp when installing the icon on the home screen (for authentication purposes for example). It was working until 6.1 and now it’s not working anymore.
    Can someone please tell me if this bug will be fixed in any future release, if so the ticket number of some kind that i can track, or if there is a workaround for this issue?

    ios7 bookmarking web application to home screen via Safari, crashes after login and when we try to open any link inside from the icon that gets created on the home screen. Can anyone please tell me if there is any scheduled fix for this bug in safari?
    From what i understand i see that - Cookies are not transferred between your website and your webapp when installing the icon on the home screen (for authentication purposes for example). It was working until 6.1 and now it’s not working anymore.
    Can someone please tell me if this bug will be fixed in any future release, if so the ticket number of some kind that i can track, or if there is a workaround for this issue?

  • Can you force a link inside a .pdf to open the "linked to" document in a new window?

    When I have a link inside my .pdf document - linking to another .pdf document or to a Word document - how can I force the linked-to document to open in a new window?
    I have a web site (business internal, so unfortunately I cannot point to it).  My HTML menu has links to .pdf documents - no problem.  However, once I open those .pdfs, they contain links to other .pdfs and to Word documents.  Clicking on these links, which reside inside my .pdfs, opens the "linked-to" docs in the same page.  How can I force them to open in a brand new frame?
    All of my .pdfs were originally created in Word, and in the Word versions, the links DO open into new frames.  I am not sure why, when I convert them to .pdfs, they lose this feature.
    Can anyone help?

    Hi Magenta,
    Would you mind reposting this question over on the Acrobat boards?  You've posted in the AIR forum and you'll have better luck with this over there.
    Thanks,
    Chris

  • Command Link inside table to external website in popup window

    Hi,
    I am trying to have a command link inside a table which is on the tables id. I know that if I have control of the destination page I can use setCurrentRowKeyValue. However I do not have control of the external website. So I cannot add it into my faces-config.xml file? I have tried putting a GoLink and a GoButton but I get the following Illegal character in fragment error, when I put my destination URL in. An example of the format the URL is:
    http://www.bbc.co.uk/radio?&music=#{row.PrimaryKey}&adf=123
    Where I am adding in #{row.PrimaryKey} which is the Id of the row. I would like to have the new page opened into a pop up window if this is possible.
    I am not sure if this can be done in the backing bean or whether my approach is the correct one?
    Many Thanks
    Steve

    something like...
    <af:goLink text="#{row.PrimaryKey}"
               destination="http://www.bbc.co.uk/radio?&amp;music=#{row.PrimaryKey}&amp;adf=123"
               targetFrame="_blank"/>Regards,
    Neeraj

  • Command Link inside of datatable

    I have the following problem when I put a command link inside a datatable.
    The action or actionlisteners never get called. Now here is the funny thing.
    1. If I move the action link outside the datatable it works.
    2. if I change the scope of the bean to session it works
    3. if the datatable contains more than 1 row it works
    The last one tells me this is a bug.
    To test this I change the sql query to limit the result so 1 row would be returned.
    The sql query returns a CachedRowSetImpl
    I believe this is a bug.
    <h:dataTable rows="6" first="0" id="table" binding="#{event.eventdata}" value="#{event.eventdetails}" var="eventdetail">
    <h:column>
    <h:commandLink value="#{eventdetail.title}" action="#{event.resaveEventaction}" actionListener="#{event.resaveEventdetails}" id="test" >
    </h:commandLink>     
    </h:column>
    <h:column>
    </h:dataTable>

    Here is some additional information that makes this more confusing.
    The following code is used to populate the datatable
    public CachedRowSetImpl getEventdetails(){
         CachedRowSetImpl rs2 = null;
         String selectedeventmy = selectedevent;
         int rowcount = 0;
         try { 
              sql = "SELECT * FROM event where eventid='"+selectedeventmy+"' ";
              rs2 = RunQuery.mysql(sql);
              rowcount = rs2.size();
         } catch (Exception e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
         return rs2;
    where RunQuery.mysql is
    public class RunQuery {
         public static CachedRowSetImpl mysql(String sql) throws Exception {
              CachedRowSetImpl crset = null;
              InitialContext initCtx = new InitialContext();
              Context envCtx = (Context) initCtx.lookup("java:comp/env");
              try {
                   DataSource ds = (DataSource) envCtx.lookup("jdbc/associations");
                   Connection conn = null;
         Statement stmt = null;
         conn = ds.getConnection();
         stmt = conn.createStatement();
         stmt.execute(sql);
         ResultSet rs = stmt.getResultSet();
         crset = new CachedRowSetImpl();
         crset.populate(rs);
         rs.close();
         stmt.close();
         conn.close();
              } catch (Exception e) {
                   System.out.println(e.getMessage());
              return crset;
    if I replace the line
    String selectedeventmy = selectedevent;
    with String selectedeventmy = "61";
    it works properly.
    selectedevent is populated from the following triggered by another action event on another page. ? The funny thing is if the result set returns more that 1 row all works ok.
    public String viewDetails(){
         System.out.println("Running view Details");
         int selectedrow = eventlist.getRowIndex();
         Object selected = eventlist.getRowData();
         Map rowdata = (Map) selected;
         selectedevent = rowdata.get("eventid").toString();
         System.out.println("Selected Event:"+selectedevent);
         outcome="eventdetails";
         return outcome;
    }

  • How to change the color of the links inside a portlet ?

    Hi,
    I have to apply a css into one of the portlets of my page. Since I thought it would not be easy I figured out that the only thing the client cares is the color of the links inside the portlet. The portlet has a bunch of links and these link should be blue and 12pt. Does somebody know how to do that ?
    Thanks,
    Rafael.

    Change hyperlink color:
    There are about 50 predefined styles with each template. They are modifiable. Hyperlink is one of the styles.
    Follow this process:
    • In your document select a word of text, any word will do.
    • Style it the way you want your hyperlinks to look.
    • Show Styles Drawer from the View menu.
    • Find the Hyperlink style in the drawer and right-click on it.
    • Select - Redefine Style from Selection - in the pop-up menu.
    That's it. You've changed the hyperlink style for this book.

  • Broken Links inside FLash

    I notived that the links inside my flash header do not work
    on this page as well as other pages inside this directory. The
    links do work in the root directory. Does someone know how to fix
    this problem I am having? Here is the link:
    http://www.school-psychologist.com/nick/worshipping/creative.html
    The action script URL setting is index.html, about.html, etc.
    For some reason when you click the following link, the flash header
    sends the user to
    http://www.school-psychologist.com/nick/worshipping/index.html
    instead of
    http://www.school-psychologist.com/nick/index.html
    Thanks a bunch!!

    impossible to say other then your code is wrong - always
    always always copy/paste the code in
    question or we have nothing to go by - but flash simply does
    not replace urls with other urls - you
    must have the wrong code on the wrong button and missed
    something simple.
    --> **Adobe Certified Expert**
    --> www.mudbubble.com
    --> www.keyframer.com
    Mike Splat wrote:
    >
    >
    > I notived that the links inside my flash header do not
    work on this page as
    > well as other pages inside this directory. The links do
    work in the root
    > directory. Does someone know how to fix this problem I
    am having? Here is the
    > link:
    >
    >
    http://www.school-psychologist.com/nick/worshipping/creative.html
    >
    > The action script URL setting is index.html, about.html,
    etc. For some reason
    > when you click the following link, the flash header
    sends the user to
    >
    http://www.school-psychologist.com/nick/worshipping/index.html
    instead of
    >
    http://www.school-psychologist.com/nick/index.html
    >
    > Thanks a bunch!!
    >

  • Can links inside "set text of container" behaviours open in a new page?

    I am using the set text of container behaviour to show different information within the same page, to keep things neat and simple to navigate. Some of the text needs to be external links, but they open in the current page, not a new page even though I have set the target to _blank.
    Is there another way to keep using the set text of container and have the links open in another page?
    thanks!
    Using CS6 on Macbook Pro 2.6Ghz OSX10.8

    gryffun wrote:
    Well, after some further google searches, I'll answer my own question...
    selecting the link inside the set text of container and adding a behaviour to it -  "open in browser" will make the link open in a new window.
    Or ading target="_blank" to each link will do the same

  • Links inside Microsoft Office Outlook 2007 result in a "General Failure" message instead of loading in Firefox 7

    When I click a link inside Microsoft Office Outlook 2007, it results in a "General Failure" message instead of loading the link inside Firefox 7 (previous versions of Firefox loaded OK, this issue has only arrived with the recent upgrade).

    See this lnk for a fix, it worked for me!
    http://www.pcworld.com/article/200103/fix_outlook_general_failure_error_for_email_links.html

  • Links inside pages built on Templates

    Does anyone have any info on putting links inside an editable
    region of a page constructed from a template. The links work fine
    if I take them out and put on a normal page but not insde the
    template based page. Is there a way around this.
    If anyone could help it would be much appreciated.
    Catherine

    Catherine: You are mistaken. Being in or out of a template
    would have no
    effect on DW's ability to maintain the links (as long as the
    links are
    plainly visible in the HTML).
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "catherineanselmi" <[email protected]> wrote
    in message
    news:eh689c$qrp$[email protected]..
    > Does anyone have any info on putting links inside an
    editable region of a
    > page
    > constructed from a template. The links work fine if I
    take them out and
    > put on
    > a normal page but not insde the template based page. Is
    there a way around
    > this.
    > If anyone could help it would be much appreciated.
    > Catherine
    >

  • Links inside a portlet

    Hi,
    I've got 4 links inside a portlet, i woulld like to target each link to the same portlet.
    Basically,i want this links to open inside a portlet.
    <netui:anchor action="Week">|Week</netui:anchor>
    <netui:anchor action="DayofWeek" >|Day of Week</netui:anchor>
    <netui:anchor action="TimeOfDay" >|Time Of Day</netui:anchor>
    <netui:anchor action="AccidentType">|Accident Type</netui:anchor>

    Hi Caroline
    You should install and use the "Url Services". I have the same need. But I can't succesffuly install the URLServices, I then get a lot of timeout errors when browsing the portal. I don't know when I'll have time to work on that, but that's the way you should work around.

  • Auto-select field after clicking link inside Appearance panel

    Before Illustrator CC 2014, when I clicked on a link inside the appearance window, the corresponding field would auto select. This made for a more efficient workflow. But now for some reason this has disappeared and I miss it! Hey Illustrator team, can you guys add it back in the next release?
    How to reproduce:
    Click on Opacity in the Appearance panel > "mini" opacity panel opens.
    Opacity field should be selected so all the user has to do is click up or down arrows on their keyboard.
    Just something small I noticed after I upgraded to CC 2014. Not a big deal honestly, but a small regression.

    You might try the steps in this Knowledge Base article;
    http://docs.info.apple.com/article.html?artnum=304482
    Dah•veed

  • How to respond to mouse over link inside textarea component?

    I want to respond to the content of a link inside htmlText
    propery of textarea, when the user move the mouse over the link,
    without clicking on it. is there a simple way to do so with flex?

    I found a solution to this.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&catid=582&threadid =1325639&enterthread=y
    What you do is use
    itemRollOver and the event.itemRenderer.data.name together.
    I used it so when I roll over an item in the dataGrid it
    changes the text area I have in my application with the description
    of the current rolled over item. When I mouse over another entry
    then the description changes to that description and on and on.
    Here is the full code I used.
    itemRollOver="NAME_OF_TEXT_AREA.text =
    event.itemRenderer.data.description"
    you would change the description to whatever the field is you
    want, such as name, author, temp, books or whatever the data is.
    I am actually bringing in data on videos from a database. XML
    is created from the database using the XML plugin from Dreamweaver
    Developer ToolBox. A PHP file is used to output the desired table
    information then it is brought into Flex 2 application and the data
    is propigated into the Data Grid I have setup. The Text Area is
    updated with the description of the video both when one is selected
    but also, now, when any of the items in the list are moused over,
    or rolled over.
    It works great. You can easily change this to work for your
    app or at least give you a direction to go if it isn't exactly what
    you need.
    I have been trying to get this to work for a couple days now,
    just found my solution and wanted to come post to let others know
    about it.

  • How to open a link inside shell.

    There are workset items in ux3.shell in ui5. I have given a http link in setContent method of one of the worksetitem. This link is opening but in new window and not inside the shell. But i want to open that link inside the shell.

    JS Bin - Collaborative JavaScript Debugging
    mContent[id] = new sap.ui.core.HTML({content : " <iframe id='myExternalLink' style='width:100%;height:100%;z-index:-1' width='100%' height='100%' src='http://go.sap.com/index.html'></iframe>" });

  • Link inside webpage does not work.

    link inside webpage does not work ( http://ochre.lib.uchicago.edu/marathi/ ). i was able to launch a java program by clicking the link in the middle of the page in firefox 6. now it doesnt work in latest versions. link works fine in IE9

    Anyone?.

Maybe you are looking for