7 Replies Latest reply on Mar 6, 2008 9:43 AM by pmn92

    Portlet in multiple columns

    porcho

      Hi there. I'm using JBoss Portal 2.6.4-GA, and I'd like to know if that's possible to configure a portlet so that it spans multiple columns in a portal page (2 columns when using the 3columns layout, for example), and how can I do it. I've already checked the forum and search through JBoss Portal Reference Guide, but I couldn't find anything about that.

      Thanks in advance!

        • 1. Re: Portlet in multiple columns
          theute

          You would need to create your own layout

          • 2. Re: Portlet in multiple columns
            porcho

             

            "thomas.heute@jboss.com" wrote:
            You would need to create your own layout


            And where can I find further information about that? I've looked at JBoss Portal Reference Guide already.

            Thanks!

            • 3. Re: Portlet in multiple columns

              There is no point to search for documentation on that particular topic as there is no concept of layout in jboss portal. The team is trying to hide the fact and would not answer in a genuine way, when they do and as they should, they just don't get it. They are either simplistic about it or deny it, classic ways to deny.

              What you have instead is a page referring to a "layout" actually a jsp file, you should write your own and implement layouts but then there will be nothing to support it, changing layout, changing regions... and will not work with renderer as renderers (decoration, portlet, region, layout) lacks concept of layout.

              There is a PF ongoing work item, sit and pray... Things happen.

              • 4. Re: Portlet in multiple columns
                swisst

                I am confused by this:

                There is no point to search for documentation on that particular topic as there is no concept of layout in jboss portal.


                Here is the link to the docs:
                http://docs.jboss.com/jbportal/v2.6.4/referenceGuide/html_single/#layouts

                Are they not layouts like you would expect? They are working great for us...[/url]

                • 5. Re: Portlet in multiple columns

                  It's working great but it's just a name on something not a concept, it's flaky.

                  • 6. Re: Portlet in multiple columns
                    porcho

                    So, summing up...there's no "easy" way to do it?

                    • 7. Re: Portlet in multiple columns

                      Yes there is: use the YUI 2.5 kit, use their layout manager or their grid (grid.css) - redefine your own layout to fit your needs. The YUI kit is very well documented and they are fast at answering questions on user forum, even naïve questions, it's very nice.

                      Now, if your needs are simple then it will be nice and easy, if your needs is to control the layout of a page or a region in the portlet event loop then it is more difficult : undocumented, unexplained, almost unreadable and not answered yet.