This is a known issue if you generate a UI from a POJO that has no
required fields. If you add not-null="true" to a @Column's definition,
at least one validation rule should be generated. I suppose we could
make appfuse:gen smarter to detect when no rules are specified.

Matt

On 7/12/07, Boudewijn Rempt <[EMAIL PROTECTED]> wrote:
I'm just starting out with appfuse, so when after following the video tutorial
to the letter I get the following message when doing mvn integration-test.

[INFO] [talledLocalContainer] [incipio-dummy] ERROR [http-8081-Processor24]
DomHelper.error(347) | The content of element type "validators" is
incomplete, it must match "(field|validator)+". at (null:4:14)

And sure enough, the validator xml file is pretty empty:

<!DOCTYPE validators PUBLIC "-//OpenSymphony Group//XWork Validator 1.0.2//EN"
    "http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd";>
<validators>
</validators>

The web app itself does run and does show the test data.


--
Boudewijn Rempt
http://www.valdyas.org/fading/index.cgi

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




--
http://raibledesigns.com

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

Reply via email to