1 2 Previous Next 24 Replies Latest reply on Sep 15, 2007 3:51 PM by sergeysmirnov Go to original post
      • 15. Re: ANNOUNCE: Ajax4jsf 1.1.1 RC1 has been released
        castorls

        Hi,

        At the beginning of this post, you says that version 1.1.1 should be released before end of may. It seems you have more problems than expected.

        Do you have a new date for 1.1.1 release ?

        Regards,

        ludovic

        • 16. Re: ANNOUNCE: Ajax4jsf 1.1.1 RC1 has been released

          It is already released last Friday. The version is marked in SVN and located in the Jboss Maven Repository as well.
          It requires some extra "paperwork" to put binaries on the Download page.
          The new release will be officially announced here as soon as all steps are done.

          • 17. Re: ANNOUNCE: Ajax4jsf 1.1.1 RC1 has been released
            henrik.lindberg

             

            "knaas" wrote:
            Fernando, it is because the browser had cached the stylesheet and was attempting to load the old gradient image referenced from the stylesheet file. Simply clear the cache and you're good to go.


            Which raises a question - how does user perceive an upgrade when they also have stylesheets and stuff in their browser cache? How should such issues be handled in a production environment?

            • 18. Re: ANNOUNCE: Ajax4jsf 1.1.1 RC1 has been released

              The same way as for any other web applications.

              • 19. Re: ANNOUNCE: Ajax4jsf 1.1.1 RC1 has been released
                castorls

                I've install maven and configure it with wiki help.

                i've got svn 1.1.1 tag but when I make "mvn install", maven try to compile it with target 1.5.

                error message :

                javac: invalid target release: 1.5

                is it a way to compile it with target 1.4 or 1.3 ?

                Ludovic

                "SergeySmirnov" wrote:
                It is already released last Friday. The version is marked in SVN and located in the Jboss Maven Repository as well.
                It requires some extra "paperwork" to put binaries on the Download page.
                The new release will be officially announced here as soon as all steps are done.


                • 20. Re: ANNOUNCE: Ajax4jsf 1.1.1 RC1 has been released

                  CDK uses features of 1.5. So, 1.5 is required to perform "mvn install". However, it does not mean that result library is required 1.5 to run. Ajax4jsf support 1.4 and up.

                  • 21. Re: ANNOUNCE: Ajax4jsf 1.1.1 RC1 has been released
                    fernando_jmt

                     

                    "SergeySmirnov" wrote:
                    The same way as for any other web applications.


                    Sergey, what do you think about the solution to use version for the "cacheable stuff url"?.
                    Solution commented above:
                    http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051137#4045463

                    When developing it is fine to remove cache of our browsers, but for production it is annoying to say to every user of your application that they must remove browser cache.


                    • 22. Re: ANNOUNCE: Ajax4jsf 1.1.1 RC1 has been released

                      to discuss this topic we have to clarify what the problem we have a deal with. Do you really have an experience when end user has to press F5 in production environment or you just thing this might be required?

                      • 23. Re: ANNOUNCE: Ajax4jsf 1.1.1 RC1 has been released
                        fernando_jmt

                         

                        "SergeySmirnov" wrote:
                        to discuss this topic we have to clarify what the problem we have a deal with. Do you really have an experience when end user has to press F5 in production environment or you just thing this might be required?



                        In my experience, end user only login into application and use it. They don't care about pressing F5 or Ctrl+F5 each time a new version of the application is released. This give us some troubles (using Struts) because our CSS and JavaScript was created in a dynamic way (JSP or Servlets). Of course one solution was to disable cache for each dynamic URL response, but this was not good because with that, every request results in to get again all dynamic content (JS, CSS). The solution we made for this was to version our dynamic URL. e.g.:
                        http://myapp/dynamiccss.jsp?version=1.1.1
                        

                        Suppose the version 1.1.1 was released and go into production. At this time the browser has download the dynamic css content for version 1.1.1, browser has now cached the complete URL response, and it doesn't require to get it again in every request.
                        Now, time later we make changes to such dynamic css content, so the new URL generated for that release will be:
                        http://myapp/dynamiccss.jsp?version=1.1.2
                        

                        Now, when the user login, the browser will atomatically dowload the new css content (for version 1.1.2) because the URL has changed, and it does not have cached this URL response yet.


                        Currently in ajax4jsf, the javascript URLs seems is not changed when a new version is released, so the browser will use the cached one, and the only way to get the new one is the remove such cache (F5 or Ctrl+F5).

                        I hope you understand my explanation about the problem and the possible solution.
                        I think this solution will be helpful for anyone working with ajax4jsf directly or indirectly over the time, because I guess new releases will come in and I think some things related to "cacheable" resources will be changed in the meantime.



                        Thanks for reading.

                        • 24. Re: ANNOUNCE: Ajax4jsf 1.1.1 RC1 has been released

                          ctrl-F5

                          1 2 Previous Next