I use that a lot too.
Chuck
On 2012-06-21, at 11:34 PM, Tim Worman wrote:
> Um, that should have been:
>
>> return (MESDriver)valueForBinding("object");
>
> On Jun 21, 2012, at 11:28 PM, Tim Worman wrote:
>
>> Or, what I have done sometimes is this:
>>
>> @Override
>> public MESDriver obje
Um, that should have been:
> return (MESDriver)valueForBinding("object");
On Jun 21, 2012, at 11:28 PM, Tim Worman wrote:
> Or, what I have done sometimes is this:
>
> @Override
> public MESDriver object() {
> return = (MESDriver)valueForBinding("object");
> }
>
> If your object is neve
Or, what I have done sometimes is this:
@Override
public MESDriver object() {
return = (MESDriver)valueForBinding("object");
}
If your object is never persisted in this component but instead is just always
pulled from the binding, you don't have to worry about resetting the local
variab
sleep() for a normal component, reset() for a stateless one.
On 2012-06-21, at 7:19 PM, Johnny Miller wrote:
> I'm missing a small piece of the puzzle.
>
> If I use lazy initialization, when I attempt to bind a different object to
> the component it doesn't get set.
>
> Therefore, where shoul
I'm missing a small piece of the puzzle.
If I use lazy initialization, when I attempt to bind a different object to the
component it doesn't get set.
Therefore, where should I set the value of the variable to null? In awake,
sleep or reset?
Thank you,
Johnny Miller
Kahalawai Media Corp.
www.
ERXNonSynchronizingComponent is very handy:
public class YourClass extends ERXNonSynchronizingComponent {
public YourClass(WOContext context) {
super(context);
}
}
Steve
On Jun 21, 2012, at 7:58 PM, Johnny Miller wrote:
> Thank you, oh wise one.
>
> I've updated the
I believe I've watched it before but now that I have this example to put it
into context (ha ha) it's definitely worth a refresher.
Thanks,
Johnny Miller
Kahalawai Media Corp.
www.kahalawai.com
On Jun 21, 2012, at 2:22 PM, Ramsey Gurley wrote:
> Synchronization makes a big difference in cpu
I am stealing that for my optimization presentation! :-)
Chuck
On 2012-06-21, at 5:22 PM, Ramsey Gurley wrote:
> Synchronization makes a big difference in cpu and memory usage. If you need a
> better grasp of component synchronization, you can get some tips in Mark
> Ritchie's presentation f
Synchronization makes a big difference in cpu and memory usage. If you need a
better grasp of component synchronization, you can get some tips in Mark
Ritchie's presentation from 2009. He hits synchronization around 40 minutes in:
http://www.wocommunity.org/podcasts/wowodc/east09/WOWODC09E-Compo
Thank you, oh wise one.
I've updated the component to something like this:
public boolean synchronizesVariablesWithBindings() {
return false;
}
@Override
public MESDriver object() {
if(_driver == null) {
For cases like this, and in fact for most cases, I turn OFF automatic binding
synchronization and do it in code. I was just writing on that last night for
my optimization presentation.
Chuck
On 2012-06-21, at 4:44 PM, Johnny Miller wrote:
> So that's interesting (and something I didn't know
So that's interesting (and something I didn't know about).
In the stack the current component, MESDriverEditor, gets called again and is
asked pushValuesToParent. Can I set that to false in my component action?
Johnny Miller
Kahalawai Media Corp.
www.kahalawai.com
On Jun 21, 2012, at 1:34 PM
That is from some other component doing automatic binding synchronization.
Look at the stack trace when it gets overwritten by the current selected object
On 2012-06-21, at 4:33 PM, Johnny Miller wrote:
> Hi Amedeo & Chuck,
>
> This is what I've been trying. // updated since CH's email
>
> p
Hi Amedeo & Chuck,
This is what I've been trying. // updated since CH's email
public WOActionResults createNewDriverSchedule() {
MESSchedule schedule = MESSchedule.createMESSchedule(ec());
schedule.setDriverRelationship(MESDriver.localInstanceIn(ec(),
object()));
((Dispa
context().page() will always give you the top-most component. Is that what you
want? Then you would need to cast it:
((MyPage)context().page()).setFocusObject(eo);
Or iterate up the parent() chain until you find what you want.
Chuck
On 2012-06-21, at 4:23 PM, Amedeo Mantica wrote:
> par
parent().parent().parent() ?
Sent from my iPhone
On 22/giu/2012, at 01:16, Johnny Miller wrote:
> Hi,
>
> I'm trying to create a frame set behavior where in one column I have various
> navigation trees of EOs and in the other column I have a WO switch component
> that loads the correct e
Hi,
I'm trying to create a frame set behavior where in one column I have various
navigation trees of EOs and in the other column I have a WO switch component
that loads the correct editor depending on the type of EO that is selected from
the navigation.
My question is it is possible for the co
Jean-François Veillette wrote:
From what I see (and how I understand), this is not a vain
intellectual exercise ...
If you think of the content as a sub-view of it's parent wrapper : use
woswitchcomponent.
If you think of the wrapper as a decoration around the content : use
wrapper tech
Hello James;
I have to disagree with the comments made here about this being a bad
idea -- mostly because I use this WOSwitchComponent technique you are
imagining in all of my projects for a number of years now! It works
fabulously for me and has allowed me to make some fabulous navigation
On Apr 27, 2006, at 1:10 PM, Anjo Krank wrote:
If you've run into a situation where WO didn't bring it for your
UI and the current components don't provide support, drop me a
line. I'd love to remove a Ruby checkmark in the WO-vs-Ruby
comparison.
Where is this comparison?
Chuck
--
Com
On Apr 27, 2006, at 10:23 AM, Mike Schrag wrote:
You should really take a look at the new Ajax stuff, it's pretty
cool and offers a lot of possibilities. Oh, here's a cool Ajax-
based app I've stumbled across:
Sort of a wonder-dev topic, but judging by emails I've gotten,
there's a fair amo
Hi, Anjo & Mike,
On Apr 27, 2006, at 1:10 PM, Anjo Krank wrote:
Hi Jerry,
Am 27.04.2006 um 16:13 schrieb Jerry W. Walker:
This model work great when the wrapper is mostly static, or
doesn't interact directly with the actual content shown.
For these things, there is Wonder's ERXWOTemplate a
You should really take a look at the new Ajax stuff, it's pretty
cool and offers a lot of possibilities. Oh, here's a cool Ajax-
based app I've stumbled across:
Sort of a wonder-dev topic, but judging by emails I've gotten,
there's a fair amount of interest about Ajax in webobjects-dev
too .
Hi Jerry,
Am 27.04.2006 um 16:13 schrieb Jerry W. Walker:
This model work great when the wrapper is mostly static, or
doesn't interact directly with the actual content shown.
For these things, there is Wonder's ERXWOTemplate and
ERXWOComponentContent. It kind of makes your head explode when
From what I see (and how I understand), this is not a vain intellectual
exercise ...
If you think of the content as a sub-view of it's parent wrapper : use
woswitchcomponent.
If you think of the wrapper as a decoration around the content : use
wrapper technique with wocomponentcontent.
Well Jerry, until you said that, how would anyone whether you got it
from me, or I got it from you? :)
On Apr 27, 2006, at 10:16 AM, Jerry W. Walker wrote:
On Apr 27, 2006, at 10:11 AM, Ken Anderson wrote:
I was about to write what Jerry wrote - so just consider this a
nod :) Of course, s
Wirehose is definitely very hard to get one's head around.
I have used it in one project and the learning curve was steep, and I
am still sliding up and down it. There are a lot of files to be
edited/created etc. just to make sure a component appears where you
expect it. And the support is
On Apr 27, 2006, at 10:11 AM, Ken Anderson wrote:
I was about to write what Jerry wrote - so just consider this a
nod :) Of course, since Jerry and I have worked together on a
number of projects, this is no surprise!
Aww, Ken, why'd you have to go and spill that??? Now they'll know
that
On 27 Apr 2006, at 14:29, James Cicenia wrote:
Hello -
I am developing a new website and decided correctly or incorrectly,
to have my wrapper page(s) be the main page and then swap out the
content in the wrapper with the switch component.
My question is.. normally I have code like nextPa
Hi, Anjo,
On Apr 27, 2006, at 9:56 AM, Anjo Krank wrote:
This model work great when the wrapper is mostly static, or
doesn't interact directly with the actual content shown.
For these things, there is Wonder's ERXWOTemplate and
ERXWOComponentContent. It kind of makes your head explode when
I was about to write what Jerry wrote - so just consider this a
nod :) Of course, since Jerry and I have worked together on a number
of projects, this is no surprise!
Ken
On Apr 27, 2006, at 9:44 AM, Jerry W. Walker wrote:
Hi, James,
On Apr 27, 2006, at 9:29 AM, James Cicenia wrote:
He
I had used the WOComponentContent in my last project. I had some
issues, which I can't remember right now.. some problems refreshing
views after a popup, or such.
However, with using a switch component, yes with tabs, it is so easy
to know where I was just by keeping a dictionary in my ses
This model work great when the wrapper is mostly static, or doesn't
interact directly with the actual content shown.
For these things, there is Wonder's ERXWOTemplate and
ERXWOComponentContent. It kind of makes your head explode when you
use it first, but with these you can have multiple co
Uh, right, what Jerry said, quicker and in more detail. ;-)
-- Mark
On Apr 27, 2006, at 8:44 AM, Jerry W. Walker wrote:
Hi, James,
On Apr 27, 2006, at 9:29 AM, James Cicenia wrote:
Hello -
I am developing a new website and decided correctly or
incorrectly, to have my wrapper page(s) be t
This inverse the role-responsabilities of the component as proposed by
James.
This model work great when the wrapper is mostly static, or doesn't
interact directly with the actual content shown.
The other model proposed by James, is more appropriate (at least for
me) when your 'wrapper' a
Hello James,
I don't know that what you're doing is "just wrong" ;-) but another
option which I've used often is to design your with a
WOComponentContent instead of the WOSwitchComponent. This allows you
to still call your pages normally, access their variables, etc., but
still let you h
Hi, James,
On Apr 27, 2006, at 9:29 AM, James Cicenia wrote:
Hello -
I am developing a new website and decided correctly or incorrectly,
to have my wrapper page(s) be the main page and then swap out the
content in the wrapper with the switch component.
My question is.. normally I have co
I have a somewhat similar setup.
I have a sub-component (call it Section), that have menu-tab and is
responsible to show the proper content based on the selected tab.
In section, I have an ivar which track which menu-tab is selected. I
have a method that return the content sub-component name, d
Hello -
I am developing a new website and decided correctly or incorrectly,
to have my wrapper page(s) be the main page and then swap out the
content in the wrapper with the switch component.
My question is.. normally I have code like nextPage.setEC(ec), etc.,
How do I do this with my arch
39 matches
Mail list logo