-
1. Re: ExtremeComponents
theute Apr 18, 2007 10:07 AM (in response to baronnet)AFAIK They don't claim Portlet support. So it is not surprising that it doesn't work.
-
2. Re: ExtremeComponents
baronnet Apr 18, 2007 10:22 AM (in response to 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 Apr 18, 2007 12:19 PM (in response to baronnet)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 Apr 18, 2007 4:19 PM (in response to 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 Apr 18, 2007 5:04 PM (in response to baronnet)...The tag produces a HTML form...
-
6. Re: ExtremeComponents
baronnet Apr 19, 2007 3:06 AM (in response to 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?