Is it possible for a controller to obtain a list of which Views are registered to the instant Command? The use case is that I want the controller to select a View by matching it to an input parameter.

A second, but related question, is how one would go about implementing a "*" feature for Views? Which is to say, if the View requested is not available, use the View named "*" instead. (Like what the Dispatcher does when it can't find a Command, but for Views within Commands.) The use case is that I have Controllers that look for different standard Views, which sometimes all go to one place, but other times do not.

-Ted.




------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ [INVALID FOOTER]

Reply via email to