Hi,
I'm trying to get some simple list editing working using For and
TextField but not having much luck.
Home.html: -
http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
Example app
Hello world!
List
of names:
1
Home.java
public abstract class Home extends BasePage implements
Can anyone help me to get client-side validation working?
I've enabled client side validation on my form component, and used a
ScriptIncludes component to load the dojo components, but now whenever I
submit the form (whether or not there are any invalid inputs) the
following message is appende
Hi Jesse,
Jesse Kuhnert wrote:
I think the problem with this approach is that the For component has
no way of uniquely identifying your list values.
I would try using the keyExpression or converter parameters of the For
component to do this instead.
http://tapestry.apache.org/tapestry4.1/compon
Hi Daniel,
thanks for the help!
Daniel Tabuenca wrote:
The Chart example the plotValues property is persisted:
class="org.apache.tapestry.workbench.chart.ChartPage">
...
I am assuming you are not persisting since from your logs:
9627410 [btpool0-3] INFO com.example.pages.Home -
Hi Firas,
Firas Adiler wrote:
I'm a bit puzzled myself, but how did you manage to run the app without
providing setters for 'idx' and 'name' fields:
public abstract void setIdx(int idx)
public abstract void setName(String name)?
Seems to work fine just defining the getter in other situation
Hi Daniel,
thanks very much for this, it makes things much clearer (best
explanation of it I've seen by a long chalk!).
I'll take your advice and create a holder object for my string that uses
a UUID to identify the strings.
Thanks!
jim
Daniel Tabuenca wrote:
Eventually I'm going to be s
Warning: This message has had one or more attachments removed
Warning: (verify.js).
Warning: Please read the "FilterNotice.txt" attachment(s) for more information.
Stefan Esterer wrote:
Can you post your script, page and html file so we can study it?
At the moment I'm just trying to use the
Hi Brian,
thanks for the advice - I'll see what happens when I turn off the input
disabling.
cheers,
jim
Brian Duchek wrote:
Back in Tap3, if you disabled form fields on the client it would
totally screw up server side validation (and some client validation
schemes). It was a technique fr