• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AjaxExample Grid will not work [Solved ?]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AjaxExample Grid will not work [Solved ?]


  • Subject: Re: AjaxExample Grid will not work [Solved ?]
  • From: Louis Demers <email@hidden>
  • Date: Fri, 11 Jan 2008 02:57:46 -0500

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 (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: AjaxExample Grid will not work [Solved ?]
      • From: Anjo Krank <email@hidden>
  • Prev by Date: Re: Unexpected awakeFromInsertion() behaviour
  • Next by Date: Re: AjaxExample Grid will not work [Solved ?]
  • Previous by thread: Buying advice
  • Next by thread: Re: AjaxExample Grid will not work [Solved ?]
  • Index(es):
    • Date
    • Thread