You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Roberto Marra <rm...@montefiore.ch> on 2005/03/16 14:17:19 UTC

iframe...

Hi all,
I made an xsl file to transform an xml file, this xsl file got inside this:
...
<iframe src="html\iframe.htm" name="anything" width="100%" height="100%" scrolling="yes"/>
...
</html>

the sitemap is:

<map:match pattern="**.htm"><map:read src="{1}.htm"/></map:match>

if I test the xsl with xmlspy it works, I mean it open a window with the file iframe.htm, if I run everything with cocoon dosn't work, I don't see anything, but I don't have any error in log file. The access.log file say that:

INFO    (2005-03-16) 14:11.04:487   [access] (/mf/html/iframe.htm) PoolThread-4/CocoonServlet: 'mf/html/iframe.htm' Processed by Apache Cocoon 2.1.5.1 in 10 milliseconds.

Interesting is that with mozilla it works.

Any suggestion?
Thanx in advance

ROb





Re: iframe...

Posted by Roberto Marra <rm...@montefiore.ch>.
it dosn't change anything, but thanx

----- Original Message ----- 
From: "Jan Hinzmann" <ja...@geeksonly.de>
To: <us...@cocoon.apache.org>
Sent: Wednesday, March 16, 2005 2:36 PM
Subject: Re: iframe...


> Just a "quick shot" from my debugpistol:
>
> is this correct: src="html\iframe.htm" ?
> shouldn't it be  src="html/iframe.htm" ?
>
> Roberto Marra wrote:
> > Hi all,
> > I made an xsl file to transform an xml file, this xsl file got inside
this:
> > ...
> > <iframe src="html\iframe.htm" name="anything" width="100%" height="100%"
> > scrolling="yes"/>
> > ...
> > </html>
> >
> > the sitemap is:
> >
> > <map:match pattern="**.htm"><map:read src="{1}.htm"/></map:match>
> >
> > if I test the xsl with xmlspy it works, I mean it open a window with the
> > file iframe.htm, if I run everything with cocoon dosn't work, I don't
> > see anything, but I don't have any error in log file. The access.log
> > file say that:
> >
> > INFO    (2005-03-16) 14:11.04:487   [access] (/mf/html/iframe.htm)
> > PoolThread-4/CocoonServlet: 'mf/html/iframe.htm' Processed by Apache
> > Cocoon 2.1.5.1 in 10 milliseconds.
> > Interesting is that with mozilla it works.
> >
> > Any suggestion?
> > Thanx in advance
> >
> > ROb
> >
> >
> >
> >
> >
>
> -- 
> Gruss, Jan Hinzmann
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org


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


Re: iframe...

Posted by Jan Hinzmann <ja...@geeksonly.de>.
Just a "quick shot" from my debugpistol:

is this correct: src="html\iframe.htm" ?
shouldn't it be  src="html/iframe.htm" ?

Roberto Marra wrote:
> Hi all,
> I made an xsl file to transform an xml file, this xsl file got inside this:
> ...
> <iframe src="html\iframe.htm" name="anything" width="100%" height="100%" 
> scrolling="yes"/>
> ...
> </html>
>  
> the sitemap is:
>  
> <map:match pattern="**.htm"><map:read src="{1}.htm"/></map:match>
>  
> if I test the xsl with xmlspy it works, I mean it open a window with the 
> file iframe.htm, if I run everything with cocoon dosn't work, I don't 
> see anything, but I don't have any error in log file. The access.log 
> file say that:
>  
> INFO    (2005-03-16) 14:11.04:487   [access] (/mf/html/iframe.htm) 
> PoolThread-4/CocoonServlet: 'mf/html/iframe.htm' Processed by Apache 
> Cocoon 2.1.5.1 in 10 milliseconds.
> Interesting is that with mozilla it works.
>  
> Any suggestion?
> Thanx in advance
>  
> ROb
>  
>  
>  
>  
>  

-- 
Gruss, Jan Hinzmann

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


Re: iframe...[SOLVED]

Posted by Roberto Marra <rm...@montefiore.ch>.
Hei I found the solution... you know what? This

<iframe src="html\iframe.htm" name="anything" width="100%"  height="100%" scrolling="yes"/>

dosn't work, but this

<iframe src="html\iframe.htm" name="anything" width="100%"  height="500" scrolling="yes"/>

work

The height property seems dons't support value with %

Thanx 2 everybody
Cheers
ROb

Re: iframe...

Posted by Phillip Nicolson <pj...@star.le.ac.uk>.
Hi,

had something similar happening here where iframe was failing in IE but
working fine in Mozilla. It was a while back now, I seem to remember
that the error results from the way IE was loading documents, the
solution that I used was to ensure that the iframe was only called once
the outerframe had loaded - not sure if this relates to your problem,
but I have iframes working in Mozilla and IE quite happily using a piece
of javascript that calls the iframe once the outer frame is loaded,
maybe this will point you at a solution:


        <div id="iframeHolder">......</div>
        <p />
        <xsl:apply-templates select="*"
mode="activity-details"/>                                                   
      </ag-div>

      <script language="javascript">
        var ifr = document.getElementById("iframeHolder");        
        var url =
'/astrogrid-portal/workflowBare/mount/workflow/workflowInnerFrame.html?activity_key='+ document.getElementById("activity_key").value;        
        ifr.innerHTML = '<iframe name="workflow_iframe"
id="workflow_iframe" src="'+url+'" border="0" frameborder="0"
framespacing="5" height="385" width="95%" scrolling="auto"
/>'                
      </script>


On Wed, 2005-03-16 at 16:59, Roberto Marra wrote:
> Thanx Yves but no way. I can't belive!!! Lost half a day for this stuff &
> with mozilla works perfectly... Other suggestion?
> 
> ----- Original Message ----- 
> From: "Yves Vindevogel" <yv...@implements.be>
> To: <us...@cocoon.apache.org>
> Sent: Wednesday, March 16, 2005 2:45 PM
> Subject: Re: iframe...
> 
> 
> > AFAIK, this is a bug in Internet Explorer who expects something like
> > this  <iframe .....></iframe>
> > IE makes an error on <iframe/>
> >
> > I ended up making that file in plain html and use map:read on it.
> >
> > On 16 Mar 2005, at 14:17, Roberto Marra wrote:
> >
> > > Hi all,
> > > I made an xsl file to transform an xml file, this xsl file got inside
> > > this:
> > > ...
> > > <iframe src="html\iframe.htm" name="anything" width="100%"
> > > height="100%" scrolling="yes"/>
> > > ...
> > > </html>
> > >
> > > the sitemap is:
> > >
> > > <map:match pattern="**.htm"><map:read src="{1}.htm"/></map:match>
> > >
> > >
> > > if I test the xsl with xmlspy it works, I mean it open a window with
> > > the file iframe.htm, if I run everything with cocoon dosn't work, I
> > > don't see anything, but I don't have any error in log file. The
> > > access.log file say that:
> > >
> > > INFO (2005-03-16) 14:11.04:487 [access] (/mf/html/iframe.htm)
> > > PoolThread-4/CocoonServlet: 'mf/html/iframe.htm' Processed by Apache
> > > Cocoon 2.1.5.1 in 10 milliseconds.
> > > Interesting is that with mozilla it works.
> > >
> > > Any suggestion?
> > > Thanx in advance
> > >
> > > ROb
> > >
> > >
> > >
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 


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


Re: iframe...

Posted by Roberto Marra <rm...@montefiore.ch>.
Thanx Yves but no way. I can't belive!!! Lost half a day for this stuff &
with mozilla works perfectly... Other suggestion?

----- Original Message ----- 
From: "Yves Vindevogel" <yv...@implements.be>
To: <us...@cocoon.apache.org>
Sent: Wednesday, March 16, 2005 2:45 PM
Subject: Re: iframe...


> AFAIK, this is a bug in Internet Explorer who expects something like
> this  <iframe .....></iframe>
> IE makes an error on <iframe/>
>
> I ended up making that file in plain html and use map:read on it.
>
> On 16 Mar 2005, at 14:17, Roberto Marra wrote:
>
> > Hi all,
> > I made an xsl file to transform an xml file, this xsl file got inside
> > this:
> > ...
> > <iframe src="html\iframe.htm" name="anything" width="100%"
> > height="100%" scrolling="yes"/>
> > ...
> > </html>
> >
> > the sitemap is:
> >
> > <map:match pattern="**.htm"><map:read src="{1}.htm"/></map:match>
> >
> >
> > if I test the xsl with xmlspy it works, I mean it open a window with
> > the file iframe.htm, if I run everything with cocoon dosn't work, I
> > don't see anything, but I don't have any error in log file. The
> > access.log file say that:
> >
> > INFO (2005-03-16) 14:11.04:487 [access] (/mf/html/iframe.htm)
> > PoolThread-4/CocoonServlet: 'mf/html/iframe.htm' Processed by Apache
> > Cocoon 2.1.5.1 in 10 milliseconds.
> > Interesting is that with mozilla it works.
> >
> > Any suggestion?
> > Thanx in advance
> >
> > ROb
> >
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


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


Re: iframe...

Posted by Yves Vindevogel <yv...@implements.be>.
AFAIK, this is a bug in Internet Explorer who expects something like 
this  <iframe .....></iframe>
IE makes an error on <iframe/>

I ended up making that file in plain html and use map:read on it.

On 16 Mar 2005, at 14:17, Roberto Marra wrote:

> Hi all,
> I made an xsl file to transform an xml file, this xsl file got inside 
> this:
> ...
> <iframe src="html\iframe.htm" name="anything" width="100%" 
> height="100%" scrolling="yes"/>
> ...
> </html>
>  
> the sitemap is:
>  
> <map:match pattern="**.htm"><map:read src="{1}.htm"/></map:match>
>
>  
> if I test the xsl with xmlspy it works, I mean it open a window with 
> the file iframe.htm, if I run everything with cocoon dosn't work, I 
> don't see anything, but I don't have any error in log file. The 
> access.log file say that:
>  
> INFO    (2005-03-16) 14:11.04:487   [access] (/mf/html/iframe.htm) 
> PoolThread-4/CocoonServlet: 'mf/html/iframe.htm' Processed by Apache 
> Cocoon 2.1.5.1 in 10 milliseconds.
> Interesting is that with mozilla it works.
>  
> Any suggestion?
> Thanx in advance
>  
> ROb
>  
>  
>  
>  
>  


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