[OS-JIRA] Created: (WOL-932) default WOComponents in projects should have same form as added components

From: Ray Kiddy (JIRA) ("Ray)
Date: Fri Jan 16 2009 - 14:11:27 EST

  • Next message: My GMAIL: "WOLips Component editor"

    default WOComponents in projects should have same form as added components
    --------------------------------------------------------------------------

                     Key: WOL-932
                     URL: http://issues.objectstyle.org/jira/browse/WOL-932
                 Project: WOProject/WOLips
              Issue Type: Bug
              Components: wolips
             Environment: eclipse Version: 3.4.1, Build id: M20080911-1700, WOLips 3.4.5594
                Reporter: Ray Kiddy

    There is no reason that one creates a project and gets one kind of stuff in the WOComponent and one can add a WOComponent and get a different kind of stuff.

    For example, the diff below would fix the Main.html for the 'Wonder Application' project type. This assumes that the dynamic string replacement that I see in the added WOComponents cannot happen in project creation. Is that true? If it is true, then the patch below will sync up the components. I can do the others if this is accepted as valid.

    cheers - ray

    % svn diff woproject/wolips/core/plugins/org.objectstyle.wolips.templateengine/ProjectTemplates/'WebObjects Application'/Components/Main.wo/Main.html
    Index: woproject/wolips/core/plugins/org.objectstyle.wolips.templateengine/ProjectTemplates/WebObjects Application/Components/Main.wo/Main.html
    ===================================================================
    --- woproject/wolips/core/plugins/org.objectstyle.wolips.templateengine/ProjectTemplates/WebObjects Application/Components/Main.wo/Main.html (revision 5596)
    +++ woproject/wolips/core/plugins/org.objectstyle.wolips.templateengine/ProjectTemplates/WebObjects Application/Components/Main.wo/Main.html (working copy)
    ..-1,9 +1,10 @@
     <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
    -<html>
    - <head>
    - <title>Untitled</title>
    - </head>
    - <body>
    +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    +<head>
    + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    + <title>untitled</title>
    +</head>
    +<body>
     Hello World
    - </body>
    +</body>
     </html>

    -- 
    This message is automatically generated by JIRA.
    -
    If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa
    -
    For more information on JIRA, see: http://www.atlassian.com/software/jira
    



    This archive was generated by hypermail 2.0.0 : Fri Jan 16 2009 - 14:12:20 EST