No, directly in the html. I have a template.jsp that include since to tiles my 
body jsp :

<table width="100%" height="100%">
        <tr>
                <td height="10%">
                        <s:select list="listeImagesCertifs" 
name="challenge.diplome" value="%{challenge.diplome}" theme="simple" 
onchange="changeImageChallenge()" emptyOption="true"></s:select>
                </td>
        </tr>
        <tr>
                <td width="100%" height="90%">
                        <s:div id="cadreDiplome" cssClass="formatDiplome" 
href="FormatDiplome.do" theme="ajax" listenTopics="/showDiplomeTopic">
                        </s:div>
                </td>
        </tr>
        <tr>
                <td>
                <svg xmlns="http://www.w3.org/2000/svg"; version="1.1" 
width="400" height="300">
<!-- un petit rectangle avec des coins arroundis  -->
<rect x="50" y="50" rx="5" ry="5" width="300" height="100" 
style="fill:#CCCCFF;stroke:#000099"/>
<text x="55" y="90" style="stroke:#000099;fill:#000099;font-size:24;">
HELLO cher visiteur </text>
</svg>
                </td>
        </tr>
        <tr>
                <td>
                <svg:svg width="300" height="100" version="1.1" >
<svg:circle cx="100" cy="50" r="40" stroke="black"
stroke-width="2" fill="red" />
</svg:svg>
                </td>
        </tr>
</table>

Julien

-----Message d'origine-----
De : Antonio Petrelli [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 26 novembre 2007 10:48
À : Struts Users Mailing List
Objet : Re: [S2] SVG in tiles result

2007/11/26, LEONARD Julien (Consulting for ACCOR Hotels) <
[EMAIL PROTECTED]>:
>
> I'm trying to put a svg image in a tiles result, but it seems that it 
> don't work...



How are you trying to put it? As a picture, using the <img> HTML tag?

Antonio


This e-mail, any attachments and the information contained therein ("this 
message") are confidential and intended solely for the use of the addressee(s). 
If you have received this message in error please send it back to the sender 
and delete it. Unauthorized publication, use, dissemination or disclosure of 
this message, either in whole or in part is strictly prohibited.
--------------------------------------------------------------------------------------------------------------
Ce message électronique et tous les fichiers joints ainsi que  les informations 
contenues dans ce message ( ci après "le message" ), sont confidentiels et 
destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. 
Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur 
et de le détruire. Toutes diffusion, publication, totale ou partielle ou 
divulgation sous quelque forme que se soit non expressément autorisées de ce 
message, sont interdites.
-------------------------------------------------------------------------------------------------------------


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

Reply via email to