On 7/6/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:

I *think* it is viewId based


Yes it is indeed view-id based, which IIRC in facelets will be things like
"/index.xml" instead of "/index.jsp".  The view identifier has to map to a
corresponding backing bean.  It is also possible to support subviews with
the <s:subview> component -- in JSP you would use <jsp:include> to
incorporate the actual subview components, and the <s:subview> tag itself
could either be inside the included JSP, or in the embedding page -- I'm not
sure how that concept translates to Facelets though.

Craig

in JSP a url /foo.faces has the viewId foo.jsp
in Facelets it is (should be) foo.xhtml

the property is if you like to use the properties

for instance:
<h:dataTable value="#{foo$bean.allMyData} var="item">
...
</h:dataTable>



-Matthias

On 7/6/06, Garner Shawn <[EMAIL PROTECTED]> wrote:
> hmm this makes it difficule because I'm using facelets and a template
> my page is navigation.xhtml but it is used in template.xhtml from
welcome.xhtml
> so I assume i would declare my backing bean welcome$backingBean
> not sure why I need to declare the property if the bean is managed.
>
> Shawn
>
>
> On 7/6/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> > each page has a viewcontroler (one backing bean)
> >
> > name must be   page$backing.property
> >
> > page = page.jsp
> > backing = your bean
> > property = a property
> >
> > JSF 1.1 has some issue with JSP / JSTL
> >
> > Read [1] for more. Great article.
> >
> > -Matt
> >
> > [1] http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html
> >
> > On 7/6/06, Garner Shawn <[EMAIL PROTECTED]> wrote:
> > > How does shale determine which backing beans to call the methods for
> > > the viewcontroller?
> > > Does it do all managed beans that implement the interface in the
> > > config file or does it only do beans used in rendering the view that
> > > implement the interface?
> > >
> > >
> > > I'm at a loss as to why forEach won't work.  Can you explain
further?
> > >
> > >
> > > Shawn
> > >
> >
> >
> > --
> > Matthias Wessendorf
> >
> > futher stuff:
> > blog: http://jroller.com/page/mwessendorf
> > mail: mwessendorf-at-gmail-dot-com
> >
>


--
Matthias Wessendorf

futher stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Reply via email to