You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Costa Basil <co...@yahoo.ca> on 2006/02/17 05:30:15 UTC
Javascript code generated after html content when using tiles
Hi:
I am using tiles and I noticed that the final html content contains this piece of _javascript code at the end after the </html> tag.
Is there a way to fix this? Things seem to work tough in IE, however, it kind of worries me.
Thanks
<form id="linkDummyForm" name="linkDummyForm" style="display:inline" method="post" action="/cps/p/contacts/contactsSummary.jsp"><input type="hidden" name="linkDummyForm:_link_hidden_" />
function clear_linkDummyForm() {
var f = document.forms['linkDummyForm'];
f.elements['linkDummyForm:_link_hidden_'].value='';
f.target='';
}
clear_linkDummyForm();
//--></script></form>
---------------------------------
Find your next car at Yahoo! Canada Autos
Re: Javascript code generated after html content when using tiles
Posted by Costa Basil <co...@yahoo.ca>.
I am using 1.1.1.
Bruno Aranda <br...@gmail.com> wrote: What version are you using? If you use current nighlty builds you can
put viewTag before the head and body tag.
Regards,
Bruno
On 2/17/06, Costa Basil wrote:
> I found the solution myself. My f:view tag embraced all the html tags. As
> soon as
> I placed it below problem solved.
>
>
> Costa Basil wrote:
> Hi:
>
> I am using tiles and I noticed that the final html content contains this
> piece of _javascript code at the end after the tag.
>
> Is there a way to fix this? Things seem to work tough in IE, however, it
> kind of worries me.
>
> Thanks
>
>
> method="post"
> action="/cps/p/contacts/contactsSummary.jsp"> [input]
> type="hidden" name="linkDummyForm:_link_hidden_" />
> function clear_linkDummyForm() {
> var f = document.forms['linkDummyForm'];
> f.elements['linkDummyForm:_link_hidden_'].value='';
> f.target='';
> }
> clear_linkDummyForm();
> //-->
> ________________________________
> Find your next car at Yahoo! Canada Autos
>
>
> ________________________________
> Find your next car at Yahoo! Canada Autos
>
>
---------------------------------
Find your next car at Yahoo! Canada Autos
Re: Javascript code generated after html content when using tiles
Posted by Bruno Aranda <br...@gmail.com>.
What version are you using? If you use current nighlty builds you can
put viewTag before the head and body tag.
Regards,
Bruno
On 2/17/06, Costa Basil <co...@yahoo.ca> wrote:
> I found the solution myself. My f:view tag embraced all the html tags. As
> soon as
> I placed it below <body> problem solved.
>
>
> Costa Basil <co...@yahoo.ca> wrote:
> Hi:
>
> I am using tiles and I noticed that the final html content contains this
> piece of _javascript code at the end after the </html> tag.
>
> Is there a way to fix this? Things seem to work tough in IE, however, it
> kind of worries me.
>
> Thanks
>
> <form id="linkDummyForm" name="linkDummyForm" style="display:inline"
> method="post"
> action="/cps/p/contacts/contactsSummary.jsp"><input
> type="hidden" name="linkDummyForm:_link_hidden_" />
> function clear_linkDummyForm() {
> var f = document.forms['linkDummyForm'];
> f.elements['linkDummyForm:_link_hidden_'].value='';
> f.target='';
> }
> clear_linkDummyForm();
> //--></script></form>
> ________________________________
> Find your next car at Yahoo! Canada Autos
>
>
> ________________________________
> Find your next car at Yahoo! Canada Autos
>
>
Re: Javascript code generated after html content when using tiles
Posted by Costa Basil <co...@yahoo.ca>.
I found the solution myself. My f:view tag embraced all the html tags. As soon as
I placed it below <body> problem solved.
Costa Basil <co...@yahoo.ca> wrote: Hi:
I am using tiles and I noticed that the final html content contains this piece of _javascript code at the end after the </html> tag.
Is there a way to fix this? Things seem to work tough in IE, however, it kind of worries me.
Thanks
<form id="linkDummyForm" name="linkDummyForm" style="display:inline" method="post" action="/cps/p/contacts/contactsSummary.jsp"><input type="hidden" name="linkDummyForm:_link_hidden_" />
function clear_linkDummyForm() {
var f = document.forms['linkDummyForm'];
f.elements['linkDummyForm:_link_hidden_'].value='';
f.target='';
}
clear_linkDummyForm();
//--></script></form>
---------------------------------
Find your next car at Yahoo! Canada Autos
---------------------------------
Find your next car at Yahoo! Canada Autos