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/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]