Rule Modeler

2017-06-02 Thread Dawn Lockhart
Is there a version of the RuleModeler application that could be run on
Linux?
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Custom D2W Navigation

2012-07-10 Thread Dawn Lockhart
as soon as you click on any action on the query or pick page, you are 
immediately logged out with no exceptions thrown

Are the actions that fail a form submission? Does the action method ever get 
called? Is the session terminated? Is a new session constructed?

The session is not terminated and a new one is not constructed.
The actions are a ERDLinkToEditObject inside a ERMODPickListPage; however, the 
link's action is never called.
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


FW: Custom D2W Navigation

2012-07-10 Thread Dawn Lockhart

action = "session.navController.pickCourseLengthAction";

displayName = "Course Lengths";

}

)


Any ideas on why this doesn't work? Or has someone already done this a better 
way? I know I should probably have something in the navigationMenu.plist or 
rule file to set showDropDownMenu instead of just adding a fourth level to the 
navigationState, but once I learn how to create those custom flags, I'll do 
that.


TIA,

Dawn

From: David Holt mailto:programming...@mac.com>>
Date: Friday, June 29, 2012 9:52 AM
To: D LOCKHART mailto:dlockh...@k12.com>>
Subject: Re: Custom D2W Navigation

http://wiki.wocommunity.org/display/WO/Project+WONDER-Frameworks-ERXNavigation

On 2012-06-28, at 5:32 PM, Dawn Lockhart wrote:

I have extended ERXNavigationMenu to create a submenu as a drop down list 
instead of tabs. When I select an item in the drop down, I set the new 
navigation state in ERXNavigationManager.manager().navigationStateForSession 
and then I return the correct list page WOComponent. So it correctly navigates 
to the list page. However, once I click on any navigation actions on the list 
page, it immediately logs me out. What else do I need to set before I return 
the list page?

I had hoped to come this week to WOWODC, but K12 was too cheap to send us and 
they stalled so long in telling us that we weren't going, that the hotel was 
booked and the airfares had risen dramatically. :( So Kieran will have to drink 
a few beers for me!

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


D2W

2012-07-05 Thread Dawn Lockhart
If I want to start a D2W application, what is the correct version/branch of 
Wonder?
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Custom D2W Navigation

2012-06-28 Thread Dawn Lockhart
I have extended ERXNavigationMenu to create a submenu as a drop down list 
instead of tabs. When I select an item in the drop down, I set the new 
navigation state in ERXNavigationManager.manager().navigationStateForSession 
and then I return the correct list page WOComponent. So it correctly navigates 
to the list page. However, once I click on any navigation actions on the list 
page, it immediately logs me out. What else do I need to set before I return 
the list page?

I had hoped to come this week to WOWODC, but K12 was too cheap to send us and 
they stalled so long in telling us that we weren't going, that the hotel was 
booked and the airfares had risen dramatically. :( So Kieran will have to drink 
a few beers for me!
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: WOWODC 2010 recordings

2010-09-07 Thread Dawn Lockhart
But Pascal, you can¹t change the hotel, what would us few ladies do for
entertainment? Rue St. Catherine, had all those great shows just for us! ;)



>> Pascal, it certainly sounds like you're volunteering for next year :)

>Oh trust me, if we're doing it in Montreal again, I will find new places to
hang out. And the >hotel said that they can make Net access to go faster.

 ___
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

OT: Java desktop dev environments

2010-07-22 Thread Dawn Lockhart
Wow, Dave didn¹t use this as an opportunity to plug D2JC?
 ___
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: Webobjects-dev Digest, Vol 7, Issue 304

2010-05-18 Thread Dawn Lockhart
You have forward slashes instead of backslashes. Try:

//VALID


On 5/18/10 4:37 AM, "webobjects-dev-requ...@lists.apple.com"
 wrote:

> Send Webobjects-dev mailing list submissions to
> webobjects-dev@lists.apple.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.apple.com/mailman/listinfo/webobjects-dev
> or, via email, send a message with subject or body 'help' to
> webobjects-dev-requ...@lists.apple.com
> 
> You can reach the person managing the list at
> webobjects-dev-ow...@lists.apple.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Webobjects-dev digest..."
> 
> 
> Today's Topics:
> 
>1. Re: Stuck on long response page... IE (Kieran Kelleher)
>2. Re: ?? about opportunistic locking... (Kieran Kelleher)
>3. Re: ?? about opportunistic locking... (Mark Ritchie)
>4. Re: ?? about opportunistic locking... (Mike Schrag)
>5. Re: ?? about opportunistic locking... (Mark Ritchie)
>6. Re: Get rid of warning in binding value e.g. @sum.totalCost
>   (Cheong Hee)
>7. Re: Get rid of warning in binding value e.g. @sum.totalCost
>   (Cheong Hee)
>8. builds failing in Eclipse 3.6 (Tim Worman)
>9. Re: Stuck on long response page... IE (Simon)
>   10. Re: builds failing in Eclipse 3.6 (Tim Worman)
>   11. Re: builds failing in Eclipse 3.6 (webobje...@avendasora.com)
> 
> 
> --
> 
> Message: 1
> Date: Mon, 17 May 2010 22:12:53 -0400
> From: Kieran Kelleher 
> Subject: Re: Stuck on long response page... IE
> To: Simon 
> Cc: WebObjects Development 
> Message-ID: 
> Content-Type: text/plain; charset=us-ascii
> 
> Instead of a traditional "LongResponse" page try using a
> "GenericAjaxLongResponsePage" page that has an AjaxProgress component on it to
> monitor the task and a 'finishedFunction' binding on that to execute the
> nextPage action when task is done. That's MOL what I do nowadays.
> 
> HTH, Kieran
> 
> 
> On May 17, 2010, at 7:57 AM, Simon wrote:
> 
>> hi all - 
>> 
>> our apps use long response pages all over the shop, and we've had a few
>> reports of users getting stuck on them. after mucho debugging we've
>> discovered that wonderful IE (7+) has an option to disable meta refresh, and
>> various reports on the intertubes that it's disabled by default in various
>> versions.
>> 
>> i normally get annoyed with IE browsers wanting to warn about every minor
>> glitch on a page ("HEY, just in case you're interested there is a js variable
>> undefined on this page that you're never gonna use, but i thought i'd tell
>> you about it anyway, just to get in the way and make your life a little less
>> productive. ok?"), but with this one IE does just the opposite: nothing at
>> all. you hit the long response page and sit there...
>> 
>> anyway, i've been googling around for solutions and turned up nothing. i
>> guess the options are either to detect they have it turned off (which appears
>> to be impossible), or use another form of refresh.
>> 
>> anyone bumped into this one before ? any hints on solutions ?
>> 
>> thanks, simon
>> ___
>> 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/kieran_lists%40mac.com
>> 
>> This email sent to kieran_li...@mac.com
> 
> 
> 
> --
> 
> Message: 2
> Date: Mon, 17 May 2010 22:21:42 -0400
> From: Kieran Kelleher 
> Subject: Re: ?? about opportunistic locking...
> To: Miguel Arroz 
> Cc: webobjects-dev@lists.apple.com, Theodore Petrosky
> 
> Message-ID: 
> Content-Type: text/plain; charset=us-ascii
> 
> Miguel, I am with you on this one ... unless someone shows me a better
> approach...
> 
> For stuff that I *depend* on optimistic locking to support my business logic,
> I wrap transactions in a *brief* osc.lock()  it works . and for
> saving brain cycles I use this utility class to wrap optimistic lock
> transactions:
> 
> 
> /**
> * Deals with the nitty-gritty of a critical short-running
> * task where we depend on optimistic locking to guarantee that another
> * process does not change optimistic locking attributes at the same time. To
> * understand why this is necessary, read this:
> * {...@link http://terminalapp.net/dr-optimistic-locking/}.
> * 
> * Wraps the actions in
> * appropriate locks. WARNING: The OSC is locked for the period of the
> * transaction. All EOF access on this OSC is blocked. Do not use this for
> * actions that take more than a few milliseconds on OSC's that are being
> * used by request threads!
> * 
> * Code design inspired by {...@link ERXEOAccessUtilities.ChannelAction}
> * 
> * Example of usage
> * 
> * 
> * OptimisticLockAction action = new WKEOUtils.OptimisticLockAction() {
> *  @Override
> *

Open new window as POST

2009-04-09 Thread Dawn Lockhart
I have a link that when the user clicks on it, I need to redirect the new
window to a URL using a POST instead of a GET so that the parameters I'm
sending aren't visible. From the googling that I've done, it seems like I
have to use a WORedirect to get it to use a POST, but can't seem to figure
out how to do it.

I tried using the nice tutorial in David LeBar's blog from Dec 2004, but
couldn't get it to work in my instance because I'm redirecting to a URL
outside my application and it seemed to keep formatting the URL as a GET.

I'm sure by now Mike has a cool Wonder object that does this and I just
haven't found it. :)

Thanks,
Dawn

 ___
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: Ajax inside a Repetition

2009-03-24 Thread Dawn Lockhart
Yes, I forgot to mention that the ID is unique, I'm appending the rowNumber
to each ID. 

The whole repetition is wrapped in an AjaxUpdateContainer. When you check
the checkbox, I need it to hide/show the calendar. I just realized I forgot
to leave the conditional on the calendar column that hides/shows the field
if the checkbox is checked.

Tried changing the AjaxObserveField's updateContainerID to the outer
container 'ListUpdateID' and still no luck. When an item is added to the
repetition, only the checkbox and calendar in the first row work.


On 3/24/09 2:44 PM, "Travis Britt"  wrote:

> It looks like you're binding the ID for your AjaxUpdateContainer in a
> repetition -- are you sure the IDs are unique?
> 
> Have you tried wrapping the repetition with the AjaxUpdateContainer
> and updating the entire repetition? Then you should also be able to
> wrap the checkboxes in one AjaxObserveField.
> 
> tb
> 
> On Mar 24, 2009, at 12:29 PM, Dawn Lockhart wrote:
> 
>> I have a repetition with check boxes in each row. It worked like a
>> charm
>> until I upgraded to WO 5.4 and Wonder revision 8988.
>> 
>> If there are items in the repetition when the page initially loads,
>> they all
>> work fine, but if I add items to the repetition with an
>> AjaxSubmitButton and
>> update the container, then only the first row of the repetition
>> works. If I
>> press F5 and reload the page, then everything works.
>> 
>> 
>> 
>>> 
>> action="$checked" fullSubmit="$no">
>>
>>
>>
>>
>>

>>> 
>> value="$item.date" /> 
>>

>>
>>
>> 
>> 
>> 
>> > 
>> updateContainerID="ListUpdateID" />
>> 
>> When I look at the generated JavaScript, it seems to only generate the
>> JavaScript that registers the observe field if I manually refresh
>> the page.
>> How do I get the fields registered without refreshing the whole page?
>> 
>> I tried removing the observe field and having the checkbox call a
>> setChecked
>> method in the Java class and that didn't work either, it only hit the
>> setChecked method for the first row and not subsequent rows unless I
>> refreshed.
>> 
>> TIA,
>> Dawn
>> 
>> ___
>> 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/tbritt%40phigment.org
>> 
>> This email sent to tbr...@phigment.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


Ajax inside a Repetition

2009-03-24 Thread Dawn Lockhart
I have a repetition with check boxes in each row. It worked like a charm
until I upgraded to WO 5.4 and Wonder revision 8988.

If there are items in the repetition when the page initially loads, they all
work fine, but if I add items to the repetition with an AjaxSubmitButton and
update the container, then only the first row of the repetition works. If I
press F5 and reload the page, then everything works.









 








When I look at the generated JavaScript, it seems to only generate the
JavaScript that registers the observe field if I manually refresh the page.
How do I get the fields registered without refreshing the whole page?

I tried removing the observe field and having the checkbox call a setChecked
method in the Java class and that didn't work either, it only hit the
setChecked method for the first row and not subsequent rows unless I
refreshed.

TIA, 
Dawn

 ___
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: [SOLVED] AjaxModalDialog in a Repetition [

2009-03-01 Thread Dawn Lockhart
Doh! That seemed to fix it. We had locked down our Wonder version to 8949
and there was a patch to the AjaxModlDialogOpener in the 8954 version.

Thanks!


On 3/1/09 9:26 PM, "amiel montecillo"  wrote:

> You might want to make sure you are using the latest wonder.
> 
> On Mon, Mar 2, 2009 at 10:15 AM, Dawn Lockhart  wrote:
>> I tried that. It never went into the action binding¹s method.
>> 
>> 
>> On 3/1/09 7:03 PM, "amiel montecillo"  wrote:
>> 
>>> AjaxModalDialogOpener has an action binding, use that to set an instance to
>>> your component for the AjaxModalDialog to use.
>>> 
>>> Something like:
>>> 
>>>  >> "$setSelectedItem"
>>>     class="button" />
>>> 
>>> Then you operate on that "selectedItem" instance.
>>> 
>>> HTH,
>>> Amiel
>>> 
>>> On Mon, Mar 2, 2009 at 5:09 AM, Dawn Lockhart  wrote:
>>>> I have a repetition with an AjaxModalDialogOpener inside it to open an
>>>> AjaxModalDialog. When the AjaxModalDialogOpener is clicked, the selected
>>>> item in the repetition is null. How do I send the AjaxModalDialog the item
>>>> that was selected? I don't see any way to bind a value to it. I tried using
>>>> the AjaxModalDialogOpener's action method to set the selected value, but it
>>>> was never fired when I clicked on the link.
>>>> 
>>>> >>> showOpener="$false" closeUpdateContainerID="UpdateContainerID">
>>>> 
>>>> ...
>>>>     
>>>> 
>>>> 
>>>> 
>>>> 
>>>> ...
>>>> Table rows
>>>> ...
>>>>     >>>     class="button" />
>>>> ...
>>>> 
>>>> 
>>>> Thanks,
>>>> Dawn
>>>> 
>>>>  ___
>>>> 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/bosyotech%40gmail.com
>>>> 
>>>> This email sent to bosyot...@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

Re: AjaxModalDialog in a Repetition

2009-03-01 Thread Dawn Lockhart
I tried that. It never went into the action binding¹s method.


On 3/1/09 7:03 PM, "amiel montecillo"  wrote:

> AjaxModalDialogOpener has an action binding, use that to set an instance to
> your component for the AjaxModalDialog to use.
> 
> Something like:
> 
>   "$setSelectedItem"
>     class="button" />
> 
> Then you operate on that "selectedItem" instance.
> 
> HTH,
> Amiel
> 
> On Mon, Mar 2, 2009 at 5:09 AM, Dawn Lockhart  wrote:
>> I have a repetition with an AjaxModalDialogOpener inside it to open an
>> AjaxModalDialog. When the AjaxModalDialogOpener is clicked, the selected
>> item in the repetition is null. How do I send the AjaxModalDialog the item
>> that was selected? I don't see any way to bind a value to it. I tried using
>> the AjaxModalDialogOpener's action method to set the selected value, but it
>> was never fired when I clicked on the link.
>> 
>> > showOpener="$false" closeUpdateContainerID="UpdateContainerID">
>> 
>> ...
>>     
>> 
>> 
>> 
>> 
>> ...
>> Table rows
>> ...
>>     >     class="button" />
>> ...
>> 
>> 
>> Thanks,
>> Dawn
>> 
>>  ___
>> 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/bosyotech%40gmail.com
>> 
>> This email sent to bosyot...@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

AjaxModalDialog in a Repetition

2009-03-01 Thread Dawn Lockhart
I have a repetition with an AjaxModalDialogOpener inside it to open an
AjaxModalDialog. When the AjaxModalDialogOpener is clicked, the selected
item in the repetition is null. How do I send the AjaxModalDialog the item
that was selected? I don't see any way to bind a value to it. I tried using
the AjaxModalDialogOpener's action method to set the selected value, but it
was never fired when I clicked on the link.



...





...
Table rows
...

...


Thanks,
Dawn

 ___
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: Order of Objects Saved to DB

2009-01-12 Thread Dawn Lockhart
Thanks, I'll try that.

I guess I should have mentioned that I am writing to a DB table owned by
another system and they want me to insert the records in a specific order.
Unfortunately, I have no control over the DB table design. They actually do
have a sequence number column in the DB table, but are not using it.

Thanks!
Dawn


On 1/12/09 5:03 PM, "Kieran Kelleher"  wrote:

> First thought out of my head would be to try using
> primaryKeyForTransaction() (spelled sth like that) in Wonder's
> ERXGenericRecord in awakeFromInsertion . if awakeFromInsertion is
> too early to call that, then look for some of the other State
> Transition methods in Wonder's ERXGenericRecord that can be used to
> trigger that method call to generate and assign the primary key before
> the record is ever saved. Now if never saved you will have used up a
> PK that won't be reallocated  but who cares if you are not going
> beyond 2.1 billion or wtahever the mac INT is.
> 
> On Jan 12, 2009, at 4:17 PM, Dawn Lockhart wrote:
> 
>> I am creating new EO objects and I need them to be saved to the DB
>> in the
>> same order that they were created so their primary keys will be in
>> the order
>> created. It seems like when I call saveChanges on the editing
>> context that
>> the records are just being saved to the DB all willy nilly.
>> 
>> It looks like the only way to enforce this is to do multiple calls to
>> saveChanges which I'd like to avoid.
>> 
>> Is there some way to have it save a group of objects in the order
>> created?
>> 
>> TIA,
>> Dawn
>> 
>> ___
>> 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/kieran_lists%40mac.com
>> 
>> This email sent to kieran_li...@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


Order of Objects Saved to DB

2009-01-12 Thread Dawn Lockhart
I am creating new EO objects and I need them to be saved to the DB in the
same order that they were created so their primary keys will be in the order
created. It seems like when I call saveChanges on the editing context that
the records are just being saved to the DB all willy nilly.

It looks like the only way to enforce this is to do multiple calls to
saveChanges which I'd like to avoid.

Is there some way to have it save a group of objects in the order created?

TIA, 
Dawn 

 ___
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


ERXTabPanel allow HTML in title

2008-12-08 Thread Dawn Lockhart
I have a ERXTabPanel and I need to display part of the tab name in red. For
example:

Tab name (33)

However, the name does not render the html. We also have cases where the tab
name is long and we need to force it to wrap, but haven't been able to do
that.

Is there a way to do this? Have tried escaping and encoding the tab name
string and that doesn't work.

Thanks, Dawn

 ___
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 [EMAIL PROTECTED]


Re: AjaxObserveField

2008-03-18 Thread Dawn Lockhart
Thanks, Mike, that fixed it!


So ... red flags:

>
> GradeLevelField : WOPopUpButton {
>list = gradeLevels;
>   item = gradeLevel;
>   displayString = gradeLevel.name;
>
>selectedValue = selectedGradeLevel;
selectedValue vs selection ... red flag ... unrelated to your problem.

>   id = gradeLevelFieldID;
the id of the field is bound to a keypath here

> GradeLevelObserveField : AjaxObserveField {
>observeFieldID = "GradeLevelField";
but a constant here.  these have to match ... I suspect they don't.

> otherTagString = "onChange='this.form.submit();'";
This will not work .. you're just submitting the form directly instead
of with Ajax.

ms

 ___
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 [EMAIL PROTECTED]


AjaxObserveField

2008-03-18 Thread Dawn Lockhart
I'm have a WOPopupButton, GradeLevelField, that when the value in it is
changed, I need to change the list of another WOPopupButton, CourseField.
I've figured out enough to know that I need an AjaxObserveField observing
the first button, but can't get it to perform the action that reloads the
second button.











GradeLevelField : WOPopUpButton {
list = gradeLevels;
   item = gradeLevel;
   displayString = gradeLevel.name;

selectedValue = selectedGradeLevel;
   id = gradeLevelFieldID;
   noSelectionString = "Select a Grade Level...";

}

GradeLevelObserveField : AjaxObserveField {
observeFieldID = "GradeLevelField";
   updateContainerID = courseUpdateID;
   fullSubmit = false;
 
  action = selectGradeLevel;

}



CourseField : WOPopUpButton {

list = courses;
   item = course;
   displayString = course.name;
   selectedValue = selectedCourse;

}



If I add 
otherTagString = "onChange='this.form.submit();'";
to the GradeLevelField, it submits the form, but the observe field's action
is never called. How do I activate the observe field?

Dawn

 ___
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 [EMAIL PROTECTED]


Re: Best practice for dummy empty option in a WOPopupButton

2008-02-27 Thread Dawn Lockhart
My bad, it does work. I didn't have a selection set and was looking at the
item instead. Thanks for the quick reply!

Dawn


On 2/27/08 6:24 PM, "John Larson" <[EMAIL PROTECTED]> wrote:

> No, it should set the field as null with only one value in the list.
> To be clear, there should be two selections in the list; the item from
> the list array and ">select value<" or whatever you have as the
> noSelectionString.
> 
> Of course nothing will happen if you don't have your submit button and
> the popup button in the same form  :-)  Just another thing to check.
> 
> John
> 
> On Feb 27, 2008, at 4:57 PM, Dawn Lockhart wrote:
> 
>> Didn't know about the noSelectionString either. So I added it and it
>> is not
>> returning null for me, it is returning the first item in the
>> WOPopupButton.
>> Could this be because right now I only have one item and once I add
>> more
>> then it will return null?
>> 
>> ___
>> 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/the_larsons%40mac.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 [EMAIL PROTECTED]


Re: Best practice for dummy empty option in a WOPopupButton

2008-02-27 Thread Dawn Lockhart
Didn't know about the noSelectionString either. So I added it and it is not
returning null for me, it is returning the first item in the WOPopupButton.
Could this be because right now I only have one item and once I add more
then it will return null?

 ___
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 [EMAIL PROTECTED]


Re: SQL Schema comparator

2008-02-11 Thread Dawn Lockhart
I was playing with DB Solo 2 last week. It has a pretty slick GUI schema
compare.

Dawn

> Hi!
>
>   Subject says it all... the ideia is comparing two SQL schemas to
> help writing migration stuff. Anyone knows/uses/recommends any
> software to do this?
>
>   Yours
>
> Miguel Arroz
>
> Miguel Arroz
> http://www.terminalapp.net
> http://www.ipragma.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 [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 [EMAIL PROTECTED]


Re: Unable to locate WOOpenURL on your computer

2008-01-16 Thread Dawn Lockhart
I had the same problem a couple of days ago. Remove the blank space before
WOOpenURL in the command line and it will work fine.

-Dawn

 ___
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 [EMAIL PROTECTED]