myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mat...@apache.org>
Subject Re: [Trinidad] not working with richfaces suggestion box
Date Fri, 03 Aug 2007 09:59:06 GMT
can you create a simple WAR, that can be easily deployed to a
standalone tomcat ?

-M

On 8/3/07, Renzo Tomaselli <renzo.tomaselli@tecnotp.it> wrote:
>
>  There isn't much more I can say. First I had a table in a Facelet
> component, no problems. Then I wanted to add a suggestion box on each row.
>  I soon discovered that it doesn't work, even when placed alone outside the
> table.
>  I get the reported warning at each keypress within the input field - e.g.
> when Richfaces ajax PPR is triggered - not during the very first rendering.
>  Coding is just simple as in:
>
>                      <h:inputText id="value" value="#{bean.value}"/>
>                      <rich:suggestionbox for="value"
> suggestionAction="#{bean.autocomplete}" var="suggest">
>                          <h:column>
>                              <h:outputText value="#{suggest.text}"/>
>                          </h:column>
>                      </rich:suggestionbox>
>
>  according to Richfaces dev. guide. The issue about duplicated class is
> something concerning Richfaces PPR response, I can't see such class from
> Firebug on the resulting page. I don't even know whether this warning is
> related to the missing suggestion dropdown rendering.
>  My application mixes up Tomahawk 1.1.5, Facelets 1.1.11, Trinidad 1.0.1,
> Richfaces 3.0.2.
>
>  -- Renzo
>
>  Matthias Wessendorf wrote:
>  for some reasons the renderer renders two HTML class attributes, so
> Trinidad renders the second as dublicate_class
>
> so, the HTML is looking like
>
> <element class="foo" duplicate_class="bar" ...>
>
> can you provide a bit more infos?
>
> like for instance, what the HTML looks like
>
> Not familiar w/ jboss richfaces
>
> -M
>
> On 8/3/07, Renzo Tomaselli <renzo.tomaselli@tecnotp.it> wrote:
>
>
>  In the past I had quite a number of troubles getting these two systems
> working together, and issues still keep on.
> I tried to attach a suggestion box to a h:inputText when Trinidad is
> also in the game. No way, server reports:
>
> 3-ago-2007 10.28.00
> org.apache.myfaces.trinidadinternal.io.DebugResponseWriter
> _checkDuplicateAttribute
> WARNING: Attribute "class" output twice; writing attribute as
> "duplicate_class" instead.
>
> The involved bean method providing suggestion list is reached, however
> no dropdown is appearing.
> I also cross-posted the same on the Richfaces users forum.
> Just wondering if anybody else got similar problems.
>
> -- Renzo
>
>
>
>
>
>


-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

Mime
View raw message