Ah ha!

You are using a tutorial for developing WO apps with the deprecated WOBuilder, not the Component Editor that is part of WOLips.

There is no Interface menu in Eclipse/WOLips.

You are running into the most difficult part of learning WO at this point. The documentation has not yet caught up with the new development Tools. The development team is quickly adding new features almost every day, so what menu items are available or what is the "easiest" way to do things may not be the same as yesterday.

I almost think that everyone should put a signature on each email stating what version of the tools they are using so that people will know if they need to update to get the feature that people are telling them to use.

There is no easy way of dealing with this issue other than to read the lists and keep asking questions. This will make it clear what parts of the system are not clear to new developers. Or to experienced ones for that matter.

Also, as a tip, make sure your emails have descriptive subject lines on them. It will help get people's attention. "Binding Question" is a good one, "question" is not.

Also, keep an eye on the WOLips blog http://wolips.blogspot.com/. It gets updated with many of the latest changes.

Dave


On Mar 18, 2008, at 12:02 PM, Gustavo Pizano wrote:

Hello Im looking for the option but dunno where it is,,, in the wiki it says, click in the interface menu bar item and select add key...

am I so blind that cant see it ?


Gus

On Mar 18, 2008, at 10:50 AM, Daniel Brajkovic wrote:
Using WOLips' new add key method, WoLips automatically generated the following code for me and it works fine.

public class NewWindow extends com.webobjects.appserver.WOComponent {
    private String firstName;

        public NewWindow(WOContext context) {
        super(context);
    }

        /**
         * @return the areLikeItemsTaxable
         */
        public String firstName() {
                return firstName;
        }

        /**
         * @param areLikeItemsTaxable the areLikeItemsTaxable to set
         */
        public void setfirstName(String firstName) {
                this.firstName = firstName;
        }
}


On Mar 18, 2008, at 10:40 AM, Gustavo Pizano wrote:

Yes I was thinking that jsut that its not working for me I think Im making something worng

Im thinking to have this

Text : WOTexField{
//whats the biding here ..

}

and in the .java

have an accessor public void setXXX(Strng s){
...
}

but it doesnt work if i put value = setXXX; becuase setXX its not a key... if I put action = setXXX it doesnt work aswell... so what biding should I use?


Gus

On Mar 18, 2008, at 10:27 AM, Daniel Brajkovic wrote:

I like to keep them private/protected. Bind the value to the accessor method.


(disclaimer: I am a WONewbie)

On Mar 18, 2008, at 10:22 AM, Gustavo Pizano wrote:

Hello

I want to know if ie. I have XXX.WO there i have some WOtext fields inside a WOFrom, in the java the keys should always be public? or the can be private with some accessor method, or protected variable? if so, then how can i bind them?

Gus


_______________________________________________
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/daniel%40brajkovic.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/gustavpicora%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/gustavpicora%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/webobjects%40avendasora.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]

Reply via email to