You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Kevin C. Dorff" <kd...@dorffweb.com> on 2003/10/30 15:55:37 UTC

Preferred parameter placement, .html or .page

In examples I frequently see

   <span jwcid="@Radio <Radio.html>" value='ognl:@OrderPage@SMALL' />

so the type is right in the jwcid and the parameters are right in the 
template.

Other times in examples I see that the jwcid is merely a reference into 
the .page file and all of the parameters are bound in the .page file.

Based on design or personal preferences or whatever: What does everyone 
feel is the best/optimum/whatever way to do this? Or is this really just 
a mac vs. pc, emacs vs. vi question?

I know there is at least one component that all but insists that I use 
the page file (I believe it was the validation stuff or maybe it was the 
MultiplePropertySelection, I would have to look) but I am "currently" 
doing most of the parameters in my template.

Should I be going back and moving these to the .page file for "best 
practice" or what?

Kevin



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


Re: Preferred parameter placement, .html or .page

Posted by Geoff Longman <gl...@intelligentworks.com>.
In a blatent Spindle plug...

There is currently a feature request open asking for the ability to move
these things from the template to the specification. I hope to get to
implementing it not next week, but the week after.

Geoff
----- Original Message -----
From: "Kevin C. Dorff" <kd...@dorffweb.com>
To: <ta...@jakarta.apache.org>
Sent: Thursday, October 30, 2003 9:55 AM
Subject: Preferred parameter placement, .html or .page


> In examples I frequently see
>
>    <span jwcid="@Radio <Radio.html>" value='ognl:@OrderPage@SMALL' />
>
> so the type is right in the jwcid and the parameters are right in the
> template.
>
> Other times in examples I see that the jwcid is merely a reference into
> the .page file and all of the parameters are bound in the .page file.
>
> Based on design or personal preferences or whatever: What does everyone
> feel is the best/optimum/whatever way to do this? Or is this really just
> a mac vs. pc, emacs vs. vi question?
>
> I know there is at least one component that all but insists that I use
> the page file (I believe it was the validation stuff or maybe it was the
> MultiplePropertySelection, I would have to look) but I am "currently"
> doing most of the parameters in my template.
>
> Should I be going back and moving these to the .page file for "best
> practice" or what?
>
> Kevin
>
>
>
> ---------------------------------------------------------------------
> 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