myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen More <stephen.m...@gmail.com>
Subject Re: [ CODI ] JSF resource injection issue with Mojarra 2.1.8 and above
Date Wed, 24 Oct 2012 11:00:12 GMT
In my notes that was required because of a JSF 2.0 include bug I ran
into. I will have to research the original ui:include bug, and turn
this back to true to see if that bug comes back.

-Thanks
Stephen More


On Wed, Oct 24, 2012 at 3:54 AM, Gerhard Petracek
<gerhard.petracek@gmail.com> wrote:
> hi stephen,
>
> if you remove:
>
>     <context-param>
>         <param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>
>         <param-value>false</param-value>
>     </context-param>
>
> everything works as expected.
>
> regards,
> gerhard
>
> http://www.irian.at
>
> Your JSF/JavaEE powerhouse -
> JavaEE Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
>
>
> 2012/10/24 Stephen More <stephen.more@gmail.com>
>
>> Here is an example showing the issue:
>>
>> svn co https://maven-examples.googlecode.com/svn/trunk/prime-codi
>> cd prime-codi
>> mvn jetty:run
>>
>> http://127.0.0.1:9090/helloworld/index.jsf
>>
>> ( View page source == end of html file look like:  </li></ul></body>
>> </html> )
>>
>> Click "Count" so the Count increases to 0.
>>
>> Now view page source again...bottom now shows:
>>
>> </ul></body></html><link type="text/css" rel="stylesheet"
>> href="/helloworld/javax.faces.resource/primefaces.css.jsf?ln=primefaces"
>> />
>>
>>
>> -Stephen More
>>
>>
>> On Tue, Oct 23, 2012 at 11:02 AM, Gerhard Petracek
>> <gerhard.petracek@gmail.com> wrote:
>> > hi stephen,
>> >
>> > codi doesn't use that part of the jsf-api.
>> > ed is currently working on [1], but besides that he isn't aware of an
>> issue.
>> > it would be great if you can provide a link to a sample application which
>> > illustrates the issue.
>> >
>> > regards,
>> > gerhard
>> >
>> > [1] http://java.net/jira/browse/JAVASERVERFACES-2552
>> >
>> > http://www.irian.at
>> >
>> > Your JSF/JavaEE powerhouse -
>> > JavaEE Consulting, Development and
>> > Courses in English and German
>> >
>> > Professional Support for Apache MyFaces
>> >
>> >
>> > 2012/10/23 Stephen More <stephen.more@gmail.com>
>> >
>> >> I am having a JSF resource injection issue, and I think the bug may
>> >> exist in CODI.
>> >>
>> >> Working scenarios will display jquery like this:
>> >>    <head> ...  <script type="text/javascript"
>> >>
>> >>
>> src="/pro/javax.faces.resource/jquery/jquery.js.jsf?ln=primefaces"></script>
>> >> ...   </head>
>> >>
>> >> Broken scenarios will display jquery at the very end of the html
>> >> output like this:
>> >>     </body></html><script type="text/javascript"
>> >>
>> >>
>> src="/pro/javax.faces.resource/jquery/jquery.js.jsf?ln=primefaces"></script>
>> >>
>> >> The component contains:
>> >> @ResourceDependencies({
>> >>         @ResourceDependency(library="primefaces",
>> name="jquery/jquery.js"),
>> >>         @ResourceDependency(library="primefaces", name="primefaces.js")
>> >> })
>> >>
>> >> Working stacks:
>> >>     Mojarra 2.0.9 + weld + CODI
>> >>     Mojarra 2.1.6 + weld + CODI
>> >>     Mojarra 2.1.7 + weld + CODI
>> >>     Mojarra 2.1.13
>> >>
>> >> Broken stacks:
>> >>     Mojarra 2.1.8 + weld + CODI
>> >>     Mojarra 2.1.10 + weld + CODI
>> >>     Mojarra 2.1.13 + weld + CODI
>> >>     Mojarra 2.1.13 + OpenWebBeans + CODI
>> >>
>> >>
>> >> Is there some compatibility issue between Mojarra 2.1.8 and above and
>> >> CODI 1.0.5 ?
>> >>
>> >> -Stephen More
>> >>
>>

Mime
View raw message