I've got a "RowAndColumnRelationshipsPage.jspx" with an associated
RowAndColumnRelationshipsPage backing bean.

I have a large number of row-and-column-based "data source" classes
that implement a RowAndColumnRelationshipData interface which will
provide the actual data displayed on the page.

However, I can't figure out a clean way to specify a particular source
for data when navigating to my page.

For instance, I'd like to initialize the R&CRPage backing bean with an
instance of class A when clicking on link A, an instance of class B
when clicking on link B, an instance of class C when clicking on link
C, etc.

I'm also using Spring if there's some sort of dependency-injection
methodology that I've overlooked that I could use in this situation.

I'm hoping this is a case of overlooking the obvious.

Thanks for any suggestions,

-Mike

Reply via email to