Ok, further thinking aloud.  The aliasbean I was using
was managing my bindings.

It appears that the problem lies in the fact that I'm
using the alias bean in a component binding= attribute.

I imagine that since there is no component method in
the version of the JSF spec that MyFaces is using for
processReconstitutes(), then things like binding aren't
going to be able to use aliasbeans.  As an interim hack
(until MyFaces implements 1.2), can we just hook into
the RESTORE_VIEW phase and alias the bean there as
well?

-- Jon


On Apr 12, 2005, at 5:40 PM, Jon Travis wrote:

Should probably clarify that I actually have x:aliasBean
nested within another x:aliasBean.

Reducing to just 1 seems to work.

-- Jon


On Apr 12, 2005, at 5:00 PM, Jon Travis wrote:

I'm experiencing a problem using the alias bean.

My JSP roughly looks like:

<h:form>
<x:aliasBean>
  <f:subview>
    <t:insert page=.../>
  </f:subview>
</x:aliasBean>
</h:form>


The inserted page contains input components. When I submit the values, I get a binding error. The problem seems to lie in the fact that the alias bean has removed the binding before the EL to set the value is run, thus giving me a binding error.

Is using tiles in this scenario supported?  Does aliasBean
work for this?  The examples only show output components.

-- Jon












Reply via email to