AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

tiles annidati

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian)
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Thu Oct 26, 2006 4:08 pm    Post subject: tiles annidati Reply with quote



ciao ragazzi
e' un po' che ci perdo la testa..
senza usare le definizioni, si puo' nidificare in qualche modo
l'inserimento dei tiles?
mi spiego meglio

ho un template, con vari <tiles:insert> piazzati qui e li'..
focalizziamoci su <tiles:insert attribute="content"/> per esempio

ho una pagina che utilizza questo template, ma al posto di fare una
normale <tiles:put name="content" value="pagina.che.mi.serve.ext"/>
voglio inserirci un altro <tiles:insert page="altro.template">.. con
quindi all'interno i suoi relativi <tiles:put>

praticamente in altro.template voglio inserire la "forma" del content,
incollarci dentro quello che mi serve, e incollare tutto dentro al
template principale..
come si fa?
ho provato con

<tiles:put name="content">
<tiles:insert page="/tiles/content.view" flush="false">
<tiles:put name="title" type="string" value="Presentazione"/>
<tiles:put name="content" type="string">
prova stupidissima
</tiles:put>
</tiles:insert>
</tiles:put>

ma non va.. (oltretutto ho dovuto impostare il flush a false altrimenti
rompe perche' nn puo' fare un flush dentro i custom tags.. mi sembra di
leggere sia un problema legato a jstl, ma in queste pagine non li uso..)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.