You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by erwin_br <fo...@gmail.com> on 2007/05/30 14:40:05 UTC

HTML tags....such as Publisher or Front page editor.....

I am from brazil... I am study tapestry and there is something that i could
understand.....
i would like to construct a web page using front page or publisher and put
into the components tapestry but don´t work....
EX: i do the screnncast 5...no problem work fine.....but if i edit the
start.html with publisher or front page and put some html tags then when i
run again don´t work...seems to be the tapestry don´t accept the tags
html.......do you now how i fix this problem?????
-- 
View this message in context: http://www.nabble.com/HTML-tags....such-as-Publisher-or-Front-page-editor.....-tf3840106.html#a10872829
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: HTML tags....such as Publisher or Front page editor.....

Posted by #Cyrille37# <cy...@gmail.com>.
And tell your favorite html editor to use XHTML, no HTML.

cyrille

erwin_br a écrit :
> Ex: This wokr fine!!!!
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
>     <head>
>         <title>musiclib Start Page</title>
>     </head>
>     <body>
>                 <table t:type="grid" rowsPerPage="10" pagerPosition="both"
> source="tracks">
>                         <t:parameter name="ratingCell">
>                          XXXX
>                         </t:parameter>
>                 </table>
>     </body>
> </html>
>
> But if i edit on publish or front page like this:
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
> <head>
>         <title>musiclib Start Page</title>
> </head>
> <FRAMESET COLS="30%, 70%">
>     <FRAME SRC="coluna1.html" NORESIZE SCROLLING="YES">
>      <frameset ROWS="20%, 80%">
>     <FRAME SRC="linha1.html" NORESIZE SCROLLING="NO">
>    <FRAME SRC="linha2.html" NORESIZE SCROLLING="NO">
> </frameset>
> <body>
> </body>
> </html>
> I get this error!!!!!!
> An unexpected application exception has occurred.
>
>     * org.apache.tapestry.ioc.internal.util.TapestryException
>       Failure parsing template context:WEB-INF/Start.html: Attribute name
> "NORESIZE" associated with an element type "FRAME" must be followed by the '
> = ' character.
>
>       location
>           context:WEB-INF/Start.html, line 6, column 40
>           1 <html
> xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
>           2 <head>
>           3 <title>musiclib Start Page</title>
>           4 </head>
>           5 <FRAMESET COLS="30%, 70%">
>           6 <FRAME SRC="coluna1.html" NORESIZE SCROLLING="YES">
>           7 <frameset ROWS="20%, 80%">
>           8 <FRAME SRC="linha1.html" NORESIZE SCROLLING="NO">
>           9 <FRAME SRC="linha2.html" NORESIZE SCROLLING="NO">
>           10 </frameset>
>           11 <body BACKGROUND="paper.gif" BGCOLOR="#FFFFFF" TEXT="#000000"
> LINK="#0000FF" VLINK="#FF66FF" ALINK="#FF0000">
>
>     * org.xml.sax.SAXParseException
>       Attribute name "NORESIZE" associated with an element type "FRAME" must
> be followed by the ' = ' character.
>   



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: HTML tags....such as Publisher or Front page editor.....

Posted by erwin_br <fo...@gmail.com>.
cirile now i try this:

<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
<head>
        <title>musiclib Start Page</title>
</head>
<FRAMESET COLS="30%, 70%"/>
    <FRAME SRC="coluna1.html"/>
    <FRAMESET ROWS="20%, 80%"/>
    <FRAME SRC="linha1.html"/>
   <FRAME SRC="linha2.html"/>
<body>
</body>
</html> 

the tapestry don´t complain but the web browser don´t show nothing, i
created the coluna1.html and linha1.html and linha2.html with the same
source:

<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
    <head>
        <title>musiclib Start Page</title>
    </head>
    <body BACKGROUND="paper.gif" BGCOLOR="#FFFFFF" TEXT="#000000"
LINK="#0000FF" VLINK="#FF66FF" ALINK="#FF0000">
		<table t:type="grid" rowsPerPage="10" pagerPosition="both"
source="tracks">
			<t:parameter name="ratingCell">
			 XXXX
			</t:parameter>
		</table>	
    </body>
</html>

the browse must show the grid at 3 frames but nothing happened.........

whats wrong?????
-- 
View this message in context: http://www.nabble.com/HTML-tags....such-as-Publisher-or-Front-page-editor.....-tf3840106.html#a10874816
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: HTML tags....such as Publisher or Front page editor.....

Posted by #Cyrille37# <cy...@gmail.com>.
erwin_br a écrit :
>     <FRAME SRC="coluna1.html" NORESIZE SCROLLING="YES">
>   
>     * org.apache.tapestry.ioc.internal.util.TapestryException
>       Failure parsing template context:WEB-INF/Start.html: Attribute name
> "NORESIZE" associated with an element type "FRAME" must be followed by the '
> = ' character.
>   
The parser say that NORESIZE is not a valid XML Attribute.
You can have a try like :

<FRAME SRC="coluna1.html" NORESIZE="NORESIZE" SCROLLING="YES">

Cyrille.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: HTML tags....such as Publisher or Front page editor.....

Posted by erwin_br <fo...@gmail.com>.
Ex: This wokr fine!!!!
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
    <head>
        <title>musiclib Start Page</title>
    </head>
    <body>
                <table t:type="grid" rowsPerPage="10" pagerPosition="both"
source="tracks">
                        <t:parameter name="ratingCell">
                         XXXX
                        </t:parameter>
                </table>
    </body>
</html>

But if i edit on publish or front page like this:
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
<head>
        <title>musiclib Start Page</title>
</head>
<FRAMESET COLS="30%, 70%">
    <FRAME SRC="coluna1.html" NORESIZE SCROLLING="YES">
     <frameset ROWS="20%, 80%">
    <FRAME SRC="linha1.html" NORESIZE SCROLLING="NO">
   <FRAME SRC="linha2.html" NORESIZE SCROLLING="NO">
</frameset>
<body>
</body>
</html>
I get this error!!!!!!
An unexpected application exception has occurred.

    * org.apache.tapestry.ioc.internal.util.TapestryException
      Failure parsing template context:WEB-INF/Start.html: Attribute name
"NORESIZE" associated with an element type "FRAME" must be followed by the '
= ' character.

      location
          context:WEB-INF/Start.html, line 6, column 40
          1 <html
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
          2 <head>
          3 <title>musiclib Start Page</title>
          4 </head>
          5 <FRAMESET COLS="30%, 70%">
          6 <FRAME SRC="coluna1.html" NORESIZE SCROLLING="YES">
          7 <frameset ROWS="20%, 80%">
          8 <FRAME SRC="linha1.html" NORESIZE SCROLLING="NO">
          9 <FRAME SRC="linha2.html" NORESIZE SCROLLING="NO">
          10 </frameset>
          11 <body BACKGROUND="paper.gif" BGCOLOR="#FFFFFF" TEXT="#000000"
LINK="#0000FF" VLINK="#FF66FF" ALINK="#FF0000">

    * org.xml.sax.SAXParseException
      Attribute name "NORESIZE" associated with an element type "FRAME" must
be followed by the ' = ' character.
-- 
View this message in context: http://www.nabble.com/HTML-tags....such-as-Publisher-or-Front-page-editor.....-tf3840106.html#a10873429
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: HTML tags....such as Publisher or Front page editor.....

Posted by #Cyrille37# <cy...@gmail.com>.
erwin_br a écrit :
> i would like to construct a web page using front page or publisher and put
> into the components tapestry but don´t work....
> EX: i do the screnncast 5...no problem work fine.....but if i edit the
> start.html with publisher or front page and put some html tags then when i
> run again don´t work...
Hello,
What is do not work ? Give more detail on the error.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: HTML tags....such as Publisher or Front page editor.....

Posted by erwin_br <fo...@gmail.com>.
Ex: This wokr fine!!!!
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
    <head>
        <title>musiclib Start Page</title>
    </head>
    <body>
		<table t:type="grid" rowsPerPage="10" pagerPosition="both"
source="tracks">
			<t:parameter name="ratingCell">
			 XXXX
			</t:parameter>
		</table>	
    </body>
</html>

But if i edit on publish or front page like this:
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
<head>
        <title>musiclib Start Page</title>
</head>
<FRAMESET COLS="30%, 70%">
    <FRAME SRC="coluna1.html" NORESIZE SCROLLING="YES">
     <frameset ROWS="20%, 80%">
    <FRAME SRC="linha1.html" NORESIZE SCROLLING="NO">
   <FRAME SRC="linha2.html" NORESIZE SCROLLING="NO">
</frameset>
<body>
</body>
</html>
I get this error!!!!!! 
An unexpected application exception has occurred.

    * org.apache.tapestry.ioc.internal.util.TapestryException
      Failure parsing template context:WEB-INF/Start.html: Attribute name
"NORESIZE" associated with an element type "FRAME" must be followed by the '
= ' character.

      location
          context:WEB-INF/Start.html, line 6, column 40
          1	<html
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
          2	<head>
          3	<title>musiclib Start Page</title>
          4	</head>
          5	<FRAMESET COLS="30%, 70%">
          6	<FRAME SRC="coluna1.html" NORESIZE SCROLLING="YES">
          7	<frameset ROWS="20%, 80%">
          8	<FRAME SRC="linha1.html" NORESIZE SCROLLING="NO">
          9	<FRAME SRC="linha2.html" NORESIZE SCROLLING="NO">
          10	</frameset>
          11	<body BACKGROUND="paper.gif" BGCOLOR="#FFFFFF" TEXT="#000000"
LINK="#0000FF" VLINK="#FF66FF" ALINK="#FF0000">

    * org.xml.sax.SAXParseException
      Attribute name "NORESIZE" associated with an element type "FRAME" must
be followed by the ' = ' character.
-- 
View this message in context: http://www.nabble.com/HTML-tags....such-as-Publisher-or-Front-page-editor.....-tf3840106.html#a10873425
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: HTML tags....such as Publisher or Front page editor.....

Posted by Joshua Jackson <jo...@gmail.com>.
You should have this
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">

on your html page.

I assume that's what cause the problems

On 5/30/07, erwin_br <fo...@gmail.com> wrote:
>
> I am from brazil... I am study tapestry and there is something that i could
> understand.....
> i would like to construct a web page using front page or publisher and put
> into the components tapestry but don´t work....
> EX: i do the screnncast 5...no problem work fine.....but if i edit the
> start.html with publisher or front page and put some html tags then when i
> run again don´t work...seems to be the tapestry don´t accept the tags
> html.......do you now how i fix this problem?????
> --
> View this message in context: http://www.nabble.com/HTML-tags....such-as-Publisher-or-Front-page-editor.....-tf3840106.html#a10872829
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
YM!: thejavafreak
Blog: http://www.nagasakti.or.id/roller/joshua/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org