Thank you for the reply Hermod.

I should have added that in response to a url such as those in the
original post, the application would return a web page with a list of
projects that are active at each office.  The goal is to have a
bookmarkable URL without creating separate view controllers for each
office (on the order of 1000).

Brad


On Sat, 2007-03-24 at 16:43 +0100, Hermod Opstvedt wrote:
> Hi
> 
> I'm not shure what you are looking for her but his is my understanding of
> it.
> 
> Why would you want a backing bean for this? This is more the responsibility
> of an ApplicationController. What I would do is to subclass the Shale
> Aplication controller and add the logic you want there. You can use the
> filter mappings to control what gets routed to you
> 
> Backing beans (I take it you mean ViewControllers) are mapped against views
> i.e page2.jsf, page2.jsf and so on.
> 
> Hermod
> 
> -----Opprinnelig melding-----
> Fra: Brad Smith [mailto:[EMAIL PROTECTED] 
> Sendt: 24. mars 2007 15:36
> Til: user@shale.apache.org
> Emne: URLs and backing beans
> 
> I have an application which needs to handle urls that have the following
> patterns:
> 
> http://localhost:8080/myapp/projects/office1
> 
> http://localhost:8080/myapp/projects/office2
> 
> http://localhost:8080/myapp/projects/office2/subofficeA
> 
> Conceptually I would like the request to be routed to a single backing
> bean called Projects that would use the URL content after ../projects/..
> to determine what the response should be.
> 
> Are there features in Shale which would make this possible? Is this
> where the Application Manager would come into play?
> 
> 
> 
> Thank you,
> 
> Brad
> 
> 

Reply via email to