Creating a simple form to collect data from the user
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2010 08:58 AM
Hi,
I am using Alfresco-community-edition-3.3
Is it possible to create a [size=125]Simple form [/size]in alfresco that contains some fields to collect data from the user and this gets stored in the database..
The next time i want to view the data, i can show it in a jsp page by retreiving the data from the database..
Any kind of suggestions are welcome..
Thanks..
I am using Alfresco-community-edition-3.3
Is it possible to create a [size=125]Simple form [/size]in alfresco that contains some fields to collect data from the user and this gets stored in the database..
The next time i want to view the data, i can show it in a jsp page by retreiving the data from the database..
Any kind of suggestions are welcome..
Thanks..
Labels:
- Labels:
-
Archive
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2010 01:00 PM
Absolutely. The simplest approach I can think of is:
1. Create a new dashlet - and build this simple form you need.
2. Create a webscript or java-backed webscript to update the database or store this info somewhere.
3. Have the dashlet use this webscript when the user clicks "Save" or something.
4. Retrieve your info from wherever you have placed it.
An excellent example of this approach is here.
Try repeating what's there, and you can go on from there with much more understanding.
1. Create a new dashlet - and build this simple form you need.
2. Create a webscript or java-backed webscript to update the database or store this info somewhere.
3. Have the dashlet use this webscript when the user clicks "Save" or something.
4. Retrieve your info from wherever you have placed it.
An excellent example of this approach is here.
Try repeating what's there, and you can go on from there with much more understanding.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2010 05:02 AM
Hi zladuric,
Thank you very much..
That was of some great help..
Let me know if this is possible..
I referred to a wiki http://wiki.alfresco.com/wiki/Web_Scripts_Examples#Folder_Browse.2FRSS_Feed
According to this i can view a Folder hierarchy..and i am able to see that..
Now, i want to view that folder hierarchy in my custom dashlet..
Is it possible??
Thanks in Advance..!!
Thank you very much..
That was of some great help..
Let me know if this is possible..
I referred to a wiki http://wiki.alfresco.com/wiki/Web_Scripts_Examples#Folder_Browse.2FRSS_Feed
According to this i can view a Folder hierarchy..and i am able to see that..
Now, i want to view that folder hierarchy in my custom dashlet..
Is it possible??
Thanks in Advance..!!

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2010 04:28 AM
I don't see why not. From the example, you can see how your share dashlet can interact with alfresco webscripts.
For example: share dashlet has a server side javascript that's executed before sending the response to the client. also, there is a client-side javascript that can call another webscript or webscripts - depending on how you design it.
For example: share dashlet has a server side javascript that's executed before sending the response to the client. also, there is a client-side javascript that can call another webscript or webscripts - depending on how you design it.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2010 11:52 PM
Thank you very much zladuric..
Will definitely try it out..Thanks!!
Will definitely try it out..Thanks!!
