Login oddness

2005-11-14 Thread Gino Pacitti

Has anyone any thoughts on an issue I am experiencing.

I have an application deployed on a Linux system which has been  
running fine for a long time.


Just recently (I think it was after the 10.4 recent update but can't  
say it was that) I began finding that the app does not hold onto  
certain session related pages when using Firefox on mac and pc and  
also Safari on Mac.


This is really odd as the server application has not been modified...

Any thoughts on what possibilities it could be or how I could  
determine its cause...


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


conditional link

2005-11-14 Thread Jeremy Matthews
I want to have an WOimage that, when clicked, will offer the option  
of inserting an object (revealing a conditional input field).


I'd like to offer this ability within the same page using a  
WOConditional; meaning when a user clicks on the button, it reveals a  
section where you can insert an object (string in this case).


Since my conditional-based knowledge is a bit weak, I can do this by  
sending the user to another page, but I'd rather not. How can I keep  
them in the same page?


Ideas?

Thanks,
jeremy

smime.p7s
Description: S/MIME cryptographic signature
 ___
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 archive@mail-archive.com

Re: conditional link

2005-11-14 Thread David LeBer

On 14-Nov-05, at 11:13 AM, Jeremy Matthews wrote:

I want to have an WOimage that, when clicked, will offer the option  
of inserting an object (revealing a conditional input field).


I'd like to offer this ability within the same page using a  
WOConditional; meaning when a user clicks on the button, it reveals  
a section where you can insert an object (string in this case).


Since my conditional-based knowledge is a bit weak, I can do this  
by sending the user to another page, but I'd rather not. How can I  
keep them in the same page?


Ideas?


I do this kind of thing all the time.

Usually an editFlag boolean on the page is all you really need. Bind  
your WOConditional wrapping your form to that and add some management  
actions:


protected boolean _editFlag;

public boolean editFlag() {
return _editFlag;
}

public void setEditFlag(boolean flag) {
_editFlag = flag;
}

public WOComponent editObject() {
setEditFlag(true);
return this.context().page();
}

public WOComponent saveChanges() {
// blah, blah
setEditFlag(false);
return this.context().page();
}

public WOComponent cancel() {
// blah, blah, ec.revert(), blah
setEditFlag(false);
return this.context().page();
}

I also make great use of Paul Suh's SwitchableStrings http:// 
www.goodeast.com/


--
;david

--
David LeBer
I am codeferous!
Codeferous Software
site:   http://www.codeferous.com
blog: http://david.codeferous.com






smime.p7s
Description: S/MIME cryptographic signature
 ___
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 archive@mail-archive.com

looking for WO developer

2005-11-14 Thread Darich Runyan/OMNI INFOSEC HQ

All,

I am in need of having a fairly simple app written, unfortunately, I  
am swamped and cannot get to it.  I am looking for someone that might  
be interested.  Please contact me offline for more information.


Thanks,
Darich

---
Darich Runyan
President/Principal Consultant
Omni Infosec Ltd.
734 Thimble Shoals Blvd.
Newport News, VA 23606
[EMAIL PROTECTED]
757-876-3805


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


Re: Unit testing

2005-11-14 Thread Chuck Hill
I (almost violently) oppose any code in a a WOComponent not directly  
and exclusively tied to making the UI function.  I try to restrict  
them to binding variables, cover methods, and overrides for inherited  
methods.  Everything else belongs someplace else, either in the EO or  
in a layer between the EO and UI.  Doing this, the UI classes become  
very simple.  So simple, in fact, that they could not possibly  
break.  Therefore there is no need to write tests.  Any potential  
bugs are best caught in functionality testing.


Chuck

On Nov 7, 2005, at 7:52 AM, Sam Barnum wrote:

Slightly different topic, but how do you write tests at the  
component level?  My WOComponent classes need a WOContext in the  
constructor.  And there needs to be a running applicaiton, or else  
you run into NullPointerExceptions.


I can fake a WOContext by manually creating a WORequest with the  
HTTP/1.1 and URL parameters, but am running into problems creating  
a dummy application.  Does anyone have a quick guideline for doing  
this?


-Sam

On Nov 3, 2005, at 11:59 AM, Christian Pekeler wrote:


  I'm studying how to add unit tests to an WebObjects  
application. I would like to use xCode (i hate eclipse).





I highly recommend you take another look at Eclipse (or IntelliJ  
if you can afford it). Xcode might be a good IDE for C based  
projects, but for Java projects you can dramatically increase your  
productivity by using a specialized IDE.






  Two questions:

  - Does WOUnitTest (http://wounittest.sourceforge.net/) still  
works?





Sure.





I see it's not updated since 3/2004...




What new features would you like to see?


Christian

___
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/samlist% 
40prometheus-systems.com


This email sent to [EMAIL PROTECTED]




___
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/chill% 
40global-village.net


This email sent to [EMAIL PROTECTED]



--
Coming in 2006 - an introduction to web applications using WebObjects  
and Xcode http://www.global-village.net/wointro


Practical WebObjects - for developers who want to increase their  
overall knowledge of WebObjects or who are trying to solve specific  
problems.http://www.global-village.net/products/practical_webobjects





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


Re: Unwanted Session Creation

2005-11-14 Thread Chuck Hill
I recall a discussion of this in the recent past (search the  
archives) but fail to recall the cause.  Where exactly is the session  
getting created?  Maybe that will remind me.  Logging out a stack  
trace from the session constructor is a big help:


public Session() {
   super();
   NSLog.out.appendln(new RuntimeException(Session Created Here);
...


Chuck


On Nov 7, 2005, at 7:19 PM, Greg Hulands wrote:


Hi,
In my application I have found where a new session is getting  
created, but it shouldn't be. I have logged out the sessionID from  
the context().request(), but when I do session(), it is creating a  
new session, even though there is a session id in the request.  
Under what circumstances does a new session get created? I guess a  
work around would be to restore the session myself using the  
sessionID from the request, but I would really like to know why it  
would be occurring.


Any information is greatly appreciated.

Regards,
Greg
___
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/chill% 
40global-village.net


This email sent to [EMAIL PROTECTED]



--
Coming in 2006 - an introduction to web applications using WebObjects  
and Xcode http://www.global-village.net/wointro


Practical WebObjects - for developers who want to increase their  
overall knowledge of WebObjects or who are trying to solve specific  
problems.http://www.global-village.net/products/practical_webobjects





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


Re: Unit testing

2005-11-14 Thread Chuck Hill

On Nov 8, 2005, at 2:49 PM, Georg Tuparev wrote:


  I'm studying how to add unit tests to an WebObjects  
application. I would like to use xCode (i hate eclipse).


You like Xcode?!!?  You hate Eclipse?!!?  What you been smokin'  
Willis?  Hating Eclipse and liking IntelliJIDEA I can understand.   
But Xcode?  Xcode?


I am sure I will not get a signed copy of Chuck's new book, but I  
have to admit that I feel deep disgust towards Eclipse ... If I am  
not allowed to use Xcode I will use emacs or vi but not Eclipse...


You are making me feel so very sorry for you that I might just have  
to send you a signed copy!  :-P




  - How to integrate JUnit with xCode?


If you insist on pursuing your rather odd perversion, use a shell  
script run as a custom executable.



Huh! What's wrong with yourApp.woa/wa/uta   ???


I am usually testing frameworks not applications.

Chuck

--
Coming in 2006 - an introduction to web applications using WebObjects  
and Xcode http://www.global-village.net/wointro


Practical WebObjects - for developers who want to increase their  
overall knowledge of WebObjects or who are trying to solve specific  
problems.http://www.global-village.net/products/practical_webobjects





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


So how is 5.3.1 looking?

2005-11-14 Thread womail
I will be needing to install WO soon, and I'd like to know whether  
the group thinks 5.3.1 is usable or if I should stick with 5.2.4.   
This is not for production work but learning, although I think it is  
equally important when learning something new to avoid dealing with  
other people's bugs on top of your own.   I would prefer to start  
with the new tools, but not if they are going to make my life harder.


thanks,

janine

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


Re: SharedEditingContext Write Locks?

2005-11-14 Thread Fabian Peters

Hi Dov,

as David said, EOSEC requires special care. OTTOMH I'd say the  
problem is caused by your use of objectsWithQualifierFormat. I  
normally use


EOSharedEditingContext.defaultSharedEditingContext 
().objectsByEntityName().valueForKey(NameOfMyEntity)


You could then qualify on the array in memory using e.g.  
filteredArrayWithQualifierEvaluation from WOnder's ERXArrayUtilities.


For some useful info on using SECs see: http://wodev.spearway.com/ 
cgi-bin/WebObjects/WODev.woa/1/wa/Main? 
wikiPageAuthor=wosid=falsewikiPage=HowToUseSharedEditingContexts


hth

Fabian

Am 14.11.2005 um 21:06 schrieb Dov Rosenberg:

We use shared editing contexts for a portion of our application  
that does read only operations. For the most part things work as  
expected. Lately we have been experiencing some slow downs that  
appear to point to issues within our shared editing contexts. Below  
is a thread dump that shows the thread lock and the associated  
relevant code.


Couple of Questions:
Our app is typically deployed as a Servlet and is inherently multi- 
threaded as a result. The servlet containers assume that the apps  
that are running are multi-threaded. Unless we deploy inside a  
servlet cluster, we typically only have one instance of our app  
running in the container. It appears that no matter how busy the  
app is only one DB connection is ever spawned. Obviously that would  
present a potential bottleneck to performance. I have seen some  
reference in Project Wonder to some classes that will spawn  
multiple DB connections. Has anyone used these? Are they stable?  
How do sharededitingcontexts play with those classes?
Are SharedEditingContexts multi-threaded? Can they support our  
scenario in item 1?




We recently made some changes to try to fix this problem. We set  
the sharededitingcontext = null anywhere we created a new editing  
context doing something like:


public static EOEditingContext actionEditingContext()  
{EOEditingContext ec = new EOEditingContext(); 
ec.setSharedEditingContext(null);return ec;}


The offending code looks like:

public static NSArray userWithIDInSite(EOEditingContext ec, Site  
site, String login) throws CVDatabaseException {NSArray  
userList = null;NSMutableArray args = new NSMutableArray 
();try {args.addObject(login); 
args.addObject(site);userList =  
EOUtilities.objectsWithQualifierFormat(ec, UserInformation,  
login = %@ AND ownerSite = %@, args);} catch (Throwable  
thrownCondition) { ...}return  
userList;}


This code is called using the shared editingcontext returned from

EOSharedEditingContext.defaultSharedEditingContext();

Thread dump:

ExecuteThread: '4' for queue: 'weblogic.kernel.Default' daemon  
prio=5 tid=0x08ca4e08 nid=0x9d8 in Object.wait() [9f2f000..9f2fdb8]

at java.lang.Object.wait(Native Method)
- waiting on 0x2f64a1e8 (a  
com.webobjects.foundation.NSMultiReaderLock$ConditionLock)

at java.lang.Object.wait(Object.java:429)
at com.webobjects.foundation.NSMultiReaderLock 
$ConditionLock.await(NSMultiReaderLock.java:506)
- locked 0x2f64a1e8 (a  
com.webobjects.foundation.NSMultiReaderLock$ConditionLock)
at com.webobjects.foundation.NSMultiReaderLock._lockForWriting 
(NSMultiReaderLock.java:204)
at com.webobjects.foundation.NSMultiReaderLock.lockForWriting 
(NSMultiReaderLock.java:165)
at com.webobjects.eocontrol.EOSharedEditingContext.lock 
(EOSharedEditingContext.java:700)
at  
com.webobjects.eocontrol.EOSharedEditingContext.objectsWithFetchSpecif 
ication(EOSharedEditingContext.java:347)
at  
com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecificatio 
n(EOEditingContext.java:4461)
at  
com.webobjects.eoaccess.EOUtilities.objectsWithQualifierFormat 
(EOUtilities.java:145)
at com.inquira.model.UserInformation.userWithIDInSite(Unknown  
Source)
at com.inquira.client.tags.AutoLoginTag.startTagHandler(Unknown  
Source)



Any thoughts or ideas are appreciated.

 ___
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/lists.fabian% 
40e-lumo.com


This email sent to [EMAIL PROTECTED]


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


Re: SharedEditingContext Write Locks?

2005-11-14 Thread Dov Rosenberg
Title: Re: SharedEditingContext Write Locks?



Hmmm, I kind of suspected that was the case. The whole reason we were using SEC at all was to help performance under load. It doesnt make sense to have to re-retrieve a lot of the info that is read only for every session that connects up. We tried caching Eos which failed miserably and have resorted to storing their primary keys and fetching as needed. We do have a NSMutableDictionary that we use as an EO cache (primary key is the key). We get a localInstanceofObject before doing anything with it.


On 11/14/05 3:21 PM, David Teran [EMAIL PROTECTED] wrote:

EOSEC is known to be hard to use. Its very likely that you will have EOF deadlocks, which is what you see below. AFAIK the only way to use it without deadlocks is:

load the desired eos at startup and make sure they will -nevernever- change no matter if you fault them into another ec, set sec from this ec to null and change the eo there. Do not change them -anywhere-.

regards, David

Am 14.11.2005 um 21:06 schrieb Dov Rosenberg:

 We use shared editing contexts for a portion of our application that does read only operations. For the most part things work as expected. Lately we have been experiencing some slow downs that appear to point to issues within our shared editing contexts. Below is a thread dump that shows the thread lock and the associated relevant code.

Couple of Questions:

Our app is typically deployed as a Servlet and is inherently multi-threaded as a result. The servlet containers assume that the apps that are running are multi-threaded. Unless we deploy inside a servlet cluster, we typically only have one instance of our app running in the container. It appears that no matter how busy the app is only one DB connection is ever spawned. Obviously that would present a potential bottleneck to performance. I have seen some reference in Project Wonder to some classes that will spawn multiple DB connections. Has anyone used these? Are they stable? How do sharededitingcontexts play with those classes? 
Are SharedEditingContexts multi-threaded? Can they support our scenario in item 1?
 



We recently made some changes to try to fix this problem. We set the sharededitingcontext = null anywhere we created a new editing context doing something like:

public static EOEditingContext actionEditingContext() {    EOEditingContext ec = new EOEditingContext();    ec.setSharedEditingContext(null);    return ec;        }

The offending code looks like:

public static NSArray userWithIDInSite(EOEditingContext ec, Site site, String login) throws CVDatabaseException {    NSArray userList = null;    NSMutableArray args = new NSMutableArray();    try {    args.addObject(login);    args.addObject(site);    userList = EOUtilities.objectsWithQualifierFormat(ec, UserInformation, login = %@ AND ownerSite = %@, args);    } catch (Throwable thrownCondition) { ...    }    return userList;    }

This code is called using the shared editingcontext returned from 

EOSharedEditingContext.defaultSharedEditingContext();

Thread dump:

ExecuteThread: '4' for queue: 'weblogic.kernel.Default' daemon prio=5 tid=0x08ca4e08 nid=0x9d8 in Object.wait() [9f2f000..9f2fdb8]
at java.lang.Object.wait(Native Method)
- waiting on 0x2f64a1e8 (a com.webobjects.foundation.NSMultiReaderLock$ConditionLock)
at java.lang.Object.wait(Object.java:429)
at com.webobjects.foundation.NSMultiReaderLock$ConditionLock.await(NSMultiReaderLock.java:506)
- locked 0x2f64a1e8 (a com.webobjects.foundation.NSMultiReaderLock$ConditionLock)
at com.webobjects.foundation.NSMultiReaderLock._lockForWriting(NSMultiReaderLock.java:204)
at com.webobjects.foundation.NSMultiReaderLock.lockForWriting(NSMultiReaderLock.java:165)
at com.webobjects.eocontrol.EOSharedEditingContext.lock(EOSharedEditingContext.java:700)
at com.webobjects.eocontrol.EOSharedEditingContext.objectsWithFetchSpecification(EOSharedEditingContext.java:347)
at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4461)
at com.webobjects.eoaccess.EOUtilities.objectsWithQualifierFormat(EOUtilities.java:145)
at com.inquira.model.UserInformation.userWithIDInSite(Unknown Source)
at com.inquira.client.tags.AutoLoginTag.startTagHandler(Unknown Source)


Any thoughts or ideas are appreciated.


 ___
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/david.teran%40cluster9.com

This email sent to [EMAIL PROTECTED]









 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update 

Re: New WebObjects Builder User Guide

2005-11-14 Thread James Cicenia

That is nice.

After just a quick look I noticed custom palettes. Are there any  
public WO Palettes out there?


Looks good and makes me also want to try a display group!

Thanks and keep up the continued progress.

- James Cicenia


On Nov 14, 2005, at 3:02 PM, Cliff Tuel wrote:

I don't think this has been mentioned... along with the 5.3.1  
release, we

have an all-new guide to using WebObjects Builder:

http://developer.apple.com/documentation/WebObjects/Conceptual/ 
WO53_WOBuild

erGuide/index.html

--
Cliff Tuel . http://apple.com/services/technicalsupport


 ___
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/james% 
40jimijon.com


This email sent to [EMAIL PROTECTED]


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


Re: So how is 5.3.1 looking?

2005-11-14 Thread Pierre Frisch
Not for me. WO 5.3.1 still cannot generate a simple wsdl if you are not using the d2* stuff.Pierre -- Pierre Frisch President sPearWay Ltd. phone: +1 604 929 9610 ext 6011 email: [EMAIL PROTECTED] sPearCat Web Catalogs, Custom designed in-house with the click of a mouse. http://www.spearcat.com/  On 14-Nov-05, at 12:17 PM, [EMAIL PROTECTED] wrote:I will be needing to install WO soon, and I'd like to know whether the group thinks 5.3.1 is usable or if I should stick with 5.2.4.  This is not for production work but learning, although I think it is equally important when learning something new to avoid dealing with other people's bugs on top of your own.   I would prefer to start with the new tools, but not if they are going to make my life harder.thanks,janine___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/pierre.frisch%40spearway.comThis email sent to [EMAIL PROTECTED]  ___
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 archive@mail-archive.com

Re: WOSwitchComponent?

2005-11-14 Thread Arturo Pérez
One way to think of WOComponentContent is to consider a WORepetition.   
You have an iterator around a hunk of HTML.  Other Web technologies  
have similar things.  Well, how would you go about implementing  
something like that?


WOComponentContent allows you to make your own thing that wraps other  
pieces of HTML.


-arturo

On Nov 13, 2005, at 2:17 PM, Gavin Eadie wrote:


At 10:20 AM -0800 11/13/05, Chuck Hill wrote:

It can be hard to wrap your mind around it, though.


... yes, it takes a little while till the brain snaps into place, but  
it's very powerful.  Here's a tiny example to make it more real.


Note that the Wrap component carries the standard look and feel of  
your page 'template' and contains a header, footer and menu (just for  
the sake of having something a little more complex) plus the  
WOComponentContent in the place where you want all the non templated  
content to appear.  Main and More carry that content and refer to the  
Wrap, this way, whatever HTML that More and Main render will appear in  
the WOComponentContent place in Wrap.  Final note: ONLY Wrap is a full  
page, ALL the other components are partial, so any HTML headers that  
you want to use on every page only need to be in Wrap ...  
GavWOComponentContentDemo.zip  
___

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/ 
arturo%40ethicist.net


This email sent to [EMAIL PROTECTED]


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


Re: New WebObjects Builder User Guide

2005-11-14 Thread Lachlan Deck

Hi Cliff,

On 15/11/2005, at 8:02 AM, Cliff Tuel wrote:

I don't think this has been mentioned... along with the 5.3.1  
release, we

have an all-new guide to using WebObjects Builder:

http://developer.apple.com/documentation/WebObjects/Conceptual/ 
WO53_WOBuild

erGuide/index.html


Good.

Some bugs I'll be filing for the new Builder...

1) I was getting some weird behaviour yesterday where the interface  
was getting out of sync with itself. i.e., I'd control+click to add a  
new Key - and if I cancelled (to go look something up first) and then  
did it again, sometimes the next sheet wouldn't appear for ages.  
Thinking it wasn't going to happen, I'd try it again, but then I'd  
get the sheet opening up whilst the popup menu was open - and then  
the popup window wouldn't go away... endless cycle.


Has anyone else seen this... I'll file a bug today sometime once I've  
played with it a bit more to see if I can narrow down the bug.


2) Also, sometimes I'd click on the right side of a WOString and hit  
CMD+1 and get No object selected whereas if I clicked on the left  
side the selection would be available as normal. So, there's  
definitely some promise in the new Builder... but there's a few  
interface glitches to work through.


3) Ctl+Click to add a new Key/Action in WebObjects Builder, get the  
sheet... switch back to Xcode, attempt to add a new File (File   
New...) Xcode will give you the spinning beach ball and fails to add  
the new file until you cancel the sheet in WebObjects Builder! This  
is not in accordance with expected sheet behaviour.


I'm sure there was more but sometimes you've gotta get on with work ;-)

with regards,
--

Lachlan Deck


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


Re: SharedEditingContext Write Locks?

2005-11-14 Thread Dov Rosenberg
We took a closer look at our code and made some changes. We were using a
method out of EOUtilities to get data instead of using
objectsWithFetchSpecification. Hopefully that will clear up our issue. I
will let everyone know if that works.

A point of clarification:

Based on one of the links that someone sent along, it seems like the
SharedEditingContext should never be passed into a method to do a fetch
unless objectsWithFetchSpecification is used. It seems that
objectsWithFetchSpecification is used to load the SEC, I am not sure why I
would use objectsByEntityName or
objectsByEntityNameAndFetchSpecificationName. It seems that these methods
could return a huge number of objects. Is the idea that you could filter the
Shared objects in memory like you would in the DB?

Thanks again

Dov Rosenberg


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