I forgot that I recently added a line in my module file
configuration.add(SymbolConstants.JAVASCRIPT_INFRASTRUCTURE_PROVIDER,
"jquery");
as suggested on my previous question on this list. My good friend
Martijn reminded me of this :-)
Removing the line solves the current issue. So now I'm looking for a fix
that allows me to run Ajax properly and have the submit button work.
dagdag
Christine
On 08-10-15 15:49, Christine wrote:
Hi,
I have a form in a page that worked fine until recently. It stopped
working after I reinstalled Ubuntu and after I switched from Tapestry
beta26 to beta35. I am not aware of changes in my code.
The page has a submit button, that doesn't seem to do anything.
This is the error I get,
Form validiation/submit error `TypeError: input.match is not a
function', in form ElementWrapper[<form data-validate="submit"
action="/gossipUI/admin/addserver.addserverform" method="post"
id="addServerForm" class="has-error">], triggering
t5:field:input-validation event on ElementWrapper[<input title="Port
does not match pattern '^[0-9]+$'." pattern="^[0-9]+$"
data-regexp-message="Port does not match pattern '^[0-9]+$'."
data-validate-regexp="^[0-9]+$" data-max-length-message="You may
provide at most 5 characters for Port." data-validate-max-length="5"
data-required-message="You must provide a value for Port."
data-optionality="required" data-translation-message="You must provide
an integer value for Port." data-translation="integer"
data-validation="true" value="0" id="port" class="form-control"
name="port" type="text">]
together with this one
TypeError: input.match is not a function(…)
defaultValidateAndSubmit @ core.js:443
wrapped @ core.js:413
jQuery.event.dispatch @ core.js:230
jQuery.event.add.elemData.handle @ core.js:220
a jar "js.jar" is on my classpath, do I need to have that?
dagdag
Christine
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org