Hi Rohan

Like Steve said in a previous email about this same subject
(http://article.gmane.org/gmane.comp.java.tapestry.user/59751), it's
likely that you have an accessor hardcoded to get/set a
java.util.ArrayList.  Taking a closer look at your exception I guess
the issue is in the "statusList" accesors in the AppointmentList
component. Based on the "statusList" ognl expression the accesor
should be something like:

@Parameter
public abstract List<String> getStatusList();

Check to see if you're explicitly using the ArrayList class instead of
the List interface.


--
Alejandro Scandroli - http://weblog.amneris.es/
Amneris: We build process-driven web applications.
http://www.amneris.es


On Mon, Mar 24, 2008 at 6:53 AM, Rohan Kalyan <[EMAIL PROTECTED]> wrote:
> Hi all,
>
>  we are  working on migration of tapestry4.0.2 to 4.1.5
>  We are using Tapesrtry 4.1.5 jars(tapestry-annotations-4.1.5.jar ,
>  tapestry-contrib-4.1.5.jar, tapestry-framework-4.1.5.jar,
>  tapestry-portlet-4.1.5.jar) and ognl-2.7.2.jar
>
>  we've changed
>                    1. Ajax directlink to directlink
>                    2. AjaxForm to Form
>                    3. added a method in IpropertySelectionModel
>  (isDisabled() )
>                    4. changed tacos dialog to dojo dialog
>
>  now we are getting some exceptions for the code which was running fine in
>  tapestry 4.0.2
>
>
>  Error converting value for {'Unscheduled'}: Unable to convert from type
>  java.util.Arrays$ArrayList to java.util.ArrayList. No type converter for
>  java.util.Arrays$ArrayList is available.
>
>   [ +/- ] Exception: Error converting value for {'Unscheduled'}: Unable to
>  convert from type java.util.Arrays$ArrayList to java.util.ArrayList. No type
>  converter for java.util.Arrays$ArrayList is
>  available.<http://localhost:8080/dentaprise/#>
>  org.apache.tapestry.BindingException  binding: ExpressionBinding[Home
>  {'Unscheduled'}]  component: [EMAIL PROTECTED]  location: context:/Home.html,
>  line 44
>  39   <li><a jwcid="@PageLink" page="ListAppointment">Search</a> for an
>  appointment</li> 40    <li><a jwcid="@PageLink" page="ListClient">Search</a>
>  for a patient</li> 41    <li>View and edit <a jwcid="@PageLink"
>  page="admin/ListInsurancePlan">insurance plans</a></li> 42    <li>Manage
>  your <a jwcid="@ExternalLink" page="admin/EditSetup"
>  parameters="Home">setup</a> and practices</li> 43   </ul> 44    <span
>  jwcid="@AppointmentList" statusList="ognl:{'Unscheduled'}"/> 45      </div>
>  46      </span> 47      </div> 48    </body> 49</html>       [ +/- ]
>  Exception: Unable to convert from type java.util.Arrays$ArrayList to
>  java.util.ArrayList. No type converter for java.util.Arrays$ArrayList is
>  available. <http://localhost:8080/dentaprise/#>
>  org.apache.hivemind.ApplicationRuntimeException  Stack Trace:
>
>   (....)
>  thanks in advance,
>  --
>  Rohan Kalyan
>  Indygo - www.indygosoft.com
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to