Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-191

Shell component should allow informal parameters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 3.0
    • None
    • Framework
    • None
    • Operating System: All
      Platform: All
    • 30086

    Description

      In my .html file targetting XHTML 1.0, I have the following @shell tag. I want it to give me a doctype,
      stylesheet, and the needed xmlns tag in the html element of the output.

      <html jwcid="@Shell" title="TIGER Protocol Search" stylesheet="ognl:assets.stylesheet" doctype='html
      PUBLIC "//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1
      transitional.dtd"' xmlns="http://www.w3.org/1999/xhtml">
      <body jwcid="@Body">

      I intend this to produce:

      <!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">
      <head>
      <meta name="generator" content="Tapestry Application Framework, version 3.0" />
      <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
      <title>
      TIGER Protocol Search
      </title>
      <link rel="stylesheet" type="text/css" href="tiger.css" />
      </head>
      <body>

      But it produces:

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/
      DTD/xhtml1-transitional.dtd">
      <!-- Application: System Executive Status -->
      <!-- Page: ProtocolListPage -->
      <!-- Generated: Tue Jul 13 11:07:51 PDT 2004 -->
      <html>
      <head>
      <meta name="generator" content="Tapestry Application Framework, version 3.0"/>
      <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
      <title>TIGER Protocol Search Results</title>
      <link rel="stylesheet" type="text/css" href="/systemExecutiveStatus/tiger.css"/>
      </head>
      <body>

      So, the doctype is fine, but the xmlns tag is not passing through.

      Howard suggested that this should be passed through as presented, but it is not doing so.

      Scott

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            scott@alodar.com Scott Ellsworth
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: