You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Programozás <pr...@hotmail.com> on 2004/04/20 19:38:14 UTC

Insert q.

In Insert.jwc I've found 

    allow-body="no"

But I used to add body to Insert component instances.
Where is the trick :)

Thanks,
Norbi

Re: parameter bug?

Posted by Programozás <pr...@hotmail.com>.
It's now absolutely logical :)
Sorry,
Norbi

----- Original Message ----- 
From: "Harish Krishnaswamy" <hk...@comcast.net>
To: "Tapestry users" <ta...@jakarta.apache.org>
Sent: Tuesday, April 20, 2004 9:21 PM
Subject: Re: parameter bug?


> "auto" parameters are required but there is a savior, the
> "default-value" attribute!
>
> -Harish
>
> Programozás wrote:
>
> >"auto" parameters must be required (book 228 :)
> >The "templateTag" parameter of Any is auto but not required.
> >
> >Norbi
> >
> >----- Original Message ----- 
> >From: "Howard M. Lewis Ship" <hl...@comcast.net>
> >To: "'Tapestry users'" <ta...@jakarta.apache.org>
> >Sent: Tuesday, April 20, 2004 7:51 PM
> >Subject: RE: Insert q.
> >
> >
> >allow-body="no" means that the body (the portion of the template enclosed
by
> >the Insert's begin and
> >end tags), if any, is discarded. In other words, the body (in the
template)
> >exists only for WYSIWYG
> >preview.
> >
> >This also adds a check that causes an error if there's a component in the
> >body.
> >
> >--
> >Howard M. Lewis Ship
> >Independent J2EE / Open-Source Java Consultant
> >Creator, Tapestry: Java Web Components
> >Creator, HiveMind
> >http://howardlewisship.com
> >
> >
> >
> >
> >>-----Original Message-----
> >>From: Programozás [mailto:programozas@hotmail.com]
> >>Sent: Tuesday, April 20, 2004 1:38 PM
> >>To: tapestry-user
> >>Subject: Insert q.
> >>
> >>
> >>In Insert.jwc I've found
> >>
> >>    allow-body="no"
> >>
> >>But I used to add body to Insert component instances.
> >>Where is the trick :)
> >>
> >>Thanks,
> >>Norbi
> >>
> >>
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: parameter bug?

Posted by Harish Krishnaswamy <hk...@comcast.net>.
"auto" parameters are required but there is a savior, the 
"default-value" attribute!

-Harish

Programozás wrote:

>"auto" parameters must be required (book 228 :)
>The "templateTag" parameter of Any is auto but not required.
>
>Norbi
>
>----- Original Message ----- 
>From: "Howard M. Lewis Ship" <hl...@comcast.net>
>To: "'Tapestry users'" <ta...@jakarta.apache.org>
>Sent: Tuesday, April 20, 2004 7:51 PM
>Subject: RE: Insert q.
>
>
>allow-body="no" means that the body (the portion of the template enclosed by
>the Insert's begin and
>end tags), if any, is discarded. In other words, the body (in the template)
>exists only for WYSIWYG
>preview.
>
>This also adds a check that causes an error if there's a component in the
>body.
>
>--
>Howard M. Lewis Ship
>Independent J2EE / Open-Source Java Consultant
>Creator, Tapestry: Java Web Components
>Creator, HiveMind
>http://howardlewisship.com
>
>
>  
>
>>-----Original Message-----
>>From: Programozás [mailto:programozas@hotmail.com]
>>Sent: Tuesday, April 20, 2004 1:38 PM
>>To: tapestry-user
>>Subject: Insert q.
>>
>>
>>In Insert.jwc I've found
>>
>>    allow-body="no"
>>
>>But I used to add body to Insert component instances.
>>Where is the trick :)
>>
>>Thanks,
>>Norbi
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


parameter bug?

Posted by Programozás <pr...@hotmail.com>.
"auto" parameters must be required (book 228 :)
The "templateTag" parameter of Any is auto but not required.

Norbi

----- Original Message ----- 
From: "Howard M. Lewis Ship" <hl...@comcast.net>
To: "'Tapestry users'" <ta...@jakarta.apache.org>
Sent: Tuesday, April 20, 2004 7:51 PM
Subject: RE: Insert q.


allow-body="no" means that the body (the portion of the template enclosed by
the Insert's begin and
end tags), if any, is discarded. In other words, the body (in the template)
exists only for WYSIWYG
preview.

This also adds a check that causes an error if there's a component in the
body.

--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Tapestry: Java Web Components
Creator, HiveMind
http://howardlewisship.com


> -----Original Message-----
> From: Programozás [mailto:programozas@hotmail.com]
> Sent: Tuesday, April 20, 2004 1:38 PM
> To: tapestry-user
> Subject: Insert q.
>
>
> In Insert.jwc I've found
>
>     allow-body="no"
>
> But I used to add body to Insert component instances.
> Where is the trick :)
>
> Thanks,
> Norbi
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Insert q.

Posted by Programozás <pr...@hotmail.com>.
Thanks, I will modify my component reference generator to reflect this
behaviour.
After using Tapestry for monthes I arrived to this basic question :))))

N.

----- Original Message ----- 
From: "Howard M. Lewis Ship" <hl...@comcast.net>
To: "'Tapestry users'" <ta...@jakarta.apache.org>
Sent: Tuesday, April 20, 2004 7:51 PM
Subject: RE: Insert q.


allow-body="no" means that the body (the portion of the template enclosed by
the Insert's begin and
end tags), if any, is discarded. In other words, the body (in the template)
exists only for WYSIWYG
preview.

This also adds a check that causes an error if there's a component in the
body.

--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Tapestry: Java Web Components
Creator, HiveMind
http://howardlewisship.com


> -----Original Message-----
> From: Programozás [mailto:programozas@hotmail.com]
> Sent: Tuesday, April 20, 2004 1:38 PM
> To: tapestry-user
> Subject: Insert q.
>
>
> In Insert.jwc I've found
>
>     allow-body="no"
>
> But I used to add body to Insert component instances.
> Where is the trick :)
>
> Thanks,
> Norbi
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


RE: Insert q.

Posted by "Howard M. Lewis Ship" <hl...@comcast.net>.
allow-body="no" means that the body (the portion of the template enclosed by the Insert's begin and
end tags), if any, is discarded. In other words, the body (in the template) exists only for WYSIWYG
preview.

This also adds a check that causes an error if there's a component in the body.

--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Tapestry: Java Web Components 
Creator, HiveMind
http://howardlewisship.com


> -----Original Message-----
> From: Programozás [mailto:programozas@hotmail.com] 
> Sent: Tuesday, April 20, 2004 1:38 PM
> To: tapestry-user
> Subject: Insert q.
> 
> 
> In Insert.jwc I've found 
> 
>     allow-body="no"
> 
> But I used to add body to Insert component instances.
> Where is the trick :)
> 
> Thanks,
> Norbi
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org