Re: Migrations and Default Values

2010-09-18 Thread Farrukh Ijaz
Thanks Mike, it worked.

Should I use this way or will it be committed to the next Wonder's build?

Farrukh

On 2010-09-19, at 8:42 AM, Mike Schrag wrote:

> try adding
> 
> 
>   public String _columnCreationClauseForAttribute(EOAttribute attribute) {
>   return addCreateClauseForAttribute(attribute).toString();
>   }
> 
>   public StringBuffer addCreateClauseForAttribute(EOAttribute 
> eoattribute) {
>   EOSQLExpression expression = 
> _expressionForEntity(eoattribute.entity());
>   expression.addCreateClauseForAttribute(eoattribute);
>   return new StringBuffer(expression.listString());
>   }
> 
> 
> to PostgresqlSynchronizationFactory
> 
> On Sep 19, 2010, at 1:22 AM, Farrukh Ijaz wrote:
> 
>> addCreateClauseForAttribute
> 
> ___
> 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/farrukh.ijaz%40fuegodigitalmedia.com
> 
> This email sent to farrukh.i...@fuegodigitalmedia.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 arch...@mail-archive.com

Re: Migrations and Default Values

2010-09-18 Thread Mike Schrag
try adding


public String _columnCreationClauseForAttribute(EOAttribute attribute) {
return addCreateClauseForAttribute(attribute).toString();
}

public StringBuffer addCreateClauseForAttribute(EOAttribute 
eoattribute) {
EOSQLExpression expression = 
_expressionForEntity(eoattribute.entity());
expression.addCreateClauseForAttribute(eoattribute);
return new StringBuffer(expression.listString());
}


to PostgresqlSynchronizationFactory

On Sep 19, 2010, at 1:22 AM, Farrukh Ijaz wrote:

> addCreateClauseForAttribute

 ___
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 arch...@mail-archive.com

Re: Migrations and Default Values

2010-09-18 Thread Farrukh Ijaz
Hi Mike,

I'm now using the latest build. Unfortunately, the issue is still there. Below 
are the properties set in the Application's Properties file.

dbConnectURLGLOBAL = jdbc:postgresql://127.0.0.1/
dbConnectUserGLOBAL = 
dbConnectPasswordGLOBAL = x

dbConnectDriverGLOBAL = org.postgresql.Driver
dbConnectPluginGLOBAL = Postgresql
dbEOPrototypesEntityGLOBAL = EOJDBCPostgresqlPrototypes

I also tried to attach the source code and placed break points in the 
addCreateClauseForAttribute(...)  but those don't get hit.

Any further hint?

Thanks,

Farrukh

On 2010-09-19, at 12:30 AM, Farrukh Ijaz wrote:

> I'm afraid I am using an older version. I  will update it tomorrow. Hopefully 
> this will resolve the issue. 
> 
> Thanks,
> 
> Farrukh
> 
> Sent from my iPhone
> 
> On 2010-09-18, at 11:40 PM, Mike Schrag  wrote:
> 
>> are you using an up-to-date postgresql plugin from Wonder?
>> 
>> in PostgresqlExpression:
>> public void addCreateClauseForAttribute(EOAttribute attribute) {
>>   NSDictionary userInfo = attribute.userInfo();
>>   Object defaultValue = null;
>>   if (userInfo != null) {
>> defaultValue = 
>> userInfo.valueForKey("er.extensions.eoattribute.default");
>>   }
>>   String allowsNullClauseForConstraint = 
>> allowsNullClauseForConstraint(shouldAllowNull(attribute));
>>   String sql;
>>   if (defaultValue == null) {
>>   sql = 
>> _NSStringUtilities.concat(this.quoteIdentifier(attribute.columnName()), " ", 
>> columnTypeStringForAttribute(attribute), " ", allowsNullClauseForConstraint);
>>   }
>>   else {
>>   sql = 
>> _NSStringUtilities.concat(this.quoteIdentifier(attribute.columnName()), " ", 
>> columnTypeStringForAttribute(attribute), " DEFAULT ", 
>> formatValueForAttribute(defaultValue, attribute), " ", 
>> allowsNullClauseForConstraint);
>>   }
>>   appendItemToListString(sql, _listString());
>> }
>> 
>> the "er.extensions.eoattribute.default" is injected into the attribute 
>> userInfo by migrations ... you can add some debug to this method and see 
>> what is going on, but i'm pretty sure this works.
>> 
>> ms
>> 
>> On Sep 18, 2010, at 4:37 PM, Farrukh Ijaz wrote:
>> 
>>> Hi Mike,
>>> 
>>> Thanks for your prompt reply. We are using Postgresql and I am talking 
>>> about the SQL insert statement which gives me error when I execute using 
>>> Aqua Studio or PSQL tool.
>>> 
>>> Do you think I am missing something? Well this is not a show stopper and I 
>>> can create an extra version to execute DDL script to set default values.
>>> 
>>> Farrukh
>>> 
>>> Sent from my iPhone
>>> 
>>> On 2010-09-18, at 11:28 PM, Mike Schrag  wrote:
>>> 
 default values is not supported by eof directly ... it's up to your 
 database plugin to support wonder's extension for this to work. currently 
 i believe only frontbase and postgresql migrations support this.
 
 ms
 
 On Sep 18, 2010, at 4:17 PM, Farrukh Ijaz wrote:
 
> Hi,
> 
> I've noticed that MIgrations code does not respect the default values 
> specified. E.g.  Following code creates a database table called CALENDAR.
> 
> ERXMigrationTable calendarTable = database.newTableNamed("CALENDAR");
> calendarTable.newStringColumn("CAL_DESC", 512, true);
> calendarTable.newStringColumn("CAL_NAME", 64, false);
> calendarTable.newIntegerColumn("IS_PUBLIC", false, 0);
> calendarTable.newIntegerColumn("OID", false);
> calendarTable.create();
> calendarTable.setPrimaryKey("OID");
> 
> Technically this should set the column to set the default value to 0 for 
> IS_PUBLIC column whenever a record is inserted in this table. But this is 
> not the case, inspecting the table structure tells there is no default 
> value set for this column and inserting a new record in this table 
> without explicitly specifying the is_public value to 0, it gives Not Null 
> sql exception.
> 
> Any comments?
> 
> Farrukh
> ___
> 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/mschrag%40pobox.com
> 
> This email sent to msch...@pobox.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/farrukh.ijaz%40fuegodigitalmedia.com
 
 This email sent to farrukh.i...@fuegodigitalmedia.com
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.c

EOEditingContext help

2010-09-18 Thread Theodore Petrosky
I have to update a whole bunch of objects. Method 1 says make a list of the 
objects, make the changes and saveChanges(). Seems really inefficient. If there 
were only 50 objects I would probably do that. So I created a procedure on 
backend. Basically, an update of all records that match a job number.

Of course this is making a change behind the back of my WO App. and someone may 
be looking at this data.

So what are my choices? go back to method 1. Looping through 500 records, then 
saving changes? Or is there a way to selectively invalidate these objects to 
force any other users to get fresh data?

Ted


  
 ___
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 arch...@mail-archive.com


Subject: Re: Cocoa WebObjects Integration

2010-09-18 Thread Dino Strausz

Hola Mike,

could you please pontime there directly witha link?
I would like to read about it...

regards all ;^)

Dino


On 15 Sep 2010, at 4:18 PM, webobjects-dev-requ...@lists.apple.com  
wrote:



Message: 9
Date: Wed, 15 Sep 2010 16:50:51 -0400
From: Mike Schrag 
Subject: Re: Cocoa WebObjects Integration
To: Daniel Mej?a 
Cc: webobjects-dev@lists.apple.com
Message-ID: <686b1803-e87e-44f9-bd8f-d7ee6e42d...@pobox.com>
Content-Type: text/plain; charset=iso-8859-1

imo, errest with json or plist going back and forth. you can do soap  
services as well. i wrote a bunch of stuff on the wiki pages from my  
last experience with that (couple years ago).


ms

On Sep 15, 2010, at 4:45 PM, Daniel Mejía wrote:


Hi all,

What is the best way to integrate WebObjects with cocoa?. I have a  
WO application but the customer wants to convert from html to  
cocoa, there is a way to integrate both technologies?


Saludos,

Daniel.






Dino
--
di...@mac.com
Business Applied X Objects
http://strausz.blogspot.com
(+52-1) 55-5437-8205




 ___
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 arch...@mail-archive.com

Re: Migrations and Default Values

2010-09-18 Thread Farrukh Ijaz
I'm afraid I am using an older version. I  will update it tomorrow. Hopefully 
this will resolve the issue. 

Thanks,

Farrukh

Sent from my iPhone

On 2010-09-18, at 11:40 PM, Mike Schrag  wrote:

> are you using an up-to-date postgresql plugin from Wonder?
> 
> in PostgresqlExpression:
> public void addCreateClauseForAttribute(EOAttribute attribute) {
>   NSDictionary userInfo = attribute.userInfo();
>   Object defaultValue = null;
>   if (userInfo != null) {
> defaultValue = 
> userInfo.valueForKey("er.extensions.eoattribute.default");
>   }
>   String allowsNullClauseForConstraint = 
> allowsNullClauseForConstraint(shouldAllowNull(attribute));
>   String sql;
>   if (defaultValue == null) {
>   sql = 
> _NSStringUtilities.concat(this.quoteIdentifier(attribute.columnName()), " ", 
> columnTypeStringForAttribute(attribute), " ", allowsNullClauseForConstraint);
>   }
>   else {
>   sql = 
> _NSStringUtilities.concat(this.quoteIdentifier(attribute.columnName()), " ", 
> columnTypeStringForAttribute(attribute), " DEFAULT ", 
> formatValueForAttribute(defaultValue, attribute), " ", 
> allowsNullClauseForConstraint);
>   }
>   appendItemToListString(sql, _listString());
> }
> 
> the "er.extensions.eoattribute.default" is injected into the attribute 
> userInfo by migrations ... you can add some debug to this method and see what 
> is going on, but i'm pretty sure this works.
> 
> ms
> 
> On Sep 18, 2010, at 4:37 PM, Farrukh Ijaz wrote:
> 
>> Hi Mike,
>> 
>> Thanks for your prompt reply. We are using Postgresql and I am talking about 
>> the SQL insert statement which gives me error when I execute using Aqua 
>> Studio or PSQL tool.
>> 
>> Do you think I am missing something? Well this is not a show stopper and I 
>> can create an extra version to execute DDL script to set default values.
>> 
>> Farrukh
>> 
>> Sent from my iPhone
>> 
>> On 2010-09-18, at 11:28 PM, Mike Schrag  wrote:
>> 
>>> default values is not supported by eof directly ... it's up to your 
>>> database plugin to support wonder's extension for this to work. currently i 
>>> believe only frontbase and postgresql migrations support this.
>>> 
>>> ms
>>> 
>>> On Sep 18, 2010, at 4:17 PM, Farrukh Ijaz wrote:
>>> 
 Hi,
 
 I've noticed that MIgrations code does not respect the default values 
 specified. E.g.  Following code creates a database table called CALENDAR.
 
 ERXMigrationTable calendarTable = database.newTableNamed("CALENDAR");
 calendarTable.newStringColumn("CAL_DESC", 512, true);
 calendarTable.newStringColumn("CAL_NAME", 64, false);
 calendarTable.newIntegerColumn("IS_PUBLIC", false, 0);
 calendarTable.newIntegerColumn("OID", false);
 calendarTable.create();
 calendarTable.setPrimaryKey("OID");
 
 Technically this should set the column to set the default value to 0 for 
 IS_PUBLIC column whenever a record is inserted in this table. But this is 
 not the case, inspecting the table structure tells there is no default 
 value set for this column and inserting a new record in this table without 
 explicitly specifying the is_public value to 0, it gives Not Null sql 
 exception.
 
 Any comments?
 
 Farrukh
 ___
 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/mschrag%40pobox.com
 
 This email sent to msch...@pobox.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/farrukh.ijaz%40fuegodigitalmedia.com
>>> 
>>> This email sent to farrukh.i...@fuegodigitalmedia.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/farrukh.ijaz%40fuegodigitalmedia.com
> 
> This email sent to farrukh.i...@fuegodigitalmedia.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 arch...@mail-archive.com

Re: Migrations and Default Values

2010-09-18 Thread Mike Schrag
are you using an up-to-date postgresql plugin from Wonder?

in PostgresqlExpression:
public void addCreateClauseForAttribute(EOAttribute attribute) {
  NSDictionary userInfo = attribute.userInfo();
  Object defaultValue = null;
  if (userInfo != null) {
defaultValue = 
userInfo.valueForKey("er.extensions.eoattribute.default");
  }
  String allowsNullClauseForConstraint = 
allowsNullClauseForConstraint(shouldAllowNull(attribute));
  String sql;
  if (defaultValue == null) {
  sql = 
_NSStringUtilities.concat(this.quoteIdentifier(attribute.columnName()), " ", 
columnTypeStringForAttribute(attribute), " ", allowsNullClauseForConstraint);
  }
  else {
  sql = 
_NSStringUtilities.concat(this.quoteIdentifier(attribute.columnName()), " ", 
columnTypeStringForAttribute(attribute), " DEFAULT ", 
formatValueForAttribute(defaultValue, attribute), " ", 
allowsNullClauseForConstraint);
  }
  appendItemToListString(sql, _listString());
}

the "er.extensions.eoattribute.default" is injected into the attribute userInfo 
by migrations ... you can add some debug to this method and see what is going 
on, but i'm pretty sure this works.

ms

On Sep 18, 2010, at 4:37 PM, Farrukh Ijaz wrote:

> Hi Mike,
> 
> Thanks for your prompt reply. We are using Postgresql and I am talking about 
> the SQL insert statement which gives me error when I execute using Aqua 
> Studio or PSQL tool.
> 
> Do you think I am missing something? Well this is not a show stopper and I 
> can create an extra version to execute DDL script to set default values.
> 
> Farrukh
> 
> Sent from my iPhone
> 
> On 2010-09-18, at 11:28 PM, Mike Schrag  wrote:
> 
>> default values is not supported by eof directly ... it's up to your database 
>> plugin to support wonder's extension for this to work. currently i believe 
>> only frontbase and postgresql migrations support this.
>> 
>> ms
>> 
>> On Sep 18, 2010, at 4:17 PM, Farrukh Ijaz wrote:
>> 
>>> Hi,
>>> 
>>> I've noticed that MIgrations code does not respect the default values 
>>> specified. E.g.  Following code creates a database table called CALENDAR.
>>> 
>>> ERXMigrationTable calendarTable = database.newTableNamed("CALENDAR");
>>> calendarTable.newStringColumn("CAL_DESC", 512, true);
>>> calendarTable.newStringColumn("CAL_NAME", 64, false);
>>> calendarTable.newIntegerColumn("IS_PUBLIC", false, 0);
>>> calendarTable.newIntegerColumn("OID", false);
>>> calendarTable.create();
>>> calendarTable.setPrimaryKey("OID");
>>> 
>>> Technically this should set the column to set the default value to 0 for 
>>> IS_PUBLIC column whenever a record is inserted in this table. But this is 
>>> not the case, inspecting the table structure tells there is no default 
>>> value set for this column and inserting a new record in this table without 
>>> explicitly specifying the is_public value to 0, it gives Not Null sql 
>>> exception.
>>> 
>>> Any comments?
>>> 
>>> Farrukh
>>> ___
>>> 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/mschrag%40pobox.com
>>> 
>>> This email sent to msch...@pobox.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/farrukh.ijaz%40fuegodigitalmedia.com
>> 
>> This email sent to farrukh.i...@fuegodigitalmedia.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 arch...@mail-archive.com

Re: Migrations and Default Values

2010-09-18 Thread Farrukh Ijaz
Hi Mike,

Thanks for your prompt reply. We are using Postgresql and I am talking about 
the SQL insert statement which gives me error when I execute using Aqua Studio 
or PSQL tool.

Do you think I am missing something? Well this is not a show stopper and I can 
create an extra version to execute DDL script to set default values.

Farrukh

Sent from my iPhone

On 2010-09-18, at 11:28 PM, Mike Schrag  wrote:

> default values is not supported by eof directly ... it's up to your database 
> plugin to support wonder's extension for this to work. currently i believe 
> only frontbase and postgresql migrations support this.
> 
> ms
> 
> On Sep 18, 2010, at 4:17 PM, Farrukh Ijaz wrote:
> 
>> Hi,
>> 
>> I've noticed that MIgrations code does not respect the default values 
>> specified. E.g.  Following code creates a database table called CALENDAR.
>> 
>> ERXMigrationTable calendarTable = database.newTableNamed("CALENDAR");
>> calendarTable.newStringColumn("CAL_DESC", 512, true);
>> calendarTable.newStringColumn("CAL_NAME", 64, false);
>> calendarTable.newIntegerColumn("IS_PUBLIC", false, 0);
>> calendarTable.newIntegerColumn("OID", false);
>> calendarTable.create();
>> calendarTable.setPrimaryKey("OID");
>> 
>> Technically this should set the column to set the default value to 0 for 
>> IS_PUBLIC column whenever a record is inserted in this table. But this is 
>> not the case, inspecting the table structure tells there is no default value 
>> set for this column and inserting a new record in this table without 
>> explicitly specifying the is_public value to 0, it gives Not Null sql 
>> exception.
>> 
>> Any comments?
>> 
>> Farrukh
>> ___
>> 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/mschrag%40pobox.com
>> 
>> This email sent to msch...@pobox.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/farrukh.ijaz%40fuegodigitalmedia.com
> 
> This email sent to farrukh.i...@fuegodigitalmedia.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 arch...@mail-archive.com

Re: Migrations and Default Values

2010-09-18 Thread Mike Schrag
default values is not supported by eof directly ... it's up to your database 
plugin to support wonder's extension for this to work. currently i believe only 
frontbase and postgresql migrations support this.

ms

On Sep 18, 2010, at 4:17 PM, Farrukh Ijaz wrote:

> Hi,
> 
> I've noticed that MIgrations code does not respect the default values 
> specified. E.g.  Following code creates a database table called CALENDAR.
> 
> ERXMigrationTable calendarTable = database.newTableNamed("CALENDAR");
> calendarTable.newStringColumn("CAL_DESC", 512, true);
> calendarTable.newStringColumn("CAL_NAME", 64, false);
> calendarTable.newIntegerColumn("IS_PUBLIC", false, 0);
> calendarTable.newIntegerColumn("OID", false);
> calendarTable.create();
> calendarTable.setPrimaryKey("OID");
> 
> Technically this should set the column to set the default value to 0 for 
> IS_PUBLIC column whenever a record is inserted in this table. But this is not 
> the case, inspecting the table structure tells there is no default value set 
> for this column and inserting a new record in this table without explicitly 
> specifying the is_public value to 0, it gives Not Null sql exception.
> 
> Any comments?
> 
> Farrukh
> ___
> 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/mschrag%40pobox.com
> 
> This email sent to msch...@pobox.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 arch...@mail-archive.com

Migrations and Default Values

2010-09-18 Thread Farrukh Ijaz
Hi,

I've noticed that MIgrations code does not respect the default values 
specified. E.g.  Following code creates a database table called CALENDAR.

ERXMigrationTable calendarTable = database.newTableNamed("CALENDAR");
calendarTable.newStringColumn("CAL_DESC", 512, true);
calendarTable.newStringColumn("CAL_NAME", 64, false);
calendarTable.newIntegerColumn("IS_PUBLIC", false, 0);
calendarTable.newIntegerColumn("OID", false);
calendarTable.create();
calendarTable.setPrimaryKey("OID");

Technically this should set the column to set the default value to 0 for 
IS_PUBLIC column whenever a record is inserted in this table. But this is not 
the case, inspecting the table structure tells there is no default value set 
for this column and inserting a new record in this table without explicitly 
specifying the is_public value to 0, it gives Not Null sql exception.

Any comments?

Farrukh ___
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 arch...@mail-archive.com

Re: ERModernDirectToWeb SortButton

2010-09-18 Thread ISHIMOTO Ken
Hi David,

Thanks for Help ERModern xxx work nice. I love it.
I really thank you for your hard work to make that, and helps developing time 
do get down a lot.
I think my wife will love it, because I can spend more time with her now^^

Everything works great and with your Help I know now what the Problem is.

You can easy see what was wrong. Only set the Propertie

er.extensions.ERXWOForm.useIdInsteadOfNameTag=true

If it true ERModern breaks, if false then everythink is happy.

I have no idea how to fix my issue yet, because on some other Librarys I depend 
on that flag.
Have a long way to go to figure out what jquery Librarys I use in my 
Application will break now.


Thanks

Ken Ishimoto




On 2010/09/17, at 19:49, ISHIMOTO Ken wrote:

> Hi again,
> 
> By clicking on the header for Sorting, I get an Javascript Error
> 
> 
> 
> Thanks
> 
> 
> On 2010/09/17, at 19:19, David LeBer wrote:
> 
>> 
>> On 2010-09-17, at 1:10 PM, ISHIMOTO Ken wrote:
>> 
>>> No,
>>> 
>>> The other Ajax Stuff like Delete button works.
>>> 
>>> 
>>> There are only some feature that doesn't work. I already download and clean 
>>> installed the Framework several time just in case.
>> 
>> Not sure what's going on Ken.
>> 
>> I just updated Wonder and cleaned my workspace and everything runs fine.
>> 
>> Do you have multiple conflicting copies of the frameworks maybe?
>> 
>> If you run Firebug or Safari debug are there any js errors or missing 
>> resources?
>> 
>>> 
>>> Ken
>>> 
>>> 
>>> On 2010/09/17, at 18:58, David LeBer wrote:
>>> 
 
 On 2010-09-17, at 12:38 PM, ISHIMOTO Ken wrote:
 
> Hi, and thanks for figure out the NSDictionary.
> 
> 
> I am playing now with ERModernDirectToWeb for using in my next Project.
> 
> I installed the latest Frameworks from today.
> 
> Mostly it works nice, but there are some problems. Are this only on my 
> Machine?
> Because in the Screen cast everything looks nice.
> 
> 
> 
> 
> The Header will not sort. Do nothing.
> 
> 
> 
> Also in Relationship the Inspect & Edit button won't work.
> 
> 
> 
> Are I am missing something?
> 
> 
> 
> And it cry in the Log after "ERMD2WBatchNavigationBar.css" but I can't 
> find that.
> 
> 
> 
> I am new to DirectToWeb, but it looks great.
> Really thanks to David for the lot of work.
 
 It sounds like you might be missing the Ajax framework.
>> 
>> ;david
>> 
>> --
>> David LeBer
>> Codeferous Software
>> 'co-def-er-ous' adj. Literally 'code-bearing'
>> site:http://codeferous.com
>> blog:http://davidleber.net
>> profile: http://www.linkedin.com/in/davidleber
>> twitter: http://twitter.com/rebeld
>> --
>> Toronto Area Cocoa / WebObjects developers group:
>> http://tacow.org
>> 
>> 
>> 
>> 
> 
> ___
> 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/ken%40ksroom.com
> 
> This email sent to k...@ksroom.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 arch...@mail-archive.com