Command_link does not work outside of form

if command_link is outside of form, it is rendered without a warning notes, but does not work correctly.

Sorry, you did not get my point again.
Currently, I check how JSF RI helps developer to recognize his/her mistakes.
In case of command_link outside of the form, RI says "Everything is all right. Spend the next couple minutes (couple hours or days, depends of developer qualification) to find this trick.

Similar Messages

  • Reading message from MQ- works in WSAD (IDE) but does not work outside WSAD

    Read from MQ:
    Same code works within WASD but does not work outside WSAD.

    PDL - thanks for the suggestions - here are the results:
    A button on the form that executes "this.print();" works fine.
    Changing "this" to "event.target" results in the same error.
    document.getElementById("PDFObj").Print(); works fine.
    However, the reason that I'm using ".postMessage([message])" instead of ".Print()" is because I actually have a toolbar that has save, print, zoom in, zoom out, page up, page down, etc.... I simplified the switch statement in the post above to only include print, but in reality has a case for each of the functions above. The postMessage call is triggering the error, since the catch statement is printing out the error message above. Any idea why this would work with Professional but not Reader.

  • Update process does not work on Tabular Form

    Hello,
    I have 2 tabular forms on one page, which are using manual update processes.
    First form is created using wizard, and therefore works perfectly.
    The update process is as follows:
    DECLARE
      lc_string VARCHAR2(4000);
    BEGIN
      FOR i IN 1..APEX_APPLICATION.G_f01.COUNT
      LOOP
         lc_string := lc_string|| '[' ||APEX_APPLICATION.G_f*03*(i) || '|' || APEX_APPLICATION.G_f*04*(i) || ']';
      END LOOP;
      --Database processing using the concatenated string here
    END;Second form is created manually, using the following code:
    SELECT apex_item.checkbox (30,
                               '#ROWNUM#',
                               'onclick="highlight_row(this,' || '#ROWNUM#'|| ')"',
                               NULL,
                               'f30_' || '#ROWNUM#'
                              ) delete_checkbox,
           CATALOG_ID,
              apex_item.hidden (31, CATALOG_ID)
           || apex_item.text (32,
                              LANG,
                              80,
                              100,
                              'style="width:100px"',
                              'f32_' || '#ROWNUM#'
           || apex_item.hidden (33, wwv_flow_item.md5 (LANG, DESCRIPTION)) LANG,
           apex_item.text (34,
                           DESCRIPTION,
                           80,
                           100,
                           'style="width:255px"',
                           'f34_' || '#ROWNUM#'
                          ) DESCRIPTION
      FROM V_CATALOGS
    UNION ALL
    SELECT     apex_item.checkbox
                              (30,
                               TO_NUMBER(9900 + LEVEL),
                               'onclick="highlight_row(this,' || '#ROWNUM#' || ')"',
                               NULL,
                               'f30_' || TO_NUMBER (9900 + LEVEL)
                              ) delete_checkbox,
               NULL,
                  apex_item.hidden (31, NULL)
               || apex_item.text (32,
                                  NULL,
                                  80,
                                  100,
                                  'style="width:100px"',
                                  'f32_' || TO_NUMBER (9900 + LEVEL)
               || apex_item.hidden (33, NULL) LANG,
               apex_item.text
                                               (34,
                                                NULL,
                                                80,
                                                100,
                                                'style="width:255px" '  ,
                                                'f34_'
                                                || TO_NUMBER (9900 + LEVEL)
                                               ) DESCRIPTION
          FROM DUAL
         WHERE :P18_TEMP = 'ADD_ROWS1'
    CONNECT BY LEVEL <= 1However, the update process does not work on this form.
    I created it using the first one as an example, but with the id's of the second form:
    DECLARE
      lc_string VARCHAR2(4000);
    BEGIN
      FOR i IN 1..APEX_APPLICATION.G_f*30*.COUNT
      LOOP
         lc_string := lc_string|| '[' ||APEX_APPLICATION.G_f*32*(i) || '|' || APEX_APPLICATION.G_f*34*(i) || ']';
      END LOOP;
      --Database processing using the concatenated string here
    END;Also, both forms are opening in a modal pop-up dialog window.
    I use a Dialog Region plug-in for that.
    Please advise, what is causing a problem with update?

    Sloger,
    if this is your tabular form
    SELECT apex_item.checkbox (30,
    ...and this is your update statement
    FOR i IN 1..APEX_APPLICATION.G_f*30*.COUNT
    ...Then you will only ever update records that have been checked. Unchecked checkboxes are not passed back in the global array. You need to have a hidden column with the ID's for the record and loop through that when you are updating/inserting. That is why the built in tabular form has a MRU and a MRD. the MRU loops through the hidden ID column. The MRD loops through the checkbox.
    Thanks,
    Tyson Jouglet

  • JasperReports does not work outside Netbeans

    Hi guys,
    Background story: application with a couple of forms, the data can be stored and saved from a sqlite database. In the end the forms need to be saved as a PDF.
    Netbeans 6.7, JasperReports 4.0.2.
    Libraries in my Classpath: Commons-beanutils, Commons collections, commons digester, commons javaflow, commons logging, iText, Jasperreports
    I tried to use JasperReports for this matter. It runs perfectly when in Netbeans, and my PDF is generated.
    However, when I try to run the compiled .jar file from windows explorer... the whole JasperReports part does not work at all.
    I made a simple example showing my problem. It produces a nice 1 line PDF when in netbeans, but outside Netbeans, nothing again.
    Could you give me some advice on this? Or maybe an alternative for JasperReports?
    Thanks alot,
    Elwin
    package jasperreportsproject2;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import net.sf.jasperreports.engine.*;
    import net.sf.jasperreports.engine.export.*;
    import java.util.*;
    * @author Elwin
    public class Main {
         * @param args the command line arguments
        public static void main(String[] args) {
            String fileName = "test1.jrxml";
            String outFileName = "test.pdf";
            HashMap hm = new HashMap();
                // Fill the report using an empty data source
            try {
                JasperPrint print;
                JasperReport jasperreport;
                jasperreport = JasperCompileManager.compileReport(fileName);
                print = JasperFillManager.fillReport(jasperreport, hm, new JREmptyDataSource());
                // Create a PDF exporter
                JRExporter exporter = new JRPdfExporter();
                // Configure the exporter (set output file name and print object)
                exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, outFileName);
                exporter.setParameter(JRExporterParameter.JASPER_PRINT, print);
                // Export the PDF file
                exporter.exportReport();
                } catch (JRException ex) {
                Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
    }The xml file used to build the report
    Test1.jrxml
    <?xml version="1.0" encoding="UTF-8"?>
    <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="HelloWorld" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="30" bottomMargin="30">
         <property name="ireport.zoom" value="1.0"/>
         <property name="ireport.x" value="0"/>
         <property name="ireport.y" value="0"/>
         <detail>
              <band height="200" splitType="Stretch">
                   <staticText>
                        <reportElement x="0" y="0" width="500" height="20"/>
                        <textElement/>
                        <text><![CDATA[Hello Report World!]]></text>
                   </staticText>
              </band>
         </detail>
    </jasperReport>

    Another for xsql:
    Producing PDF Output with the FOP Serializer
    at
    http://www.stanford.edu/dept/itss/docs/oracle/10gR2/appdev.102/b14252/adx_j_xsqladv.htm
    NA
    http://nickaiva.blogspot.com

  • After upgrade date selection does not work in xml forms

    Hi Experts,
    since we upgrade the portal from 7.0.19 to 7.0.24 we have a problem with the timestamp in the xml forms in combination with IE7. When we click on the date selction button, the date screen appears and the form disappears. The only option we can choose is cancel and then the date selection screen disappears and the form is not comming back. Selecting a date en choose ok does not work. I tried with IE6 then it works fine. Before the upgrade it works fine with IE7.
    How to solve this?
    thanks in advance.
    Vo.

    I created a OSS message and the answer is : [Note 1491775 - XML Forms locked when closing browser window|https://websmp130.sap-ag.de/sap(bD1ubCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1491775]
    gr
    Vo.

  • Headstart forms - down key does not work in Oracle Forms 11g

    Just moved forms from 10g to 11g.
    But when run the down key does not work. The .res file looks OK.
    I have included the hst65.jar in the search path for jar-files in formsweb.cfg.
    Anybody had this isssue?

    It was an erroneous .res-file! So problem solved. :-)

  • HT1695 the internet on my iphone 4s does not work outside of my house

    My iphone 4s only connects to the internet in my house, it does not work if I am anywhere else. Everyone else who has an iphone can, how can I make mine work??

    Same. Reset Network -> not solved.
    Restore twice -> not solved.
    I take to genius bar. The STAFF tell me i need take the responsibility on updating the system. Haha.
    I NEED TAKE MY risk on updating to ios6.
    As my iphone4s is out of warranty, the staff told me need to paid 1560HKD to repair.
    I using ios 5 without ANY PROBLEM just because i need install new apps which require ios6.1
    Now the other iphone4s (I got 2 total, one self one my wife) not planning to upgrade, or will not interest iphone 5, who knows if update ios 7 will got something else error and told me is personal fault.

  • Identical code works/does not work in different forms

    This piece of code works fine in one form but not in another : OVTtunnus1.rawValue = "0037" + Ytunnus1.rawValue.replace(/-/g, "");
    If I comment it, no error. So, there is no other factors to produce the error.
    Error :
    Ytunnus1.rawValue is null
    1:XFA:form1[0]:Aliyritys[0]:OVTtunnus1[0]:enterException in line 1 of function top_level, script XFA:form1[0]:Aliyritys[0]:OVTtunnus1[0]:enter
    Erkki

    The PL/SQL of Forms/Reports is based on old version SQL,
    does not support subquery in select-clause.
    Let it transform to outer join.
    select em1.mreading, em1.grid_code
    ,em.mreading as Yreading
    where em.grid_code(+)=em1.grid_code
    and em.transformer_code(+)=em1.transformer_code
    and em.bus_bar(+)=em1.bus_bar
    and to_date(to_char(em.r_date(+),'dd/mm/yyyy'),'dd/mm/yy') = to_date('02/01/07' ,'dd/mm/yy') - 1)
    and to_date(to_char(em1.r_date,'dd/mm/yyyy'),'dd/mm/yy')= to_date('02/01/07' ,'dd/mm/yy')
    ;

  • Io does not work outside IDE **Importing issues?**

    I am new to javafx and was really enjoying writing a desktop app for local use. I have been using netbeans which I am also new at. I have ran into a snag and I'm getting quite frustrated with it. Reading and Writing files works just fine in a normal java program, the problem only arises with javafx. When I run the javafx program in Netbeans, everything works fine, the program is able to read from files and write to files without a problem. When I do a build then run the .jnlp, the program runs fine but will not read or write any files. I've been trying for long while and can not figure this out. I'd appreciate the help, I might be missing something entirely.
    **UPDATE** It seems to be the case with other imported libraries? I just tried using "import javax.swing.JFileChooser;" and the dialog won't even pop up (it works fine in netbeans)
    I have tried the following utilities, importing them as follows:
    import java.io.PrintWriter;
    import java.io.FileOutputStream;
    import java.io.BufferedWriter;
    import java.io.FileWriter;
    import java.io.File;
    import java.io.IOException;
    import javax.swing.JFileChooser;
    I imagine i just need to get what I'm doing wrong with using imported libraries.
    Edited by: 839984 on Feb 25, 2011 10:51 PM

    To find the console of java while you are running the java app from browser ; small java icon is displayed at right top corner (tray icon) on Mac OSX (right bottom tray icon on windows).Right click the icon and click on 'Open 1.6.x_x Console'.
    But if you are running the java app from desktop then you can go to JAVA control panel >Advance Tab> Java Console (Tree) > Show Console (Radio Button)
    Thanks.
    narayan

  • Flex Application does not work outside of the default dir

    Hi,
    I have developed a flex application which calls a http
    service and displays the contents in a text area.
    This works fine when I execute it from the flex builder or
    from the directory where the flex builder stores it.
    If I copy the files to any other dir or the server, after
    making http call no result is displayed in the text area.
    Is there any thing else i need to do other building
    application in flex builder for deployment.
    Please help,
    Thanks in advance,
    Chintan

    "rtalton" <[email protected]> wrote in
    message
    news:gjlmvm$hrv$[email protected]..
    > Stubborn, aren't we? Ok, let me try again:
    > You only use "loadPolicyFile" to load a non-default
    policy file. remove
    > that
    > line from your code.
    > Also you do not need this line:
    > flash.system.Security.allowDomain("*");
    > ...in your code. Remove it. This is used when you have
    two SWFs on two
    > different servers. You do not.
    >
    > Again, read this page:
    >
    >
    http://livedocs.adobe.com/flex/3/html/help.html?content=deployingoverview_12.htm
    > l
    >
    > Your answer is there.
    > Hint: all you need is to *properly* deploy a
    cross-domain policy file.
    > Really.
    > I'm being very honest here. Have I ever lied to you
    before? No, I haven't.
    > So
    > you're buying the first round tonight after work, ok?
    Some people will do anything for a date ;-)

  • Break statement does not work outside of switch or loop?

    I was just messing around in Xcode and I discovered that, when I tried to use the break statement to exit a block of code, I got an error ("break statement not within loop or switch"). I thought the break statement was supposed to be able to be used to exit any block of code at any time, so I opened my Mac OS X Programming book by Wrox (a bit outdated, uses older version of Xcode/Interface Builder, but applicable enough), and the book confirmed that I should be able to use the break statement within any block of code, not just switch/case construction and loops. I assume something has changed in the newer version of Xcode since this book has been published, but I'm curious, so can anyone explain this to me? Thanks!

    Yeah, that seems to be the case, and that's the only way I've ever used "break," but I did think it could be used to exit any block of code, especially having read it in the book I have. The book is Mac OS X Programming by Wrox, and on page 175 in the "The C Language" chapter, it says:
    "break" is not only useful for "switch" and "while" statements; it can actually be used anytime you want to escape a block of code enclosed in braces. Execution is immediately transferred to the closing brace, and continues from there."
    Anyways, I guess it is possible that in some older standard of C the "break" statement was allowed in these cases, since I can't imagine the book being out and out wrong, but you're right, it certainly seems to be -- interesting...

  • Does anyone have an iPhone that does not work outside one country, a valid roaming sim will not work in a second country, neither will a new sim from that country

    I first thought this was a network lock snag,
    Could only resolve when travelling,
    Now I have been told apple don't know why their phone doesn't work

    When go with a service that service provider locks the phone until the contract agreement is fullfilled. Even if you don't have a contract you still need to contact the first service provider and request to have the phone unlocked.

  • Multi-select LOV does not work in forms

    the multi select LOV does not work in the form.
    the LOV works individually but in the form it does not work. it does not allow multiple selection from the list.
    is there a workaround for this or is this a bug ...?
    any ideas ...?
    thanx a lot.
    null

    Right, we cannot store more than one value in a single column in a table :), we were getting a lot of requests to support multiple select LOVs but requirements were contradictory if not mutually exclusive.
    The only sense it makes is when used together with user-defined object types (nested tables for example) but the current [application building]infrastructure we have does not support this. However, we are looking into this and this feature maybe implemented in a future release.

  • Thumbnail view for Library copied from Asset Library does not work

    Hello ,
    I created list definition based on Assed Library (I copied files from \15\TEMPLATE\FEATURES\AssetLibrary\AssetLibrary ) - I reused schema.xml and other files.
    Then I added my new custom content type.
    The problem is following:  thumbnail view does not work now ( "/AssetLibraryDemo/Forms/Thumbnails.aspx" )
    I don't have any javascript errors and any specific error in ULS log.
    Can you give me advice, why thumbnail view has stopped working?

    I need to use "List teplates" gallery functionality for this task.

  • Text replacement does not work in Safari

    Text replacement does not work in Safari forms etc. Is it me or a bug?

    Interesting… I have eee set to auto-correct to an email address.
    if I type a few words and then add eee it works. But if I just enter eee in the email address of a form it does not.

Maybe you are looking for