In many case, "we have a page for that"
Git:
http://wiki.objectstyle.org/confluence/display/WO/Getting+Started+with+Git
Wonder Source:
http://wiki.objectstyle.org/confluence/display/WONDER/Getting+the+Wonder+Source+Code
On May 8, 2011, at 2:15 AM, Kevin Spake wrote:
> I'm cogitating this, and I understand it conceptually (I think), but I need
> to make sense of it syntactically in the file. Anyway, as was recommended, I
> have ordered a copy of Practical Webobjects.
>
> Also, I am in the process of installing Project Wonder. Of course, the
> instructions said the best approach is to use the source from GIT, as opposed
> to just downloading the .dmg. So, I am studying GIT, so I can use it to
> install Project Wonder source, so I can ....
>
> Right now it seems like I am paddling backwards! Or, more like, I'm in
> California and I'm trying to get to Texas by traveling west. I'll get there,
> but it's gonna take a while.
>
> Thanks to all,
>
> Kevin
>
> From: Kieran Kelleher <[email protected]>
> To: Kevin Spake <[email protected]>; John Huss <[email protected]>;
> WebObjects-Dev Mailing List List <[email protected]>
> Sent: Sat, May 7, 2011 10:15:26 AM
> Subject: Re: InOverMyHead {"obviously"};
>
> By the way, that snippet is from the "wod" file. The wod file is the "glue"
> that magically connects your html template to the corresponding java class.
>
> MyPage.html <--> MyPage.wod <--> MyPage.java.
>
>
> Looking at the little snippet below, here is an explanation of the pieces.
> Think about this over the weekend and get the conceptsinto the brain ;-)
>
> EditButton
> -------------
> That's the name you have chosen for the declaration and it maps to this
> fragment in your html template
>
> <webobject name = "EditButton"></webobject>
>
> WOSubmitButton
> ---------------------
> That's the name of the "Dynamic Element" that contains the logic for
> rendering the element as HTML and firing your action when clicked on.
> This part of the wod conventionally corresponds to a WODynamicElement
> subclass, in this case one named WOSubmitButton.java, OR it can correspond to
> a custom reusable WOComponent (MyReusableComponent.wo for example)
> This is part of the WebObjects library, and you don't have the source
> code, hence why you got your original error below. If this corresponded to a
> WODynamicElement or WOComponent subclass in your source or Project Wonder's
> source, then clicking on it would show you the java source.
>
> action
> -------
> This is an api "binding" provided by the WODynamicElement (or reusable
> WOComponent) subclass. A binding allows passing of an argument both ways,
> depending on the context. In this case, the binding conceptually "pulls" your
> action method an invokes it.
>
> editAction
> ------------
> The name of your method. Must return WOActionResults instance (which can be a
> WoComponent page since WOComponent implements that interface
> public WOActionResults editAction() {
> <your logic here>
> }
>
> HTH, Kieran
>
>
> On May 7, 2011, at 8:35 AM, Kieran Kelleher wrote:
>
>> He means command click the action (in the case below that would be
>> editAction)
>>
>>
>>
>> EditButton: WOSubmitButton {
>> action = editAction;
>> value = "Edit";
>> }
>>
>>
>>
>>
>>
>>
>> On May 7, 2011, at 2:53 AM, Kevin Spake wrote:
>>
>>> Thanks for this suggestion. However, when I command + click on the variable
>>> name, I get a Class File Editor window that says:
>>>
>>> "The source attachment does not contain the source for the file
>>> WOSubmitButton.class.
>>>
>>> You can change the source attachment by clicking... "
>>>
>>> So I click on the thing and it shows this path:
>>> /Developer/WebObjects/Versions/WebObjects543/System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar
>>>
>>> Where exactly should I find WOSubmitButton.class?
>>>
>>> Here is the contents of my wolips.properties file. I'm assuming there is a
>>> path issue?
>>>
>>> wo.api.root=/Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.WebObjectsReference.docset/Contents/Resources/Documents/documentation/InternetWeb/Reference/WO542Reference
>>> wo.apps.root=/Developer/WebObjects/Versions/WebObjects543/Library/WebObjects/Applications
>>> wo.bootstrapjar=/Developer/WebObjects/Versions/WebObjects543/System/Library/WebObjects/JavaApplications/wotaskd.woa/WOBootstrap.jar
>>> wo.extensions=/Developer/WebObjects/Versions/WebObjects543/Library/WebObjects/Extensions
>>> wo.local.frameworks=/Developer/WebObjects/Versions/WebObjects543/Library/Frameworks
>>> wo.local.root=/Developer/WebObjects/Versions/WebObjects543
>>> wo.network.frameworks=/Network/Library/Frameworks
>>> wo.network.root=/Network
>>> wo.system.frameworks=/Developer/WebObjects/Versions/WebObjects543/System/Library/Frameworks
>>> wo.system.root=/Developer/WebObjec ts/Versions/WebObjects543/System
>>> wo.user.frameworks=/Users/spake/Library/Frameworks
>>> wo.user.root=/Users/spake
>>> wolips.properties=wolips.properties
>>>
>>>
>>> Kevin
>>>
>>> From: John Huss <[email protected]>
>>> To: Kevin Spake <[email protected]>
>>> Cc: [email protected]
>>> Sent: Thu, May 5, 2011 9:59:45 PM
>>> Subject: Re: InOverMyHead {"obviously"};
>>>
>>> You can type in a public instance variable, or command+click (or maybe it's
>>> control+click?) on the variable name in your .wod (or .html) file to
>>> generate the variable.
>>>
>>> John
>>>
>>> On Thu, May 5, 2011 at 11:47 PM, Kevin Spake <[email protected]> wrote:
>>> Subject says it all.
>>>
>>> I took a java programming class years ago. I did not continue with it.
>>> Since then, my only programming experience has been with Realbasic, and
>>> that too was years ago. Now, I've decided to jump into webobjects. I have
>>> eclipse and WO 543 on intel mac. I can run a simple "hello world" program.
>>>
>>> As I try to do the beginner tutorial here:
>>> http://wiki.objectstyle.org/confluence/display/WO/Hello+World+-+Your+First+WebObjects+Application
>>> I find myself stuck. The instructions say: "So, to add a variable to keep
>>> track of our visitors name, click on the 'Interface' menu bar item and
>>> select 'Add Key...'."
>>>
>>> I have no "interface menu bar item". I can't find it anywhere, nor can I
>>> find any instructions on how to add a variable. Do I just type it in? Is
>>> there a resource for total newbs using current WO implementation, or is it
>>> an 'idiots need not apply' type of thing?
>>>
>>> If this is the wrong mailing list, my apologies.
>>>
>>> Thanks,
>>>
>>> Kevin
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list ([email protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com
>>>
>>> This email sent to [email protected]
>>>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list ([email protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com
>>>
>>> This email sent to [email protected]
>>
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]