cancel
Showing results for 
Search instead for 
Did you mean: 

Problem creating webforms

mcmagi
Champ in-the-making
Champ in-the-making
I have Alfresco running on two machines: my local desktop machine (where I do development) and a separate server where our integration and QA is performed.  The webforms work properly on my my desktop install, however when I attempt to create a webform on the integration server I am running into a problem.

On Step 1 - Web Form Details, after I browse for a schema, it is supposed to show the schema name then populate the root element, name, and title.  For some reason this is not happening.  After I select the schema, the browse button disappears and no field gets populated.

- Michael C. Maggio
3 REPLIES 3

mcmagi
Champ in-the-making
Champ in-the-making
Ok, I got it to work but I'm curious as to why it's failing.  Basically, we are using Apache with mod_proxy on this machine so that all hosted web applications can be accessed via port 80.  It is configured such that any request beginning with the path "/alfresco" will be forwarded to Alfresco's tomcat instance at port 8280.  When I create a webform through this mod_proxy setup, then I see the problem described above.  When I connect my browser directly to port 8280, then it works fine.

While mod_proxy appears to behave well with most things in the Alfresco GUI, why would it not work for configuring web forms.  Do we need to add another context root to the mod_proxy config?

Thanks,
- Michael C. Maggio

andylivsey
Champ in-the-making
Champ in-the-making
Hi Michael

How did u fix this - i'm having the same issue. Currently using JBoss Portal with WCM 2.0.
I get as far as the Create Web Form in Step One, upload the XSD then nothing is populated.

Cheers

andy

kvc
Champ in-the-making
Champ in-the-making
Andy:


WCM web forms make heavy use of AJAX.  JBoss Portal prior to 2.6 did not support AJAX-enabled portlets.  This is something we've worked with RedHat on for JBoss Portal 2.6 and Alfresco 2.1.0.

What I recommend is that you update to 2.1.0 Community Final and look at our WCM portlets.  They work in JBoss Portal 2.6 and will be included in the RedHat Exchange.  Those portlets are actually quite slick - they make it very simple to publish content directly from the portal.  And of course since it's web scripts, it's very easy to modify.


Kevin