Passing formatted HTML into JOptionPane.showMessageDialog()

I'm attempting to display a message dialog that contains text that is formatted as HTML. The examples I've looked up online show that you can indeed create a string that begins with the tag <html> and pass that string into most swing text components.
Such as:
String htmlString = "<html><b>This is a bold string</b>";
JOptionPane.showMessageDialog(htmlString, ...);I want to do the same thing, but have my HTML stored in a seperate file. I tried using file IO to read in the html one line at a time, and append it into a StringBuffer. Then passing my buffer.toString() into showMessageDialog(). ..It's still not showing my HTML (although it does compile fine).
Before I start digging into this deep, I just wanted to ask if there was a better solution for accomplishing what I'm trying to do here. Perhaps using a different component or something? I appreciate it.

(shrugs) Both these examples seem to render the HTML OK, the first is a String provided to a JLabel, the second is an URL provided to a JEditorPane. I included the second to show a Swing component rendering HTML from an external source.
import java.awt.Dimension;
import javax.swing.JOptionPane;
import javax.swing.JEditorPane;
import java.net.URL;
class TestHtmlRendering {
  public static void main(String[] args) throws Exception {
    // default for a String in a JLabel is bold,
    // so let's add some emphasis..
    String content =
      "<html><b>This is a bold, " +
      "<em>emphatic</em> string!</b>";
    JOptionPane.showMessageDialog(null, content);
    // styled HTML from http://pscode.org/test/docload/
    URL url = new URL(
      "http://pscode.org/test/docload/trusted.html");
    JEditorPane jep = new JEditorPane(url);
    jep.setPreferredSize(new Dimension(300,200));
    JOptionPane.showMessageDialog(null, jep);
}I'd say the problem is in the code you did not show, though even the code you did show, was nonsense (show me the URL to the JavaDocs of any showMessageDialog() method that will accept a String as the first argument). For those reasons (and more), I recommend preparing an SSCCE that shows the problem. It is a little harder to prepare an SSCCE involving external files, though if you can demonstrate it using an URL (like above) that solves the problem.

Similar Messages

  • Help formating in a JOptionPane.showMessageDialog

    I'm new to Java and this is my first semester of using or even learning it.
    I'm using a showMessageDialog box to output my results to the screen.
    The question is how do I format it to only show the first two digits after the decimal place in a decimal number?
    Please help.

    This is my code. I'm sorry I forgot to add it.
    JOptionPane.showMessageDialog(null,
              "Total Walked: "+ totalWalked + "\nStraight Line Distance: "
                               + totalStraightLine + "\nTotal Time: " + totalTime
                               + "\nMPH: " + MPH);Cary

  • Best way to pass vars from html into flash?

    I've read a variety of pages that describe how to pass a variable into a flash movie (AS3, player = v9) from the html in which it is embedded.  This page describes AS3 but neglects to mention what to do with the object and embed tags in the noscript section. Furthermore, I'm not sure the javascript I see generated in my page looks like the example there (the js in my page doesn't check AC_FL_RunContenta against zero).  This page is quite long and appears to deal mostly with AS1 and AS2 approaches which I have used before and neglects entirely the newish javascript approach which appears to be used to embed flash these days (i.e., the javascript function AC_FL_RunContent).
    I was wondering if someone could spell out the proper way to pass in a variable from HTML so that flash can see it in such a way that works even if javascript is disabled, in all browsers, etc., etc.
    I've attached the HTML generated by the Flash IDE to this topic.  Any help would be much appreciated.

    You'll have to search for that concise and thorough list of steps or figure it out using the information you now have, which is sufficient to get it done.  It's not that hard--add the FlashVars in the embedding code in the three places and use the various examples you have links to to add the code in the Flash file to access and use the FlashVars.
    Your Flash will be embedded in a web page depending on the visitors settings... if they allow javascript then the javascript portion will be used.  If they don't, then either the object or embed sections will be used depending on their browser.
    As far as javascript changes go, don't sweat 'em until you have a problem... use whatever code your Flash-created html page creates to embed the file in the page.

  • Most compatable file type to use when copying and pasting specially formatted text into html pages?

    Hello,
      I have a simple web site at http://www.psychicmeatloaf.com which is an online poetry journal site. I use files people send me (mostly .doc or .docx) and cut and paste the text from those files into html pages in an older version of Dreamweaver and some of the text has special formatting (like this page: http://www.psychicmeatloaf.com/Chang-poetry.htm ). The best way I have found to maintain the special text formatting is to open the .docx files and "save as a web page" in Word and then open the web page from Dreamweaver and then "Preview the page" in Explorer and copy and paste from the preview into an html page in Dreamveaver. Even using this method, some text will not maintain it's special formatting and for those I just save the page as a .jpg file and use that, because I have no other choice.
      My question is, is there a better way and is there a better file type to work from other than .docx?
    Thanks a milliom,
    George

    neophyte weaver wrote:
    The best way I have found to maintain the special text formatting is to open the .docx files and "save as a web page" in Word and then open the web page from Dreamweaver and then "Preview the page" in Explorer and copy and paste from the preview into an html page in Dreamveaver.
    That's a lot of steps to get to a single end that could be done with a simple copy & paste of the text into code. Like Photoshop and Fireworks, Word writes some very bulky and dirty code. I wouldn't recommend it for direct copy by the method described above.
    I personally copy the text and paste it into code view. It takes a little more work, but I don't get dozens of lines of inline styles added with it and using a preformatted post div (saved and hidden in the code (<!--post block code goes inside-->), I can quickly put title, date, byline and links up with a cut & paste.
    That's just my $0.02 worth
    Also, since nearly EVERYONE will use a different formatting in a Word doc, putting a bunch of differently formatted posts into a page will make it look like one of those ransom notes made of cut out text from different newspapers and magazines.  Better to keep everything in a single format (your format) so it doesn't become an eyesore.
    Message was edited by: Curtis_E_Flush

  • JOptionPane.showMessageDialog auto closed by itself

    Hi guys,
    I"m facing a very weird issue. Our application is written in Swing and we encounter that the JOptionPane is automatically closed.
    <code>
    logger.debug( "Showing message dialog" );
    JOptionPane.showMessageDialog( this,
    "Some message" );
    logger.debug( "Message dialog returned" );
    </code>
    In the logs we have found out that it printed both directly. The user didn't have the chance to click OK button.
    We are using JDK 1.5.0_15, Windows XP Pro SP2
    Thanks.

    You need to create a "Short, Self Contained, Compilable
    and Executable, Example Program (SSCCE)",
    see http://homepage1.nifty.com/algafield/sscce.html,
    that demonstrates the incorrect behaviour, because I can't
    guess exactly what you are doing based on the information provided.
    Don't forget to use the "Code Formatting Tags",
    see http://forum.java.sun.com/help.jspa?sec=formatting,
    so the posted code retains its original formatting.

  • How to activate a link in JOptionPane.showMessageDialog()

    i have the following code (the color of "Email Me" is blue)
    JOptionPane.showMessageDialog
       parent,
       "<html><a href=\"mailto:[email protected]\">Email Me </a></html>"
       "dialog title",
       JOptionPane.PLAIN_MESSAGE
    );"Email Me" is blue and underlined but nothing happened when clicked on.
    please help. thanks.

    hi ra
    good question dear
    if you want to activate cube in business content do this steps.
    1).select your data source and maintain all the things in r/3 side.
    2).then come to bi side .
    3).t-code rsorbct.
    4).you must have an idea about your app component .i..e that app belongs to sd or mm or hr or finance .
    5).if it belongs to purchasing select infoobj and select supply chain management ,select purchasing.
    6).select char and key fig,drag and drop it into right side component .
    7).select info provider select supply chain management and select your cube .
    8).how to find cube .that is cube like 0pur_c01,c02,c03,c04 like that select any of the cube and drop in to right side component .
    9).now installation part.
    10).select source system top side and select your source ecc 6.0, select component and select install/activate.
    11).now your cube is ready to use .create package for full,initialize ,delta.ok
    bye ....................samar reddy...

  • How do I use Dreamweaver CC 2014.1 Live View to copy complex formatted text into web page?

    Since Design View has been removed from Fluid Grid Layouts, and could be removed completely in next upgrade, I cannot use Live View to place complex text into my web pages.
    Our business requires the listing of complex job descriptions on our web pages.  Design View worked fine, Live View does not. Both examples are noted below.
    Using Design View the web page rendered this way:
    Research & Analytics Director
    Position# 2469
    Location:  Midwest
    Education Requirements:  MS degree in Mathematics, Statistics, Economics, Engineering, Actuarial Science or related field or equivalent designation, such as FCAS.
    Other Requirements:  Include:
    Job Competencies:
    Achieve Results.
    Be Accountable.
    Lead Change.
    Lead Corp Vision & Strategy.
    Lead People.
    Maximize Customer Experience.
    Specialized Knowledge and Skills Requirements:
    Demonstrated ability to develop strategic partnerships.
    Demonstrated ability to identify potential issues, and to proactively work to the mitigation of those issues.
    Demonstrated experience communicating business implications of complex data relationships and results of statistical models to multiple business partners.
    Demonstrated experience formulating, approaching, and solving problems in massive, complex datasets.
    Demonstrated experience in public speaking and use of appropriate presentation skills.
    Demonstrated experience interfacing with business clients and driving solution discussions with both IT and business stakeholders.
    Demonstrated experience performing advanced statistical analysis, including generalized linear models, decision trees, neural networks, etc., to discover business insights and develop predictive models.
    Demonstrated experience with statistical and modeling software tools, such as SAS or R.
    Demonstrated management or leadership experience.
    Solid knowledge and understanding of mathematical modeling and research.
    Salary Range:  $146,300 to $243,800+
    Description:  This position is responsible for oversight and strategic direction of advanced analytics, including predictive modeling, that drive business performance consistent with company goals and objectives.  Works with internal business partners to understand and validate scope of advanced analytics projects and directs projects teams to support those projects.  Collaborates within the division and cross-divisionally to develop and integrate statistical models into various processes. Oversees research of new and innovative analytic tools and techniques.  Monitors industry trends in analytics and investigates new concepts, ideas, and data sources.  Primary accountabilities include:
    Advanced Analytics Oversight (40%):
    Provides oversight and direction for the design, development, and evaluation of predictive models and advanced algorithms that lead to business solutions.
    Directs the most complex and vital analytics work critical to the organization.
    Oversees advanced exploratory analytics that produce a variety of business solutions.
    Conducts peer review on technical aspects of projects.
    Partners with business areas (Commercial Lab, EDM, IS, etc.) on data innovation.
    Portfolio Strategy and Management (25%):
    Collaborates with Strategic Data & Analytics Vice President as well as business partners internal and external to the division to develop and execute advanced analytics strategy and project portfolio.
    Leverages business acumen and domain expertise in directing advanced analytics strategy and application.
    Aligns plans to divisional and corporate objectives/goals and integrates within the corporate planning cycle.
    Monitors and analyzes advanced analytics resources. Assesses needs and appropriately allocates resources to priorities and initiatives.
    Works with divisional management to improve work processes that impact work environment and divisional resources.
    Provides overall portfolio/project management oversight and direction for a variety of advanced analytics project.  Oversees measurement, monitoring and reporting of project progress and resource utilization.  Manages project resources to ensure timely delivery of projects consistent with divisional goals and objectives.
    Coordinates with business partners (Analytics Strategy, etc.) on knowledge management and participates in business area meetings. Maintains holistic view of the business.  Ensures rapid delivery and execution of insights derived from data analytics into the organization.
    Analytic Tools and Techniques Research Oversight (15%):
    Sets the vision for the use of new and innovative tools and technology.
    Maintains and fosters an industry awareness of new developments in analytics techniques and tools, and ensures quick execution in their use within the department.
    Interfaces with Enterprise Data Management (EDM) and Information Services (IS) on evolving technological and data needs and requirements.
    Strategies Linked to the Division's Business Goals/Results (10%):
    Establishes, communicates, and implements departmental plans, objectives, and strategies.
    Participates as a member of the Management Team.
    Maintains an active awareness of our Client's business environments, corporate culture, and structure to support key decision-making.
    Management/Leadership for Department or Unit (10%):
    Manages direct reports, systems, and projects to achieve department/unit goals in accordance with Company policies and practices.
    Prepares and analyzes department/unit plans and reports.
    Provides leadership by exhibiting influence and expertise, thus affecting the results of the operating area.
    Creates an effective work environment by developing a common vision, setting clear objectives, expecting teamwork, recognizing outstanding performance, and maintaining open communications.
    Develops staff through coaching, providing performance feedback, providing effective performance assessments, and establishing performance & development plans.
    Using Live View the web page rendered this way:
    Research & Analytics Director Position# 2469 Location: Midwest Education Requirements: MS degree in Mathematics, Statistics, Economics, Engineering, Actuarial Science or related field or equivalent designation, such as FCAS. Other Requirements: Include: • Job Competencies: o Achieve Results. o Be Accountable. o Lead Change. o Lead Corp Vision & Strategy. o Lead People. o Maximize Customer Experience. • Specialized Knowledge and Skills Requirements: o Demonstrated ability to develop strategic partnerships. o Demonstrated ability to identify potential issues, and to proactively work to the mitigation of those issues. o Demonstrated experience communicating business implications of complex data relationships and results of statistical models to multiple business partners. o Demonstrated experience formulating, approaching, and solving problems in massive, complex datasets. o Demonstrated experience in public speaking and use of appropriate presentation skills. o Demonstrated experience interfacing with business clients and driving solution discussions with both IT and business stakeholders. o Demonstrated experience performing advanced statistical analysis, including generalized linear models, decision trees, neural networks, etc., to discover business insights and develop predictive models. o Demonstrated experience with statistical and modeling software tools, such as SAS or R. o Demonstrated management or leadership experience. o Solid knowledge and understanding of mathematical modeling and research. Salary Range: $146,300 to $243,800+ Description: This position is responsible for oversight and strategic direction of advanced analytics, including predictive modeling, that drive business performance consistent with company goals and objectives. Works with internal business partners to understand and validate scope of advanced analytics projects and directs projects teams to support those projects. Collaborates within the division and cross-divisionally to develop and integrate statistical models into various processes. Oversees research of new and innovative analytic tools and techniques. Monitors industry trends in analytics and investigates new concepts, ideas, and data sources. Primary accountabilities include: • Advanced Analytics Oversight (40%): o Provides oversight and direction for the design, development, and evaluation of predictive models and advanced algorithms that lead to business solutions. o Directs the most complex and vital analytics work critical to the organization. o Oversees advanced exploratory analytics that produce a variety of business solutions. o Conducts peer review on technical aspects of projects. o Partners with business areas (Commercial Lab, EDM, IS, etc.) on data innovation. • Portfolio Strategy and Management (25%): o Collaborates with Strategic Data & Analytics Vice President as well as business partners internal and external to the division to develop and execute advanced analytics strategy and project portfolio. o Leverages business acumen and domain expertise in directing advanced analytics strategy and application. o Aligns plans to divisional and corporate objectives/goals and integrates within the corporate planning cycle. o Monitors and analyzes advanced analytics resources. Assesses needs and appropriately allocates resources to priorities and initiatives. o Works with divisional management to improve work processes that impact work environment and divisional resources. o Provides overall portfolio/project management oversight and direction for a variety of advanced analytics project. Oversees measurement, monitoring and reporting of project progress and resource utilization. Manages project resources to ensure timely delivery of projects consistent with divisional goals and objectives. o Coordinates with business partners (Analytics Strategy, etc.) on knowledge management and participates in business area meetings. Maintains holistic view of the business. Ensures rapid delivery and execution of insights derived from data analytics into the organization. • Analytic Tools and Techniques Research Oversight (15%): o Sets the vision for the use of new and innovative tools and technology. o Maintains and fosters an industry awareness of new developments in analytics techniques and tools, and ensures quick execution in their use within the department. o Interfaces with Enterprise Data Management (EDM) and Information Services (IS) on evolving technological and data needs and requirements. • Strategies Linked to the Division's Business Goals/Results (10%): o Establishes, communicates, and implements departmental plans, objectives, and strategies. o Participates as a member of the Management Team. o Maintains an active awareness of our Client's business environments, corporate culture, and structure to support key decision-making. • Management/Leadership for Department or Unit (10%): o Manages direct reports, systems, and projects to achieve department/unit goals in accordance with Company policies and practices. o Prepares and analyzes department/unit plans and reports. o Provides leadership by exhibiting influence and expertise, thus affecting the results of the operating area. o Creates an effective work environment by developing a common vision, setting clear objectives, expecting teamwork, recognizing outstanding performance, and maintaining open communications. o Develops staff through coaching, providing performance feedback, providing effective performance assessments, and establishing performance & development plans.
    Obviously, as seen above, I'm doing something wrong or Live View does not do all the functions that Design View use to do.  I realize I can still access Design View in non-Fluid Grid Layout documents and that is my current work-around.  I copy from my Word file into Design View available in non-Fluid, then copy that code into my Fluid Grid Layout document, not real efficient use of my time.  And, even that work-around may not be available after the next upgrade.

    Hans thank you for your reply and attention to this matter.  Moreover, with your steeped expertise I do not, in any fashion, intend to be flippant or capricious. 
    However, I do not believe the reply is on point since I'm not discussing the insertion of an HTML tag/element; but rather, the placing of complex formatted text into my various web pages.
    Design View and  2014.1 Live View seem to serve different functions.  That is, Design View, for us, serves as a highly sophisticated HTML5 code generator that allows us to properly display complex formatted text that originally is created as a Word docx file.  As I noted in my original post, the complex formatted text from the Word file is then pasted into Design View and thus properly renders on the web page.  I invite you to try this yourself.  Simply copy my properly formatted text in my original post (that can be found at "Using Design View the web page rendered this way:") to a Word file, and it will retain the complex formatting, then copy that Word file text to both Design View and  2014.1 Live View files.  Please apprise me of your results.
    Discussion has been had in at least two separate threads on the Design View disappearance in Fluid Grid.  In https://forums.adobe.com/thread/1597260 staff member Lalita wrote "It would be helpful for us if you list the issues you are seeing with fluid grid live view editing."  And in https://forums.adobe.com/message/6807088#6807088 staff member Subhadeep wrote "If you can list down the workflows you are trying while editing in Live View & the issues you are facing in doing so, it will help us understand what is amiss & suggest alternative workflows to do the same."  I believe I've pointed out issues when attempting to use Live View for functions or work flow that customarily had been done in Design View.
    Being a CC subscriber, if someone can provide me with a workflow using other additional Adobe products to get my complex formatted text from Word ultimately to my Dreamweaver web page, be it an image insert or whatever, I would take the suggestions.
    The difference in the coding of my example in my original post is as follows.
    Code when using Design View is:
    <p><strong>Research &amp; Analytics Director</strong><br>
      <strong>Position# 2469</strong><br>
      <strong>Location:</strong>  Midwest<br>
      <strong>Education Requirements:</strong>  MS degree in Mathematics, Statistics,  Economics, Engineering, Actuarial Science or related field or equivalent  designation, such as FCAS.<br>
      <strong>Other Requirements:</strong>  Include:</p>
    <ul type="disc">
      <li>Job       Competencies:</li>
      <ul type="circle">
        <li>Achieve        Results.</li>
        <li>Be        Accountable.</li>
        <li>Lead        Change.</li>
        <li>Lead Corp        Vision &amp; Strategy.</li>
        <li>Lead        People.</li>
        <li>Maximize        Customer Experience.</li>
      </ul>
      <li>Specialized       Knowledge and Skills Requirements:</li>
      <ul type="circle">
        <li>Demonstrated        ability to develop strategic partnerships.</li>
        <li>Demonstrated        ability to identify potential issues, and to proactively work to the        mitigation of those issues.</li>
        <li>Demonstrated        experience communicating business implications of complex data        relationships and results of statistical models to multiple business        partners.</li>
        <li>Demonstrated        experience formulating, approaching, and solving problems in massive,        complex datasets.</li>
        <li>Demonstrated        experience in public speaking and use of appropriate presentation skills.</li>
        <li>Demonstrated        experience interfacing with business clients and driving solution        discussions with both IT and business stakeholders.</li>
        <li>Demonstrated        experience performing advanced statistical analysis, including        generalized linear models, decision trees, neural networks, etc., to        discover business insights and develop predictive models.</li>
        <li>Demonstrated        experience with statistical and modeling software tools, such as SAS or        R.</li>
        <li>Demonstrated        management or leadership experience.</li>
        <li>Solid        knowledge and understanding of mathematical modeling and research.</li>
      </ul>
    </ul>
    <p><strong>Salary Range:</strong>  $146,300 to  $243,800+<br>
      <strong>Description:</strong>  This position is  responsible for oversight and strategic direction of advanced analytics,  including predictive modeling, that drive business performance consistent with  company goals and objectives.  Works with internal business partners to  understand and validate scope of advanced analytics projects and directs  projects teams to support those projects.  Collaborates within the  division and cross-divisionally to develop and integrate statistical models into  various processes. Oversees research of new and innovative analytic tools and  techniques.  Monitors industry trends in analytics and investigates new  concepts, ideas, and data sources.  Primary accountabilities include:</p>
    <ul type="disc">
      <li>Advanced       Analytics Oversight (40%):</li>
      <ul type="circle">
        <li>Provides        oversight and direction for the design, development, and evaluation of        predictive models and advanced algorithms that lead to business        solutions.</li>
        <li>Directs        the most complex and vital analytics work critical to the organization.</li>
        <li>Oversees        advanced exploratory analytics that produce a variety of business        solutions.</li>
        <li>Conducts        peer review on technical aspects of projects.</li>
        <li>Partners        with business areas (Commercial Lab, EDM, IS, etc.) on data innovation.</li>
      </ul>
      <li>Portfolio       Strategy and Management (25%):</li>
      <ul type="circle">
        <li>Collaborates        with Strategic Data &amp; Analytics Vice President as well as business        partners internal and external to the division to develop and execute        advanced analytics strategy and project portfolio.</li>
        <li>Leverages        business acumen and domain expertise in directing advanced analytics        strategy and application.</li>
        <li>Aligns        plans to divisional and corporate objectives/goals and integrates within        the corporate planning cycle.</li>
        <li>Monitors        and analyzes advanced analytics resources. Assesses needs and        appropriately allocates resources to priorities and initiatives.</li>
        <li>Works        with divisional management to improve work processes that impact work        environment and divisional resources.</li>
        <li>Provides        overall portfolio/project management oversight and direction for a        variety of advanced analytics project.  Oversees measurement,        monitoring and reporting of project progress and resource        utilization.  Manages project resources to ensure timely delivery of        projects consistent with divisional goals and objectives.</li>
        <li>Coordinates        with business partners (Analytics Strategy, etc.) on knowledge management        and participates in business area meetings. Maintains holistic view of        the business.  Ensures rapid delivery and execution of insights        derived from data analytics into the organization.</li>
      </ul>
      <li>Analytic       Tools and Techniques Research Oversight (15%):</li>
      <ul type="circle">
        <li>Sets the        vision for the use of new and innovative tools and technology.</li>
        <li>Maintains        and fosters an industry awareness of new developments in analytics        techniques and tools, and ensures quick execution in their use within the        department.</li>
        <li>Interfaces        with Enterprise Data Management (EDM) and Information Services (IS) on        evolving technological and data needs and requirements.</li>
      </ul>
      <li>Strategies       Linked to the Division's Business Goals/Results (10%):</li>
      <ul type="circle">
        <li>Establishes,        communicates, and implements departmental plans, objectives, and        strategies.</li>
        <li>Participates        as a member of the Management Team.</li>
        <li>Maintains        an active awareness of our Client's business environments, corporate        culture, and structure to support key decision-making.</li>
      </ul>
      <li>Management/Leadership       for Department or Unit (10%):</li>
      <ul type="circle">
        <li>Manages        direct reports, systems, and projects to achieve department/unit goals in        accordance with Company policies and practices.</li>
        <li>Prepares        and analyzes department/unit plans and reports.</li>
        <li>Provides        leadership by exhibiting influence and expertise, thus affecting the        results of the operating area.</li>
        <li>Creates        an effective work environment by developing a common vision, setting        clear objectives, expecting teamwork, recognizing outstanding performance,        and maintaining open communications.</li>
        <li>Develops        staff through coaching, providing performance feedback, providing        effective performance assessments, and establishing performance &amp;        development plans.</li>
      </ul>
    </ul>
    Code when using Live View is:
      <div id="liveview" class="fluid">Research &amp; Analytics Director Position# 2469 Location: Midwest Education Requirements: MS degree in Mathematics, Statistics, Economics, Engineering, Actuarial Science or related field or equivalent designation, such as FCAS. Other Requirements: Include: • Job Competencies: o Achieve Results. o Be Accountable. o Lead Change. o Lead Corp Vision &amp; Strategy. o Lead People. o Maximize Customer Experience. • Specialized Knowledge and Skills Requirements: o Demonstrated ability to develop strategic partnerships. o Demonstrated ability to identify potential issues, and to proactively work to the mitigation of those issues. o Demonstrated experience communicating business implications of complex data relationships and results of statistical models to multiple business partners. o Demonstrated experience formulating, approaching, and solving problems in massive, complex datasets. o Demonstrated experience in public speaking and use of appropriate presentation skills. o Demonstrated experience interfacing with business clients and driving solution discussions with both IT and business stakeholders. o Demonstrated experience performing advanced statistical analysis, including generalized linear models, decision trees, neural networks, etc., to discover business insights and develop predictive models. o Demonstrated experience with statistical and modeling software tools, such as SAS or R. o Demonstrated management or leadership experience. o Solid knowledge and understanding of mathematical modeling and research. Salary Range: $146,300 to $243,800+ Description: This position is responsible for oversight and strategic direction of advanced analytics, including predictive modeling, that drive business performance consistent with company goals and objectives. Works with internal business partners to understand and validate scope of advanced analytics projects and directs projects teams to support those projects. Collaborates within the division and cross-divisionally to develop and integrate statistical models into various processes. Oversees research of new and innovative analytic tools and techniques. Monitors industry trends in analytics and investigates new concepts, ideas, and data sources. Primary accountabilities include: • Advanced Analytics Oversight (40%): o Provides oversight and direction for the design, development, and evaluation of predictive models and advanced algorithms that lead to business solutions. o Directs the most complex and vital analytics work critical to the organization. o Oversees advanced exploratory analytics that produce a variety of business solutions. o Conducts peer review on technical aspects of projects. o Partners with business areas (Commercial Lab, EDM, IS, etc.) on data innovation. • Portfolio Strategy and Management (25%): o Collaborates with Strategic Data &amp; Analytics Vice President as well as business partners internal and external to the division to develop and execute advanced analytics strategy and project portfolio. o Leverages business acumen and domain expertise in directing advanced analytics strategy and application. o Aligns plans to divisional and corporate objectives/goals and integrates within the corporate planning cycle. o Monitors and analyzes advanced analytics resources. Assesses needs and appropriately allocates resources to priorities and initiatives. o Works with divisional management to improve work processes that impact work environment and divisional resources. o Provides overall portfolio/project management oversight and direction for a variety of advanced analytics project. Oversees measurement, monitoring and reporting of project progress and resource utilization. Manages project resources to ensure timely delivery of projects consistent with divisional goals and objectives. o Coordinates with business partners (Analytics Strategy, etc.) on knowledge management and participates in business area meetings. Maintains holistic view of the business. Ensures rapid delivery and execution of insights derived from data analytics into the organization. • Analytic Tools and Techniques Research Oversight (15%): o Sets the vision for the use of new and innovative tools and technology. o Maintains and fosters an industry awareness of new developments in analytics techniques and tools, and ensures quick execution in their use within the department. o Interfaces with Enterprise Data Management (EDM) and Information Services (IS) on evolving technological and data needs and requirements. • Strategies Linked to the Division's Business Goals/Results (10%): o Establishes, communicates, and implements departmental plans, objectives, and strategies. o Participates as a member of the Management Team. o Maintains an active awareness of our Client's business environments, corporate culture, and structure to support key decision-making. • Management/Leadership for Department or Unit (10%): o Manages direct reports, systems, and projects to achieve department/unit goals in accordance with Company policies and practices. o Prepares and analyzes department/unit plans and reports. o Provides leadership by exhibiting influence and expertise, thus affecting the results of the operating area. o Creates an effective work environment by developing a common vision, setting clear objectives, expecting teamwork, recognizing outstanding performance, and maintaining open communications. o Develops staff through coaching, providing performance feedback, providing effective performance assessments, and establishing performance &amp; development plans.  </div>
    It is readily apparent that Design View is a much needed code generator in the Dreamweaver product.  Live View serves completely other, and needed, purposes.  Therefore, I still, after all the forum discussions, do not understand why Design View has been removed from Fluid Grid.
    Again Hans thank you for your reply.  But unless I'm missing something, citation to the links you provided does not solve my problem.  And that problem is this: If Design View is on its way out and thus will be completely removed from Dreamweaver at some point, then how do I provide my information (i.e. complex executive job descriptions) on my website?
    Apparently a vote is taking place https://forums.adobe.com/ideas/3922 on the issue of placing Design View back into Fluid Grid.  I do not understand why the need for two rather disjunctive functionalities are at the mercy of the democratic process.  These are matters of engineering principles not "town hall gatherings".

  • How can I pass a value into a page fragment?

    How can I pass a value into a page fragment?
    I am implementing four search screens. And the only thing different about them will be their backing bean.
    So I’d like to do something like have four pages, each which retrieves its appropriate backing bean, sets that bean to a variable, and then includes a page fragment which contains the generic search page code (which will make use of that variable).
    The code in the four pages would be something like this:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:c="http://java.sun.com/jsp/jstl/core">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <c:set var="searchPageBackingBean"
    value="#{pageFlowScope.employeeSearchPageBean}"
    scope="page"/>
    <jsp:include page="./SearchPageBody.jsff"/>
    </jsp:root>
    At this point, what I’m seeing is that the fragment page, SearchPageBody.jsff, has no visibility of the searchPageBackingBean variable, either referencing it as #{pageFlowScope.searchPageBackingBean} or just #{searchPageBackingBean}

    The following will work, assuming you are needing to access a managed bean:
    Put this in the parent page:
    <c:set var="nameOfSearchPageBackingBean"
    value="employeeSearchPageBean"
    scope="request"/>
    Put this in the child, SearchPageBody.jsff:
    <c:set var="searchPageBean"
    value="#{pageFlowScope[nameOfSearchPageBackingBean]}"
    scope="page"/>

  • Passing a string into an SQL query IN statement

    Hello,
    I need to connect to a database to pull some data to dynamically create a form based on the data I pull back. My SQL query works fine when I manually run it through a SQL client tool, but when I try to pass it through my workflow I'm having trouble with passing my string into the IN part of the statement. So if for example my SQL query is:
    SELECT Field1, Field2, Field3 FROM Table1 WHERE Field4 IN (?)
    I have a process variable that has the string I'm trying to pass into the ?, but I don't seem to be able to get the query to run. I have tried setting up my query to run as a Parameterized Query (passing my string process variable into the ?), and by setting the query up through xPath (where I am calling my process variable with an xPath declaration), but am not having any luck.
    The process variable I am trying to pass is formatted such that I'm passing 'Value1','Value2','Value3' but I can reformat this string if need be. Even with using test data I can't get the query to return anything. For test data I have tried: 'Value1','Value2','Value3' ; Value1','Value2','Value3 ; Value1,Value2,Value3 but the query never returns any data. I can't seem to see how to format the string to pass into the query. The Query will work with a single Value in the test data, but as soon as I try to pass multiple values within the string it fails. Any suggestions?

    The problem looks to be a limit on what I can pass into the SQL query component. My string is coming from data returned from another database. I take the xml output from that database call, pass it through a set variable component to remove my xml tags from the string, and then format the string in a script component (I have to do it this way because of the way the data coming out of my first database call). I've put in loggers, and can see that the string I'm passing into my query that is giving me problems, is formatted the same way as if I were to use the concat function Scott listed above. It looks like there is a limitation on what can be passed in my variable. I have tried creating my entire SQL query statement in a set variable component, and then just calling the process variable that holds that statement, but there is a character limit of 128 character for what can be passed in a variable through xpath in the SQL query component.
    The next thing I tried was changing my SQL where clause. Instead of passing my variable directly into the IN statement I set up a PATINDEX('%:'+countyname+ ':%', ?) > 0 call to check for the values in my database call. As you can see I took out the "," that I was passing as part of my string, thinking that the SQL component was getting confused by them, and placed ":" characters around my values being passed in my string variable. No matter what I try to do though I'm not able to get the query to run. The component looks like it is taking my string, and is seeing the whole thing as a string instead of passing it as individual values within a string.
    I think I'm getting close, but I keep getting a Content not allowed in prolog exception in the server logs.

  • Formatted HTML output with Spry regions - is it possible?

    I have recently begun using the XML export extension in
    conjunction with an Access database to output dynamic data into a
    page with a Spry master/detail setup. So far, my simple example is
    going great, but I've run into a snag that I need some help with.
    To explain what I'm doing - it's a simple article page with
    the list of articles on the left with the title and date and the
    article title and full contents on the right hand side. So far it's
    all working very well, updating in real time when I click an
    article title on the left. The problem is the output with this one
    field which stores not only text, but also HTML formatting that is
    generated by a wysiwyg editor used on the article creation side of
    this little app. This HTML formatted content is the article body
    and is stored in a field named the same - "body". With traditional
    ASP, the HTML formatting displays as expected and all is well, but
    with Spry, it doesn't output formatted HTML, but instead shows the
    content and HTML code together as text. How can I get this one
    field ("body") to be output so all the HTML formatting is shown?
    This is my simple page example. Click through and you'll see
    what I mean.
    http://www.shoestodyefor.com/ajax.asp
    Here's the section of code in question regarding the output
    on that right hand panel where the body is displayed for each
    article:
    <div spry:detailregion="ds1">
    {title}<br />
    {entryDate}<br />
    <br />
    {body}
    /div>
    Is it possible to have that {body} section shown so the
    dynamically created HTML code from the wysiwyg editor is displayed
    correctly?

    Steve Skinner wrote:
    > Is it possible to have that {body} section shown so the
    dynamically created
    > HTML code from the wysiwyg editor is displayed
    correctly?
    The version of Spry that ships with Dreamweaver CS3 (Spry
    1.4) doesn't
    support the type of output created by the XML Export
    extension.
    This issue has been corrected in Spry 1.5, but no plans have
    been made
    public for integrating Spry 1.5 into Dreamweaver CS3. You
    would need to
    download Spry 1.5 from
    http://labs.adobe.com/technologies/spry/.
    Details
    of how to hand-code the fix for output from XML Export are
    here:
    http://labs.adobe.com/technologies/spry/samples/data_region/HTMLFragsInXMLSample.html
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • CFGRID format=HTML not working in IE8

    I'm using Cold Fusion 10 and trying a cfgrid and it does not work in IE8.  It works perfectly in FF, of course. :-).
    It IS within a Cfform in my .cfm file.  Even when I take it down to it's simplest form to try to debug it doesn't work, but here is my original code:
    <cfgrid name = "FirstGrid"
            height="200" width="700"
            font="arial" fontsize="12"
            query = "Getdates"
            SORT="Yes"
            selectmode="edit"
            format="html"
            >
            <CFGRIDCOLUMN NAME="anumber" DATAALIGN="LEFT"
            BOLD="No" ITALIC="No"
            SELECT="No" DISPLAY="No"
            HEADERBOLD="No" HEADERITALIC="No">
        <CFGRIDCOLUMN NAME="schoolyear" HEADER="School Year"
            HEADERALIGN="LEFT" DATAALIGN="LEFT"
            BOLD="Yes" ITALIC="No"
            SELECT="Yes" DISPLAY="Yes"
            HEADERBOLD="No" HEADERITALIC="Yes">
        <CFGRIDCOLUMN NAME="doh" HEADER="Date of Hire"
            HEADERALIGN="LEFT" DATAALIGN="LEFT"
            BOLD="No" ITALIC="No"
            SELECT="Yes" DISPLAY="Yes"
            HEADERBOLD="No" HEADERITALIC="No" type="date">
        <CFGRIDCOLUMN NAME="leavedate" HEADER="Leave Date"
            HEADERALIGN="LEFT" DATAALIGN="LEFT"
            FONT="Times" BOLD="No"
            ITALIC="No" SELECT="Yes"
            DISPLAY="Yes" HEADERBOLD="No"
            HEADERITALIC="No">
        <CFGRIDCOLUMN NAME="Returnfromleavedate" HEADER="Return From Leave Date"
            HEADERALIGN="LEFT" DATAALIGN="LEFT"
            BOLD="No" ITALIC="No"
            SELECT="Yes" DISPLAY="Yes"
            HEADERBOLD="No" HEADERITALIC="No">
        <CFGRIDCOLUMN NAME="terminatedresignedretireddate" HEADER="Terminated/Resigned/Retired"
            HEADERALIGN="LEFT" DATAALIGN="LEFT"
            BOLD="No" ITALIC="No"
            SELECT="Yes" DISPLAY="Yes"
            HEADERBOLD="No" HEADERITALIC="No">
        </cfgrid>
    Thanks for any help!
    B.

    Sorry, I should have used the code tags. Let me ask that again.
    I have HTML formatted data stored in VARCHAR2 columns on the database for which I am using a stylesheet to format into XSL-FO to resolve the HTML tags. For example, my data template populates a field PARAGRAPH_TEXT with content such as
    <b>some bold text</b>and I am using
    <xsl:apply-templates select="PARAGRAPH_TEXT"/>in my RTF template to process the data using the stylesheet to convert it to
    <fo:inline font-weight="bold">some bold text</fo:inline>The HTML tags are corrrectly resolved when using the BI Publisher Word add-in and the output is correctly rendered in bold text but this does not happen when running on the server in an E-Business Suite environment due to the HTML tags in the output XML being generated as e.g. &lt;b&gt; instead of <b>. Has anybody experienced this and, more importantly, can anybody suggest a way of getting e.g. <b> in the XML instead of &lt;b&gt;

  • Passing variable data into XSLT

    Hai all, I am trying to pass variable contents into a XSLT. I am trying the procedure given in the link below.I am not able to pass the parameter values into XSLT file.I am failing in the last step.
    Has anyone tried this example
    http://blogs.oracle.com/rammenon/2007/05/passing_bpel_variable_contents.html
    or
    Is there any other way to pass variable data into XSLT. Kindly help.
    Thank You

    True, the sample also uses the same function that I mentioned :
    <!-- convert Invoice to PO using XSLT service -->
              <assign name="transformVehicle">
              <copy>
                   <from expression="ora:processXSLT('InvToPo.xslt',bpws:getVariableData('input','payload') )"/>
                   <to variable="output" part="payload"/>
              </copy>                    
              </assign>

  • How to pass a parameter into RMAN script

    Hello,
    I have the following rman script :
    run {
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'c:\oracle\RmanORCL102\ora_df%t_s%s_s%p';
    This script called configure.rman is launch by a .bat script with the following command:
    rman target 'sys/sys12@ORCL102 as sysdba' @c:\oracle\RmanORCL102\configure.rman
    How can I pass a parameter into rman script, I want to pass an additional directory like this:
    rman target 'sys/sys12@ORCL102 as sysdba' @c:\oracle\RmanORCL102\configure.rman v_dir_name
    And use it in rman script:
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'c:\oracle\RmanORCL102\$v_dir_name\ora_df%t_s%s_s%p';
    Is it a way to do this?
    Regards,
    Elodie

    One option would be to create a file called backup.bat with the following:
    echo run {
    echo CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    echo CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    echo CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
    echo CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'c:\oracle\RmanORCL102\%1\ora_df%t_s%s_s%p';
    echo } ) | rman target sys/sys12@orcl102and then call the script as:
    c:\> backup.bat backup_directory_name

  • Forgot how to format HTML  in Text Area

    Hello all,
    I totally forgot something. How do you format HTML when rendering in Text area
    Suppose I pass in a string that a text area grabs for display.
    xxx.getAdditionalComments(existingComments + "\n"  +  "<B>" + date + "<\B> " + name);The text are will always display the <B> instead of displaying the date in bold.
    I remember putting escape characters eons ago but I forgot how that worked. Anyone know how to render this with date being bolded?
    Thanks.

    If you mean the textarea HTML tag for text entry fields, you don't. If you forgot anything it's that you can't do things like that.

  • How to pass src value into img tag in ADF

    Hi,
    My Dev : 11.1.2.3.0
    How to pass row values into <img> tag.,I used the below code but it's taking empty.,
    I tried both ways like #{row.CdFilePath}   and   ${row.CdFilePath}
    <af:iterator var="row"
                      value="#{bindings.xxx.collectionModel}"
                     id="i2">
         <img src='/ShowImage?src=#{row.CdFilePath}' border='0' style="width:100px; height:100px; margin:5px;"/>
    </af:iterator>
    Please tell me any other option is there..
    Thanks

    This works if you use a normal table so I guess it should work here too.
    Are you sure the el #{row.CdFilePath} return something?
    Why don't you use the adf image tag <af:image source="/ShowImage?src=#{row.CdFilePath}".../> instead of the html img tag?
    Should the src property not be enclosed with " instead of your '?
    Timo

Maybe you are looking for