Re: Tiles overloading problem/question

2002-11-06 Thread Zsolt Koppany
Hi Dennis,

do you know what is wrong in my code? When I use the "Not working code" I get 
an error (attached below) . At the end I have a working code but in two 
definitions and would like to bring them into one.

Zsolt

Error message:
[ServletException in:/templates/tabsLayout.jsp] Error - tag useAttribute : 
attribute 'selected' not found in context. Check tag syntax'


<%-- Accessing attribute "selected" in a JSP file. --%>




   
   
   





  



   
   









On Tuesday 05 November 2002 22:20, you wrote:
> Your original xml in your first post was correct.
>
> You can't put a "put" within a "put".
>
> You can however "put" another definition as the content of a put tag.
>
> If you need to extend the other definition, you can create the extension
> definition, and then put that as the content of your final tile.
>
> On Tue, 2002-11-05 at 14:09, Zsolt Koppany wrote:
> > when I try the example below I get the error:
> >
> > ERROR commons.digester.Digester - Parse Error at line 114 column -1:
> > Element "put" does not allow "put" -- (#PCDATA)
> > org.xml.sax.SAXParseException: Element "put" does not allow "put" --
> > (#PCDATA)
> >
> > EXAMPLE:
> >
> > 
> > > type="definition" extends="cb.project.toolbar">
> > 
> >
> >
> > 
> >
> > On Tuesday 05 November 2002 18:08, Dennis Muhlestein wrote:
> > > Yes, we use 1.1b2 and it works just fine.
> > > You may need
> > >> > type="definintion">
> > >
> > > note the type... but I saw someone say that it worked without it
> > > before. -Dennis
> > >
> > > On Tue, 2002-11-05 at 09:38, Zsolt Koppany wrote:
> > > > Hi tiles users,
> > > >
> > > > is it possible to bring the two definitions into one? I just want to
> > > > define (overload) the variable "selected" that is needed by renderer
> > > > of "cb.project.toolbar".
> > > >
> > > >  > > > extends="cb.project.toolbar"> 
> > > > 
> > > >
> > > >  > > > extends="cb.master.layout">  > > > value="cb.project.toolbar.summary" />  > > > value="/overview/proj_summary.jsp" /> 
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > >  For additional
> > > > commands, e-mail: 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Tiles overloading problem/question

2002-11-05 Thread Zsolt Koppany

when I try the example below I get the error:

ERROR commons.digester.Digester - Parse Error at line 114 column -1: 
Element "put" does not allow "put" -- (#PCDATA)
org.xml.sax.SAXParseException: Element "put" does not allow "put" -- (#PCDATA)

EXAMPLE:


   

   
   



On Tuesday 05 November 2002 18:08, Dennis Muhlestein wrote:
> Yes, we use 1.1b2 and it works just fine.
> You may need
>type="definintion">
>
> note the type... but I saw someone say that it worked without it before.
> -Dennis
>
> On Tue, 2002-11-05 at 09:38, Zsolt Koppany wrote:
> > Hi tiles users,
> >
> > is it possible to bring the two definitions into one? I just want to
> > define (overload) the variable "selected" that is needed by renderer of
> > "cb.project.toolbar".
> >
> >  > extends="cb.project.toolbar"> 
> > 
> >
> > 
> > 
> >  
> >  
> >
> >
> > --
> > To unsubscribe, e-mail:  
> >  For additional
> > commands, e-mail: 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Tiles overloading problem/question

2002-11-05 Thread Zsolt Koppany
What is the parameter "type"?

Zsolt

On Tuesday 05 November 2002 18:08, Dennis Muhlestein wrote:
> Yes, we use 1.1b2 and it works just fine.
> You may need
>type="definintion">
>
> note the type... but I saw someone say that it worked without it before.
> -Dennis
>
> On Tue, 2002-11-05 at 09:38, Zsolt Koppany wrote:
> > Hi tiles users,
> >
> > is it possible to bring the two definitions into one? I just want to
> > define (overload) the variable "selected" that is needed by renderer of
> > "cb.project.toolbar".
> >
> >  > extends="cb.project.toolbar"> 
> > 
> >
> > 
> > 
> >  
> >  
> >
> >
> > --
> > To unsubscribe, e-mail:  
> >  For additional
> > commands, e-mail: 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Tiles overloading problem/question

2002-11-05 Thread Zsolt Koppany
Hi tiles users,

is it possible to bring the two definitions into one? I just want to define 
(overload) the variable "selected" that is needed by renderer of 
"cb.project.toolbar".







 
 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: