#86 Struts Validator validation.xml gen.

closed-accepted
webdoclet (6)
5
2002-09-04
2002-08-23
No

This patch allows Struts Validator validation.xml to be
generated from ValidatorForm subclasses. It does
exactly what we need done for my job, but is likely to
need tweaking to satisfy a general use. Here's how I run
it from <webdoclet>:

<template templateFile="metadata/web/validation.xdt"
destinationfile="validation.xml"
/>

Discussion

  • Erik Hatcher

    Erik Hatcher - 2002-08-23

    Full updated patch with xtags

     
  • Erik Hatcher

    Erik Hatcher - 2002-08-23

    Logged In: YES
    user_id=341089

    Please disregard the validation.xdt and
    StrutsValidatorTagsHandler.java attachments (I tried deleting
    them but no permission to do so). The StrutsValidator.zip
    attachment contains the latest of my patch submission
    including xtags.xml patch and the .java file has better
    Javadoc tags.

     
  • Marcus Brito

    Marcus Brito - 2002-08-26

    Logged In: YES
    user_id=360347

    Mine! Mine!

     
  • Marcus Brito

    Marcus Brito - 2002-08-26
    • assigned_to: nobody --> pazu
    • status: open --> open-accepted
     
  • Marcus Brito

    Marcus Brito - 2002-08-30

    Logged In: YES
    user_id=360347

    Erik, I acidentally deleted your latest update for this
    patch. Could you please resubmit your newest
    StrutsValidatorTagsHandler.java?

     
  • Erik Hatcher

    Erik Hatcher - 2002-08-30

    Logged In: YES
    user_id=341089

    Please change the tags handler to have this correction:

    * @xdoclet.taghandler namespace="Validator"

    This fixes the clean-build-only issue I've had. Also, the
    <XDtTagDef> should be removed from the XDT file.

     
  • Marcus Brito

    Marcus Brito - 2002-09-04
    • status: open-accepted --> closed-accepted
     
  • Marcus Brito

    Marcus Brito - 2002-09-04

    Logged In: YES
    user_id=360347

    Patch applied. Thanks, Erik!

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks