Xavier Lawrence
2008-08-13 11:57:42 UTC
Hello Anand Agrawal,
You actually cannot implement the business logic directly using the
FCK editor or simple text editor. These editors only allow you to edit
or add some HTML code.
In that sense, the business logic will have to be done in separate JSP
and/or java files, as a normal development. Then you will need to
deploy these files to the server and call them from your form.
These files containing the business logic can very well be part of
your set of templates. You can find all necessary documentation in the
Template developer guide available from this page
http://www.jahia.net/jahia/Jahia/site/jahia_net/pid/585.
Please let me know if you need more information about this topic,
Best regards
X. Lawrence
From: Anand Agrawal <ananda <at> halosys.com>
Subject: new jahia user
Newsgroups: gmane.comp.cms.jahia.template
Date: 2008-07-29 07:34:03 GMT (2 weeks, 5 hours and 22 minutes ago)
Hi,
I will state my requirements.
1. I am using the simple text editor of Jahia,its working nicely for
HTMl and javascript.I have created forms in it.Now I need to post those
forms and save the data in database.
2.The main question is how to do the business logic using java/jsp code
in the given editors.
3.So please guide me how I can embed the JSP tags or java code
for database connection and business logic.
4.Finally i am working with the halosys technology which want to develop
website using jahia.
Hope the requirements are clear.
Awaiting for your response,
Thanks
Anand Agrawal
Halosys Technology
You actually cannot implement the business logic directly using the
FCK editor or simple text editor. These editors only allow you to edit
or add some HTML code.
In that sense, the business logic will have to be done in separate JSP
and/or java files, as a normal development. Then you will need to
deploy these files to the server and call them from your form.
These files containing the business logic can very well be part of
your set of templates. You can find all necessary documentation in the
Template developer guide available from this page
http://www.jahia.net/jahia/Jahia/site/jahia_net/pid/585.
Please let me know if you need more information about this topic,
Best regards
X. Lawrence
From: Anand Agrawal <ananda <at> halosys.com>
Subject: new jahia user
Newsgroups: gmane.comp.cms.jahia.template
Date: 2008-07-29 07:34:03 GMT (2 weeks, 5 hours and 22 minutes ago)
Hi,
I will state my requirements.
1. I am using the simple text editor of Jahia,its working nicely for
HTMl and javascript.I have created forms in it.Now I need to post those
forms and save the data in database.
2.The main question is how to do the business logic using java/jsp code
in the given editors.
3.So please guide me how I can embed the JSP tags or java code
for database connection and business logic.
4.Finally i am working with the halosys technology which want to develop
website using jahia.
Hope the requirements are clear.
Awaiting for your response,
Thanks
Anand Agrawal
Halosys Technology