You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by bu...@apache.org on 2003/08/30 18:54:23 UTC

DO NOT REPLY [Bug 22836] New: - NumericField component throws an ApplicationRuntimeException

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22836>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22836

NumericField component throws an ApplicationRuntimeException

           Summary: NumericField component throws an
                    ApplicationRuntimeException
           Product: Tapestry
           Version: 3.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Contrib
        AssignedTo: tapestry-dev@jakarta.apache.org
        ReportedBy: juceri@ya.com


Using NumericField component throws this exception:

Method 'public abstract java.lang.Object
org.apache.tapestry.valid.ValidField.getValue()' (declared in class
org.apache.tapestry.valid.ValidField) has no implementation in class
org.apache.tapestry.contrib.valid.NumericField (or enhanced subclass
org.apache.tapestry.contrib.valid.NumericField$Enhance_93).

I have tested it using this page:
--- ValidatingTest.page ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE page-specification PUBLIC "-//Apache Software Foundation//Tapestry
Specification 3.0//EN"
	"http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
<page-specification class="org.apache.tapestry.html.BasePage">
	<property-specification name="number" type="java.lang.Number" />	
</page-specification>
----------------------------
--- ValidatingTest.html ----
<span jwcid="@contrib:NumericField" date="ognl:number" displayName="Number" />
----------------------------