You'll need to make sure that your rendered-attribute retains its
state between the requests.

Either use:

1) session scoped backing beans
2) t:saveState
3) a state saving mechanism of your choice ;)

for the attribute to retain its value.

a small workaround, if you don't want to do any of the above: don't
set the rendered attribute to:

rendered="#{backingBean.rendered}"

but the style attribute to

style="#{backingBean.rendered?'display:inline':'display:none'}"

regards,

Martin


On 3/2/06, Jana Parvanova <[EMAIL PROTECTED]> wrote:
> Hi all!
>
> I have a strange problem with the InputSuggestAjax.
> I have some list of links and when a link is chosen (immediate), a panel is
> rendered (rendered='true') that contains an InputSuggestAjax. When I write
> into the input, nothing happens and I see in the log:
>
> WARN  [HtmlRendererUtils] There should always be a submitted value for an
> input if it is rendered, its form is submit
> ted, and it is not disabled or read-only.
> ERROR [AjaxPhaseListener] Found component is no ajaxComponent :
> {Component-Path : [null]}
>
> If I make the InputSuggestAjax to be always rendered the problem is gone.
> I normally need a binding for the input but I tried also without binding.
>
> Any help is appreciated.
>
> Jana
>
>


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to