JEditorPane & HTML button tag

Hi,
I have a program the renders some HTML pages inside JEditorPanes. Everything seems to be rendered correctly, with the exception of the <button> tags. Buttons are not displayed, but in there place is an odd text field with the word "button" in it, surrounded by something of an arrow.
Has anyone seen this? A work around? I tried using the <input> of type button, but that just didn't display. Thank you.

You are correct. In terms of buttons, HTML 3.2 only supported type=submit, not type=button. I changed my code to this older(tho also still implemented in 4.0) format. Seems to work now, thanks a lot!
Unfortunately though, the type=submit does not have the attribute "disabled" which is what I needed to do.
Edited by: cpollock on Jan 6, 2009 9:05 AM

Similar Messages

  • JSF h:commandButton which renders as an html button rather then input

    I've been struggling to find a way to create a jsf command button that will render as a <button>. The reason I want to do this is so that I can include content inside my button, as the html <button> tag allows. Is there a way to do this, or is this in plan? I am currently using jsf 1.2.

    J-M_T-D wrote:
    To further clarify, I want a <button> tag, and NOT an <input> tag.I did this by creating a "custom component" which really was the existing HtmlCommandButton as the component and a new renderer which outputs the button tag. (I am using Facelets so no need for a JSP tag.)

  • JEditorPane HTML preview

    Hi,
    I've been working on a small class which will render out HTML. There's a few examples on the web, all of which read an HTML file from a URL. JEditorPane works fine for that use, but when I try to specify HTML content as a string the page doesn't get displayed correctly. It's a bit hard to describe but basically if you specify a document as type text/html it tries to generate it's own <html>, <body> tags etc and leaves yours out. If you do happen to specify your own then it just ignores your page content.
    I need to do it that way as the HTML doesn't exist at a URL, only in memory. Does anyone know of a workaround or has anyone else experienced this problem? I'm developing the application using JDK 1.4.0 under Win2k.
    Thanks

    Yeah that's pretty much exactly what I'm doing, although it's pulling the HTML content from the database first.
    Your code outputs this:
    <html>
    <head>
    </head>
    <body>
    <b>Bolloxs</b>
    </body>
    </html>
    As you can see, it's being altered by the application and has had the <head> tags added. In my application it's doing even more, stripping everything inside of the <body> tags.
    I've found the reason though...it doesn't seem to like a meta tag.
    This content:
    String html = new String("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"><html><head><title>This is my title</title><meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\"></head><body leftmargin=\"0\" topmargin=\"0\"><table width=\"600\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td>Page content goes here</td></tr></table></body></html>");
    Outputs:
    <html>
    <head>
    </head>
    <body>
    <p>
    </p>
    </body>
    </html>
    Whilst this content (with the meta line removed):
    String html = new String("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"><html><head><title>This is my title</title></head><body leftmargin=\"0\" topmargin=\"0\"><table width=\"600\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td>Page content goes here</td></tr></table></body></html>");
    Outputs:
    <html>
    <head>
    <title>This is my title </title>
    </head>
    <body leftmargin="0" topmargin="0">
    <table border="0" cellpadding="0" width="600" cellspacing="0">
    <tr>
    <td>
    Page content goes here
    </td>
    </tr>
    </table>
    </body>
    </html>
    Weirdness!?

  • Use a html:button as a Link ???

    Hi,
    i work on a little projekt with JSP(structs) and my JSP knowledge is not good :/
    My Problem is that i have a page with Links <html:link> but i want to use buttons as Link.
    <html:button property="test" ....> Testbutton </html:button>
    i create an action (Test.do) that open a new site but where do i write this action in die Tag ???
    onclick will not work :(
    bye Taki

    hi
    u want to provide a link by using button, then use like this
    location.href ="..path.."
    -Hari.

  • How to add a value(text) from javascript to html:option tag .....

    How to populate the <html:option> tag dynamically
    I have a tree view, in tree view tag ( <layout:maeuItem> tag i have written "onclick " event )
    <layout:menuItem key="${agrovoc.AGURI}" link="#"
                                       onClick="return copyVal(this)">
    <script language="javascript" type="text/javascript">
                   function copyVal(obj){
                   str= obj.innerHTML; 
                   l = str.length-4;
                   xyz= str.substring(12,l);
                   document.getElementById('agrovoc').value =document.getElementById('agrovoc').value + xyz+'\n';
                   </script>Here "xyz" contains the Term ( the term clicked in the tree view) now i want add these terms ( clicked in tree view) into <html: option> tag.... how to do this.. plz give me some ideas
    <html:select  property="agrovocbuffer" size="10" >
                        <html:option value="" styleId="agrovoc1"></html:option>
                        </html:select>

    Hi,
    i have tried with this, it's works fine... but when i click on the next page ( i mean 2 or 3 page etc ) the content of <html:option> are erasing (deleting).. i wanted those terms wht i have selected in the 1st page to remain in <html:option> when i click on 2 nd page also...
    Tree view code
    <layout:menuItem key="${agrovoc.AGURI}" link="#"
                                       onClick=" copyVal(this)">JavaScript
    <script language="javascript" type="text/javascript">
                    var i=0;     
                    var myArray=new Array();
                   function copyVal(obj){
                        var flag=0;     
                   str= obj.innerHTML; 
                   l = str.length-4;
                   xyz= str.substring(12,l);
                   while (xyz != null) {
                   for( var l=0;l<myArray.length;l++){
                   if( myArray[l]==xyz){flag=1;alret("The Term is already selected.");}
                   if(flag!=1){
                   document.getElementById('agrovoc').options[i] =new Option(xyz,xyz);
                   myArray=xyz;
                   i++;
                   //alert(i);
                   xyz=null;
                   function del(){
                                  var oc=document.getElementById('agrovoc').options;
                                  //alert(oc.length);
                                  firstBox = document.getElementById('agrovoc');
                                  selectedOption = firstBox.options[firstBox.selectedIndex].value;
                                  selected = firstBox.options[firstBox.selectedIndex].index;
                                  //alert(selected);
                                  for( var l=0;l<myArray.length;l++){
                   if( myArray[l]==selectedOption){myArray[l]="";}
                                  firstBox.options[firstBox.selectedIndex] = null;
                                  var oc=document.getElementById('agrovoc').options;
                                  //alert(oc.length);
                                  for(var x=selected;x<oc.length;x++,selected++)
                                  document.getElementById('agrovoc').options[x] =new Option(firstBox.options[selected].value);
                                  i=oc.length;
                   </script>
    <html:select> code<div align="left" id="hopt">     
                   <td valign="top">
                   <logic:present name="hcount">
                        <html:select property="agrovocbuffer" size="15" styleId="agrovoc" multiple="true" style="width:200px;" >
                        <html:option value="" ></html:option>
                        </html:select><html:button property="button" onclick="del()"> DEL</html:button>
                   </logic:present>
                   </td>
                   </div>
    And all the above code is in <html:form> tag & i have written a custom pagination page
    Now i want  all terms which are in <html:option> remain  in options when i goto 2 nd page..
    how to do this? In the DOM inspector i'm getting the options, but when see the source HTML there are no <html:options>.. when click on the 2 page link the terms which are in <html:option> are not going to the "Action" class ..  :(
    how to do this .. any idea plz..?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Problem with html:select or html:options tags using struts,jsp and tomcat

    Hi
    I'm updating a Struts-Project to a new layout and therefore rework all jsp Sites.
    I'm also using a new Folder-Structure and update therefore my struts-config file.
    My Problem now is:
    Till now, we had a select-field with a code like this:
    < html:form action="/timetableAction" method="POST">
    < table width="53%" border="0">
    < tr>
    < td>< html:radio property="dauer" value="semester"
    /></ td>
    < html:select property="semester" size="1">
    < htmlptions name="semesterList" />
    </ html:select>
    </ html:form>
    The problem now is, that whenever I use any <html:xy> tag, the tomcat server I use can not show the page, he shows just the headers of the template, but not the
    content.-jsp-File where the form would be in. He stops right in the middle of the html page, when he notices the <html:xy> tags.
    And the funny thing is, that he has no problem to show a page when there is a <html:errors> within it? Why could this be? the struts-html.tld File is well included and teh Tomcat Server shows no exceptions.
    Waiting for you answers and thanks

    Thank you, I already got the answer in another forum

  • How to compare result from sql query with data writen in html input tag?

    how to compare result
    from sql query with data
    writen in html input tag?
    I need to compare
    user and password in html form
    with all user and password in database
    how to do this?
    or put the resulr from sql query
    in array
    please help me?

    Hi dejani
    first get the user name and password enter by the user
    using
    String sUsername=request.getParameter("name of the textfield");
    String sPassword=request.getParameter("name of the textfield");
    after executeQuery() statement
    int exist=0;
    while(rs.next())
    String sUserId= rs.getString("username");
    String sPass_wd= rs.getString("password");
    if(sUserId.equals(sUsername) && sPass_wd.equals(sPassword))
    exist=1;
    if(exist==1)
    out.println("user exist");
    else
    out.println("not exist");

  • Insert an HTML Table tag as a value in a Tree Table

    Hi helper,
    Can I insert an HTML Table tag inside a TreeTable (Hierarchical data) using AdvancedDataGrid as a value?
    I need to create a Tree table in flex and I have beside normal int values some cells that need to show a certain images in an HTML Table I will create.
    Is it possible?
    Please advice
    Thanks
    Jo

    <div class=Section1><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>It depends on where you get the list of images<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Alex Harui<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Flex SDK Developer<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><a href="http://www.adobe.com/"><span style='color:blue'>Adobe<br />Systems Inc.</span></a><o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Blog: <a href="http://blogs.adobe.com/aharui"><span<br />style='color:blue'>http://blogs.adobe.com/aharui</span></a><o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><br /><br /><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span<br />style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Yossi Bar<br />[mailto:[email protected]] <br><br /><b>Sent:</b> Monday, February 09, 2009 1:14 AM<br><br /><b>To:</b> [email protected]<br><br /><b>Subject:</b> Re: Insert an HTML Table tag as a value in a Tree Table<o:p></o:p></span></p><br /><br /></div><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>A new message was posted by<br />Yossi Bar in <br><br /><br><br /><b>Developers</b> --<br><br />  Insert an HTML Table tag as a value in a Tree Table<br><br /><br><br />Thanks Alex, <br><br />What is the way to implement HorizontalLIst of images for<br />AdvancedDataGridColumn? <br><br /><br><br />In the code here I create a tree table and in Actual column I show an image: <br><br /><br><br />&lt;mx:AdvancedDataGrid width=&quot;100%&quot; height=&quot;100%&quot;<br />folderClosedIcon=&quot;{null}&quot; folderOpenIcon=&quot;{null}&quot;<br />defaultLeafIcon=&quot;{null}&quot;&gt; <br><br /><br><br />&lt;mx:dataProvider&gt; <br><br />            &lt;mx:HierarchicalData<br />source=&quot;{dpHierarchy}&quot;/&gt; <br><br />        &lt;/mx:dataProvider&gt; <br><br />        &lt;mx:groupedColumns&gt; <br><br />         &lt;mx:AdvancedDataGridColumn<br />headerText=&quot;&quot; width=&quot;50&quot;/&gt; <br><br />            &lt;mx:AdvancedDataGridColumn<br />dataField=&quot;Region&quot; backgroundColor=&quot;haloSilver&quot;<br />headerText=&quot;Region title&quot;<br />headerRenderer=&quot;mx.controls.Label&quot;/&gt; <br><br />            &lt;mx:AdvancedDataGridColumnGroup<br />headerText=&quot;Group Header&quot;<br />headerRenderer=&quot;mx.controls.Label&quot;&gt; <br><br />&lt;mx:AdvancedDataGridColumn dataField=&quot;Territory_Rep&quot;<br />headerText=&quot;Territory Rep&quot;<br />headerRenderer=&quot;mx.controls.Label&quot;/&gt; <br><br />&lt;mx:AdvancedDataGridColumn dataField=&quot;Actual&quot;<br />headerText=&quot;Actual title&quot;<br />headerRenderer=&quot;mx.controls.Label&quot;&gt; <br><br />&lt;mx:itemRenderer&gt; <br><br />&lt;mx:Component&gt; <br><br />&lt;mx:VBox horizontalAlign=&quot;center&quot;&gt; <br><br />&lt;mx:Image width=&quot;50&quot; source=&quot;{data.Actual}&quot;/&gt; <br><br />&lt;/mx:VBox&gt; <br><br />&lt;/mx:Component&gt; <br><br />&lt;/mx:itemRenderer&gt; <br><br />&lt;/mx:AdvancedDataGridColumn&gt; <br><br /><br><br />&lt;mx:AdvancedDataGridColumn dataField=&quot;Estimate&quot;<br />headerText=&quot;Estimate title&quot; headerRenderer=&quot;mx.controls.Label&quot;/&gt;<br /><br><br />            &lt;/mx:AdvancedDataGridColumnGroup&gt;<br /><br><br />        &lt;/mx:groupedColumns&gt; <br><br />    &lt;/mx:AdvancedDataGrid&gt; <br><br /><br><br />Please advise, <br><br /><br><br />Thanks <br><br /><br><br />Jo <o:p></o:p></p><br /><br /><div class=MsoNormal><br /><br /><hr size=2 width=200 style='width:150.0pt' align=left><br /><br /></div><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>View/reply at <a<br />href="http://www.adobeforums.com/webx?13@@.59b7d1ae/2">Insert an HTML Table tag<br />as a value in a Tree Table</a><br><br />Replies by email are OK.<br><br />Use the <a<br />href="http://www.adobeforums.com/webx?280@@.59b7d1ae!folder=.3c060fa3">unsubscribe</a>< br />form to cancel your email subscription.<o:p></o:p></p><br /><br /></div>

  • HTML Button use an image instead of Text

    I have an HTML button in its own region called A_BUTTON, its current Button display attributes are
    sytle: HTML Button
    Attributes: name="A" class="where_clause_button"
    what it does is i use a dynamic action based off the where_clause_button jquery selector and use javascript to update a hidden field. I would now like to use the Oracle Logo for example as the image of the button instead of using a text label for it. I tried adding to the Attributes src="http://www.oracleimg.com/admin/images/ocom/hp/oralogo_small.gif". When i run it the button still works the same as before but without the image and retains its Text Label, in this case its A.
    the html it generates is for the button during runtime is:
    <input type="button" src="http://www.oracleimg.com/admin/images/ocom/hp/oralogo_small.gif" class="where_clause_button" name="A" onclick="apex.submit('');" id="A_BUTTON" value="A">
    How do i retain the functionality of this button but make it an image button?
    Edited by: Brobot on Feb 9, 2011 5:22 PM

    <li>Use a template based button and customize the template with the image.
    <li>Add appropriate JS code to the URL section(prefixing with "javascript:" ) and optionally add a some ID attribute for easy JS access.

  • Use of titleKey attribute in html:select tag

    Hi,
    There is one "titleKey" attribute to create mouse over pop-up texts taking key values from property files in case of i18n. It works for every struts specific tag like <html:text titleKey="help.rmc.name"/> or <html:checkbox titleKey="help.rmc.name"/> except for <html:select> tag which is used for creating combo box or list box. But this tag contains the titleKey attribute.
    Please give me some suggestions how to implement this mouse over pop-up texts in case of <html:select> tag

    Hi,
    There is one "titleKey" attribute to create mouse over pop-up texts taking key values from property files in case of i18n. It works for every struts specific tag like <html:text titleKey="help.rmc.name"/> or <html:checkbox titleKey="help.rmc.name"/> except for <html:select> tag which is used for creating combo box or list box. But this tag contains the titleKey attribute.
    Please give me some suggestions how to implement this mouse over pop-up texts in case of <html:select> tag

  • How to Suppress HTML Button on WCC Check-in Page

    Hi,
    On the WCC checkin page there is an HTML button. When I attempt to add an asset to DAM, and click the HTML button before initial check-in I get this error
    Unable to execute service DC_CACHE_CHECKIN_NEW and function checkDocRules.
    The error was caused by an internally generated issue. The error has been logged.
    Is there a way to suppress the HTML button? I really have no use for it. Or is this a settings error on me WCC server?
    Thank you,
    Randy

    It's not the function isn't developed. It's just that every object on the front panel has a corresponding object on the block diagram. Attached is an example of how to do it with two buttons.
    By the way, if you've run out of room on your panel, it probably means your interface is too crowded. If that is so, I suggest you add more pages to the tab to make your interface more clear.
    Try to take over the world!
    Attachments:
    stop.vi ‏19 KB

  • How to specify HTML meta tags?

    I'm trying to get a portal to always have the following an HTML meta tag in the head of the generated HTML:
    <meta name="ROBOTS" content="NOFOLLOW" />
    I haven't seen any documentation about doing this in particular, but looking at some of the XML schema (*.xsd) files in various weblogic-specific jars, it seems like maybe the following would work in the <netuix:head> tag of the .portal configuration file for the portal:
    <netuix:head>
    <netuix:meta name="ROBOTS" content="NOFOLLOW" />
    </netuix:head>
    However, this does not seem to work.
    Also, I've checked the skin.properties file to see if there are any comments about how to specify meta tags, but there aren't any.

    Turns out there are a number of ways to do this. A BEA consultant recommended modifying the "head.jsp" for the portal's skin.
    Alternatively, it dawned on me that all I had to do was put the meta tags in a jsp and use that jsp in the head area of the .portal file. For example:
    <netuix:head>
    <netuix:jspContent contentUri="/resources/jsp/customHead.jsp"/>
    </netuix:head>

  • Using the new HTML 5 tags

    I can't  get the new HTML5 tags section, header and footer to work on my page.  When I change the divs to section it totally screws up the page rendering.I added the appropriate CSS to my style sheet.  What do I do?
    Here is the oiginal code:
    <!DOCTYPE HTML>
    <html><!-- InstanceBegin template="/Templates/Ricks Universe.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <!-- InstanceBeginEditable name="doctitle" --> 
    <titleRick's Universe</title>
    <!-- InstanceEndEditable -->
    <meta charset="utf-8">
    <link rel="stylesheet" href="ricks.css" type="text/css" media="screen" title="Ricks Style Sheet"/>
    <link rel="stylesheet" href="hh.css" type="text/css" media="handheld"/>
    <link rel="stylesheet" media="print" type="text/css" href="print.css" />
    <!-- InstanceBeginEditable name="head" -->
    <style type="text/css">
    td {border: 2px;
        bordercolor: #008800;
    </style>
    <!-- InstanceEndEditable -->
    <!-- InstanceParam name="home" type="boolean" value="true" -->                
    </head>
    <body>
    <div id="wrapper">
         <div id="header" title="header">
      <p class="a8">
      <a href="HOME.HTM">Old Home Page</a>  
      <a href="newmenu.htm">Rick's Dog Page</a></p>
      <iframe src="http://free.timeanddate.com/clock/i425m2zy/n179/tct/pct/ahl/avt/tt0/ta1" frameborder="0" width="378" height="19"             allowTransparency="true"></iframe>
      <!-- InstanceBeginEditable name="title" -->
      <p class="title">Rick's Universe</p>
      <!-- InstanceEndEditable -->
         </div> <!-- End header  -->
      <div id="leftcolumn" title="left column">
    <ul>
    <li><a href="MEETDOGS.HTM">Meet the dogs</a></li>
    <li><a href="ART.HTM">Art</a></li>
    <li><a href="PARKING.HTM">Automotive</a></li>
    <li><a href="BABY.HTM">Babies</a></li>
    <li><a href="BOUTIQUE.HTM">The Boutique</a></li>
    <li><a href="CATLG.HTM">Catalogs</a></li>
    <li><a href="CHARITY.HTM">Charities</a></li>
    <li><a href="COMPUTE.HTM">Computing</a></li>
    <li><a href="DAYCARE.HTM">Day Care</a></li>
    <li><a href="DEPT.HTM">Department Stores</a></li>
    <li><a href="DOGCOMP.HTM">Dogs In Competition</a></li>
    <li><a href="DRUGS.HTM">Drug Stores</a></li>
    <li><a href="EDUCATE.HTM">Education</a></li>
    <li><a href="ELECT.HTM">Electronics</a></li>
    <li><a href="EMPLOY.HTM">Employment</a></li>
    <li><a href="ENTERT.HTM">Entertainment</a></li>
    <li><a href="MONEY.HTM">Financial</a></li>
    <li><a href="FITNESS.HTM">Fitness</a></li>
    <li><a href="FLOWERS.HTM">Flowers</a></li>
    <li><a href="FOOD.HTM">Food</a></li>
    <li><a href="FUNGAME.HTM">Fun and Games</a></li>
    <li><a href="GARDEN.HTM">Gardening</a></li>
    <li><a href="GOVMENT.HTM">Government</a></li>
    <li><a href="CARDS.HTM">Greeting Cards</a></li>
    <li><a href="GROCERY.HTM">Groceries</a></li>
    <li><a href="HEALTH.HTM">Health</a></li>
    <li><a href="HOBBY.HTM">Hobbies</a></li>
    <li><a href="HARDWARE.HTM">Home Improvement</a></li>
    <li><a href="INFO.HTM">Information</a></li>
    <li><a href="INTERNET.HTM">Internet and More</a></li>
    <li><a href="JEWELRY.HTM">Jewelry</a></li>
    <li><a href="BOOKS.HTM">Literature</a></li>
    <li><a href="MAPDIR.HTM">Maps and Directions</a></li>
    <li><a href="RECORDS.HTM">Music and Video</a></li>
    <li><a href="MOVIES.HTM">Movies</a></li>
    <li><a href="NEWS.HTM">News Stand</a></li>
    <li><a href="OFFICE.HTM">Office Supplies</a></li>
    <li><a href="PEOPLENET.HTM">People</a></li>
    <li><a href="PETS.HTM">Pets</a></li>
    <li><a href="PHONE.HTM">Phones</a></li>
    <li><a href="PHOTO.HTM">Photography</a></li>
    <li><a href="POST.HTM">Post Office</a></li>
    <li><a href="PRICES.HTM">Price Comparison</a></li>
    <li><a href="REALEST.HTM">Real Estate</a></li>
    <li><a href="SECURITY.HTM">Security</a></li>
    <li><a href="SEARCHNET.HTM">Searches</a></li>
    <li><a href="SENIOR.HTM">Senior Page</a></li>
    <li><a href="SHOES.HTM">Shoe Store</a></li>
    <li><a href="SHOPPING.HTM">Shopping Clubs</a></li>
    <li><a href="SPORTING.HTM">Sports</a></li>
    <li><a href="TOYS.HTM">Toys and Games</a></li>
    <li><a href="TV.HTM">Television</a></li>
    <li><a href="TRAVEL.HTM">Travel</a></li>
    </ul>
      </div> <!-- End Left Column-->                 
      <div class="content">
      <!-- InstanceBeginEditable name="content" -->
      <!-- Position Weather -->
      <div id="weather" class="noborder">
      <script type="text/javascript" src="http://voap.weather.com/weather/oap/11590?template=TRVLV&par=3000000007&unit=0&key=twciwea therwidget"></script>
      </div>
      <div id="center"><!-- Email me code -->
      My E-Mail address is <a class="black" href=
      "MAILTO:[email protected]" onmouseover=
      "window.status='Click Here To Send me E-Mail';return true"
      onmouseout=
      "window.status=' '; return true">[email protected]</a>
      </div>
      <div id="center"><!--CNN Ticker-->
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase=
    "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0"
    id="breakinnews4" width="500" height="81">
        <param name="movie"
    value="http://cnn.com/QUICKNEWS/ticker/ticker.swf" />
        <param name="loop" value="false" />
        <param name="menu" value="false" />
        <param name="quality" value="high" />
        <param name="bgcolor" value="#000000" />
        <embed src="http://cnn.com/QUICKNEWS/ticker/ticker.swf" loop=
    "false" menu="false" quality="high" bgcolor="#000000" width="500"
    height="81" type="application/x-shockwave-flash" pluginspage=
    "http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"/></embed></embed>
      </object>
      </div>
      <br/>
      <!-- Mapquest  -->
      <div id="mapq"> <a href='http://www.mapquest.com' target='_blank'><img border='0' alt='medium-logo.png' src='http://www.mapquestapi.com/cdn/common/images/medium-logo.png'/></a>
      </div>
      <div id="google">
    <table cellpadding=0 cellspacing=0 border=0 >
    <tr>
      <td><img src="Pictures/doodle_plus_google_logo_on_grey.gif" alt="doodle_plus_google_logo_on_grey.gif" /> <br />
      <form method="get" action="http://www.google.com/search">
      <input type="text"   name="q" size="31"
      maxlength="255" value="" />
      <input type="submit" value="Search" />   
      </form> </td>
      <td  style="font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt;">
      <center><table width="90%" cellpadding=0 cellspacing=0 border=0  style="font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt;">
      <tr>
      <br/><br/><span style="font-size: 18pt;">Search this site</span> <br/>
      <td style="font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt;" align=left ><a href="http://search.freefind.com/siteindex.html?si=9724475">index</a></td>
      <td style="font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt;" align=center><a href="http://search.freefind.com/find.html?si=9724475&m=0&p=0">sitemap</a></td>
      <td style="font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt;" align=right><a href="http://search.freefind.com/find.html?si=9724475&pid=a">advanced</a></td>
      </tr>
      </table></center>
      <form style="margin:0px; margin-top:4px;" action="http://search.freefind.com/find.html" method="get" accept-charset="utf-8" target="_self">
      <input type="hidden" name="si" value="9724475">
      <input type="hidden" name="pid" value="r">
      <input type="hidden" name="n" value="0">
      <input type="hidden" name="_charset_" value="">
      <input type="hidden" name="bcd" value="&#247;">
      <input type="text" name="query" size="15">
      <input type="submit" value="search">
      </form>
      <br/>
      <a style="text-decoration:none; color:gray;" href="http://www.freefind.com" >search engine</a><a style="text-decoration:none; color:gray;" href="http://www.freefind.com" > by
      <span style="color: #606060;">freefind</span></a>
      </td>
    </tr>
    </table>
    <!-- end of freefind search box html -->
          </div>
      <br/>    
      <div id="ring">
      <table border="1" cellpadding="2" cellspacing="2" align="center" >
        <tr >
          <td align="center" bgcolor="transparent"><a href="SARIPAGE.HTM" target="_blank"><img src="Pictures/sari/sarinewchamp.jpg" alt="Sari's Page" /></a></td>
       <td align="center" bgcolor="transparent"><a href="HARLEYPAGE.HTM" target="_blank"><img src="Pictures/harley/HarleyChampion.jpg" alt="Harley's Page" /></a></td>
        </tr>
      </table>
      </div>
            <!-- InstanceEndEditable -->
            </div><!-- end of content html -->
      </div><!-- end wrapper -->
      <div id="footer">
      This website is the property of Fredric M. Zipser<br />
            Last Updated on
      <!-- InstanceBeginEditable name="EditRegion6" -->
      01/15/2015
      <!-- InstanceEndEditable -->
      </div><!-- end footer-->
    <div id="sitelock_shield_logo" class="fixed_btm" style="bottom:0;position:fixed;_position:absolute;right:0;"><a href="https://www.sitelock.com/verify.php?site=www.rickzipser.com" onclick="window.open('https://www.sitelock.com/verify.php?site=www.rickzipser.com','SiteLock','width=600,height= 600,left=160,top=170');return false;" ><img alt="PCI Compliance and Malware Removal" title="SiteLock"  src="http://shield.sitelock.com/shield/www.rickzipser.com"/></a></div>
    </body>
    <!-- InstanceEnd --></html>
    Here is the CSS:
    body {
      font-family: Garamond,Arial,sans-serif;
      margin: 0;
      color: #000000;
      font-size: medium;
      font-family:"Verdana";
      font-style: normal;
      font-weight: normal;
      line-height: normal;
      letter-spacing: normal;
      margin:auto;
      background-color: #93A5C4;
    #wrapper {
      background-color: #0000aa;
      color: #000000;
      width: 93%;
      margin:auto;
      min-width: 800px;
      height: 950px;;
      border: 10px solid #008800;
    #leftcolumn {
      float: left;
      margin:0;
      border-right: 10px solid #008800;
      width: 21%;
      height: 89.6%;
      overflow: auto;
    #leftcolumn li {
      list-style-type:none;
        padding-bottom: 0px;
      margin-bottom: 0px;
    #leftcolumn a {
        padding-bottom: 0px;
      margin-bottom: 0px;
    #header {
      color: #007700;
      background-color: #dddddd;
      border-bottom: 2px solid #000000;
      height: 10%;
      clear: both;
      padding-left: 40px;
    .content { padding-top:60px;
      margin:;0;
        float:right;
        height:83.4%;
      background: #87CEFA;
      width:78%;  
      overflow: auto;
    #weather {
      margin:20px;
      float: right;
    #footer {
      font-size: xx-small;
      background-color: #e8ffff;
      border: solid;
      text-align: center;
      padding-top: 20px;
      padding-bottom: 20px;
      padding-left: 40px;
      height: 5%;
    #leftcolumn a {
      text-decoration: none;
      margin: 15px;
      display: block;
    #leftcolumn li {
      padding-top:0;
        padding-bottom:0;
    #center {
        padding-left: 50px;
      padding-bottom: 30px;
      text-align: center;
    div#leftcolumn>ul>li a:link {
      color: #ffffff;
      font-weight: bold;
        text-decoration: none;
      padding-bottom: 0px;
      margin-bottom: 5px;
    div#leftcolumn>ul>li a:visited {
      color: #ffffff;
        text-decoration: none;
    div#leftcolumn>ul>li a:hover { text-decoration: none;
      background-color: #006600;
      color: #ffffff;
    a:link {
      color: #000066;
      font-weight: bold;
        text-decoration: none;
      padding-bottom: 0px;
      margin-bottom: 5px;
    a:visited {
      color: #000066;
        text-decoration: none;
    a:hover {
      text-decoration: none;
      background-color: #000066;
      color: #ffffff;
    .title {
      position: relative; top: -25pt;
      text-align: center;
      color: #0000aa;
      font-size:48px;
      font-weight:bold;
      font-family:"Times New Roman",Georgia,Serif;
        padding-bottom::10px;
    p.a8 {
      float:right;
      padding-right: 10px;
    #google {
      padding-bottom: 20px;
      position: relative; left: 75px;
      display: inline;               
    #mapq {
      padding-top: 50px;
      padding-bottom: 30px;
      float:right;
    #ring {
      text-align: center;
    .AllDogs {
      text-align: center;
    .pic {
      border: thick double #008800;
      padding: 20px;
    .mdogs {
      text-align: center;
    #menutest {
      display: block;
      background-color: #000066;
    .border {
      border: 5px solid #008800;
    ul a {
         padding-right:  4%;
    div.form  {
      padding: 0px;
      color: #FFFFFF;
      text-align: center;
      position: relative; left: -70px;
        font-size: small;
      border:0;
      white-space: nowrap;
    div.d1 {
      padding-left: 10px;
      padding-bottom: 0pt;
      padding-top: 30px;;
    h5 {
      color: #000066;
      position: relative; top: 15px;
    article, aside, figure, footer, header, hgroup, menu, nav, section { display:block; }

    A link would be 100 times better.
    But The main question is are you editing the layouts through the admin editor? If so it will change html5 tags because it is only XHTML compliant. Do not use the editor for markup, only content.
    Either code it and upload it through SFTP or use the develop tab if you see it (Partner only) in the top ribbon.
    In terms of the code you posted, there are no html 5 tags like section etc in there as far as I can see.

  • HTML button in the eMail notification sent by Workflow

    I have a workflow which send eMail notification to the users. I want to add 2 HTML buttons for approve and reject on this email notification.
    For this I have embedded the following HTML snippet in the advanced properties (Message Body) of the email action in the workflow -
    <!DOCTYPE html><HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = "urn:schemas-microsoft-com:vml" xmlns:o = "urn:schemas-microsoft-com:office:office" xmlns:w = "urn:schemas-microsoft-com:office:word" xmlns:m = "http://schemas.microsoft.com/office/2004/12/omml"><HEAD><TITLE></TITLE> <META content="text/html; charset=us-ascii" http-equiv=Content-Type> <META name=GENERATOR content="MSHTML 10.00.9200.17183"></HEAD> <BODY> <P><IMG style="TEXT-ALLIGN: left" src="../Site%20Assets/abc_icon.png"></P> <P><STRONG>******************************************<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Styled Workflow eMail<BR>******************************************</STRONG></P> <P><STRONG>Full Name: [%Current Item:FullName%]</STRONG></P><FONT color=#0000ff size=2 face=Consolas><FONT color=#0000ff size=2 face=Consolas><FONT color=#0000ff size=2 face=Consolas> <P></FONT></FONT></FONT><INPUT id=btnApprove type=button value=Approve>&nbsp;&nbsp;<INPUT id=btnReject type=button value=Reject></P></BODY></HTML>
    <!DOCTYPE html><HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = "urn:schemas-microsoft-com:vml" xmlns:o = "urn:schemas-microsoft-com:office:office" xmlns:w = "urn:schemas-microsoft-com:office:word"
    xmlns:m = "http://schemas.microsoft.com/office/2004/12/omml"><HEAD><TITLE></TITLE> <META content="text/html; charset=us-ascii" http-equiv=Content-Type> <META name=GENERATOR content="MSHTML 10.00.9200.17183"></HEAD>
    <BODY> <P><IMG style="TEXT-ALLIGN: left" src="../Site%20Assets/abc_icon.png"></P> <P><STRONG>******************************************<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    Styled Workflow eMail<BR>******************************************</STRONG></P> <P><STRONG>Full Name: [%Current Item:FullName%]</STRONG></P><FONT color=#0000ff size=2 face=Consolas><FONT color=#0000ff size=2
    face=Consolas><FONT color=#0000ff size=2 face=Consolas> <P></FONT></FONT></FONT><INPUT id=btnApprove type=button value=Approve>&nbsp;&nbsp;<INPUT id=btnReject type=button value=Reject></P></BODY></HTML>
    However when the user receives the mail, the buttons appear as plain text. Moreover the images are also missing.
    Am I  missing any specific configuration? Is there anything more that needs to be done to render a HTML button and images in an email generated from a workflow?
    I would appreciate, if anyone could please help me resolve this issue.

    Hi Arghadip Kar,
    Im glad you liked my name. )
    Anyhoo, you are correct. A Task is used. I checked in SWI1 and the task associated with the mail is TS90000101. (not a ws) Does this help at all?
    In the Business Process, it is the part where the system informs a Training coordinator that a training request by an employee have been approved by his/her manager.
    Do I still check the FM below or are there any other way given the info above?
    Thank you!
    Olekan

  • html:option tag in STRUTS

    How can I put a "selected" attribute in the <html:option> tag in STRUTS? In regular HTML, I can say:
    <select name="test">
    <option name="opt1" selected>Option 1</option>
    </selected>
    But I can't use the "selected" key word in the STRUTS tag:
    <html:select property="myList">
    <logic:equal name="myListElement" value="Hello World">
    <html:option value="opt1" selected>Option 1</html:option>
    </logic:equal>
    <logic:notEqual name="myListElement" value="Hello World">
    <html:option value="other opts">Other opts</html:option>
    </logic:notEqual>
    </html:select>
    How can I get the following to work?
    Thanks,
    Dylan

    DavidHymes wrote:
    He is trying to pre-select an option, not determine which option is selected. I have the same question, anyone know the answer?Ugh! Why're you replying to a thread from over 4 years ago?? Couldn't you start your own topic?
    Take a look at this topic from yesterday: http://forum.java.sun.com/thread.jspa?threadID=5223675

Maybe you are looking for