Trim excess fat from ribs. In small bowl, combine chili powder, salt, pepper oregano and basil; rub into meat with fingers and let stand at room temperature 1 hour.
Preheat oven to 350 degrees; grease 13x9x2 baking pan. In a large skillet, brown ribs in oil over medium heat on all sides; remove and set aside. In same pan, saute onion and garlic until soft; spread mixture on bottom of baking pan.; place ribs on top and pour wine over all. Cover; bake 1-1/2 to 2 hours, or until ribs are fork-tender. Add beans; cover and bake 30 minutes more. Place ribs on platter; stir beans into pan juices and spoon around ribs.