Re: Form action from Form component

2011-11-04 Thread manuelbarzi
may you try extending & overriding your form :?

YourForm extends Form {
...
... onComponentTag(ComponentTag tag) {
... super.onComponentTag(tag);
String action = tag.getString("action");
...
}



On Fri, Nov 4, 2011 at 3:06 PM, Brian Mulholland wrote:

> How do I get the value wicket is going to write out in the form action
> from the form component.  The links have a getURL method, but I
> haven't seen an equivalent method for the form.
>
> Brian Mulholland
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Form action from Form component

2011-11-04 Thread Martin Grigorov
org.apache.wicket.markup.html.form.Form.getActionUrl()

it is protected

On Fri, Nov 4, 2011 at 4:06 PM, Brian Mulholland  wrote:
> How do I get the value wicket is going to write out in the form action
> from the form component.  The links have a getURL method, but I
> haven't seen an equivalent method for the form.
>
> Brian Mulholland
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Form action from Form component

2011-11-04 Thread Brian Mulholland
How do I get the value wicket is going to write out in the form action
from the form component.  The links have a getURL method, but I
haven't seen an equivalent method for the form.

Brian Mulholland

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org