From: "hamid i." Date: 2009-11-11T20:32:26+09:00 Subject: [ruby-core:26680] keys aus der combobox --_41f8f304-a3ed-4ada-8bbe-534dd5c04b48_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hallo freunde. =20 hab folgendes problem und hoffe ihr k=F6nnt mir helfen. ich hab ein combobo= x indem alle keys aus confluence drin enthalten sind. =20 die keys sind daf=FCr da mir s=E4mtliche pages aus confluence anzuzeigen di= e zudem key geh=F6ren. das bedeutet wenn ich aus der combobox ein key w=E4h= le und auf mein button "list pages" klicken sollen mir s=E4mtliche pages an= gezeigt werden. =20 =20 die keys hole ich mir so (funktionert auch wunderbar) =20 combobox_pages.values =3D confluence.getSpaces.map{|space| space["key"]} =20 =20 die pages will ich mir so anzeigen lassen : =20 button_search =3D TkButton.new(root) { text "list pages" underline 0 background "lightgrey" activebackground "white" foreground "blue" width "29" place('height' =3D> 25=2C 'width' =3D> 180=2C 'x' =3D> 430=2C 'y' =3D> 25) =20 # ab hier der relevante teil ------------------ =20 command (proc { list =3D confluence.getPages(combobox_pages.values) puts list exit }) =20 } =20 =20 das sollte doch eigentlich funzen ! den statisch funktionert das wunderbar = wenn ich zB alle page zu dem SpaceKey "TEST ausgeben will wie etwa so : =20 list =3D confluence.getPages("TEST") puts list =20 =20 ich m=F6chte das aber dynamisch haben ! hat jemand da ne idee? =20 danke =20 _________________________________________________________________ Windows Live: Keep your friends up to date with what you do online. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/so= cial-network-basics.aspx?ocid=3DPID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092= 010= --_41f8f304-a3ed-4ada-8bbe-534dd5c04b48_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hallo freunde.
 =3B
hab folgendes problem und hoffe ihr k=F6nnt mir helfen. ich hab ein combobo= x indem alle keys aus confluence drin enthalten sind.
 =3B
die keys sind daf=FCr da mir s=E4mtliche pages aus confluence anzuzeigen di= e zudem key geh=F6ren. das bedeutet wenn ich aus der combobox ein key w=E4h= le und auf mein button "list pages" klicken sollen mir s=E4mtliche pages an= gezeigt werden.
 =3B
 =3B
die keys hole ich mir so (funktionert auch wunderbar)
 =3B
combobox_pages.values =3D confluence.getSpaces.map{|s= pace| space["key"]}
 =3B
 =3B
die pages will ich mir so anzeigen lassen :  =3B
button_search =3D TkButton.new(root) {
 =3B text "list pages"
&nb= sp=3B underline 0
 =3B background "lightgrey"
 =3B activeback= ground "white"
 =3B foreground =3B "blue"
 =3B width "29"=
 =3B place('height' =3D>=3B 25=2C
 =3B =3B =3B&nbs= p=3B =3B =3B =3B =3B =3B =3B =3B 'width' = =3B =3D>=3B 180=2C
 =3B =3B =3B =3B =3B =3B&nb= sp=3B =3B =3B =3B =3B 'x' =3B =3B =3B =3B&n= bsp=3B =3D>=3B 430=2C
 =3B =3B =3B =3B =3B =3B=  =3B =3B =3B =3B =3B 'y' =3B =3B =3B = =3B =3B =3D>=3B 25)
 =3B
# ab hier der relevante teil ------------------
 =3B
command (proc {

 =3B list =3D confluence.getPages(combobox_pa= ges.values)
 =3B puts list
 =3B exit

})
 =3B
}
 =3B
 =3B
das sollte doch eigentlich funzen ! den statisch funktionert das wunderbar = wenn ich zB alle page zu dem SpaceKey "TEST ausgeben will wie etwa so :
 =3B
list =3D confluence.getPages("TEST")
puts list
 =3B
 =3B
ich m=F6chte das aber dynamisch haben ! hat jemand da= ne idee?
 =3B
danke




Windows Live: Keep your friends up to date = with what you do online. = --_41f8f304-a3ed-4ada-8bbe-534dd5c04b48_--