Question on include

Good day! I am a beginner developer CF. I have created a
site, 10 points in the navigation menu (About, News, Articles,
contacts, etc.). I have created a template, then cut a cap, levle
menu, to include the basement and first save Includes. Then I for
each page (on menu items) created a folder and put into each file
folder index.cfm ...
I have a question - Home page I have also kept in a folder
Home (that is, there is a file index.cfm). At localhost: 8500 I
have everything works, but if I index.cfm page of the Home folder
moved to the root of the site, it will not connect Include and
images do not appear. Is it possible to spread the files on
hosting, if I file page Home index.cfm is in the folder Home,
rather than the root site? Help please?

I'm sorry if I am not correctly following your story, it is
challenging.
But it is important to note that <cfinclude...> will
have absolutely no
bearing on what path would be used in an <img...> tag.
ColdFusion does
not request the image, the browser does. The browser needs to
know
where the image is in relation to the URL that requests it.
An attempt at an example.
/wwwroot/includes/my_include.cfm
/wwwroot/images/an_image.jpg
/wwwroot/index.cfm
/wwwroot/subDir/index.cfm.
Any code in wwwroot/index.cfm, even code included from
my_include.cfm,
would need to find the image in the subdirectory
wwwroot/images.
Relative Path:
<img src="images/an_image.jpg"/>
Absolute Path:
<img src="/images/an_image.jpg"/>
Any code in wwwroot/sbDir/index.cfm, even code included from
my_include.cfm, would need to find the image up one directory
in
wwwroot/images.
Relative Path:
<img src="../images/an_image.jpg"/>
Absolute Path:
<img src="/images/an_image.jpg"/>
As you can see the absolute path version is the only one that
is the
same if the my_include.cfm file is going to be used in
different
locations within the site.

Similar Messages

  • Noob Question on includes

    In reading previous questions on this I am not understanding why my code isn't working.
    I have
    editnews.jsp and within it I am including xt_editnews.jsp.
    In editnews I cannot call a variable that I defined in xt_editnews.jsp.
    Please help.
    Code follows:
    editnews.jsp
    <%@ page language = "java" import="java.sql.*, java.io.*, java.util.*, dbo.*" %>
    <%@ include file="../includes/top.jsp" %>
    <%@ include file="xt_editnews.jsp" %>
    <%
         out.print(vNewsTitle);
    %>
    <form action="news_action.jsp" method="post" name="editnews">
    <input type="text" name="fnewstitle" value="">
    </form>
    xt_editnews.jsp
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
    <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql_rt" %>
    <jsp:useBean id="news" class="dbo.cnews" />
    <%
         int vnewsid = Integer.parseInt(request.getParameter("newsid"));
         out.print(vnewsid);
         news.connect();
         ResultSet rsSingleNews1 = news.getSingleNews(vnewsid);
         while (rsSingleNews1.next())
              String vNewsTitle = rsSingleNews1.getString("NewsTitle");
              out.print(vNewsTitle);
    %>
    If I do not do the out.print in editnews.jsp it works fine.
    When I do, I get:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Since fork is true, ignoring compiler setting.
    [javac] Compiling 1 source file
    [javac] Since fork is true, ignoring compiler setting.
    [javac] C:\tomcat5\jakarta-tomcat-5\dist\temp\org\apache\jsp\manager\editnews_jsp.java:161: cannot resolve symbol
    [javac] symbol : variable vNewsTitle
    [javac] location: class org.apache.jsp.manager.editnews_jsp
    [javac]      out.print(vNewsTitle);
    [javac] ^
    [javac] 1 error

    Hello,
    I think you need to have a declration block in xt_editnews.jsp, where you can declare vNewsTitle e.g
    xt_editnews.jsp
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
    <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql_rt" %>
    <jsp:useBean id="news" class="dbo.cnews" />
    <!-- Declarations -->
    <%!
    private String vNewsTitle = "";
    private ResultSet rsSingleNews1 = null;
    %>
    <%
    int vnewsid = Integer.parseInt(request.getParameter("newsid"));
    out.print(vnewsid);
    news.connect();
    rsSingleNews1 = news.getSingleNews(vnewsid);
    while (rsSingleNews1.next())
    vNewsTitle = rsSingleNews1.getString("NewsTitle");
    out.print(vNewsTitle);
    %>
    This will mean when you include this JSP in editnews.jsp the rest of your code will have access to these variables.

  • Question about including JQuery in a Survey list DispForm.aspx page

    In SharePoint 2010, I was able to hide the links for editing, deleting... an existing survey entry in the DispForm.aspx page using the following technique:
    1 - Save jquery .js file to the Style Library in the top level site
    2 - Save the .js file that has the jquery code to hide the link in the Style Library in the top level site
    3 - Reference the .js files in the DispForm.aspx page like this:
    <asp:content contentplaceholderid="PlaceHolderAdditionalPageHead" runat="server">
     <script type="text/javascript" language="javascript" src='<asp:Literal runat="server" Text="<%$SPUrl:~SiteCollection/Style Library/jquery-1.5.0.min.js%>"'></script>
     <script type="text/javascript" language="javascript" src='<asp:Literal runat="server" Text="<%$SPUrl:~SiteCollection/Style Library/hideedit.js%>"'></script>
    </asp:content>
    The hideedit.js file contains the following:
    $(document).ready(function(){
        $('#ctl00_m_g_d3bec7ca_bd25_448d_8874_da35856854c5_ctl00_ctl01_ctl00_toolBarTbl').hide();
    I am trying to use this same technique in SharePoint 2013 but it is not working.
    It appears that neither of the js files are loading properly.
    As a test, I put the following in the hideedit.js:
    alert('test');
    $(document).ready(function(){
        alert('from jquery');
    Neither of the alerts are displayed when navigating to the DispForm.aspx file.
    How do I get JQuery loaded in a survey DispForm.aspx file in SharePoint 2013?

    Have you tried this within Designer?  Copy the DispForm, edit it and add the JD references below the PlaceHolderMain section and then save.  Set this as the default Displat Form and your changes should load.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Question: pagecontext.include("url")

              Hi
              I am using a custom tag that implements BodyTagSupport class. Inside the for
              loop I have call to pagecontext.include("");
              <xyz:for>
              <h3>This is the outer tag.</h3>
              <% pagecontext.include("xyz.jsp"); %>
              </xyz:for>
              Inside xyz.jsp I have
              <h4>This is the inner tag </h4>
              Logically one would assume that "This is the outer tag" is printed first
              followed by "This is the outer tag ". But the output is as follows
              This is the inner tag
              This is the outer tag
              What is with respect to the behavior of the pagecontext.include....
              How can I get the order correct?
              thanks a bunch - Sri
              

    This sounds to me like its a buffering issue. It could well be a bug in
              WebLogic. (Heresy I hear you say ;-)
              Have you tried adding the following line before your include...
              pagecontext.getOut().flush();
              pagecontext.include( "foo.jsp" );
              According to the javadoc of the PageContext.include() method, the getOut()
              JspWriter should be explicitly flushed before the include is processed. Did
              the explicit flush work around your problem?
              Regards
              James
              James Strachan
              =============
              email: [email protected]
              web: http://www.metastuff.com
              "Sri Haridasa" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Hi
              > I am using a custom tag that implements BodyTagSupport class. Inside the
              for
              > loop I have call to pagecontext.include("");
              >
              > <xyz:for>
              > <h3>This is the outer tag.</h3>
              > <% pagecontext.include("xyz.jsp"); %>
              > </xyz:for>
              >
              > Inside xyz.jsp I have
              >
              > <h4>This is the inner tag </h4>
              >
              > Logically one would assume that "This is the outer tag" is printed first
              > followed by "This is the outer tag ". But the output is as follows
              >
              > This is the inner tag
              > This is the outer tag
              >
              >
              > What is with respect to the behavior of the pagecontext.include....
              >
              > How can I get the order correct?
              >
              > thanks a bunch - Sri
              >
              >
              >
              >
              

  • X230: Questions regarding included 32GB msata SSD

    Spoiler (Highlight to read)
    Hi... I've got a couple of questions regarding the X230 offered in Singapore, which comes with a msata ssd:
    "Up to 5x Boost 32GB Micro Solid State Drive Outperforms 5400rpm Drive "
    I AM assuming this is a msata ssd?
    http://shopap.lenovo.com/SEUILibrary/controller/e/sgweb/LenovoPortal/en_SG/special-offers.workflowho...
    1) Given the limited size of this msata SSD (32GB), can I assume that only the operating system (Win 7) is installed here by default?
    What about the folders under "My Documents", "My Pictures" and etc. Are they also installed into the SSD by default? I tend to leave all my work documents in that file, and it fills up pretty fast.
    2) I assume that the recovery partition is still located in the 320GB SATA HDD(7200rpm)?
    3) When I do a recovery from the Lenovo rescue/recovery programme (from the recovery partition), will Win 7 install correctly into the SSD, and not the HDD.
    4) If I do a factory recovery using the recovery DVDs (which I will create as soon as I receive the x230), will everything be installed correctly? Windows 7 to SSD and recovery partition to HDD?
    Thank you for your time!

    the expressways software would make the 32 gigs mSATA a drive cache for the main HDD. Nothing is really installed on the mEATS, only files that are frequently used or predicted to be used frequently will be replicated on the mSATA.
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

  • JSP question on includes

    Okay here's what is happening.
    We have a header and footer file that we want to include across all jsp's in the site.
    We also have a an organization that looks something like this
    /example
    /graphics
    icon1.jpg
    icon2.jsp
    /admin
    admin.jsp
    adminResult.jsp
    /example
    example.jsp
    exampleResult.jsp
    index.jsp
    news.jsp
    profile.jsp
    header.jsp
    footer.jsp
    The problem is that header and footer are both referencing images in their folder, but when admin or example try to view them, the images can't be found because I'm using the base tag. (If I didn't have the base tag, I'd see some strange results.)
    Is there an easy way around this problem so that all the jsps can correctly include the header and footer without the busted graphics?
    TIA.

    One way would be to use an absolute path to the images.

  • Question on Include/Exclude descendent nodes option during Exports.

    In the descendents option below the top nodes page on Exports, I understand the a simple listing of nodes that you want to include or export need to be listed. When I did that, it asked me that the file should be placed on the server. Does that mean that the file should be placed on C:\hyperion\mdm or something like that?
    Thanks in advance for the help.

    The message simply means that the file should be located on a path which exists on the server (the machine which MDM is installed). If you went to the server and the directory C:\hyperion\mdm existed, and you placed your file in this folder then it would work. If you had the same folder on your PC, then it would not work if you placed the file in this folder on your PC.
    The message wants to ensure you are aware that the application can only read files in a folder that it can access. It can't access folders on your PC.
    D

  • Question about includes

    I want to have linked images using JustSo Picture window
    which does of
    course use Javascript. The links don't work - is it not
    possible? I checked,
    the code appears correct. So is it something else I've done
    wrong?
    Sample code of the include:
    <div id="sidebox">
    <div id="sidecontent"><a href="javascript:;"
    title="View of Panteli from
    Vromolithos"
    onClick="jspw3('vwd_scripts/','images/from_vrom.jpg','1,,0,View%20of%20Panteli%20from%20V romolithos,side,-%20-%20click%20screen%20to%20close%20-%20-,0,0,,0,437,344,0,,,,,,0,,1.4.0 .');return
    document.MM_returnValue"><img
    src="images/from_vrom_small.jpg" alt="View
    from Vromolithos" width="132" height="104"
    border="0"></a>
    <p>View of Panteli from Vromolithos. Click to enlarge
    </p>
    Jo

    So far only this one - do you mean the template (surely not?)
    - that doesn't
    have any JSPW
    Jo
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:fm2f8n$k55$[email protected]..
    > Does your PARENT page contain the JSPW-related
    javascript and links?
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    > ==================
    >
    >
    > "josie1one" <[email protected]> wrote in
    message
    > news:fm2eq7$jmc$[email protected]..
    >> Sure - I've never had problems either, but pretty
    new to includes
    >>
    >>
    http://kiwiannes-leros.com/
    >>
    >>
    >> --
    >> Jo
    >>
    >>
    >> "Dooza" <[email protected]> wrote in
    message
    >> news:fm2ema$jbu$[email protected]..
    >>> josie1one wrote:
    >>>> I want to have linked images using JustSo
    Picture window which does of
    >>>> course use Javascript. The links don't work
    - is it not possible? I
    >>>> checked, the code appears correct. So is it
    something else I've done
    >>>> wrong?
    >>>>
    >>>> Sample code of the include:
    >>>>
    >>>> <div id="sidebox">
    >>>> <div id="sidecontent"><a
    href="javascript:;" title="View of Panteli
    >>>> from Vromolithos"
    >>>>
    onClick="jspw3('vwd_scripts/','images/from_vrom.jpg','1,,0,View%20of%20Panteli%20from%20V romolithos,side,-%20-%20click%20screen%20to%20close%20-%20-,0,0,,0,437,344,0,,,,,,0,,1.4.0 .');return
    >>>> document.MM_returnValue"><img
    src="images/from_vrom_small.jpg"
    >>>> alt="View from Vromolithos" width="132"
    height="104" border="0"></a>
    >>>> <p>View of Panteli from Vromolithos.
    Click to enlarge </p>
    >>>>
    >>>>
    >>>
    >>> I have never had any issues using the JustSo
    extensions, I think they
    >>> are excellent. Could you post a link to your
    page so that we can see
    >>> what is going on?
    >>>
    >>> Steve
    >>
    >>
    >

  • A question about included accessories

    Hello all.
    I received an iPod Nano for Christmas, but when I opened the box there was only the iPod and Software. Did I forget to order the necessary accessories or should they have been included? Such as something to charge my iPod with.
    Thank you.

    I would contact them and let them know you did not
    recieve headphones or a USB cable:
    http://www.apple.com/support/store/postpurchase.html
    JC
    Thanks, I'll do that!

  • Short Circuit AND question (code included)

    I have a quick question about the short circuit AND operator...
    public class prac1 {
         public static final int aNumber = 19;
         public int age = 53;
         public static void main(String args[]) {
              if ((aNumber == 18) && (aNumber != 10)) {
                   System.out.println("You got it!");
    }You see I learned that Short Circuit AND means the first expression is evaluated and if it's false the 'code' is executed...
    So here is what I am understanding: if((aNumber == 18) already evaluates to false, right, but then I see it as && sees that it's false, but then shouldn't the code execute?
    Most likely the case: if((aNumber == 18) already evaluates to false, and because && only evaluates false expressions, and therefore since it's false the code doesn't execute... Am I correct?
    Just trying to get the && and || down... Thanks!
    Edited by: JavaPWNZ on Jul 2, 2008 5:58 AM

    sc3sc3 wrote:
    PhHein wrote:
    Hi,
    a bit confusing, but sort of yes. The && evaluates the first part ((aNumber == 18)) if that is false the following condition is not evaluated any more bacause the whole statement is false.
    Try this: String s = null;
    if(s != null && s.length() > 0){
    System.out.println("Here");
    }now try:
    String s = null;
    if(s != null & s.length() > 0){
    System.out.println("Here");
    nullpointer :-)As intended :)

  • JTable Custom Cell Editor "focus through keyboard" question (SSCCE included

    I was trying to use two components in a table cell. The first was JTextField and second the JButton. Everything works fine, except when it comes to editing the JTextfield using keyboard instead of mouse. When I use tab key to go to the custom cell, I can see that the focus is on the cell (as can be visible from background color). But when I try to edit the cell using F2 or directly entering text, nothing gets entered. If I use the mouse to go to particular cell, it works fine. Here is SSCCE. Try the following.
    1. Use mouse key to select first cell for editing. Edit the cell. Everything normal.
    2. Use the tab key to go to the first cell. Try to edit cell either by entering directly for after using F2. Can't get the typed text into the JTextfield.
    package com.ns;
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.Dimension;
    import java.awt.Point;
    import java.awt.Toolkit;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.DefaultCellEditor;
    import javax.swing.JButton;
    import javax.swing.JOptionPane;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.JTextField;
    import javax.swing.UIManager;
    import javax.swing.WindowConstants;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.table.TableCellRenderer;
    public class TextButtonCellFrame extends javax.swing.JFrame {
        // Variables declaration - do not modify
        private JScrollPane jScrollPane1;
        private JPanel testPanel;
        private JTable testTable;
        // End of variables declaration
        public TextButtonCellFrame() {
            initComponents();
        @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">
        private void initComponents() {
            testPanel = new JPanel();
            jScrollPane1 = new JScrollPane();
            testTable = new JTable();
            setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            testTable.setModel(new DefaultTableModel(
                new Object [][] {
                    {null, null, null, null},
                    {null, null, null, null},
                    {null, null, null, null},
                    {null, null, null, null}
                new String [] {
                    "Title 1", "Title 2", "Title 3", "Title 4"
            testTable.setRowHeight(20);
            testTable.getColumnModel().getColumn(0).setCellRenderer(new MyTableCellRenderer());
            testTable.getColumnModel().getColumn(0).setCellEditor(new MyTableCellEditor());
            testTable.getColumnModel().getColumn(0).setPreferredWidth(200);
            jScrollPane1.setViewportView(testTable);
            testPanel.add(jScrollPane1);
            getContentPane().add(testPanel, BorderLayout.CENTER);
            Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
            setBounds((screenSize.width-496)/2, (screenSize.height-330)/2, 496, 330);
        }// </editor-fold>
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new TextButtonCellFrame().setVisible(true);
        public class MyTableCellRenderer extends JPanel implements TableCellRenderer {
            Point point;
            JButton button1 = new JButton("Test 1");
            JTextField txtField = new JTextField();
            public MyTableCellRenderer() {
                setLayout(new BorderLayout());
                this.add(button1, BorderLayout.EAST);
                this.add(txtField,BorderLayout.CENTER);
            public Component getTableCellRendererComponent(JTable table, Object value,
                    boolean isSelected, boolean hasFocus, int rowIndex, int vColIndex) {
                if (isSelected) {
                    txtField.setBackground(testTable.getSelectionBackground());
                    txtField.setBorder(UIManager.getBorder("Table.focusCellHighlightBorder"));
                else {
                    txtField.setBackground(testTable.getBackground());
                    txtField.setBorder(null);
                return this;
        public class MyTableCellEditor extends DefaultCellEditor
                                        implements ActionListener {
            JPanel panel = new JPanel();
            JButton button1 = new JButton ("Test 1");
            JTextField txtField = new JTextField();
            MyTableCellEditor() {
                super (new JTextField());
                button1.addActionListener(this);
                panel.setLayout(new BorderLayout());
                panel.add(button1, BorderLayout.EAST);
                panel.add(txtField,BorderLayout.CENTER);
            public void actionPerformed(ActionEvent e) {
                if (e.getSource() == button1)
                    JOptionPane.showMessageDialog(null, "Action One Successful");
            public Component getTableCellEditorComponent(JTable table, Object value,
                                        boolean isSelected, int row, int column) {
                txtField.requestFocusInWindow();
                return panel;
    }regards,
    nirvan.

    I don't know what's better:
    import java.awt.*;
    import java.awt.event.*;
    import java.util.EventObject;
    import javax.swing.*;
    import javax.swing.table.*;
    public class TextButtonCellFrame extends JFrame {
      JTable testTable = new JTable();
      public TextButtonCellFrame() {
        testTable.setModel(new DefaultTableModel(
          new Object [][] {
            {null, null, null, null},
            {null, null, null, null}
          new String [] { "1", "2", "3", "4" }
        testTable.setRowHeight(20);
        testTable.getColumnModel().getColumn(0).setCellRenderer(
          new MyTableCellRenderer());
        testTable.getColumnModel().getColumn(0).setCellEditor(
          new MyTableCellEditor(new JTextField()));
        testTable.getColumnModel().getColumn(0).setPreferredWidth(200);
        getContentPane().add(new JScrollPane(testTable));
        setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        setSize(480,320);
        setLocationRelativeTo(null);
      public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
          public void run() {
            new TextButtonCellFrame().setVisible(true);
      public class MyTableCellRenderer extends JPanel
                    implements TableCellRenderer {
        JButton button1 = new JButton("Test 1");
        JTextField txtField = new JTextField();
        public MyTableCellRenderer() {
          setLayout(new BorderLayout());
          this.add(button1, BorderLayout.EAST);
          this.add(txtField,BorderLayout.CENTER);
        public Component getTableCellRendererComponent(JTable table, Object value,
            boolean isSelected, boolean hasFocus, int rowIndex, int vColIndex) {
          if (isSelected) {
            txtField.setBackground(testTable.getSelectionBackground());
            txtField.setBorder(UIManager.getBorder("Table.focusCellHighlightBorder"));
          } else {
            txtField.setBackground(testTable.getBackground());
            txtField.setBorder(null);
          txtField.setText(value==null?"":value.toString());
          return this;
      public class MyTableCellEditor extends DefaultCellEditor
                      implements ActionListener {
        JPanel panel = new JPanel(new BorderLayout());
        JButton button1 = new JButton ("Test 1");
        JTextField txtField; // = new JTextField();
        MyTableCellEditor(JTextField txtField) {
          super (txtField);
          this.txtField = txtField;
          button1.addActionListener(this);
          panel.add(button1, BorderLayout.EAST);
          panel.add(txtField,BorderLayout.CENTER);
        public void actionPerformed(ActionEvent e) {
          if (e.getSource() == button1)
            JOptionPane.showMessageDialog(null, "Action One Successful");
        public Component getTableCellEditorComponent(JTable table, Object value,
                      boolean isSelected, int row, int column) {
          txtField.setText(value==null?"":value.toString());
          SwingUtilities.invokeLater(new Runnable() {
            public void run() {
              txtField.requestFocusInWindow();
          return panel;
    }

  • Include in Export does not work in APEX 3.1

    I have a report with many columns. On screen I only show several columns, but on export to CSV I want to include all columns.
    However, when "Show on Report" is set to No, and I want to set "Include in Export" to Yes on the "Print Attributes" tab, it does not get updated.
    It only gets updated when the "Show on Report" is set to Yes.
    It also seems that the "Include in Export" on the "Report Attributes" tab is not in sync with the "Include in Export" on the "Print Attributes" tab the first time you access the "Print Attributes" tab.
    Question: Does "Include in Export" only works for columns which has the "Show on Report" set to Yes? If Yes, how can I achieve the above mentioned?
    Guido

    Marc,
    After some investigations the following can be concluded:
    On the Report Attributes tab, pick a column, and set "Show Column" to Yes, "Include in Export" to Yes, and no conditions.
    I do not want this column to be printed, so on the Print Attributes tab, set the "Column Width" to 0.
    When you run the report, you will notice that the column is not included in the export to CSV and not printed.
    Setting the "Column Width" to a value greater than 0, the export to CSV works fine, but the column is also printed.
    You can have a look at page 1 at at http://apex.oracle.com/pls/otn/f?p=261 (demo/ankpm)
    Thanks Patrick for your solution (:REQUEST LIKE 'FLOW_EXCEL_OUTPUT_%'), it works great. The column is now not show on screen but included in the export to CSV. However, you have to set the column width to a value greater than 0.
    An enhancement request for 4.0 could be to also have a property "Include in Print", and that this property and "Include in Export" are not dependent on the "Show Column" value.
    Guido

  • How to include a html file in jsp

    hi all
    I have a question about including a html in jsp.
    here's the sample of my jsp file:
    <%
    String filename = "helloworld.html";
    %>
    <%@ include file="helloworld.html" %>
    how will you go about doing it so that the included file depends on the variable "filename"? I've tried doing the following but I got an error:
    <%@ include file=filename %>
    Thank you very much :)

    try this:-
    <%
    String filename = "helloworld.html";
    %>
    <jsp:include page='<%= filename %>' />
    This should work.

  • Question RE: Security/Virus Program for Macbook Pro

    Greetings,
    I was wondering if you would recommend Avast 2014 Antivirus Software protection for the macbook pro. If not, is there any other programs and/or other applications I should know about or use to help with viruses and security? I was also considering Norton.
    Thank you in advance for any help and/or any advice.
    Christian

    Hi Christian,
    I was wondering if you would recommend Avast 2014 Antivirus Software protection for the macbook pro.
    Absolutely not. Older versions of Avast were garbage that would do nothing beneficial. Their most recent version is arguably malicious. Norton / Symantec is worse. Install none of that junk.
    You may be considering them due to a familiarity with their equivalent PC products, in which the case for advocating their use may be entirely different - I'm assuming that is the case since no knowledgeable Mac user would ever consider either product. For all I know their Windows PC products may be reputable.
    is there any other programs and/or other applications I should know about or use to help with viruses and security?
    "Anti-virus" software serves no purpose on a Mac and is a common cause of problems reported on this site. OS X already includes everything it needs to protect itself from viruses and malware. Automated means of protecting your Mac from malware are an ineffective defense against that threat. At best, they will provide a false sense of security, a threat all to itself.
    A much better question is "how should I protect my Mac":
    Never install any product that claims to "speed up", "clean up", "optimize", or "accelerate" your Mac, or to make it "shiny". Those claims are absurd.Such products are very aggressively marketed. They are all scams.
    Never install pirated or "cracked" software, software obtained from dubious websites, or other questionable sources.
    Illegally obtained software is almost certain to contain malware.
    "Questionable sources" include but are not limited to spontaneously appearing web pages or popups, download hosting sites such as C net dot com, Softonic dot com, Soft pedia dot com, Download dot com, Mac Update dot com, or any other site whose revenue is primarily derived from junk product advertisements.
    Don’t supply your password in response to a popup window requesting it, unless you know what it is and the reason your credentials are required.
    Don’t open email attachments from email addresses that you do not recognize, or click links contained in an email:
    Most of these are scams that direct you to fraudulent sites that attempt to convince you to disclose personal information.
    Such "phishing" attempts are the 21st century equivalent of a social exploit that has existed since the dawn of civilization. Don’t fall for it.
    Apple will never ask you to reveal personal information in an email. If you receive an unexpected email from Apple saying your account will be closed unless you take immediate action, just ignore it. If your iTunes or App Store account becomes disabled for valid reasons, you will know when you try to buy something or log in to this support site, and are unable to.
    Don’t install browser extensions unless you understand their purpose. Go to the Safari menu > Preferences > Extensions. If you see any extensions that you do not recognize or understand, simply click the Uninstall button and they will be gone.
    Don’t install Java unless you are certain that you need it:
    Java, a non-Apple product, is a potential vector for malware. If you are required to use Java, be mindful of that possibility.
    Java can be disabled in System Preferences.
    Despite its name JavaScript is unrelated to Java. No malware can infect your Mac through JavaScript. It’s OK to leave it enabled.
    Block browser popups: Safari menu > Preferences > Security > and check "Block popup windows":
    Popup windows are useful and required for some websites, but popups have devolved to become a common means to deliver targeted advertising that you probably do not want.
    Popups themselves cannot infect your Mac, but many contain resource-hungry code that will slow down Internet browsing.
    If you ever see a popup indicating it detected registry errors, that your Mac is infected with some ick, or that you won some prize, it is 100% fraudulent. Ignore it.
    Ignore hyperventilating popular media outlets that thrive by promoting fear and discord with entertainment products arrogantly presented as "news". Learn what real threats actually exist and how to arm yourself against them:
    The most serious threat to your data security is phishing. To date, most of these attempts have been pathetic and are easily recognized, but that is likely to change in the future as criminals become more clever.
    OS X viruses do not exist, but intentionally malicious or poorly written code, created by either nefarious or inept individuals, is nothing new.
    Never install something without first knowing what it is, what it does, how it works, and how to get rid of it when you don’t want it any more.
    If you elect to use "anti-virus" software, familiarize yourself with its limitations and potential to cause adverse effects, and apply the principle immediately preceding this one.
    Most such utilities will only slow down and destabilize your Mac while they look for viruses that do not exist, conveying no benefit whatsoever - other than to make you "feel good" about security, when you should actually be exercising sound judgment, derived from accurate knowledge, based on verifiable facts.
    Do install updates from Apple as they become available. No one knows more about Macs and how to protect them than the company that builds them.
    Summary: Use common sense and caution when you use your Mac, just like you would in any social context. There is no product, utility, or magic talisman that can protect you from all the evils of mankind.

  • SD - situation/effort analysis, sizing questions.

    Hi,
    do not you know if there is some SAP methodology or template which will enable me to get an overview about size of the AS IS situation from sales and distribution point of view in an company?
    I am looking for ideally list of questions which will allow me to estimate effort that will be needed for sucesfull rollout.
    Example of questions coming to my mind....will existing business processes be only used or new have to deployed? How many sales areas (or e.g. shipping points) needs to be created? Etc.
    Please consider this should be an SAP rollout for more distribution center(s).
    Thank you!

    Get a copy of the SAP ASAP methodolgy and use that  or see if you can get a copy of a blue print that has the questions already included and work your way through it.

Maybe you are looking for

  • Crystal Report for Sales, Delivery and Payment.

    Hi Guys, Need some expert advice over here. Currently, our sales team are using 3 separate report, one report on sales per month for each specific customers, one report on delivered amount per month for specific customers again and the last one repor

  • How to paste arabic and russian text in indesign and have the fonts recognized?

    How to paste arabic and russian text in indesign and have the fonts recognized?

  • Which version should I consider: Dreamweaver CS5 MAC or PC?

    I'm ready to make the leap from FrontPage 2003 to Dreamweaver.  I have an iMAC with LION OS and run Parallels.  I'm currently using FP2003 and have for many years and an very comfortable with it. But I understand it's time to make a leap of faith and

  • Using front row, in reality

    I have finally got front row to appear on my TV screen in the sitting room, this has involved quite a bit of faffing around having to mirror the display etc etc. It is primarily to play music from the iMac to my hifi which is also connected into the

  • [help] Dreamweaver font size.

    Hello, I have Dreamweaver CS5 on my mac, and i tired to program but the font size too small ! there a picture : how can i resize the font?