You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Jason Dunckley (JIRA)" <de...@beehive.apache.org> on 2005/10/04 23:44:47 UTC
[jira] Created: (BEEHIVE-961) Add URL rule to declarative validation rule annotations
Add URL rule to declarative validation rule annotations
-------------------------------------------------------
Key: BEEHIVE-961
URL: http://issues.apache.org/jira/browse/BEEHIVE-961
Project: Beehive
Type: Improvement
Versions: V1
Reporter: Jason Dunckley
In the Struts 1.1 rules there is a URL rule with the description below. It would be nice to have this supported by behives declarative validation annotations.
>From http://struts.apache.org/userGuide/dev_validator.html
url - validates url format. Has four optional variables (allowallschemes, allow2slashes, nofragments and schemes) which can be used to configure this validator.
allowallschemes specifies whether all schemes are allowed. Valid values are true or false (default is false). If this is set to true then the schemes variable is ignored.
allow2slashes specifies whether double '/' characters are allowed. Valid values are true or false (default is false).
nofragments specifies whether fragements are allowed. Valid values are true or false (default is false - i.e. fragments are allowed).
schemes - use to specify a comma separated list of valid schemes. If not specified then the defaults are used which are http, https and ftp.
--
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] Closed: (BEEHIVE-961) Add URL rule to declarative validation rule annotations
Posted by "Rich Feit (JIRA)" <de...@beehive.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-961?page=all ]
Rich Feit closed BEEHIVE-961:
-----------------------------
Resolution: Fixed
Assign To: (was: Rich Feit)
Added the @Jpf.ValidateURL annotation with revision 355290. I also added an automated test for this (ValidateURL) -- closing.
> Add URL rule to declarative validation rule annotations
> -------------------------------------------------------
>
> Key: BEEHIVE-961
> URL: http://issues.apache.org/jira/browse/BEEHIVE-961
> Project: Beehive
> Type: Improvement
> Components: NetUI
> Versions: V1
> Reporter: Jason Dunckley
> Fix For: 1.1
>
> In the Struts 1.1 rules there is a URL rule with the description below. It would be nice to have this supported by behives declarative validation annotations.
> From http://struts.apache.org/userGuide/dev_validator.html
>
> url - validates url format. Has four optional variables (allowallschemes, allow2slashes, nofragments and schemes) which can be used to configure this validator.
> allowallschemes specifies whether all schemes are allowed. Valid values are true or false (default is false). If this is set to true then the schemes variable is ignored.
> allow2slashes specifies whether double '/' characters are allowed. Valid values are true or false (default is false).
> nofragments specifies whether fragements are allowed. Valid values are true or false (default is false - i.e. fragments are allowed).
> schemes - use to specify a comma separated list of valid schemes. If not specified then the defaults are used which are http, https and ftp.
--
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] Assigned: (BEEHIVE-961) Add URL rule to declarative validation rule annotations
Posted by "Rich Feit (JIRA)" <de...@beehive.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-961?page=all ]
Rich Feit reassigned BEEHIVE-961:
---------------------------------
Assign To: Rich Feit
> Add URL rule to declarative validation rule annotations
> -------------------------------------------------------
>
> Key: BEEHIVE-961
> URL: http://issues.apache.org/jira/browse/BEEHIVE-961
> Project: Beehive
> Type: Improvement
> Components: NetUI
> Versions: V1
> Reporter: Jason Dunckley
> Assignee: Rich Feit
> Fix For: 1.1
>
> In the Struts 1.1 rules there is a URL rule with the description below. It would be nice to have this supported by behives declarative validation annotations.
> From http://struts.apache.org/userGuide/dev_validator.html
>
> url - validates url format. Has four optional variables (allowallschemes, allow2slashes, nofragments and schemes) which can be used to configure this validator.
> allowallschemes specifies whether all schemes are allowed. Valid values are true or false (default is false). If this is set to true then the schemes variable is ignored.
> allow2slashes specifies whether double '/' characters are allowed. Valid values are true or false (default is false).
> nofragments specifies whether fragements are allowed. Valid values are true or false (default is false - i.e. fragments are allowed).
> schemes - use to specify a comma separated list of valid schemes. If not specified then the defaults are used which are http, https and ftp.
--
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-961) Add URL rule to declarative validation rule annotations
Posted by "Rich Feit (JIRA)" <de...@beehive.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-961?page=all ]
Rich Feit updated BEEHIVE-961:
------------------------------
Component: NetUI
Fix Version: 1.1
> Add URL rule to declarative validation rule annotations
> -------------------------------------------------------
>
> Key: BEEHIVE-961
> URL: http://issues.apache.org/jira/browse/BEEHIVE-961
> Project: Beehive
> Type: Improvement
> Components: NetUI
> Versions: V1
> Reporter: Jason Dunckley
> Fix For: 1.1
>
> In the Struts 1.1 rules there is a URL rule with the description below. It would be nice to have this supported by behives declarative validation annotations.
> From http://struts.apache.org/userGuide/dev_validator.html
>
> url - validates url format. Has four optional variables (allowallschemes, allow2slashes, nofragments and schemes) which can be used to configure this validator.
> allowallschemes specifies whether all schemes are allowed. Valid values are true or false (default is false). If this is set to true then the schemes variable is ignored.
> allow2slashes specifies whether double '/' characters are allowed. Valid values are true or false (default is false).
> nofragments specifies whether fragements are allowed. Valid values are true or false (default is false - i.e. fragments are allowed).
> schemes - use to specify a comma separated list of valid schemes. If not specified then the defaults are used which are http, https and ftp.
--
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