You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Adrian Grealish (JIRA)" <ji...@apache.org> on 2006/12/14 01:46:21 UTC

[jira] Created: (BEEHIVE-1165) Add more information about TypeConverter and netui-typeconverter.properties location and how to add them to welogic.xml

Add more information about TypeConverter and netui-typeconverter.properties location and how to add them to welogic.xml
-----------------------------------------------------------------------------------------------------------------------

                 Key: BEEHIVE-1165
                 URL: http://issues.apache.org/jira/browse/BEEHIVE-1165
             Project: Beehive
          Issue Type: Improvement
          Components: Documentation
    Affects Versions: 1.0.1, 1.0.2, V.Next
            Reporter: Adrian Grealish
            Priority: Minor
             Fix For: V.Next


Should add some information to the about the options available for more fine grained validation to the validation documentation page. ...as noted in the beehive user list.

In NetUI there is a Validatable interface with a validate() method that is called when data is posted to a page flow action that takes the given bean as its argument (and the action has validation turned on by including the validationErrorForward in the @Jpf.Action annotation). Or if a form bean extends Struts ActionForm, it could override its validate() method. 


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

        

[jira] Updated: (BEEHIVE-1165) Add more information about TypeConverters and configuring them in beehive-netui-config.xml

Posted by "Eddie O'Neil (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-1165?page=all ]

Eddie O'Neil updated BEEHIVE-1165:
----------------------------------

    Summary: Add more information about TypeConverters and configuring them in beehive-netui-config.xml  (was: Add more information about TypeConverter and netui-typeconverter.properties location and how to add them to welogic.xml)

I've morphed this bug a bit -- netui-typeconverter.properties is a deprecated configuration file that I'd rather not encourage the use of and I've removed this from the title.  The correct way to do this is to add entries to WEB-INF/beehive-netui-config.xml (not weblogic.xml).  The documentation that exists today is here:

  http://beehive.apache.org/docs/1.0.1/netui/config/beehive-netui-config.html#type-converters



> Add more information about TypeConverters and configuring them in beehive-netui-config.xml
> ------------------------------------------------------------------------------------------
>
>                 Key: BEEHIVE-1165
>                 URL: http://issues.apache.org/jira/browse/BEEHIVE-1165
>             Project: Beehive
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 1.0.1, 1.0.2, V.Next
>            Reporter: Adrian Grealish
>            Priority: Minor
>             Fix For: V.Next
>
>
> Should add some information to the about the options available for more fine grained validation to the validation documentation page. ...as noted in the beehive user list.
> In NetUI there is a Validatable interface with a validate() method that is called when data is posted to a page flow action that takes the given bean as its argument (and the action has validation turned on by including the validationErrorForward in the @Jpf.Action annotation). Or if a form bean extends Struts ActionForm, it could override its validate() method. 

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

        

[jira] Commented: (BEEHIVE-1165) Add more information about TypeConverter and netui-typeconverter.properties location and how to add them to welogic.xml

Posted by "Adrian Grealish (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/BEEHIVE-1165?page=comments#action_12458322 ] 
            
Adrian Grealish commented on BEEHIVE-1165:
------------------------------------------

Sorry I cloned this and didn't get a chance to set description.

I've found the documentation around TypeConverter somewhat lacking, I had to look at the code to see wherer to put the netui-typeconverter.properties and I saw that there is alos an option to have them in the web.xml but couldn't find much info on this. 

> Add more information about TypeConverter and netui-typeconverter.properties location and how to add them to welogic.xml
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: BEEHIVE-1165
>                 URL: http://issues.apache.org/jira/browse/BEEHIVE-1165
>             Project: Beehive
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 1.0.1, 1.0.2, V.Next
>            Reporter: Adrian Grealish
>            Priority: Minor
>             Fix For: V.Next
>
>
> Should add some information to the about the options available for more fine grained validation to the validation documentation page. ...as noted in the beehive user list.
> In NetUI there is a Validatable interface with a validate() method that is called when data is posted to a page flow action that takes the given bean as its argument (and the action has validation turned on by including the validationErrorForward in the @Jpf.Action annotation). Or if a form bean extends Struts ActionForm, it could override its validate() method. 

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

        

[jira] Commented: (BEEHIVE-1165) Add more information about TypeConverters and configuring them in beehive-netui-config.xml

Posted by "Eddie O'Neil (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/BEEHIVE-1165?page=comments#action_12458368 ] 
            
Eddie O'Neil commented on BEEHIVE-1165:
---------------------------------------

One clarification point -- beehive-netui-config.xml is the "correct" way to configure type converters today.  The old netui-typeconverters.properties file is still supported, but it's use is discouraged.  

Obviously, documentation on any / all of these is welcome -- though documenting best practice is preferable.


> Add more information about TypeConverters and configuring them in beehive-netui-config.xml
> ------------------------------------------------------------------------------------------
>
>                 Key: BEEHIVE-1165
>                 URL: http://issues.apache.org/jira/browse/BEEHIVE-1165
>             Project: Beehive
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 1.0.1, 1.0.2, V.Next
>            Reporter: Adrian Grealish
>            Priority: Minor
>             Fix For: V.Next
>
>
> Should add some information to the about the options available for more fine grained validation to the validation documentation page. ...as noted in the beehive user list.
> In NetUI there is a Validatable interface with a validate() method that is called when data is posted to a page flow action that takes the given bean as its argument (and the action has validation turned on by including the validationErrorForward in the @Jpf.Action annotation). Or if a form bean extends Struts ActionForm, it could override its validate() method. 

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