I can't find a mistake, but I wonder if this @Any code higher up is the real 
issue as it surounds the whole section, but then I used that at top of page and 
no problem?

Is there something I can use in eclipse to help me with the syntax, like 
Spindle?

John

<?xml version="1.0" encoding="iso-8859-1"?>
<!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" lang="en">
        <head>
                <title><span key="title"> Admin: Product</span></title>
                <meta http-equiv="Content-Type" content="text/html; charset=iso-
8859-1"/>
                <link rel ="stylesheet" 
              type="text/css" 
              href="css/header.css"
                />  
                <link rel ="stylesheet" 
                      type="text/css" 
                      href="css/main.css"
                />  
                <script src ="js/common.js" 
                        type="text/javascript">
                </script>
                <script src ="js/popCalender.js" 
                        type="text/javascript">
                </script>
        </head>
        <body jwcid="@Body">
                <div class="page">
                        <span jwcid="@header" />
                        <span jwcid="@BreadCrumb" pageNames="ognl:new 
java.lang.String[] { 'Home', 'ProductAdmin' }">Bread crumb</span>
                        <div class="content">
                                <span jwcid="@MenuHome" />
                                <span jwcid="@ErrorDisplay" />

                                <div class="data">
                                        <div class="dataListContainer">
                                                <form id = "productMaintForm" 
                                                      jwcid="productMaintForm">
                                                        <fieldset jwcid="@Any" 
title="message:fieldset1Title">
                                                                <div 
class="titleBar">
                                                                        <span 
jwcid="@If" condition="ognl:isMode
(@[EMAIL PROTECTED])"><span key="titlebar-
add-text">Add Product</span></span>
                                                                        <span 
jwcid="@Else">
                                                                        
        <span jwcid="@If" condition="ognl:isMode
(@[EMAIL PROTECTED])"><span key="title-
bar-edit-text">Edit Product</span></span>
                                                                        
        <span jwcid="@Else"><span key="title-bar-delete-text">Delete 
Product</span></span>
                                                                        </span>
                                                                </div>
                                                                <span 
jwcid="@If" condition="ognl:isMode
(@[EMAIL PROTECTED])">
                                                                        <span 
key="delete-text">Are you sure you want to delete product</span> <span 
jwcid="@Insert" value="ognl:productId" /> ?
                                                                </span>
                                                                <span 
jwcid="@Else">
                                                                        <div 
class="formLine">
                                                                        
        <span jwcid="@If" condition="ognl:isMode
(@[EMAIL PROTECTED])">
                                                                                
        <div class="colLabel">
                                                                                
                <span jwcid="productIdLabel">Product ID:</span>
                                                                                
        </div>
                                                                                
        <input id       ="productId"
                                                                                
               name     ="productId"
                                                                                
               jwcid    ="productId" 
                                                                                
               accesskey="s"
                                                                                
               tabindex ="1"
                                                                                
               maxlength="10" 
                                                                                
               size     ="10"
                                                                                
               type     ="text"
                                                                                
               value    =""
                                                                                
        />
                                                                        
        </span>
                                                                        
        <span jwcid="@If" condition="ognl:isMode
(@[EMAIL PROTECTED])">
                                                                                
        <div class="colLabel">
                                                                                
                <span key="productid-label">Product ID:</span>
                                                                                
        </div>
                                                                                
        <div>
                                                                                
                <span jwcid="@Insert" value="ognl:productId"/><br/>
                                                                                
        </div>
                                                                        
        </span>
                                                                        </div>
                                                                        <div 
class="formLine">
                                                                        
        <div class="colLabel">
                                                                                
        <span jwcid="productNameLabel">Name:</span>
                                                                        
        </div>
                                                                        
        <input id       ="productName"
                                                                        
               name     ="productName"
                                                                        
               jwcid    ="productName"
                                                                        
               accesskey="s"
                                                                        
               tabindex ="2"
                                                                        
               maxlength="50" 
                                                                        
               size     ="50"
                                                                        
               type     ="text"
                                                                        
               value    =""
                                                                        
        />
                                                                        </div>
              
                                                                        <div 
class="formLine">
                                                                        
        <div class="colLabel">
                                                                                
        <span jwcid="productDescriptionLabel">Description:</span>
                                                                        
        </div>
                                                                        
        <textarea id       ="productDescription"
                                                                        
                  name     ="productDescription"
                                                                        
                  jwcid    ="productDescription"
                                                                        
                  tabindex ="3"
                                                                        
                  cols     ="60"
                                                                        
                  rows     ="3" 
                                                                        
        />
                                                                        </div>
                                                                        <div 
class="formLine">
                                                                        
        <label class="colLabel"><span key="active-label">Active</span></label>
                                                                        
        <input type="checkbox" jwcid="[EMAIL PROTECTED]" selected="ognl:active" 
tabindex ="4"/>
                                                                        </div>
                                                                        <span 
jwcid="@FormValidationErrorDisplay" />
                                                                        <br />
                                                                </span>
                                          </fieldset>
                                          
                                                        <fieldset jwcid="@Any" 
title="message:fieldset2Title">
                                                                <div 
class="formLine"><hr /></div>
                                                                <div 
class="formLine"><span key="actions-text" 
class="emphasise">Actions:</span></div>
                                                                <div 
class="formLine">
                                                                        <span 
jwcid="@If" condition="ognl:isMode
(@[EMAIL PROTECTED])">
                                                                        
        <div class="buttonText"><span key="delete-button-text">Delete the 
record and return</span></div>
                                                                        
        <input  type="submit"
                                                                        
                class   ="buttonExtraWide"
                                                                        
                tabindex="5"
                                                                        
                title   ="message:delete-button-title"
                                                                        
                value="Delete"
                                                                        
                jwcid="deleteButton"
                                                                        
                label="message:delete-button-label/>
                                                                        </span>
                                                                        <span 
jwcid="@Else">
                                                                        
        <div class="buttonText"><span key="save-button-text">Save the record 
and return</span></div>
                                                                        
        <input  type="submit"
                                                                        
                class   ="buttonExtraWide"
                                                                        
                tabindex="5"
                                                                        
                title   ="message:save-button-title"
                                                                        
                value="Save"
                                                                        
                jwcid="saveButton"
                                                                        
                label="message:save-button-label"/>
                                                                        </span>
                                                                </div>
                                                                <div 
class="formLine">
                                                                        <div 
class="buttonText"><span key="cancel-button-text">Cancel the record change and 
return</span></div>
                                                                        <a 
href="#" jwcid="cancelLink" tabindex="6" class="buttonExtraWide" 
title="message:cancel-link-button-title"><span key="cancel-link-button-
text">Cancel</span></a>
                                                                </div>
                                                        </fieldset>
                                                </form>
                                        </div>
                                </div>
                        </div>
                        <br clear="all" />
                </div>
        </body>
</html>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to