Hi,

I got it to work with the following patch. It was the least obtrusive patch I could find but I do not know if it's along the Ajax/Wonder integration philosophy.


### Eclipse Workspace Patch 1.0
#P AjaxExample
Index: Sources/AjaxGridExampleNavBar.java
===================================================================
RCS file: /cvsroot/wonder/Wonder/Ajax/AjaxExample/Sources/ AjaxGridExampleNavBar.java,v
retrieving revision 1.4
diff -u -r1.4 AjaxGridExampleNavBar.java
--- Sources/AjaxGridExampleNavBar.java  5 Jul 2007 22:28:36 -0000       1.4
+++ Sources/AjaxGridExampleNavBar.java  11 Jan 2008 07:53:34 -0000
@@ -8,7 +8,7 @@
 public class AjaxGridExampleNavBar extends AjaxGridNavBar {

public NSArray batchSizes = new NSArray(new String[] { "2", "4", "6", "8", "10" });
-       public int batchSize;
+       public String batchSize;

        public AjaxGridExampleNavBar(WOContext context) {
                super(context);


Hopefully, If it will be of use.


Cheers.


On 28-Dec-07, at 10:08 , Chuck Hill wrote:

There is a conflict with WO 5.4 that I have not fixed yet.

Chuck

On Dec 27, 2007, at 10:46 PM, Louis Demers wrote:

Hi,

running 10.5.1, I using a freshly installed Eclipse (using the Beta installer, Eclipse 3.3.2 id: M20071205-0800, WOLips 3.3.4746), Wonder from cvs. I can run AjaxExample and most items seem to work fine but when I request the Grid example it fails to come up and I get the following error

Application:

AjaxExample

Error:

java.lang.IllegalArgumentException: While trying to set the field "batchSize" on an object of type AjaxGridExampleNavBar we expected a int but received a java.lang.String with a value of 2. This often happens if you forget to use a formatter.



Louis Demers eng.
www.obzerv.com


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to