integrating orbeon in a portal

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

integrating orbeon in a portal

Loceka
Hello,

I'm trying to integrate orbeon in a web portal in order to allow portal administrators to create new XForm forms and to view all created forms.

In order to do that we have tried merging the 2 webapps (our portal and orbeon) but orbeon settings mess up with our own :

the following code :
  <servlet-mapping>
    <servlet-name>ops-main-servlet</servlet-name>
    <url-pattern>/</url-pattern>
  </servlet-mapping>


maps our css, js, images, etc. directories to that servlet and we are unable to access them :
Etat HTTP 404 -
type Rapport d'état
message
description La ressource demandée () n'est pas disponible.


so I wonder how to set orbeon to have them accessible and still have orbeon working well.
Reply | Threaded
Open this post in threaded view
|

Re: integrating orbeon in a portal

Loceka
Hello,

We're still looking for having orbeon working in our portal so is there a way to constraint orbeon to a deeper directory ? So that only URL starting with /orbeon/ are to be checked by Orbeon.

I've actually tried to do by just changing the mapping :
  <servlet-mapping>
    <servlet-name>ops-main-servlet</servlet-name>
    <url-pattern>/orbeon/</url-pattern>
  </servlet-mapping>


but it broke the orbeon application (CSS and forms couldn't be found). So I guess there are other parameters to set but we couldn't find which ones.

We've tryed to look into web.xml and resources/config/properties.xml or to change resources/page-flow.xml and resources/page-flow-portlet.xml but nothing worked.

Is there no way to relocate the application ?

Thanks,
Loceka.


Loceka wrote
Hello,

I'm trying to integrate orbeon in a web portal in order to allow portal administrators to create new XForm forms and to view all created forms.

In order to do that we have tried merging the 2 webapps (our portal and orbeon) but orbeon settings mess up with our own :

the following code :
  <servlet-mapping>
    <servlet-name>ops-main-servlet</servlet-name>
    <url-pattern>/</url-pattern>
  </servlet-mapping>


maps our css, js, images, etc. directories to that servlet and we are unable to access them :
Etat HTTP 404 -
type Rapport d'état
message
description La ressource demandée () n'est pas disponible.


so I wonder how to set orbeon to have them accessible and still have orbeon working well.
Reply | Threaded
Open this post in threaded view
|

Re: Re: integrating orbeon in a portal

Erik Bruchez
Administrator
I am not sure I understand the question properly, or what you are  
trying to achieve.

Orbeon Forms is just a plain Java web application, so it behaves as  
all Java web apps do I think.

By default, the Orbeon servlet is deployed under /orbeon. This in Java  
servlet terms is called the application context. You can pick another  
context if you want, say "/foobar". But everything under that context  
will be handled by the given web application. It is not possible with  
Java servlets, AFAIK, to have a hierarchical context, e.g. "/foo/bar".

-Erik

On Aug 12, 2008, at 3:08 AM, Loceka wrote:

>
> Hello,
>
> We're still looking for having orbeon working in our portal so is  
> there a
> way to constraint orbeon to a deeper directory ? So that only URL  
> starting
> with /orbeon/ are to be checked by Orbeon.
>
> I've actually tried to do by just changing the mapping :
>  <servlet-mapping>
>    <servlet-name>ops-main-servlet</servlet-name>
>    <url-pattern>/orbeon/</url-pattern>
>  </servlet-mapping>
>
> but it broke the orbeon application (CSS and forms couldn't be  
> found). So I
> guess there are other parameters to set but we couldn't find which  
> ones.
>
> We've tryed to look into web.xml and resources/config/properties.xml  
> or to
> change resources/page-flow.xml and resources/page-flow-portlet.xml but
> nothing worked.
>
> Is there no way to relocate the application ?
>
> Thanks,
> Loceka.
>
>
>
> Loceka wrote:
>>
>> Hello,
>>
>> I'm trying to integrate orbeon in a web portal in order to allow  
>> portal
>> administrators to create new XForm forms and to view all created  
>> forms.
>>
>> In order to do that we have tried merging the 2 webapps (our portal  
>> and
>> orbeon) but orbeon settings mess up with our own :
>>
>> the following code :
>>  <servlet-mapping>
>>    <servlet-name>ops-main-servlet</servlet-name>
>>    <url-pattern>/</url-pattern>
>>  </servlet-mapping>
>>
>> maps our css, js, images, etc. directories to that servlet and we are
>> unable to access them :
>> Etat HTTP 404 -
>> type Rapport d'état
>> message
>> description La ressource demandée () n'est pas disponible.
>>
>> so I wonder how to set orbeon to have them accessible and still have
>> orbeon working well.
>>
>
> --
> View this message in context: http://www.nabble.com/integrating-orbeon-in-a-portal-tp18923193p18941245.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> 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 for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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: Re: integrating orbeon in a portal

Loceka
Well, we are trying to integrate the orbeon solution in our web portal. Unfortunately JSR 168 isn't yet fully functional (actually it doesn't work at all) so that we can't use it in order to integrate orbeon.

As we want to access orbeon's forms (list them in our webapp and add/remove some) we cannot deploy orbeon as a separate webapp, unless I am mistaken and that, even as a separate webapp, we can still access orbeon's form. So we've tried to merge our portal and orbeon but as described above it messes with our settings.

Hence we've tried to restrain orbeon to a deeper directory but of course it's against Java servlets philosophy and it didn't work either.

Any idea is welcome.

Thanks,
Loceka.


Erik Bruchez wrote
I am not sure I understand the question properly, or what you are  
trying to achieve.

Orbeon Forms is just a plain Java web application, so it behaves as  
all Java web apps do I think.

By default, the Orbeon servlet is deployed under /orbeon. This in Java  
servlet terms is called the application context. You can pick another  
context if you want, say "/foobar". But everything under that context  
will be handled by the given web application. It is not possible with  
Java servlets, AFAIK, to have a hierarchical context, e.g. "/foo/bar".

-Erik

On Aug 12, 2008, at 3:08 AM, Loceka wrote:

>
> Hello,
>
> We're still looking for having orbeon working in our portal so is  
> there a
> way to constraint orbeon to a deeper directory ? So that only URL  
> starting
> with /orbeon/ are to be checked by Orbeon.
>
> I've actually tried to do by just changing the mapping :
>  <servlet-mapping>
>    <servlet-name>ops-main-servlet</servlet-name>
>    <url-pattern>/orbeon/</url-pattern>
>  </servlet-mapping>
>
> but it broke the orbeon application (CSS and forms couldn't be  
> found). So I
> guess there are other parameters to set but we couldn't find which  
> ones.
>
> We've tryed to look into web.xml and resources/config/properties.xml  
> or to
> change resources/page-flow.xml and resources/page-flow-portlet.xml but
> nothing worked.
>
> Is there no way to relocate the application ?
>
> Thanks,
> Loceka.
>
>
>
> Loceka wrote:
>>
>> Hello,
>>
>> I'm trying to integrate orbeon in a web portal in order to allow  
>> portal
>> administrators to create new XForm forms and to view all created  
>> forms.
>>
>> In order to do that we have tried merging the 2 webapps (our portal  
>> and
>> orbeon) but orbeon settings mess up with our own :
>>
>> the following code :
>>  <servlet-mapping>
>>    <servlet-name>ops-main-servlet</servlet-name>
>>    <url-pattern>/</url-pattern>
>>  </servlet-mapping>
>>
>> maps our css, js, images, etc. directories to that servlet and we are
>> unable to access them :
>> Etat HTTP 404 -
>> type Rapport d'état
>> message
>> description La ressource demandée () n'est pas disponible.
>>
>> so I wonder how to set orbeon to have them accessible and still have
>> orbeon working well.
>>
>
> --
> View this message in context: http://www.nabble.com/integrating-orbeon-in-a-portal-tp18923193p18941245.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> You receive this message as a subscriber of the ops-users@ow2.org  
> mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
> For general help: mailto:sympa@ow2.org?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws