Re: D2W - Do the pros use "dummy" tables?

2010-04-19 Thread Mark Wardle
I've got so many different structured medical questionnaires / forms  
mapped as entities that it would be burdensome to create a component  
to edt and and every one. D2W is the solution!


However, for custom complex pages - particularly landing pages or  
integration pages, I use a normal component and perhaps leverage D2W  
by using embedded D2W list(s) if I want all the pagination and batch  
stuff for free.


I do have a complex SNOMED CT browser/chooser and although it is a D2W  
component (supporting editrelationship or select) it can only be used  
with one kind of entity. I suppose I could spend a little longer and  
make everything very generic but sometimes you've just got to get  
something working haven't you?


What I'm trying to say is, don't give up on non-d2w components!

Mark

--
Dr. Mark Wardle
Specialist registrar, Neurology
(Sent from my mobile)


On 20 Apr 2010, at 01:01, James Cicenia  wrote:


well say let's talk hypothetical.

In portion we have some dynamic graphs and in the other
are we have a dynamic spreadsheet of changing values.

All of this is read only data compiled from many different EO sets.

James


On Apr 19, 2010, at 5:47 PM, Ramsey Lee Gurley wrote:



On Apr 19, 2010, at 5:06 PM, James Cicenia wrote:


Hello -

This has baffled me about D2W. It definitely seems to need to have  
an entity.


So my question is ... how do you model custom screens?

Do you create a dummy entity with dummy attributes associated with  
the "areas" on the screen?


D2Wondering,
James Cicenia


What is going in the "areas" on the screen specifically?

Ramsey



___
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/mark 
%40wardle.org


This email sent to m...@wardle.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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: D2W - Do the pros use "dummy" tables?

2010-04-19 Thread Ramsey Lee Gurley

On Apr 19, 2010, at 8:01 PM, James Cicenia wrote:

> well say let's talk hypothetical.
> 
> In portion we have some dynamic graphs and in the other
> are we have a dynamic spreadsheet of changing values.
> 
> All of this is read only data compiled from many different EO sets.
> 
> James


Well, if they're changing, they can't be read only (^^)  But they're EOs... 
that's what I really wanted to know.  Ok, so lets say you have a live stock 
price chart... You're really just displaying an embedded list configuration.  
The dashboard component that produces the pretty chart can be written using D2W 
as a subclass of the list page template with something like SVG to display your 
data.  You would embed it in your UserHomePage configuration using a D2WList.  
If it isn't related to your user in any way, you'll need to generate your 
EODataSource using logic from somewhere.  If it is somehow related to the user 
(the user's personal profolio or something), then you can create a detail 
datasource off the user object.

I don't see why you would need a dummy entity for any of these things so far.  
Your UserHomePage entity would be your user entity. Your embedded stock 
dashboard list page would be your stock quote entity, and so on.


> 
> 
> On Apr 19, 2010, at 5:47 PM, Ramsey Lee Gurley wrote:
> 
>> 
>> On Apr 19, 2010, at 5:06 PM, James Cicenia wrote:
>> 
>>> Hello -
>>> 
>>> This has baffled me about D2W. It definitely seems to need to have an 
>>> entity.
>>> 
>>> So my question is ... how do you model custom screens?
>>> 
>>> Do you create a dummy entity with dummy attributes associated with the 
>>> "areas" on the screen?
>>> 
>>> D2Wondering,
>>> James Cicenia
>> 
>> What is going in the "areas" on the screen specifically?
>> 
>> Ramsey
>> 
> 
> ___
> 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/rgurley%40mac.com
> 
> This email sent to rgur...@mac.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 arch...@mail-archive.com

Re: D2W - Do the pros use "dummy" tables?

2010-04-19 Thread James Cicenia
well say let's talk hypothetical.

In portion we have some dynamic graphs and in the other
are we have a dynamic spreadsheet of changing values.

All of this is read only data compiled from many different EO sets.

James


On Apr 19, 2010, at 5:47 PM, Ramsey Lee Gurley wrote:

> 
> On Apr 19, 2010, at 5:06 PM, James Cicenia wrote:
> 
>> Hello -
>> 
>> This has baffled me about D2W. It definitely seems to need to have an entity.
>> 
>> So my question is ... how do you model custom screens?
>> 
>> Do you create a dummy entity with dummy attributes associated with the 
>> "areas" on the screen?
>> 
>> D2Wondering,
>> James Cicenia
> 
> What is going in the "areas" on the screen specifically?
> 
> Ramsey
> 

 ___
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: D2W - Do the pros use "dummy" tables?

2010-04-19 Thread Ramsey Lee Gurley

On Apr 19, 2010, at 5:06 PM, James Cicenia wrote:

> Hello -
> 
> This has baffled me about D2W. It definitely seems to need to have an entity.
> 
> So my question is ... how do you model custom screens?
> 
> Do you create a dummy entity with dummy attributes associated with the 
> "areas" on the screen?
> 
> D2Wondering,
> James Cicenia

What is going in the "areas" on the screen specifically?

Ramsey



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

Re: Instances Stopped Starting

2010-04-19 Thread Chuck Hill

Did you get anywhere on this?


On Apr 16, 2010, at 7:17 AM, Jeffrey Simpson wrote:

I have an application that we run instances on multiple boxes.   
Recently they stopped starting on one of the boxes.  It is not a  
case of them trying to start and dieing.  It looks like they are not  
starting at all.  I have found that if I do "Synchronize Host" on  
the box after I tell monitor to start them they then startup.


Have you checked the configuration written on that machine (/Library/ 
WebObjects/Configuration/SiteConfig.xml)?  Perhaps that is getting  
overwritten / erased.  That can happen if JavaMonitor gets run on more  
than one machine.  Synchronize Host would write a fresh copy so that  
would explain why the instances start after that.



 I do not know if it is connected but sometime I can not get the box  
to reboot from the command prompt.


You can ssh into the box, but rebooting gets cancelled?  Is there a  
GUI login that is canceling the restart?


Chuck


 When that happens I have to do the equivalent of unplugging the box  
to get it to reboot.  Does anyone have any ideas?  Below is some  
info on the box:


2 Dual Core Intel Processors
8 Gb Ram
OSX 10.4.11

WebObjects 5.3.3


Jeffrey Simpson
Senior Software Engineer
Telephone: 240.235.2144
Fax: 240.235.2174
simp...@yfu.org

Youth For Understanding (YFU) prepares young people for their  
responsibilities and opportunities in a changing, interdependent  
world.

___



--
Chuck Hill Senior Consultant / VP Development

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


D2W - Do the pros use "dummy" tables?

2010-04-19 Thread James Cicenia
Hello -

This has baffled me about D2W. It definitely seems to need to have an entity.

So my question is ... how do you model custom screens?

Do you create a dummy entity with dummy attributes associated with the "areas" 
on the screen?

D2Wondering,
James Cicenia

 ___
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: D2W toMany relationship problem

2010-04-19 Thread David Holt
Yeah, check out this page:

http://wiki.objectstyle.org/confluence/display/WO/D2W+Rules+Reference+-+Cookbook+-+FAQ

I think item 3 applies...

David

On 2010-04-19, at 1:44 PM, David Avendasora wrote:

> Okay, I was missing something simple. A rule.
> 
> {
> rules = (
> {
> author = 100;
> class = "com.webobjects.directtoweb.Rule";
> lhs = {
> class = "com.webobjects.eocontrol.EOAndQualifier";
> qualifiers = (
> {
> class = 
> "com.webobjects.eocontrol.EOKeyValueQualifier";
> key = task;
> selectorName = isEqualTo;
> value = inspect;
> },
> {
> class = 
> "com.webobjects.eocontrol.EOKeyValueQualifier";
> key = "smartRelationship.isToMany";
> selectorName = isEqualTo;
> value = {
> class = "java.lang.Number";
> value = 1;
> };
> }
> );
> };
> rhs = {
> class = "com.webobjects.directtoweb.Assignment";
> keyPath = componentName;
> value = ERDList;
> };
> }
> );
> }
> 
> 
> Dave
> 
> 
> On Apr 19, 2010, at 4:36 PM, David Avendasora wrote:
> 
>> Hi all,
>> 
>> I am working on my first real D2W project after many years of D2JC, and I'm 
>> running into something that has me stumped.
>> 
>> I have a toMany relationship on an entity that just shows: 
>> 
>> com.webobjects.eocontrol._EOCheapCopyMutableArray[14b485a9]
>> 
>> Instead of the related objects.
>> 
>> Am I missing something really simple?
>> 
>> Dave
>> ___
>> 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/webobjects%40avendasora.com
>> 
>> This email sent to webobje...@avendasora.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/programmingosx%40mac.com
> 
> This email sent to programming...@mac.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: D2W toMany relationship problem

2010-04-19 Thread David Avendasora
Okay, I was missing something simple. A rule.

{
rules = (
{
author = 100;
class = "com.webobjects.directtoweb.Rule";
lhs = {
class = "com.webobjects.eocontrol.EOAndQualifier";
qualifiers = (
{
class = "com.webobjects.eocontrol.EOKeyValueQualifier";
key = task;
selectorName = isEqualTo;
value = inspect;
},
{
class = "com.webobjects.eocontrol.EOKeyValueQualifier";
key = "smartRelationship.isToMany";
selectorName = isEqualTo;
value = {
class = "java.lang.Number";
value = 1;
};
}
);
};
rhs = {
class = "com.webobjects.directtoweb.Assignment";
keyPath = componentName;
value = ERDList;
};
}
);
}


Dave


On Apr 19, 2010, at 4:36 PM, David Avendasora wrote:

> Hi all,
> 
> I am working on my first real D2W project after many years of D2JC, and I'm 
> running into something that has me stumped.
> 
> I have a toMany relationship on an entity that just shows: 
> 
> com.webobjects.eocontrol._EOCheapCopyMutableArray[14b485a9]
> 
> Instead of the related objects.
> 
> Am I missing something really simple?
> 
> Dave
> ___
> 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/webobjects%40avendasora.com
> 
> This email sent to webobje...@avendasora.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

D2W toMany relationship problem

2010-04-19 Thread David Avendasora
Hi all,

I am working on my first real D2W project after many years of D2JC, and I'm 
running into something that has me stumped.

I have a toMany relationship on an entity that just shows: 

com.webobjects.eocontrol._EOCheapCopyMutableArray[14b485a9]

Instead of the related objects.

Am I missing something really simple?

Dave ___
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

Wonder 2010 survey

2010-04-19 Thread Pascal Robert
Hello everyone,

To help prepare for WOWODC 2010 (you know it's coming, right? :-)), I opened up 
the annual 2010 survey about how you use Project Wonder. The survey is up at :

https://www.survs.com/survey/MMYMMCX1CT

It's a quick (10 questions) survey, so don't be shy and help us for WOWODC!

Thanks.

--

Pascal Robert
prob...@macti.ca

WOWODC 2010 : August 27th-29th, Montreal. wowodc.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: OT; Blackberry "friendly" site

2010-04-19 Thread Cheong Hee
How about Nokia?  Latest update from their 2010 update is they have gone 
with native Qt and WRT - web real time e.g. html, css stuff.  So far it 
seemed no limitation on the web browser on this phone.



- Original Message - 
From: "Pascal Robert" 

To: "Kieran Kelleher" 
Cc: "WebObjects-Dev List" 
Sent: Saturday, April 17, 2010 3:02 AM
Subject: Re: OT; Blackberry "friendly" site


I just hope you're not going the WAP route :-) But trust me, the Web browser 
is really limited (well, at least it was two years ago), avoid JavaScript 
and CSS 2. And download the emulators available on BlackBerry network, they 
are useful to test everything on multiple BB models (which don't run the 
same OS and the same browser).


Customer has requested that existing WO app be made "Blackberry friendly". 
Existing app has basic WO 5.3.3 functionality, Wonder ERXtensions and 
Ajax.


Anyone done this? Any comments on what is involved or approach?

Regards, Kieran ___
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/probert%40macti.ca

This email sent to prob...@macti.ca


___
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/chng34%40gmail.com

This email sent to chn...@gmail.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