6 Replies Latest reply on Apr 19, 2007 3:06 AM by baronnet

    ExtremeComponents

    baronnet

      Hi,

      I'm willing to use ExtremeComponents in portlets running in a JBossPortal 2.6.0-beta1 environment.

      The table is displayed correctly, but I cannot sort data. When I click on the row title, it reloads the portlet but nothing change. What can it be ?

      Any help would be appreciated,
      François

        • 1. Re: ExtremeComponents
          theute

          AFAIK They don't claim Portlet support. So it is not surprising that it doesn't work.

          • 2. Re: ExtremeComponents
            baronnet

            Sure, but extremeComponents is working flowlessly with uPortal and Liferay, so I was wondering why not in JBoss. In fact I'm developping a portlet oriented framework and I want it to run on the largest number of portals.

            Looks like some components will be available on restricted portals.

            Thanks for answering me, Thomas.

            • 3. Re: ExtremeComponents
              theute

              If it is JSR 168 compliant it should work in JBoss Portal.
              If you figure out what is wrong, please let me know.
              If you have a very simple portlet that i can use to test, that could also help.

              Thanks !

              • 4. Re: ExtremeComponents
                baronnet

                I think I found why it doesn't work out of the box.

                The tag produces a ... with method = POST. Some parameters are set by javascript action. But it's too late, the url is already generated (using <portlet:renderURL>). So the GET method is the solution.

                With some javascript I can change the method and add the parameters to the url. But one parameter, called "action", is added by JBoss and I can figure what it is. And how to add it manually...

                Tomorrow I'll give you some more explanations, but if you could tell me what is this "action" parameter (/portal/auth/..../11?action=2&.... for example), it would be very helpfull.

                Regards,
                François

                • 5. Re: ExtremeComponents
                  baronnet

                  ...The tag produces a HTML form...

                  • 6. Re: ExtremeComponents
                    baronnet

                    URL looks like:

                    http://localhost:18080/portal/auth/portal/dashboard/admin/default/11?action=6&mode=view

                    The "action" param is added by the <portlet:renderURL> tag. So it's difficult to guess it.
                    It's a POST form. Hidden input fields are used to store data. There is no "action" hidden fields. So, if I transform the method from POST to GET (with javascript), this parameter is lost. If not specified in the request, nothing append.

                    I need to add it manually, there are 2 solutions:
                    - I guess how "action" is computed
                    - I use javascript or Java in the render phase to extract it and add a hidden input field :)

                    Did you understand my explanations?