Hi! I am an absolute beginner so please excuse my ignorance on a lot of stuff.
I am having a problem when it comes to developing a simple webform in liferay. I was trying to create it normally as in HTML. I put a normal file URL in the action attribute of the form tag. As you may have guessed it did not work at all. So I did a little searching and found out that you have to use tag in the action attribute of the form. What I am not understanding is where do you put the actual URL of the file in there?
This is what I have so far...
I mean.... I don't have an idea how the "actionURL" works. Normally in the form tag, you put a file URL in the action attribute. But convention in portlets dictates I use the actionURL, instead. I'm sorry if I'm too ignorant of this, but have a difficulty understanding Java Web development (newbie programmer). Particularly on Liferay portlets.
Oh... So in this case. It's from my "query.java" file? "query" is the name of my project.
So based on what I understand so far... it's supposed to be in the processAction?
The files I am modifying are the following:
- query_view.jsp - Automatically created. The view file.
- query.jsp - Created by me. This is what I want to be in the action attribute.
- query.java - Automatically created. This is where I saw the processAction.
I was trying to go for a simple user input webform that will go to my database.