From: Kay Krüger-B. <ka...@we...> - 2008-10-01 16:38:15
|
> -----Ursprüngliche Nachricht----- > Von: "Kay Krüger-Barvels" <ka...@we...> > Gesendet: 01.10.08 16:52:52 > An: "Militaru Tomita" <mil...@ya...>, <gui...@li...> > Betreff: Re: [Gui4j-user] Edit not editable > Hi, > > I cannot try it out at the moment but I think I know what the problem could be. > > If I remember correctly, gui4j automatically makes an edit field not editable when the optional attribute "setValue" is not specified. > This is not mentioned in the documentation (see http://www.gui4j.org/gui4jdocs/edit.html) and should be added. It's also questionable if this automatic behaviour is the right thing to do for gui4j. > > You'll need the "setValue" attribute anyway as soon as you actually want to store the input value somewhere. > > Hope it helps. > > May I ask what you are using gui4j for? We are curious since we had very little feedback from the community after making gui4j open source in 2005. > > Thanks, > Kay > > > -----Ursprüngliche Nachricht----- > > Von: "Militaru Tomita" <mil...@ya...> > > Gesendet: 30.09.08 10:41:21 > > An: gui...@li... > > Betreff: [Gui4j-user] Edit not editable > > > > > > Hi, > > I'm new to gui4j. I started with the basic, but I get stuck at edit. > > I try to make it editable by using this method: > > public boolean setEditable(){ > > return true; > > } > > And in the xml document its: > > <edit editable="setEditable" value="'test'"></edit> > > > > Maybe I didn't understand the principle. > > > > -- > > My Blog: www.tomarea.com > > My Town: www.copsa-mica.org > > > > > > > > > > > > --------------------------------------------------------------------- > > ---- This SF.Net email is sponsored by the Moblin Your Move Developer' > > s challenge Build the coolest Linux based applications with Moblin > > SDK & win great prizes Grand prize is a trip for two to an Open > > Source event anywhere in the world http://moblin-contest.org/redirect. > > php?banner_id=100&url=/ _____________________________________________ > > __ Gui4j-user mailing list Gui...@li... https:// > > > > lists.sourceforge.net/lists/listinfo/gui4j-user > > _________________________________________________________________________ In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114 |