[JIRA] Created: (STS-499) Let TagErrorRendererFactory decide if a field is in error

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (STS-499) Let TagErrorRendererFactory decide if a field is in error

JIRA jira@stripesframework.org
Let TagErrorRendererFactory decide if a field is in error
---------------------------------------------------------

                 Key: STS-499
                 URL: http://www.stripesframework.org/jira/browse/STS-499
             Project: Stripes
          Issue Type: Improvement
          Components: Tag Library
            Reporter: Ben Gunter
            Priority: Trivial
             Fix For: Release 1.6


Currently, tags decide themselves if there are validation errors in the request that apply to them. If the determine that there are errors, they create and use a TagErrorRenderer. The decision should be moved into the TagErrorRendererFactory so that developers can override the default behavior if they need to.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development
Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (STS-499) Let TagErrorRendererFactory decide if a field is in error

JIRA jira@stripesframework.org

    [ http://www.stripesframework.org/jira/browse/STS-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080#comment-13080 ]

Dave Roberge commented on STS-499:
----------------------------------

Hey Ben, I was looking into this. Were you thinking of adding a new method to the TagErrorRendererFactory?

> Let TagErrorRendererFactory decide if a field is in error
> ---------------------------------------------------------
>
>                 Key: STS-499
>                 URL: http://www.stripesframework.org/jira/browse/STS-499
>             Project: Stripes
>          Issue Type: Improvement
>          Components: Tag Library
>            Reporter: Ben Gunter
>            Priority: Trivial
>             Fix For: Release 1.6
>
>
> Currently, tags decide themselves if there are validation errors in the request that apply to them. If the determine that there are errors, they create and use a TagErrorRenderer. The decision should be moved into the TagErrorRendererFactory so that developers can override the default behavior if they need to.

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development
Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (STS-499) Let TagErrorRendererFactory decide if a field is in error

JIRA jira@stripesframework.org
In reply to this post by JIRA jira@stripesframework.org

    [ http://www.stripesframework.org/jira/browse/STS-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13081#comment-13081 ]

Ben Gunter commented on STS-499:
--------------------------------

Honestly, it has been so long I don't remember anything about this. Based on the description, I probably would have added a protected method to do whatever needs to be done so that a subclass could change the behavior.

> Let TagErrorRendererFactory decide if a field is in error
> ---------------------------------------------------------
>
>                 Key: STS-499
>                 URL: http://www.stripesframework.org/jira/browse/STS-499
>             Project: Stripes
>          Issue Type: Improvement
>          Components: Tag Library
>            Reporter: Ben Gunter
>            Priority: Trivial
>             Fix For: Release 1.6
>
>
> Currently, tags decide themselves if there are validation errors in the request that apply to them. If the determine that there are errors, they create and use a TagErrorRenderer. The decision should be moved into the TagErrorRendererFactory so that developers can override the default behavior if they need to.

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development