very simple.

just do this:

 <bean:write name="ente" property="code.name"/>


Greets
Jimmy

Jimmy Van Broeck 
Consultant 
BT 

CITS 
DE POST - LA POSTE 
ICT-Development 
WTC II - Kantoor 307 
email: [EMAIL PROTECTED] 


-----Original Message-----
From: Claudia Woestheinrich [mailto:[EMAIL PROTECTED]
Sent: dinsdag 14 september 2004 10:43
To: [EMAIL PROTECTED]
Subject: write bean without propertys with primitve Datatypes


HI,

I have a question. I want to user the iterate tag like:

 <logic:iterate id="ente" name="projektForm" property="enten" >

       <bean:write name="ente" property="name"/>
       <bean:write name="ente" property="beschreibung"/>
  ?????     <bean:write name="ente" property="code"/>  here the
property code is an other bean

</logic:iterate>

The Beans-Code:

public class Entity(){

     private Code code;
     private String name;
publich Entity(){}

public String getName(){ return name; }

public Code getCode(){ return code; }
.....
}

public class Code(){


     private String name;
publich Code(){}

public String getName(){ return name; }

.......
}

How can I do this?
Thanks
Claudia


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



STRICTLY PERSONAL AND CONFIDENTIAL
This message may contain confidential and proprietary material for the sole use of the 
intended recipient. Any review or distribution by others is strictly prohibited. If 
you are not the intended recipient please contact the sender and delete all copies.

Ce Message est uniquement destin� aux destinataires indiqu�s et peut contenir des 
informations confidentielles. Si vous n'�tes pas le destinataire, vous ne devez pas 
r�v�ler le contenu de ce message ou en prendre copie. Si vous avez re�u ce message par 
erreur, veuillez en informer l'exp�diteur, ou La Poste imm�diatement, avant de le 
supprimer.

Dit bericht is enkel bestemd voor de aangeduide ontvangers en kan vertrouwelijke 
informatie bevatten. Als u niet de ontvanger bent, dan mag u de inhoud van dit bericht 
niet bekendmaken noch kopi�ren. Als u dit bericht per vergissing heeft ontvangen, 
gelieve er de afzender of De Post onmiddellijk van op de hoogte te brengen en het 
bericht vervolgens te verwijderen.

Reply via email to