cancel
Showing results for 
Search instead for 
Did you mean: 

Creating JSP

sunny86
Champ in-the-making
Champ in-the-making
Hello,
I am new to Alfresco and i want to know….

How to create a JSP in alfresco from where i can enter data and save that in repository…
For example…Suppose i have form fields in JSP like name , phone , email etc….
As soon as i access the page i will enter these details and it should get stored in repository.


Just like as we create a simple JSP page with Form field and save the entered data in database.
Please tell me how to proceed step by step.
I have tried reading so many documents but not got the solution.

Thanks
Sunny
3 REPLIES 3

savic_prvoslav
Champ on-the-rise
Champ on-the-rise
what data do you want to store?
about what, for instance do you want to enter data about user?

sunny86
Champ in-the-making
Champ in-the-making
Yes i want to enter data about user.

savic_prvoslav
Champ on-the-rise
Champ on-the-rise
you can do this in more then one way.
first you must extend content model about user. http://forums.alfresco.com/en/viewtopic.php?f=5&t=20970
you must create or extend dialog in which you will enter this data. http://wiki.alfresco.com/wiki/Adding_a_Custom_Dialog
you also must create translations
and type some java code and that is all it takes.

hope it helps, may be that instruction is not long but this is really easy and no problem to manage.