Research Log of Web Science Students

Computer Science is not simply programming

Flow of the Spring Controller for our Create Course Feature

leave a comment »

flow of the spring controller

This is a quick look up guide for me to follow just in case I forget in the future.

<input type="button" name="submit" value="googledocs">

User wants to get a learning object from google docs

boolean isFormChangeRequest(...)...

Controller part, put some code here so that it will return true when the user clicks the button.

UPDATE I just found out that the from the isFormChangeRequest to the onFormChangeRequest, whatever parameter is in the request object is removed. I need to somehow put again in the request object the parameter that came from the user so that onFormChangeRequest can “see” it. Will try the request.setAttribute(); <– UPDATE: this is wrong.

void onFormChangeRequest

Must skip this part

boolean showForm(...)...

in this method call the pojo that will return to you the google docs and put it in the request.


Written by Jose Asuncion

October 5, 2009 at 1:26 pm

Posted in Hardwire

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: