Orbeon: form builder in liferay - liferay

I'm new to orbeon and the form builder is really cool. But it can't be used when deployed into liferay.
I tried deploy orbeon into a tomcat server and built a form with the form builder, but i don't know how to export the form so i can deploy it into the orbeon instance in liferay.
Or do I have to create the form by xform and xhtml? Are all the type controls, selection controls and validation available in xform and xhtml?
Thank you.

The easiest way is to use the Form Runner proxy portlet.
deploy Orbeon Forms as servlet in Liferay/Tomcat or on a remote Tomcat
deploy the Form Runner proxy portlet in Liferay
create your form with Form Builder from the Liferay/Tomcat or remote Tomcat install
publish the form
configure the portlet to connect to the Form Runner server and load the form

Related

Deploying portlet with a liferay on cloudbees

I succed to deploy a liferay 6.1.1 on cloudbees thanks to this tutorial :
http://blog.cloudbees.com/2011/09/15-minutes-to-liferay-on-cloudbees-paas.html
Now, I'm asking how to deploy themes and custom portlets in this environment is there a way, or should I switch to another Paas solution?
Thanks,
You can either repackage liferay with the portlets into the "stack" and deploy that - or you can have liferay load the portlets from something other than the file system (filesystem support is needed for this to load dynamically, which is a work in progress).

how to create a login liferay portlet using jsp in eclipse

I'm new to liferay, trying to create web app using liferay protlets. I'm trying to create a custom login portlet. In html file, using form action method I'm trying to call a jsp file, which is giving error. help me out. can you give suggest some tuts so tat I can learn how to design dynamic liferay protlets and to deploy in the liferay portal server.
You can achive login in liferay by
An AutoLogin hook http://www.liferay.com/community/wiki/-/wiki/Main/Portal+Hook+Plugins#section-Portal+Hook+Plugins-Portal+Properties
Extending authentication pipeline http://www.liferay.com/community/wiki/-/wiki/Main/Developing+a+CAS#section-Developing+a+CAS-Authenticaton+Pipeline
By your custom implementation http://www.liferay.com/it/community/forums/-/message_boards/message/16008439
Extending Liferay itself (by EXT plugin) https://www.liferay.com/community/wiki/-/wiki/Main/Ext+Plugin
I would suggest doing them in the order I specified, as they increase in complexity.
Please do let me know of any specific queries in these.

Liferay portlet for creating web content

I use Liferay to manage web content. I would like my end users to create web content but I don't want them to go to back office to manage it.
So I would like a portlet that I can setup in public pages and which allows the end users to create web content directly in public pages.
Is there a simple way to do it using Liferay 6.1 or code is needed ?
Have you tried OOTB Web Content Display portlet? You can add Web Content Display portlet on any page and content can be created in that portlet itself which on publishing(if no workflow involved) will be visible on the page.
If Sandeep's answer is not what you're after (but I suspect it is) then you can write a custom portlet that uses Liferay's JournalArticleLocalServiceUtil methods to interact with Liferay Web Content. However I'd go with Sandeep's suggestion first as it doesn't involve coding! :)
If you want to develope another webcontent portlet as avaiable in control panel. You have to go for custom portlet creation and use the db tables like JournalArticle, JournalArticleImage, JournalArticleStructure and JournalArticleTemplate.

Liferay Custom Login Portlet

I'm new to liferay and was wondering if it is possible ( and how ) to create a custom login portlet using Vaadin framework .
thanks
there is 2 ways to do this:
1.in liferay you can override custom jsp pages using hooks, in this overrided jsp page you can include your vaadin portlet address using jsp tags, maybe you should override authenticateByScreenName/authenticateByEmailAddress(...) methods in UserLocalService (you can do this by hooks too)
2.using a struts custom action in liferay, this can be done by hooks too,I think it's better idea

Development questions related to Liferay 6

I am using Liferay version 6.06. I have developed a Login Portlet using Liferay plugins SDK under which the View JSP consists of a login screen. Upon submitting credentials from this view JSP it will be received by the processAction Method of my Custom Portlet class. All this works good.
I have two questions:
Currently the Login Portlet is being part of Sample Category under Liferay screen (I want to have my own screen, where initially upon entering http://localhost:8080/mycontext, I want to show that Login screen).
And once the credentials are received inside the processAction method of my Custom Portlet class, I want to display my own two portlets.
Could anybody tell me how to achieve this?
Beside you don't need a customized login for your Usecase, in case you still need to customize the login process you should:
build a hook which is a kind of plugin able to interact with Liferay's core functionalities.
In case you don't know take a look [here] http://www.liferay.com/it/documentation/liferay-portal/6.0/development/-/ai/hooks
or just use the property login.events.post=my.custom.PortletAction
and put your business logic after successfull user login

Resources