Forms portlet on Jetspeed 2.2.0

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Forms portlet on Jetspeed 2.2.0

Paul Anderson-2
Hello,

Has the forms portlet been tested recently on Jetspeed 2.2.0?

I needed to add namespace and version to the portlet.xml portlet-app
element:
xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" version="1.0"
before the portlet would deploy.

Portlet API v1 9OrbeonPortletDelegate) worked OK, but I needed version
2-style resource URL rewriting.
When I tried to use xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
version="2.0"
with the new
org.orbeon.oxf.portlet.OrbeonPortlet2Delegate

I get the orbeon portlet displaying its calculator, Flickr images, etc,
but the buttons don't work, and the error text appears above it instead
of in a popup (this might be normal for a portlet but it looks broken):

"Resizing Images With XForms and Flickr
Minimize Maximize

Loading...
An error has occurred

You may want to try one of the following:

* Close this dialog and continue to use this page.
* Reload this page. Note that you will lose any unsaved changes.
*

If the above does not work, try reloading the page yourself. Note that
you will lose any unsaved changes:
o With Firefox and Safari: hold down the shift key and click the Reload
button in your browser toolbar.
o With Internet Explorer: hold down the control key and click the Reload
button in your browser toolbar.
* Return home.

Show Details Show details

Hide Details Hide details
Help
Close
$xforms-template-label$$xforms-template-label$"

When I look in orbeon.log I see:

2010-02-04 20:52:37,969 INFO  ProcessorService  - /xforms-server/xforms-range-yuicalendar-min.js
- Received request
2010-02-04 20:52:37,983 ERROR ProcessorService  - Exception at line 22,
column 106 of oxf:/page-flow-portlet.xml (reading page model data output:
page id='apps', model='apps/${1}/page-flow.xml')
org.orbeon.oxf.resources.ResourceNotFoundException: Cannot load "/apps/xforms-server/page-flow.xml"
with webapp loader
at org.orbeon.oxf.resources.WebAppResourceManagerImpl.getContentAsStream(WebAppResourceManagerImpl.java:74)
at org.orbeon.oxf.resources.ResourceManagerBase.getContentAsSAX(ResourceManagerBase.java:124)
at org.orbeon.oxf.resources.PriorityResourceManagerImpl$4.run(PriorityResourceManagerImpl.java:121)
at org.orbeon.oxf.resources.PriorityResourceManagerImpl.delegate(PriorityResourceManagerImpl.java:250)

Apart from adding the namespace to portlet.xml, I haven't changed the
war file at all from the nightly build I downloaded today.
It's not a recent breakage because the same problem has been in the nightlies
for at least a week.

Any ideas?



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Forms portlet on Jetspeed 2.2.0

Erik Bruchez
Administrator
Mmh, I think the answer is no, it hasn't been tested recently.

Unfortunately this is one of those things that require more investigation.

-Erik

On Thu, Feb 4, 2010 at 1:07 PM,  <[hidden email]> wrote:

> Hello,
>
> Has the forms portlet been tested recently on Jetspeed 2.2.0?
>
> I needed to add namespace and version to the portlet.xml portlet-app
> element:
> xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" version="1.0"
> before the portlet would deploy.
>
> Portlet API v1 9OrbeonPortletDelegate) worked OK, but I needed version
> 2-style resource URL rewriting.
> When I tried to use xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
> version="2.0"
> with the new
> org.orbeon.oxf.portlet.OrbeonPortlet2Delegate
>
> I get the orbeon portlet displaying its calculator, Flickr images, etc,
> but the buttons don't work, and the error text appears above it instead
> of in a popup (this might be normal for a portlet but it looks broken):
>
> "Resizing Images With XForms and Flickr
> Minimize Maximize
>
> Loading...
> An error has occurred
>
> You may want to try one of the following:
>
> * Close this dialog and continue to use this page.
> * Reload this page. Note that you will lose any unsaved changes.
> *
>
> If the above does not work, try reloading the page yourself. Note that
> you will lose any unsaved changes:
> o With Firefox and Safari: hold down the shift key and click the Reload
> button in your browser toolbar.
> o With Internet Explorer: hold down the control key and click the Reload
> button in your browser toolbar.
> * Return home.
>
> Show Details Show details
>
> Hide Details Hide details
> Help
> Close
> $xforms-template-label$$xforms-template-label$"
>
> When I look in orbeon.log I see:
>
> 2010-02-04 20:52:37,969 INFO  ProcessorService  - /xforms-server/xforms-range-yuicalendar-min.js
> - Received request
> 2010-02-04 20:52:37,983 ERROR ProcessorService  - Exception at line 22,
> column 106 of oxf:/page-flow-portlet.xml (reading page model data output:
> page id='apps', model='apps/${1}/page-flow.xml')
> org.orbeon.oxf.resources.ResourceNotFoundException: Cannot load "/apps/xforms-server/page-flow.xml"
> with webapp loader
> at org.orbeon.oxf.resources.WebAppResourceManagerImpl.getContentAsStream(WebAppResourceManagerImpl.java:74)
> at org.orbeon.oxf.resources.ResourceManagerBase.getContentAsSAX(ResourceManagerBase.java:124)
> at org.orbeon.oxf.resources.PriorityResourceManagerImpl$4.run(PriorityResourceManagerImpl.java:121)
> at org.orbeon.oxf.resources.PriorityResourceManagerImpl.delegate(PriorityResourceManagerImpl.java:250)
>
> Apart from adding the namespace to portlet.xml, I haven't changed the
> war file at all from the nightly build I downloaded today.
> It's not a recent breakage because the same problem has been in the nightlies
> for at least a week.
>
> Any ideas?
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Broken XForms sample on Liferay with custom portal context root

Karolin Heiss
Hello

I have kind of the same rendering problem like [hidden email]
wrote in "Forms portlet on Jetspeed 2.2.0". Maybe Its a general
rendering problem.

I run orbeon-dev-post-3.7.1.201003010757 in a separate deployment
configuration on a my Liferay Portal.
The XForms sample portlet runs fine until I modify the Liferay Portal
context-root, the XForms dont render any more. The OrbeonXFormsFilter
gets called, and the XForms code gets transformed correctly into html
but cant get rendered proberly. The XForms sample ooks same like
Anderson described:

   Loading...
   An error has occurred

   You may want to try one of the following:
   ....


To quickly check this problem, you only have to make following settings
and test the Orbeon portlet in the Liferay portal.


deploy\Liferay.war\WEB-INF\classes\portal-ext.properties

   portal.ctx=/test


deploy\Liferay.war\WEB-INF\jboss-web.xml

  <jboss-web>
       .....
       <context-root>/test</context-root>
  </jboss-web>


Now, Liferay runs on http://localhost:8080/test, but the Orbeon sample
is broken for any reason I dont know. Any other web application still
runs fine.
I check the debug logs, but there is no hint about any problem.

Hope anybody can help.
Thankx,

Karolin




>>> Erik Bruchez <[hidden email]> 2/5/2010 2:11  >>>
Mmh, I think the answer is no, it hasn't been tested recently.

Unfortunately this is one of those things that require more
investigation.

-Erik

On Thu, Feb 4, 2010 at 1:07 PM,  <[hidden email]> wrote:
> Hello,
>
> Has the forms portlet been tested recently on Jetspeed 2.2.0?
>
> I needed to add namespace and version to the portlet.xml portlet-app
> element:
> xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
version="1.0"
> before the portlet would deploy.
>
> Portlet API v1 9OrbeonPortletDelegate) worked OK, but I needed
version
> 2-style resource URL rewriting.
> When I tried to use
xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
> version="2.0"
> with the new
> org.orbeon.oxf.portlet.OrbeonPortlet2Delegate
>
> I get the orbeon portlet displaying its calculator, Flickr images,
etc,
> but the buttons don't work, and the error text appears above it
instead
> of in a popup (this might be normal for a portlet but it looks
broken):

>
> "Resizing Images With XForms and Flickr
> Minimize Maximize
>
> Loading...
> An error has occurred
>
> You may want to try one of the following:
>
> * Close this dialog and continue to use this page.
> * Reload this page. Note that you will lose any unsaved changes.
> *
>
> If the above does not work, try reloading the page yourself. Note
that
> you will lose any unsaved changes:
> o With Firefox and Safari: hold down the shift key and click the
Reload
> button in your browser toolbar.
> o With Internet Explorer: hold down the control key and click the
Reload

> button in your browser toolbar.
> * Return home.
>
> Show Details Show details
>
> Hide Details Hide details
> Help
> Close
> $xforms-template-label$$xforms-template-label$"
>
> When I look in orbeon.log I see:
>
> 2010-02-04 20:52:37,969 INFO  ProcessorService  -
/xforms-server/xforms-range-yuicalendar-min.js
> - Received request
> 2010-02-04 20:52:37,983 ERROR ProcessorService  - Exception at line
22,
> column 106 of oxf:/page-flow-portlet.xml (reading page model data
output:
> page id='apps', model='apps/${1}/page-flow.xml')
> org.orbeon.oxf.resources.ResourceNotFoundException: Cannot load
"/apps/xforms-server/page-flow.xml"
> with webapp loader
> at
org.orbeon.oxf.resources.WebAppResourceManagerImpl.getContentAsStream(WebAppResourceManagerImpl.java:74)
> at
org.orbeon.oxf.resources.ResourceManagerBase.getContentAsSAX(ResourceManagerBase.java:124)
> at
org.orbeon.oxf.resources.PriorityResourceManagerImpl$4.run(PriorityResourceManagerImpl.java:121)
> at
org.orbeon.oxf.resources.PriorityResourceManagerImpl.delegate(PriorityResourceManagerImpl.java:250)
>
> Apart from adding the namespace to portlet.xml, I haven't changed
the
> war file at all from the nightly build I downloaded today.
> It's not a recent breakage because the same problem has been in the
nightlies
> for at least a week.
>
> Any ideas?
>
>
>
> --
> You receive this message as a subscriber of the [hidden email]
mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws 
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Broken XForms sample on Liferay with custom portal context root

Alessandro  Vernet
Administrator
Hi Karolin,

In general, because issues happening only in a portal environment are
more time-consuming for us to resolve, we only have the bandwidth to
handle those for our clients who have a Development Support plan.

So I would recommend you try to reproduce the issue outside of a
portal environment - which I am not sure is possible in your case -
and re-post the issue here. If it can't be done, you can either
investigate the issue yourself (all our code is open source) or
contact us to do it under a Development Support plan
(http://www.orbeon.com/support-services/development).

Alex

On Mon, Mar 1, 2010 at 7:27 AM, Karolin Krieg <[hidden email]> wrote:

> Hello
>
> I have kind of the same rendering problem like [hidden email]
> wrote in "Forms portlet on Jetspeed 2.2.0". Maybe Its a general
> rendering problem.
>
> I run orbeon-dev-post-3.7.1.201003010757 in a separate deployment
> configuration on a my Liferay Portal.
> The XForms sample portlet runs fine until I modify the Liferay Portal
> context-root, the XForms dont render any more. The OrbeonXFormsFilter
> gets called, and the XForms code gets transformed correctly into html
> but cant get rendered proberly. The XForms sample ooks same like
> Anderson described:
>
>   Loading...
>   An error has occurred
>
>   You may want to try one of the following:
>   ....
>
>
> To quickly check this problem, you only have to make following settings
> and test the Orbeon portlet in the Liferay portal.
>
>
> deploy\Liferay.war\WEB-INF\classes\portal-ext.properties
>
>   portal.ctx=/test
>
>
> deploy\Liferay.war\WEB-INF\jboss-web.xml
>
>  <jboss-web>
>       .....
>       <context-root>/test</context-root>
>  </jboss-web>
>
>
> Now, Liferay runs on http://localhost:8080/test, but the Orbeon sample
> is broken for any reason I dont know. Any other web application still
> runs fine.
> I check the debug logs, but there is no hint about any problem.
>
> Hope anybody can help.
> Thankx,
>
> Karolin
>
>
>
>
>>>> Erik Bruchez <[hidden email]> 2/5/2010 2:11  >>>
> Mmh, I think the answer is no, it hasn't been tested recently.
>
> Unfortunately this is one of those things that require more
> investigation.
>
> -Erik
>
> On Thu, Feb 4, 2010 at 1:07 PM,  <[hidden email]> wrote:
>> Hello,
>>
>> Has the forms portlet been tested recently on Jetspeed 2.2.0?
>>
>> I needed to add namespace and version to the portlet.xml portlet-app
>> element:
>> xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
> version="1.0"
>> before the portlet would deploy.
>>
>> Portlet API v1 9OrbeonPortletDelegate) worked OK, but I needed
> version
>> 2-style resource URL rewriting.
>> When I tried to use
> xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
>> version="2.0"
>> with the new
>> org.orbeon.oxf.portlet.OrbeonPortlet2Delegate
>>
>> I get the orbeon portlet displaying its calculator, Flickr images,
> etc,
>> but the buttons don't work, and the error text appears above it
> instead
>> of in a popup (this might be normal for a portlet but it looks
> broken):
>>
>> "Resizing Images With XForms and Flickr
>> Minimize Maximize
>>
>> Loading...
>> An error has occurred
>>
>> You may want to try one of the following:
>>
>> * Close this dialog and continue to use this page.
>> * Reload this page. Note that you will lose any unsaved changes.
>> *
>>
>> If the above does not work, try reloading the page yourself. Note
> that
>> you will lose any unsaved changes:
>> o With Firefox and Safari: hold down the shift key and click the
> Reload
>> button in your browser toolbar.
>> o With Internet Explorer: hold down the control key and click the
> Reload
>> button in your browser toolbar.
>> * Return home.
>>
>> Show Details Show details
>>
>> Hide Details Hide details
>> Help
>> Close
>> $xforms-template-label$$xforms-template-label$"
>>
>> When I look in orbeon.log I see:
>>
>> 2010-02-04 20:52:37,969 INFO  ProcessorService  -
> /xforms-server/xforms-range-yuicalendar-min.js
>> - Received request
>> 2010-02-04 20:52:37,983 ERROR ProcessorService  - Exception at line
> 22,
>> column 106 of oxf:/page-flow-portlet.xml (reading page model data
> output:
>> page id='apps', model='apps/${1}/page-flow.xml')
>> org.orbeon.oxf.resources.ResourceNotFoundException: Cannot load
> "/apps/xforms-server/page-flow.xml"
>> with webapp loader
>> at
> org.orbeon.oxf.resources.WebAppResourceManagerImpl.getContentAsStream(WebAppResourceManagerImpl.java:74)
>> at
> org.orbeon.oxf.resources.ResourceManagerBase.getContentAsSAX(ResourceManagerBase.java:124)
>> at
> org.orbeon.oxf.resources.PriorityResourceManagerImpl$4.run(PriorityResourceManagerImpl.java:121)
>> at
> org.orbeon.oxf.resources.PriorityResourceManagerImpl.delegate(PriorityResourceManagerImpl.java:250)
>>
>> Apart from adding the namespace to portlet.xml, I haven't changed
> the
>> war file at all from the nightly build I downloaded today.
>> It's not a recent breakage because the same problem has been in the
> nightlies
>> for at least a week.
>>
>> Any ideas?
>>
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]
> mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet