Forms portlet on Jetspeed 2.2.0

Posted by Paul Anderson-2 on
URL: https://discuss.orbeon.com/Forms-portlet-on-Jetspeed-2-2-0-tp1469436.html

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