Em Tue, 21 Oct 2008 14:38:41 -0300, James Sherwood
<[EMAIL PROTECTED]> escreveu:
@OnEvent(component = "submitButton")
void onSubmitButton() {
System.out.println("Submit button was pressed!");
}
}
The Submit components fires the "selected" event, not the "submit" even
Hello,
I am playing around with T5 and I have a submit inside of a form component
like this:
TML:
Java:
@OnEvent(component = "submitButton")
void onSubmitButton() {
System.out.println("Submit button was pressed!");
}
When I press the butto
The label parameter is implicit in thethe Field interface, you could
also put a label on a Submit (not sure why). It's possible that
Submit should not be a Field, but simply be Field-like.
On 6/22/07, Dan Adams <[EMAIL PROTECTED]> wrote:
okay, i'll do that. Just thought it was a little weird th
okay, i'll do that. Just thought it was a little weird that the
component accepted a formal parameter that is never used.
On Thu, 2007-06-21 at 07:35 -0700, Howard Lewis Ship wrote:
> I suppose it could; I've been trying to minimize what T5 does in this
> area, i.e., ou should bind the (informal)
I suppose it could; I've been trying to minimize what T5 does in this
area, i.e., ou should bind the (informal) value parameter (which is
what is used as the label).
On 6/21/07, Dan Adams <[EMAIL PROTECTED]> wrote:
I have the following:
which results in:
The component has this which looks
I have the following:
which results in:
The component has this which looks like it never uses the label
parameter:
void beginRender(MarkupWriter writer)
{
writer.element("input", "type", "submit", "name", getElementName(),
"id", getClientId());
}
--
Dan Adams
Senior Software Engineer
In