The distinction is a little blurry until you grasp the concept of 
parameterized tags.  A tag, either from dryml taglib or your own, can have 
multiple points defined within it marking out places where the tag can be 
modified or code inserted.  When calling:

<some-tag>
  <parameter-name:>Something</parameter-name:>

It's telling some-tag to change the contents of 'parameter-name' parameter, 
to be "Something".  While this:


<some-tag>
  <parameter-name>Something</parameter-name>

Is telling some-tag to change the default parameter's contents (often the 
whole tag), with tag 'parameter-name'.

The ruby analogy would be:

method(:parameter_name => :value) vs.

method(parameter_name(value) )

The final bit notes that using a : with a field-name immediately following 
is a shorthand for the common action of changing context to a field on a 
tag call.

<some-tag:field /> -> <some-tag field="field" />
On Tuesday, March 26, 2013 2:38:22 PM UTC-6, Quiliro Ordóñez wrote:
>
> http://www.hobocentral.net/manual/faq/colon does not make it clear in my 
> mind what the difference in the position of the colon does. I feel it is 
> explanatory for someone that has better understanding of this subject. 
>
> -- 
> Saludos libres, 
>
> Quiliro Ordóñez 
> Presidente (en conjunto con el resto de socios) 
> Asociación de Software Libre del Ecuador - ASLE 
> Av de la Prensa N58-219 y Cristóbal Vaca de Castro 
> Quito, Ecuador 
> (02)-600 8579 
> 09-845 8078 
> IRC: http://webchat.freenode.net?channels=asle&uio=OT10cnVlJjEwPXRydWU3a 
>
> Todo correo que reciba será tratado como información pública, de libre 
> copia y modificación, sin importar cualquier nota de confidencialidad. 
>
>

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to