It's a so-called "binding-prefix". This has a long and venerable history ;).
In the beginning there were only "literal" (no prefix), "message" and "ognl"
binding.
Back then most interesting bindings were "ognl:" and people used to access a
lot 
of interesting things via special collections of pages/components
(ognl:beans, ognl:listeners, ognl:components, ...). In Tap 4 shortcuts these
important collections got their own binding prefix.
This made .html slightly more concise. And I believe it's speedier, because
ognl is notoriously not-so-fast. Through the advent of hivemind you can very
easily add your own binding prefixes ...

> -----Original Message-----
> From: marcopar [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 24, 2006 3:54 PM
> To: users@tapestry.apache.org
> Subject: Re: about validation error messages
> 
> 
> In data Wed, 24 May 2006 15:12:02 +0200, Schulte Marcus ha scritto:
> 
> >>> <form jwcid="[EMAIL PROTECTED]" success="doSubmit" 
> >> delegate="beans.delegate">
> > 
> > try: delegate="ognl:beans.delegate"
> 
> whoaaa... the ognl way worked. thank you.
> i still remain dubious on when i should use ognl:, listener:, 
> delegate: or 
> nothing. What does it mean really that "<keyword>:" stuff?
> 
> <form jwcid="[EMAIL PROTECTED]" success="listener:doSubmit" 
> delegate="ognl:beans.delegate">
> <input jwcid="[EMAIL PROTECTED]" value="ognl:pid"/>
> <span jwcid="@Delegator" 
> delegate="ognl:beans.delegate.firstError"></span>
> <table border="1" cellspacing="1" cellpadding="2">
> <tbody>
> <tr>
> <td><label jwcid="@FieldLabel" 
> field="component:name">Name</label></td>
> <td><input jwcid="[EMAIL PROTECTED]" value="ognl:glueSyringe.name" 
> displayName="Name" 
> validators="validators:minLength=15[Sorbole]"/></td>
> </tr>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to