|
From: Yvon T. <tho...@fr...> - 2006-02-17 09:44:22
|
Le 17 f=E9vr. 06 =E0 09:55, Jonathan Paisley a =E9crit :
>
> That should hopefully fix it.
>
yes it fix that prob, however, i got a new one )) :
"bookmark.class =3D OutlineViewProxy"
"is folder title =3D BookmarksBar"
/Users/yvon/work/RubyCocoa/BookmarksMerge/build/Development/=20
BookmarksMerge.app/Contents/Resources/rb_main.rb:44:in `method': =20
undefined method `copyWithZone:' for class =20
`OutlineViewProxy' (NameError)
from =
/Users/yvon/work/RubyCocoa/BookmarksMerge/build/Development/=20
BookmarksMerge.app/Contents/Resources/rb_main.rb:44
in the "outlineView_objectValueForTableColumn_byItem(aTree, =20
tableColumn, bookmark)"
where i do :
tableColumnIdentifier =3D tableColumn.identifier.to_s
p "bookmark.class =3D " + bookmark.class.to_s # =3D> =
printed out
if (bookmark.slave.class =3D=3D REXML::Element) # for =
debugging only
if (bookmark.slave.attributes.length =3D=3D 1)
p "is folder title =3D " + bookmark.slave.attributes["title"] =
# =20
=3D> printed out
return bookmark.slave.attributes["title"] if =20
(tableColumnIdentifier =3D=3D "Label") # <=3D the prob comes after that
return "" if (tableColumnIdentifier =3D=3D "Url")
end
if (bookmark.slave.attributes.length =3D=3D 2)
p "is url label =3D " + bookmark.slave.attributes["label"] + " =20
href =3D " + bookmark.slave.attributes["href"]
return bookmark.slave.attributes["label"] if =20
(tableColumnIdentifier =3D=3D "Label")
return bookmark.slave.attributes["href"] if =20
(tableColumnIdentifier =3D=3D "Url")
end
end
return "not an element" # for debugging only
thanks for your help
Yvon=
|