Web Client Mismatched HTML Tag </div>

Forum to discuss the Web client version of Servoy.

Web Client Mismatched HTML Tag </div>

Postby kwpsd » Fri Apr 29, 2011 1:59 am

Version: 5.2.7 - build 1013

I get the following error messasge when running in the web client (it works fine in Smart client):

Internal error

Return to home page


Server server is complaining about a mismatched </div> HTML tag (from the log file):

2011-04-28 16:12:45,995 ERROR [http-8080-2] org.apache.wicket.RequestCycle - Tag '<body background="media:///arm_tab_button_background.png">' (line 42, column 73) has a mismatched close tag at '</div>' (line 53, column 10)
[markup = Markup[solution:ARM_protocol, fullpath:/servoy-webclient/templates/default/ARM_protocol/protocol_edit.html]


The text property for the button object is as follows:

Code: Select all
<html>
   <body background = "media:///arm_tab_button_background.png">
      <table width="80px">
         <tr>
            <td valign="top">
               <font size="3" face="Arial" color="000000">
                  <b>
                    &nbsp;Animals
                  </b>
               </font>
            </td>
         </tr>
      </table>
   </body>
</html>


Notice there are no </div> tags in the HTML. Is this a bug?

Thanks!
Kim W. Premuda
San Diego, CA USA
User avatar
kwpsd
 
Posts: 687
Joined: Sat Jul 28, 2007 6:59 pm
Location: San Diego, CA USA

Re: Web Client Mismatched HTML Tag </div>

Postby jcompagner » Fri Apr 29, 2011 11:29 am

can you remove background from body:

<body>

or make it: (instead of the empty spaces)

<body background="media:///arm_tab_button_background.png">

I am also not sure if background tag of a body tag is kept for this, i think you have to move that to the table/tr
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 4 guests