You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jesús Ramos <jr...@legosoft.com.mx> on 2003/08/17 01:03:54 UTC

ABOUT @Any COMPONENT

Good day, List!

Is it possible for the @Any component to be declared implicit in an HTML template? Or must I declare this and its properties in the page specification?

Best regards.

JRamos

RE: ABOUT @Any COMPONENT

Posted by David Solis <ds...@legosoft.com.mx>.
Just a comment:

Thank to Mind Bridge, the element parameter for the Any component isn't
required, default value is the HTML tag used to insert this component in
its parent's template, i.e.

<hr jwcid="@Any"/> is equivalent to <span jwcid="@Any" element="hr"/>

Regards

David

> -----Original Message-----
> From: John Meredith [mailto:psynix@t-online.de]
> Sent: Sunday, August 17, 2003 5:38 AM
> To: Tapestry users
> Subject: Re: ABOUT @Any COMPONENT
> 
> > Is it possible for the @Any component to be declared implicit in an
HTML
> template? Or must I declare this and its properties in the page
> specification?
> 
> Sure. Why wouldn't you be able to?
> 
> <span jwcid="@Any" element="hr"/> in your template would output
> "<hr></hr>" for example.
> 
>   - John
> 
> --
> John Meredith <ps...@t-online.de>


Re: ABOUT @Any COMPONENT

Posted by John Meredith <ps...@t-online.de>.
> Is it possible for the @Any component to be declared implicit in an HTML template? Or must I declare this and its properties in the page specification?

Sure. Why wouldn't you be able to?

<span jwcid="@Any" element="hr"/> in your template would output
"<hr></hr>" for example.

  - John

-- 
John Meredith <ps...@t-online.de>