One of the big pluses of EXECUTE METHOD is working around does this exist?
If the component is present run this method if it isn't don't try.

And of course, it completely hides the need for a component from 4D.  This
can be very useful.

On a number of occasions I've tried to open a structure and it says NO -
you need the component, that's it. End of story.  Can't open in interpreted
mode even because the component is missing.

The specific circumstance this occurs is if Comp A needs Comp B but when
launching Host Comp B is not present.  To get around that particular
problem, remove Comp A from Host so it doesn't check Comp A's requirements.



Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart
<http://about.me/waynestewart>


On 21 April 2017 at 11:48, David Adams via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Thanks Wayne, so for development:
>
> MessageHub
>    Components
>       ErrorStack
>
> For deployment
>
> Host
>     Components
>          ErrorStack
>          MessageHub  (no ErrorStack component here)
>
> Host calls ErrorStack
> MessageHub calls ErrorStack
>
> In development of MessageHub, it calls ErrorStack in its Components folder.
>
> In deployment Host and MessageHub bot call ErrorStack in
>    Host/Components/ErrorStack
>
> Is that right? If so, I can deal with that. Seems okay to me. Much better
> than I feared. It looks like it satisfies Tim's rule of components nesting
> to only one level...it's still just one level at a time. If this does work,
> it's because there really is only one project-wide method namespace - so
> whoever looks for a method finds the 'closest' one, I guess.
>
> I won't use the EXECUTE METHOD across components. Sounds like the tool of
> Satan. Not sure, but it smells of sulphur...
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **********************************************************************
>
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to