On Tuesday 07 March 2006 20:27, ZedroS Schwart wrote:
> Is there someone kind enough to provide me some answers ?
>
> Thanks in advance
>
> For memory, and quickly, it's :
> - can I put  a component like the rollover component in a custom component

Don't see why not

> ? - is there a possibility to put a "false" URL in the image component in

There are probably several ways.

The easiest is probably to use the any component

<img jwcid="@Any" src="message:imageURL" />

put a key imageURL in your properties file

> order to have it render itself even in HTML only preview mode
> - the following html works with  IE/Opera but not Firefox, why ?
> <html>
> <head><title>Home</title><
>
> > /head>
> > <body background="
> > http://jakarta.apache.org/tapestry/images/tapestry/ComponentReference/Pow
> >eredByTapestry.png "
> > text="##FFFFFF" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF">
> > <table  width="750" align="center">
> > </table>
> > </body>
> > </html>
>
> A new question : how to use an image component to render an image put as
> the background ?

I can't answer your question directly, but have you thought about using css

take a look at this image

http://www.chandlerfamily.org.uk/photos/d/483-1/BorderMockup.png

Take a look at the powered by tapestry at the bottom left

This is the result of view source on the footer - see no images.

<!-- Footer Section -->
<div id="footer">
        <div id="copy" class="column">
                <p>Unless otherwise stated the content of this site is 
copyright &copy; 2006 
Alan Chandler.
                        Please see <a href="/licence.html">licence 
conditions</a> for details on 
copying.</p>
        </div>
        <div id="version" class="column">
                <dl>
                        <dt>Version</dt>
                        <dd>site: 6.2.0</dd>
                        <dd>generator: 1.0.0</dd>
                </dl>
        </div>
        <div id="webmaster" class="column">
                <p>Any issues with the site, please contact the
<a href="mailto:[EMAIL PROTECTED]&quot;Web Site 
Issues&quot;">Webmaster</a></p>
        </div> 
</div>



Thats because the css for that part of the page is here


#version {font-size:8pt;background:white url(/images/PoweredByTapestry.gif) 
right top no-repeat;}

The URL is specified in the css file for the image.










-- 
Alan Chandler
http://www.chandlerfamily.org.uk
Open Source. It's the difference between trust and antitrust.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to