Replace special codes on Page Render

Hey all - I'm new the the forums here, so HELLO! I look forward to  being part of the community and helping out as much as I can, but as  with all new members, I come with a problem that needs solving...
I'm  working with complex dynamic template files and, in an effort to  simplify the template-building process and boost the efficiency of our  system, I am looking for a way to replace something like a special  character code to include a pre-defined construct.
For  example - I have a template file that looks like this (simplified):
<html>
<head>
    <link rel="stylesheet" type="text/css" href="styles/myStyles.css">
</head>
<body>
<div  id="welcome">
    Welcome to my Page!
</div>
<div  id="navigation">
    <cfinclude template="../rootFiles/builder_navigation.cfm">
</div>
</body>
</html>
The actual templates are much more complicated than this, but this should be enough for the purposes of demonstration.  I am looking for a way to call (for example) my '../rootFiles/builder_navigation.cfm" -- I have two main fuctions the template serves, to represent itself for a builder as well as serve as a template for a publishing script. So, with this in mind, if I am using the builder, I need to call 'builder_navigation.cfm' but if I am publishing the template i need to call 'publish_navigation.cfm.'
So, the above script  would be used for the builder, and the below script would be used when a  publish is called...
<html>
<head>
    <link rel="stylesheet"  type="text/css" href="styles/myStyles.css">
</head>
<body>
<div   id="welcome">
    Welcome to my Page!
</div>
<div   id="navigation">
    <cfinclude  template="../rootFiles/publish_navigation.cfm">
</div>
</body>
</html>
What I am hoping is that I can use a template file like the one below to dynamically call (through a CFINCLUDE) either the publish navigation script or the builder navigation script by using one 'keyword' or 'special code'
<html>
<head>
    <link rel="stylesheet"  type="text/css" href="styles/myStyles.css">
</head>
<body>
<div   id="welcome">
    Welcome to my Page!
</div>
<div   id="navigation">
    [TEMPLATE_NAVIGATION]
</div>
</body>
</html>
This way I can use the same file and call the appropriate navigation template depending on the need. I would use a simple <cfif> statement to determine which I need, but I need to keep this as plain HTML as I can as when the publish scripts are called I need plain HTML as the variables that would be needed by the <cfif> script would not exist after the published template has been created.
Thanks  in advance!

I'm sorry for the murkiness - let me clarify:
I have an HTML editor that resides within a template file (visual template) - a user can alter the content, create new content, etc.  The user is allowed to choose the template file which to use.
When they are finished they can publish to an HTML/Java/CSS file (full website).  I would like to use the same template file for both the editor/builder as well as the publish script.
Only minor changes are needed between the two as present - the first chunk of code in my original represents file1 - the file that is called for the editor.
The second chunk of code in origninal post represents file2 - the file that is called when the publish script is activated.
The thrid chunk of code in the original post is what I would like to create -
So i would like to have the section of code like this:
<div id="navigation">
  [TEMPLATE_NAVIGATION]
</div>
and replace the "[TEMPLATE_NAVIGATION]" on call with the proper <cfinclude> template. I can think of several solutions for this such as setting the include file as a variable in a different script or using CFIF, but if I could do it this way, it will greatly simplify the process by which I can build and install new templates into the system.
This would also allow me to update the system and its file structure (which is done frequently) without having to edit every template file as well.
Please let me know if I am still not being clear enough and thank you for your prompt response!

Similar Messages

  • How to replace this code!!!!????? please Help!!!!!!!!!!!

    How I can replace following code as getServlet method is deprecated.
    getServletContext().getServlet("trapenv");

    this is Authenticator.java
    package trap.content;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import trap.*;
    import trap.publishing.*;
    import java.io.*;
    import java.util.Properties;
    import java.util.Hashtable;
    @SuppressWarnings("serial")
    public class Authenticator
        extends TRAPServletBase{
        Default constructor
        public Authenticator() {
            super();
        public final void doGet(HttpServletRequest req, HttpServletResponse res)
           throws ServletException, IOException
             doPost(req,res);
        Overrides the default doGet() to perform login function.
        @param req HttpServletRequest that encapsulates the request to the servlet.
        @param res HttpServletResponse that encapsulates the response from the servlet.
        @exception javax.servlet.ServletException
                   If the request could not be handled.
        @exception java.io.IOException
                   If there is an error writing to the output stream.
        @SuppressWarnings({ "unchecked" })
         public final void doPost(HttpServletRequest req, HttpServletResponse res)
            throws ServletException, IOException {
            try {
                res.setContentType("text/html");   
                PrintWriter out = getServletPrintWriter(res);
                System.out.println("getting properties now");
           //  Properties properties = getTRAPEnvironment().getProperties();
               Properties properties =   (Properties) getServletConfig().getServletContext().getAttribute("TRAPProperties");
                System.out.println("got properties now");
                String loginTemplate = properties.getProperty("TRAP.template.login");
                String expiredTemplate = properties.getProperty("TRAP.template.expired");
                String mainTemplate = properties.getProperty("TRAP.template.mainFrameSet");
                String userid = req.getParameter("userid");
                String passwd = req.getParameter("passwd");
                if(userid == null) {
                    userid = "";
                if(passwd == null) {
                    passwd = "";
                // Overall properties are passed through to HttpTRAPConnection
                // to initialize ORB...
                Properties connectionProperties = getProperties();
                HttpTRAPConnection conn = new HttpTRAPConnection(
                    connectionProperties, req.getSession(true)
                TRAPSession session = conn.login(userid, passwd);
                if(session.isPasswordExpired()) {
                    Hashtable table = new Hashtable();
                    table.put("MESSAGE","Your password has expired.<BR>" + "Please enter a new password now.");
      //              printTemplate(expiredTemplate, out, table);
                } else {
                    Hashtable myData = new Hashtable();
                    myData.put("DEFAULT_SERVLET",session.getMenu().defaultMenuItem.url);
       //             printTemplate(mainTemplate, out,myData);
            } catch(AccessViolation access) {
                HTMLElement element = HTMLElementFactory.getHTMLElement(
                    HTMLElementFactory.ERROR_ELEMENT
                element.printHTML(getServletPrintWriter(res), access);
            } catch(Exception error) {
                printError(getServletPrintWriter(res), getClass().getName(), error);
    }this is TRAPServletBase
    package trap.publishing;
    import java.io.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import aif.persist.DbError;
    import trap.*;
    @SuppressWarnings("serial")
    public class TRAPServletBase
        extends HttpServlet {
          @SuppressWarnings("unused")
         private CachedFileTemplateManager templateMgr = null;
        Default constructor, calls default HttpServlet constructor.
        public TRAPServletBase() {
            super();
        Returns the TRAPSession object for this session, or throws
        an AccessViolation if the session has not logged in.
        @param req The HttpServletRequest for this servlet thread.
        @return TRAPSession for the servlet thread.
        @exception trap.AccessViolation
                   If the user has not yet logged in.
        @exception aif.persist.DbError
         if a database error occurs
        public TRAPSession getTRAPSession(HttpServletRequest req)
            throws AccessViolation, DbError {
            HttpTRAPConnection conn = HttpTRAPConnection.getInstance(req);
            if(conn == null) {
                throw new AccessViolation(AccessViolationType.Authentication);
            } else {
                return conn.getTRAPSession();
        Returns the TrapEnvironmentServlet.
        @return The TrapEnvironmentServlet.
        @exception javax.servlet.ServletException
                   If there is an error retrieving the environment.
         public TRAPEnvironmentServlet getTRAPEnvironment()
            throws ServletException {
              System.out.println("getting TRAPEnvironmentServlet");
            return (TRAPEnvironmentServlet)
         //     getServletContext().getServlet("trapenv");
          //       getServletContext().getNamedDispatcher("trapenv");
       //  getServletContext().getAttribute ("trapenv") ;
         getServletContext().getRequestDispatcher("/servlet/trapenv");
        Prints a template as if getTemplateManager().getTemplate().printHTML()
        were called with null data.
        @param templateName The name of the template to retrieve.
        @param out          The output stream to print to.
        @exception javax.servlet.ServletException
                   If there is an error printing the template.
        public void printTemplate(String templateName, PrintWriter out)
            throws ServletException {
            try {
                HTMLElement element = null;
                element = getTRAPEnvironment().getTemplateElement(templateName);
                element.printHTML(out, null);
            } catch(TemplateNotFoundException tnfe) {
                throw new ServletException(tnfe.getMessage());
        Prints a template as if getTemplateManager().getTemplate().printHTML()
        were called.
        @param templateName The name of the template to retrieve.
        @param out          The output stream to print to.
        @param data         The data object for the template.
        @exception javax.servlet.ServletException
                   If there is an error printing the template.
        public void printTemplate(String templateName, PrintWriter out, Object data)
            throws ServletException {
            try {
                HTMLElement element = null;
                element = getTRAPEnvironment().getTemplateElement(templateName);
                element.printHTML(out, data);
            } catch(TemplateNotFoundException tnfe) {
                throw new ServletException(tnfe.getMessage());
        Logs the error message to the servlet logging mechanism and
        prints a standard error page to the output stream specified.
        @param out   The print writer to render the page to.
        @param where The class/location where the error occurred.
        @param error The exception which caused the error.
        public void printError(PrintWriter out, String where, Exception error)
            throws ServletException, IOException {
            log(error, where);
            HTMLElement element = HTMLElementFactory.getHTMLElement(
                HTMLElementTypes.ERROR_ELEMENT
            element.printHTML(out, error);
        Utility method that takes the HttpServletResponse, retrieves the output
        stream, and creates a new PrintWriter to write to it.
        @param res The HttpServletResponse to retrieve the output stream from.
        @return The PrintWriter that writes to the response's output stream.
        @exception java.io.IOException
                   If the output stream cannot be obtained from the
                   HttpServletResponse.
        public PrintWriter getServletPrintWriter(HttpServletResponse res)
            throws IOException {
            return new PrintWriter(new OutputStreamWriter(res.getOutputStream()));
        Returns the value of the specified property from the properties file
        that was loaded on initialization.
        @param propertyName The name of the property to retrieve.
        @return The value of the specified property.
        @exception javax.servlet.ServletException
                   If the TRAPEnvironment cannot be found.
        @exception java.lang.IllegalArgumentException
                   If the property is not found.
        public String getProperty(String propertyName)
            throws ServletException {
            return getTRAPEnvironment().getProperty(propertyName);
        Returns the value of the specified property from the properties file
        that was loaded on initialization.
        @param propertyName The name of the property to retrieve.
        @param required     <code>true</code> if the property must exist.
        @return The value of the specified property.
        @exception javax.servlet.ServletException
                   If the TRAPEnvironment cannot be found.
        @exception java.lang.IllegalArgumentException
                   If the property is not found, and it was required.
        public String getProperty(String propertyName, boolean required)
            throws ServletException {
            return getTRAPEnvironment().getProperty(propertyName, required);
        Returns the properties object loaded at initialization.
        @return The properties object.
        @exception javax.servlet.ServletException
                   If the TRAPEnvironment cannot be found.
        public Properties getProperties()
            throws ServletException {
              TRAPEnvironmentServlet t = new TRAPEnvironmentServlet();
            return t.getProperties();
        public void log(String reason) {
            try {
                super.log(reason);
            } catch(Exception error) {
                System.err.println("Unable to use servlet logging for:");
                System.err.println(reason);
        public void log(Exception why, String reason) {
            try {
                getServletContext().log(reason);
            } catch(Exception error) {
                System.err.println("Unable to use servlet logging for:");
                System.err.println(reason);
                why.printStackTrace();
    and this is TRAPEnvironmentServlet
    package trap.publishing;
    import java.io.*;
    import java.util.Hashtable;
    import java.util.Properties;
    import javax.servlet.*;
    import javax.servlet.http.*;
    @SuppressWarnings("serial")
    public class TRAPEnvironmentServlet
        extends TRAPServletBase
        implements TemplateManager {
        The system configuration information.
        private Properties properties  = null;
        The template manager that loads templates.
        private CachedFileTemplateManager templateMgr = null;
        private boolean initialized = false;
        private final static String TOKEN_NAME        = "MESSAGE";
        private final static String TOKEN_DEFAULT_REPLACEMENT =
            "Enter your user id and password to log into TRAP";
        Construct the servlet.
        public TRAPEnvironmentServlet() {
            super();
        Initialize the servlet.
        @param config The servlet config object, containing the init parameter
                      TRAP.properties=[path].
        @exception javax.servlet.ServletException
                   If there is an error initializing the servlet.
        public void init(ServletConfig config)
            throws ServletException {
           System.out.println("in the init of TRAPEnvironmentServlet");
             if(initialized) {
                System.err.println("attempt made to reinitialize servlet.");
                return;
            super.init(config);
            try {
                if(config == null) {
                    throw new ServletException(
                        "ServletConfig is not available for initialization."
             // String propertiesPath = config.getInitParameter("TRAP.properties");
                InputStream is = getClass().getClassLoader().getResourceAsStream("config/trap.ini");
              //  properties.load(is);
           /*     if(propertiesPath == null || propertiesPath.equals("")) {
                    throw new ServletException(
                        "No initialize parameters specified for TRAPEnvironmentServlet."
                properties = new Properties();
                try {
                     //properties.load(new FileInputStream(propertiesPath));
                      properties.load(is);
                     String templateRoot = properties.getProperty("TRAP.templateRoot");
                    String loadAllStr   = properties.getProperty("TRAP.loadAllTemplates");
                    boolean loadAll     = false;
                    if(loadAllStr != null) {
                        loadAll = new Boolean(loadAllStr).booleanValue();
                    templateMgr = new CachedFileTemplateManager(templateRoot, loadAll);
                    config.getServletContext().setAttribute("TRAPProperties", properties);
                } catch(java.io.IOException ioe) {
                    log(ioe, "Unable to load properties file.");
                } catch(TemplateNotFoundException tnfe) {
                    log(tnfe, "Unable to load one or more templates.");
            } catch(Exception error) {
                log(error, "An error occurred while initializing the servlet.");
        //    config.getServletContext().setAttribute("TRAPProperties", properties);
            initialized=true;
        public void doGet(HttpServletRequest req, HttpServletResponse res)
            throws ServletException, IOException {
            Hashtable<String, String> table = new Hashtable<String, String>();
            String why = req.getParameter("why");
            if(why == null) {
                table.put(TOKEN_NAME, TOKEN_DEFAULT_REPLACEMENT);
            } else {
                table.put(TOKEN_NAME, why);
            res.setContentType("text/html");
            Properties properties = this.getProperties();
            String loginTemplate = properties.getProperty("TRAP.template.login");   
            this.printTemplate(loginTemplate, getServletPrintWriter(res), table);
        public void doPost(HttpServletRequest req, HttpServletResponse res)
            throws ServletException, IOException {
            PrintWriter out = new PrintWriter(new OutputStreamWriter(res.getOutputStream()));
            out.println("<HTML>");
            out.println("  <BODY>");
            out.println("    <CENTER>");
            out.println("      <H1>");
            out.println("        This servlet should not be reference by a browser.");
            out.println("      </H1>");
            out.println("    </CENTER>");
            out.println("  </BODY>");
            out.println("</HTML>");
            out.flush();
        Returns the value of the specified property from the properties file
        that was loaded on initialization.
        @param propertyName The name of the property to retrieve.
        @return The value of the specified property.
        @exception java.lang.IllegalArgumentException
                   If the property name is not found.
        public String getProperty(String propertyName) {
            return getProperty(propertyName, true);
        Returns the value of the specified property from the properties file
        that was loaded on initialization.
        @param propertyName The name of the property to retrieve.
        @param required     <code>true</code> if the property must exist.
        @return The value of the specified property.
        @exception java.lang.IllegalArgumentException
                   If the property name is not found, but was required.
        public String getProperty(String propertyName, boolean required) {
            String property = properties.getProperty(propertyName);
            if(required && property == null) {
                throw new IllegalArgumentException(
                    propertyName + " was not found in the properties object."
            return property;
        Returns the properties object loaded at initialization.
        @return The properties object.
        public Properties getProperties() {
             System.out.println("getting properties now");
            return properties;
        Wraps access to the template manager, returning the template root.
        @return The template root.
        public String getTemplateRoot() {
            return templateMgr.getTemplateRoot();
        Wraps access to the template manager, sets the new template root.
        @param root The new template root.
        public void setTemplateRoot(String root) {
            templateMgr.setTemplateRoot(root);
        Wraps access to the template manager, returns the
        template associated with the specified name.
        @param name The name of the template to return.
        @return The HTMLElement representing the loaded template.
        @exception trap.publishing.TemplateNotFoundException
                   If the template cannot be successfully loaded.
        public HTMLElement getTemplateElement(String name)
            throws TemplateNotFoundException {
            return templateMgr.getTemplateElement(name);
    }this is my code
    thanks for help

  • Page Rending Problem In Apex ,Please help

    The Page build by Master Detail Form Wizard. And this page has 37 items (not include tabular forms or reports)
    Under the normal conditions ,each page HTML rendering format must like that:
    =================
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
    <body>
    <script type="text/javascript">
    </script>
    </body>
    </html>
    ====================
    Scenario 1
    We display all region( 10 regions display)
    After I run the page , the APEX Rendering the html, but we found the javascript error.
    In this scenario, the html rendering result is :
    =====================
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
    <body>
    <script type="text/javascript">
    ==============
    You can find that the </html>and </body> are missing. And the last part of script aslo missing.JavaScript error is raised by the HTML source can not be completely loaded.
    We save the html source code form Apex rending as the file . We can find that the file size is 48.7 KB
    Scenario 2
    We hide some region ( 7 regions display) , we make some region condition is "Never"
    After I run the page , the APEX Rendering the html
    If we open a form with data , the rending html will like this:
    =================
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
    <body>
    <script type="text/javascript">
    </script>
    </body>
    </htm
    ====================
    You can find the we only miss the last two characters. And we save the html source code form Apex rending as the file . This file size is 32.0 KB.
    If we open a form without data , the rending html is :
    =================
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
    <body>
    <script type="text/javascript">
    </script>
    </body>
    </html>
    ====================
    This is the well formed html , we save the html source code form Apex rending as the file ;
    This file size is 24.0KB only.
    We found that ,In our workspace the pages rending size more then 32K, than some thing will be missing at the last rows of the page.
    Are there any configuration wrong? Are there any limitation on the APEX page builder?
    Thanks
    Leo
    Edited by: [email protected] on 2009-5-5 上午12:31

    Re: </htm Error below Apex Page

  • How to replace special characters in string.

    Hello,
    I want to replace special characters such as , or ; with any other character or " ".I find out there is no such function is java for this.There is only replace() but it accepts only chars.If anybody know how to do this?.
    Thanks,

    Hello,
    I want to replace special characters such as , or ;
    with any other character or " ".I find out there is no
    such function is java for this.There is only replace()
    but it accepts only chars.If anybody know how to do
    this?.
    Thanks,Can't you just do the following?
    public class Test
         public static void main(String[] args)
         String testString = "Hi, there?";
         System.out.println(testString.replace(',',' '));
    }

  • I upgraded to Firefox 4.0 and my "Hide Unvisited" add-on longer works. is there a compatable replacement? This hides pages that have been bookmarked from appearing in the Awesome Bar since deleting or clearing cookies. Please help.

    I upgraded to Firefox 4.0 and my "Hide Unvisited" add-on no longer works. is there a compatible replacement? This hides pages that have been bookmarked from appearing in the Awesome Bar since deleting or clearing cookies. I was hoping maybe there was an option for this in Firefox itself but I don't see one. Please help.

    I upgraded to Firefox 4.0 and my "Hide Unvisited" add-on no longer works. is there a compatible replacement? This hides pages that have been bookmarked from appearing in the Awesome Bar since deleting or clearing cookies. I was hoping maybe there was an option for this in Firefox itself but I don't see one. Please help.

  • Adobe Javascript in PDF Form for replacing special character

    How to replace special character "/"  in to "\" in the text field of PDF Form by using Adobe Javascript.

    In PDF Form java script,  returns the file path with "/" forward slash, but need to get default in "\" backward slash in the file path.

  • How can I get a replacement license code

    I have been trying for 6 weeks to get a replacement license code for the one I lost when I purchased Lightroom (the delay caused by having to upgrade MAX to iOS10.7 which took a week). I have contacted the help desk on 5 separate occasions and have been promised a new license code within days on each occasion and yet I have received nothing. I am now extremely frustrated and disappointed with Adobe. Can anyone suggest what I can do? Thanks, Mark

    You need to contact support in your area. This is a forum where users help users. We cannot help with serial numbers or purchases.

  • Capturing Ok Code for Page Down Button

    Hi,
    In Infotype O568 I have to update a table for Leave records. For that I am using BDC recording. While doing BDC recording the page down button ok Code is not being recorded. Can any one tell me how to capture the Ok Code for page down button. I have Tried with ' P+ ' and ' P++ ' but it does not work.
    Thanks!!!

    Hi Abhay,
    For which transaction you are using your BDC , i am not getting.
    I must say that for all transaction , page down(P+) option don't work,
    for that transaction you need to follow the below steps.
    go to menu bar->edit-> enter lines.
    after recording you will get BDC_OKCODE = NP.
    Try with this.
    Regards,
    Tutun

  • What is ok-code for page down in bdc (reward)

    hiiii
    What is ok-code for page down in bdc...

    HI..
    here is the list..
    P-  : Back
    P-- : Scroll to previous page
    P+ : Scroll to next page
    P++ Scroll to last page
    PL- : Scroll to first line in page
    PL-n :  Scroll back n lines
    PL+ : Scroll to last line in page
    PL+n Scroll forward n lines
    PP- : Scroll back one page
    PP-n Scroll back n pages
    PP+ scroll forward one page
    PP+n : scroll forward n page
    PPn : Scroll to start of page n
    Ps- : Scroll to first column
    PS++ Scroll to last column
    Reward if useful
    Regards
    Prax

  • Inserting code into pages?

    I have snippets of code, like for stat trackers and skype icons, and I can't figure out how to insert the code into pages without having to first export it into html, view source, import the source into NVU and then save it again. This is a big hassle to go through whenever I change the page, and I am wondering if there is a way to put the code directly into the pages document itself. Appreciate any answers.

    Copy and paste definitely does not work... Here is the code:
    <!-- Start of StatCounter Code -->
    <script type="text/javascript" language="javascript">
    var sc_project=1382179;
    var sc_invisible=0;
    var sc_partition=12;
    var sc_security="3cd1b24a";
    </script>
    <script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript> </noscript>
    <!-- End of StatCounter Code -->
    Is there any way to make this into an image without losing any of its properties (I have found ways to make this into an image, but it loses all the code behind it and becomes a "dumb" image).

  • How to clean the html code multiple pages simultaneously with Dreamweaver or other soft ?

    hello,
    How to clean the html code multiple pages simultaneously with Dreamweaver or other soft ? I have hundreds of pages to clean
    Thanks !

    I would start afresh. I would also use Dreamweaver's template system to make thing a lot easier. Have a look at the following, copy and paste into a new document and view in your favourite browser.
    <!doctype html>
    <html>
    <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css" />
    <script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
    <script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
    <style>
    .hline {
        background: url(http://yannick.michelat.free.fr/barre.gif);
        height: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
    </style>
    </head>
    <body>
    <div class="container">
        <div class="row">
            <div class="col-xs-7">
                <img alt="" class="img-responsive pull-right" style="margin-top:20px;" src="http://yannick.michelat.free.fr/Calanques.gif" />
            </div>
            <div class="col-xs-5">
                <img alt="" class="img-responsive center-block" style="margin-top: 40px;" src="http://yannick.michelat.free.fr/grandportfolio.gif" />
            </div>
        </div>
        <div class="row hline"></div>
        <div class="row">
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-01.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-02.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-03.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-04.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-05.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-06.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-07.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-08.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-09.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-10.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-11.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-12.jpg" alt="" class="img-responsive"></a></div>
        </div>
        <div class="row hline"></div>
    </div>
    </body>
    </html>

  • Special characters in Pages toolbar

    Every time I want to type a special character in Pages, I have to open the box from the drop down menu. Instead, I would like to simply put it in the toolbar. However, I have not been able so far to figure out how to do this.

    I'm not sure what drop-down menu you're referring to, but you can keep the special characters palette open.

  • How to disable VO initialization on page render for MessgeChoice *URGENT*

    Gurus,
    I've got a poplist that is getting initialized when page is being rendered. This is causing quite a bit of lag when the page initially renders. The VO is also being called through an EVENT, at which time, an extra condition is applied. This is the valid way this VO should be called.
    How do you avoid the blind query when the page initially renders?
    Please help deadline has passed.
    Thanks,
    Scott
    P.S. I must assign setWhereClause bind variable in VOImpl because value is being derived by user.
    Edited by: sreese on Oct 8, 2009 3:32 PM

    Scott,
    If you don't want to initialize the value of MesssageChoice at page render then when you want to intialize it.
    explain & what is the issue if you initialize in PR.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                   

  • Re Free upgrade to Lion do i need a special code or a number to get the new Lion free

    Re Free upgrade to Lion do i need a special code or a number to get the new Lion free?

    I have the same problem, when I finally found were to get my update they say :
    "Sorry, we can't find the serial number you provided. Please recheck your serial number and enter it again"
    then I rechecked  the number and it says
    "We're sorry, we can't qualify this system. Please fill out the program web form, attach an electronic copy of your proof of purchase and send it."
    I fill out the form but when I have to put the serial number appears "Error : Ineligible serial number"
    what can i do?? I purchased a MBP in june 28th so I'm a qualified costumer...

  • Finder menu commands replaced by code?

    It's like some commands in Finder menus have been replaced by code. Seriously weird. For example, in the Edit menu Cut now reads ME1, Undo reads ME13, and such. Not all the commands have changed. This has only happened with Finder (so far as I can tell). It also shows up in the Sidebar (SD5 instead of the computer's name) and in the title of Get Info windows (IN1). Finder seems to operate fine, and I know the OS well enough that the missing commands have not been a serious trouble (yet). But even if Finder is stable like this, I'd still like my menus back.
    Has anyone ever seen or heard of something like this? Any advice on
    I've been running OSX 10.6.8 on this Intel iMac. I just tried reinstalling 10.6.3 from the Install DVD, thinking that might fix the issue. No such luck. So now I'm waiting for the combined updates to download.

    Update 2:
    Rebooted. Finder menus are back to normal. Trash is emptied.
    I also ran Disk Utility, to verify and repair permissions if necessary. It found and flipped some things, but the one that caught my attention was this:
    Warning: SUID file "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent" has been modified and will not be repaired.
    Permissions differ on "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/Rem ote Desktop Message.app/Contents/Resources/English.lproj/UIAgent.nib", should be drwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Su pport/LockScreen.app/Contents/Resources/English.lproj/MainMenu.nib", should be drwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Su pport/LockScreenLeopard386.app/Contents/Resources/English.lproj/MainMenu.nib", should be drwxr-xr-x , they are -rwxr-xr-x .
    I don't know if this is at all connected to the Flashback Trojan, though. 
    I think I have a big backup and clean install in my future, to be thorough. Thanks for the guidance and tips!

Maybe you are looking for

  • AUR policy on packages with no version in the source file name

    I know that the AUR policy says that no code must be included with the PKGBUILD if you are not a trusted user. But, how do you deal with packages that do not have their version number in the file name: http://www.somesite.com/someproject.tar.gz inste

  • What would you do?  What should I do?

    My iBook was getting slower and slower. Programs would quit working because they could not find their data files. 1. I started from the install CD and ran Disk Utility and asked it to Repair the volume. It did fix hundreds of errors. But at the end i

  • Open a sized html page from CD

    Hi Everyone, Is it possible to open a sized html browser window from a Flash projector on a CD-ROM? Thanks in advance

  • Database design for swapping/trading items between companies

    What is the best SQL table schema for items being swapped/traded between companies? For instance: e.g.1 If company A wants to swap item 0001 (owned by customer X but being managed by company A) with company B who is offering item 0002 (owned by custo

  • How to use ThreadPoolExecutor / ArrayBlockingQueue with event objects

    I am having some trouble figuring out how to use the new java.util.concurrent library for a simple thread pool that has custom threads pulling off event objects from a queue. I started with this kind of code below, which I know is not right but am ha