Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[14:55:51 CDT(-0500)] <cwaymire> the javascript makes an ajax call to submit the file to the controller which creates some database rows and will store the file on the filesystem.

[14:56:15 CDT(-0500)] <EricDalquist> ok

[14:56:16 CDT(-0500)] <cwaymire> the idea is any portlet can upload an attachment and then later reference that attachment. right now the functionality is going to be pretty limited

[14:56:26 CDT(-0500)] <EricDalquist> so why the servlet?

[14:56:34 CDT(-0500)] <EricDalquist> the portlet could do that competely within the portlet API

[14:56:46 CDT(-0500)] <EricDalquist> the attchment portlet renders in a hidden div

[14:56:55 CDT(-0500)] <EricDalquist> the JS that is written out includes a portlet resource url