Hi Jana,

sorry for leading you down the wrong trail then. Hmm... no clue why
the inputSuggest shouldn't work in an included page.

Gerald, we use that stuff included, right?

regards,

Martin

On 3/2/06, Jana Parvanova <[EMAIL PROTECTED]> wrote:
> It seems the reason for the error I get is that the InputSuggestAjax was
> statically included in the main page along with some other components.
> When I put it directly in the page it worked. :)
> I don't know what the exact problem was. I also tried enclosing the
> "<[EMAIL PROTECTED] file..." statement in subview but it didn't help...
> The include didn't break any other components' behaviour.
>
> ----- Original Message -----
> From: "Jana Parvanova" <[EMAIL PROTECTED]>
> To: "MyFaces Discussion" <[email protected]>
> Sent: Thursday, March 02, 2006 7:39 PM
> Subject: Re: Please help: InputSuggestAjax
>
>
> > Thanks for the answer!
> > Actually I use session scoped bean.
> > I thought about using 'display:none', but I have quite complex logic for
> > rendering and the InputSuggestAjax is just a little part of it. (Actually
> > it's nested in several panels that are rendered conditionally etc.) And
> > the 'display:none' is gonna be my last resort.
> > Could you please give me some details on the reason of the error?
> >
> > Thanks,
> > Jana
> >
> > ----- Original Message -----
> > From: "Martin Marinschek" <[EMAIL PROTECTED]>
> > To: "MyFaces Discussion" <[email protected]>
> > Sent: Thursday, March 02, 2006 7:07 PM
> > Subject: Re: Please help: InputSuggestAjax
> >
> >
> >> 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
> >>
> >
>
>


--

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