Hi,
I reran the application with no change in results. Till now I was running on JDK 1.3.1 which comes with BEA on Windows NT. I also tested on Solaris 5.7 with JDK 1.3.0_02 installed. Same result. I am using latest Tapestry release i.e. 2.0.2a
I did a recompile after clean, the classpath is also ok. I decompiled my class from the war file & it had the get/set methods. Luis, please tell me what platform/JDK are you running on. I am attaching the exception page.
Thanks,
Aejaz
"Howard M. Lewis Ship" <[EMAIL PROTECTED]> wrote:
That good, cause the code looked good. Always do a make clean when things
get wierd, then search your folders for errant .class files. You can also
use the Tapestry Inspector to double check what your classpath is.
----- Original Message -----
From: "Luis Neves" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Aejaz Muslim" <[EMAIL PROTECTED]>
Sent: Friday, May 17, 2002 1:59 AM
Subject: Re: [Tapestry-developer] Property not found Exception
>
> Hello Aejaz,
>
> I can't reproduce that error.
> It's working just fine here.
> No ... I am not making this up :-)
> See:
>
> http://pwp.netcabo.pt/0229592601/formTest1.gif
>
> http://pwp.netcabo.pt/0229592601/formTest2.gif
>
> Best regards,
>
> Luis Neves
>
>
>
>
> _______________________________________________________________
>
> Have big pipes? SourceForge.net is looking for download mirrors. We supply
> the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
> _______________________________________________
> Tapestry-developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
Title: Exception
You may continue by restarting the session.
| Name: |
com.primix.tapestry.RequestCycleException |
| Message: |
Unable to resolve property ckbx of tutorial.formTest.Values@3f3d87[Values]. |
| component: |
tutorial.formTest.Values@3f3d87[Values] |
| |
| Name: |
com.primix.tapestry.BindingException |
| Message: |
Unable to resolve property ckbx of tutorial.formTest.Values@3f3d87[Values]. |
| binding: |
PropertyBinding[Values ckbx] |
| |
| Name: |
com.primix.tapestry.util.prop.MissingAccessorException |
| Message: |
No accessor method for property ckbx. |
| propertyName: |
ckbx |
| object: |
tutorial.formTest.Values@3f3d87[Values] |
| Trace: | |
- com.primix.tapestry.util.prop.PropertyAccessor.get(PropertyAccessor.java:92)
- com.primix.tapestry.util.prop.PropertyHelper.get(PropertyHelper.java:413)
- com.primix.tapestry.binding.PropertyBinding.getObject(PropertyBinding.java:161)
- com.primix.tapestry.components.Insert.render(Insert.java:158)
- com.primix.tapestry.BaseComponent.render(BaseComponent.java:396)
- com.primix.tapestry.AbstractPage.renderPage(AbstractPage.java:265)
- com.primix.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:407)
- com.primix.tapestry.engine.AbstractEngine.renderResponse(AbstractEngine.java:577)
- com.primix.tapestry.engine.DirectService.service(DirectService.java:164)
- com.primix.tapestry.engine.AbstractEngine.service(AbstractEngine.java:706)
- com.primix.tapestry.ApplicationServlet.doService(ApplicationServlet.java:203)
- com.primix.tapestry.ApplicationServlet.doPost(ApplicationServlet.java:314)
- javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
- javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
- org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:488)
- org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:403)
- org.mortbay.http.HandlerContext.handle(HandlerContext.java:1047)
- org.mortbay.http.HandlerContext.handle(HandlerContext.java:1002)
- org.mortbay.http.HttpServer.service(HttpServer.java:774)
- org.mortbay.http.HttpConnection.service(HttpConnection.java:745)
- org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:918)
- org.mortbay.http.HttpConnection.handle(HttpConnection.java:760)
- org.mortbay.http.SocketListener.handleConnection(SocketListener.java:148)
- org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:287)
- org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:775)
- java.lang.Thread.run(Thread.java:484)
|
Request| Parameters |
|---|
| EnterName | ed | | Form0 | 3 | | context | Home/form | | inputPublisher | 0 | | parameters | 0 | | service | direct | | Properties |
|---|
| contentLength | 85 |
|---|
| contentType | application/x-www-form-urlencoded |
|---|
| method | POST |
|---|
| protocol | HTTP/1.1 |
|---|
| remoteAddr | 127.0.0.1 |
|---|
| remoteHost | localhost |
|---|
| requestedSessionIdFromCookie | no |
|---|
| requestedSessionIdFromURL | no |
|---|
| requestedSessionIdValid | no |
|---|
| requestURI | /tutorial/formTest |
|---|
| scheme | http |
|---|
| serverName | localhost |
|---|
| serverPort | 8080 |
|---|
| contextPath | /tutorial |
|---|
| servletPath | /formTest |
|---|
| Headers |
|---|
| Accept | application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* |
|---|
| Accept-Encoding | gzip, deflate |
|---|
| Accept-Language | en-us |
|---|
| Connection | Keep-Alive |
|---|
| Content-Length | 85 |
|---|
| Content-Type | application/x-www-form-urlencoded |
|---|
| Host | localhost:8080 |
|---|
| Referer | http://localhost:8080/tutorial/formTest |
|---|
| User-Agent | Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0; AT&T CSM6.0) |
|---|
| Attributes |
|---|
| org.mortbay.jetty.Request | POST /tutorial/formTest HTTP/1.1
Accept: application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Referer: http://localhost:8080/tutorial/formTest
Accept-Language: en-us
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0; AT&T CSM6.0)
Host: localhost:8080
Content-Length: 85
Connection: Keep-Alive
|
|---|
Servlet| Properties |
|---|
| servlet | tutorial.formTest.formTestServlet@4e3f41 |
|---|
Servlet Context| Properties |
|---|
| majorVersion | 2 |
|---|
| minorVersion | 2 |
|---|
| serverInfo | Jetty/3.1 |
|---|
| Attributes |
|---|
| com.primix.tapestry.AssetExternalizer.FormTest | com.primix.tapestry.asset.AssetExternalizer@1acd47 |
|---|
| com.primix.tapestry.DefaultScriptSource.FormTest | DefaultScriptSource@1b04e2[[], ] |
|---|
| com.primix.tapestry.PageSource.FormTest | PageSource- pool = Pool[Generation = 0 Pooled = 0]
- MultiKey[Home, en_US] = 0
- 2 cached field bindings
- com.primix.tapestry.IEngineService.RESTART_SERVICE
- Boolean.TRUE
- 1 cached static bindings
- 1 cached private assets
- /com/primix/tapestry/pages/Exception.css
|
|---|
| com.primix.tapestry.ServiceMap.FormTest | {restart=com.primix.tapestry.engine.RestartService@5dcec6, asset=com.primix.tapestry.asset.AssetService@325b9d, reset=com.primix.tapestry.engine.ResetService@1ce060, page=com.primix.tapestry.engine.PageService@4ecfdd, action=com.primix.tapestry.engine.ActionService@30d82d, home=com.primix.tapestry.engine.HomeService@409554, direct=com.primix.tapestry.engine.DirectService@bf072} |
|---|
| com.primix.tapestry.SpecificationSource.FormTest | DefaultSpecificationSource[25 cached specifications]- Shell
- Delegator
- /tutorial/formTest/Home.jwc
- Foreach
- /com/primix/tapestry/form/Form.jwc
- /com/primix/tapestry/html/ExceptionDisplay.jwc
- /com/primix/tapestry/components/Foreach.jwc
- /com/primix/tapestry/html/Shell.jwc
- /com/primix/tapestry/link/Service.jwc
- Form
- Conditional
- /com/primix/tapestry/form/PropertySelection.jwc
- ExceptionDisplay
- /com/primix/tapestry/form/Checkbox.jwc
- Service
- Checkbox
- /com/primix/tapestry/pages/Exception.jwc
- TextField
- /tutorial/formTest/Values.jwc
- /com/primix/tapestry/components/Insert.jwc
- /com/primix/tapestry/components/Conditional.jwc
- /com/primix/tapestry/form/TextField.jwc
- /com/primix/tapestry/components/Delegator.jwc
- Insert
- PropertySelection
|
|---|
| com.primix.tapestry.TemplateSource.FormTest | DefaultTemplateSource[75 tokens]- MultiKey[/com/primix/tapestry/html/ExceptionDisplay.jwc, en_US] (36 tokens)
- MultiKey[/com/primix/tapestry/pages/Exception.jwc, en_US] (15 tokens)
- MultiKey[/tutorial/formTest/Values.jwc, en_US] (10 tokens)
- MultiKey[/tutorial/formTest/Home.jwc, en_US] (14 tokens)
|
|---|
JVM System Properties| awt.toolkit | sun.awt.windows.WToolkit |
|---|
| file.encoding | Cp1252 |
|---|
| file.encoding.pkg | sun.io |
|---|
| file.separator | \ |
|---|
| java.awt.graphicsenv | sun.awt.Win32GraphicsEnvironment |
|---|
| java.awt.printerjob | sun.awt.windows.WPrinterJob |
|---|
| java.class.path | - E:\Tapestry-2.0.2a\lib\com.primix.tapestry-2.0.2a.jar
- E:\Tapestry-2.0.2a\lib\net.sf.tapestry.contrib-2.0.2a.jar
- E:\Tapestry-2.0.2a\lib\ext\javax.servlet.jar
- E:\Tapestry-2.0.2a\lib\ext\log4j-core.jar
- E:\Tapestry-2.0.2a\lib\ext\javax.xml.jaxp.jar
- E:\Tapestry-2.0.2a\lib\ext\org.apache.crimson.jar
- E:\Tapestry-2.0.2a\lib\ext\org.mortbay.jetty.jar
- E:\Tapestry-2.0.2a\lib\ext\ejb.jar
- E:\Tapestry-2.0.2a\lib\Vlib.jar
|
|---|
| java.class.version | 47.0 |
|---|
| java.ext.dirs | e:\bea\jdk131\jre\lib\ext |
|---|
| java.home | e:\bea\jdk131\jre |
|---|
| java.io.tmpdir | C:\TEMP\ |
|---|
| java.library.path | - e:\bea\jdk131\bin
- .
- C:\WINNT\System32
- C:\WINNT
- e:\obms\bin
- e:\bea\jdk131\bin
- e:\tools\ant\bin
- e:\bea\jdk131\bin
- D:\Borland\AppServer\bin
- E:\vim\vim60
- c:\usr\bin
- d:\emacs-20.7\bin
- E:\oraexpress\bin
- e:\expressclients\bin
- e:\expressclients\olap\xsa630
- e:\oracle\bin
- .
- e:\cygnus\cygwin-b20\H-i586-cygwin32\bin
- e:\cygnus\cygwin-b20\H-i586-cygwin32\bin\usr\bin
- C:\WINNT\system32
- C:\WINNT
- C:\MSSQL7\BINN
- d:\BorlandEnterpriseServer\bin
|
|---|
| java.runtime.name | Java(TM) 2 Runtime Environment, Standard Edition |
|---|
| java.runtime.version | 1.3.1-b24 |
|---|
| java.specification.name | Java Platform API Specification |
|---|
| java.specification.vendor | Sun Microsystems Inc. |
|---|
| java.specification.version | 1.3 |
|---|
| java.vendor | Sun Microsystems Inc. |
|---|
| java.vendor.url | http://java.sun.com/ |
|---|
| java.vendor.url.bug | http://java.sun.com/cgi-bin/bugreport.cgi |
|---|
| java.version | 1.3.1 |
|---|
| java.vm.info | interpreted mode |
|---|
| java.vm.name | Java HotSpot(TM) Client VM |
|---|
| java.vm.specification.name | Java Virtual Machine Specification |
|---|
| java.vm.specification.vendor | Sun Microsystems Inc. |
|---|
| java.vm.specification.version | 1.0 |
|---|
| java.vm.vendor | Sun Microsystems Inc. |
|---|
| java.vm.version | 1.3.1-b24 |
|---|
| line.separator |
|
|---|
| org.mortbay.util.FileResource.checkAliases | false |
|---|
| os.arch | x86 |
|---|
| os.name | Windows NT |
|---|
| os.version | 4.0 |
|---|
| path.separator | |
|---|
| sun.boot.class.path | - e:\bea\jdk131\jre\lib\rt.jar
- e:\bea\jdk131\jre\lib\i18n.jar
- e:\bea\jdk131\jre\lib\sunrsasign.jar
- e:\bea\jdk131\jre\classes
|
|---|
| sun.boot.library.path | e:\bea\jdk131\jre\bin |
|---|
| sun.cpu.endian | little |
|---|
| sun.cpu.isalist | pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 |
|---|
| sun.io.unicode.encoding | UnicodeLittle |
|---|
| user.dir | E:\Tapestry-2.0.2a |
|---|
| user.home | C:\WINNT\Profiles\aejaz |
|---|
| user.language | en |
|---|
| user.name | aejaz |
|---|
| user.region | US |
|---|
| user.timezone | America/Los_Angeles |
|---|
|