There is a iterator producing "Bloque" objects <c:forEach var='bloque' items='${documento.bloques}'> <c:set var="bloque" value="${bloque}" scope="request"/> <c:import url="bloque.jsp"> <c:param name="bloque"/> </c:import> </c:forEach>
I must test it with more objects. El sáb, 26-01-2008 a las 11:07 -0700, Matt Raible escribió: > I don't know if you actually need the <c:param> in this scenario. > > Matt > > On Jan 26, 2008, at 10:56 AM, Leo Barrientos C. wrote: > > > Yeah baby, yeah!! > > DRY- > > > > <c:set var="bloque" value="${bloque}" scope="request"/> > > <c:import url="bloque.jsp"> > > <c:param name="bloque"/> > > </c:import> > > > > > > > > El sáb, 26-01-2008 a las 10:31 -0700, Matt Raible escribió: > >> I would try <c:import> and <c:param> - or use <c:set > >> scope="request"/> > >> to put the object in the request before you do the include. > >> > >> Matt > >> > >> On 1/26/08, Leo Barrientos C. <[EMAIL PROTECTED]> wrote: > >>>> If you just print out ${bloque} on > >>>> the included page, is it blank? YES > >>> > >>> If you do the same thing on the page > >>>> that has the include, does it work? YES - on the same page works. > >>> > >>> > >>> > >>> El sáb, 26-01-2008 a las 18:26 +0100, Leo Barrientos C. escribió: > >>>> Matt, bloque is an object . > >>>> > >>>> I'm trying to "DRY" - Showing the details of "Bloque" in bloque.jsp > >>>> > >>>> I also tried passing just a "hello world" String but doesnot work. > >>>> > >>>> <jsp:param name="hello" value="Hello world" /> > >>>> > >>>> I dont know...maybe a page attr??? > >>>> > >>>> > >>>> El sáb, 26-01-2008 a las 10:17 -0700, Matt Raible escribió: > >>>>> Is bloque a string? If not, it probably won't work. What are you > >>>>> trying to do on the included page? If you just print out $ > >>>>> {bloque} on > >>>>> the included page, is it blank? If you do the same thing on the > >>>>> page > >>>>> that has the include, does it work? > >>>>> > >>>>> Matt > >>>>> > >>>>> On 1/26/08, Leo Barrientos C. <[EMAIL PROTECTED]> > >>>>> wrote: > >>>>>> On appfuse 2.0 Spring MVC : > >>>>>> > >>>>>> <jsp:include page="bloque.jsp"> > >>>>>> <jsp:param name="bloque" value="${bloque}" /> > >>>>>> </jsp:include> > >>>>>> > >>>>>> bloque.jsp doesnot "see" bloque object. > >>>>>> > >>>>>> What is bad?, help please. > >>>>>> > >>>>>> Thanks. > >>>>>> > >>>>>> > >>>>>> ----------------------------------------------------------------- > >>>>>> ---- > >>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>>>> For additional commands, e-mail: [EMAIL PROTECTED] > >>>>>> > >>>>>> > >>>>> > >>>>> ------------------------------------------------------------------ > >>>>> --- > >>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>>> For additional commands, e-mail: [EMAIL PROTECTED] > >>>>> > >>>> > >>>> > >>>> ------------------------------------------------------------------- > >>>> -- > >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>> For additional commands, e-mail: [EMAIL PROTECTED] > >>>> > >>> > >>> > >>> -------------------------------------------------------------------- > >>> - > >>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>> For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >>> > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]