Anonymous
Domino 2.0 Rich Internet Applications with IBM Lotus Notes/Domino
You are here: Today » Looking for a nice file upload control
« Working with a master template
Domino Workspace: blog post now has rich text editing »

Looking for a nice file upload control

There are a few things special about all recent Domino applications: they all render XHTML 1.0 Strict. This works fine with normal pages in read mode, but when you are building an application, you soon find out that you have to change your ways:

Changing my ways

If you look closely to the URLs of my Domino Workspace, you will notice that instead of creating a new document with .../document?openform I use .../document?readform instead. The form itself is generated in the QueryOpen agent. But for file upload controls, this poses a real problem.

The File Upload facts

On codestore.net, I found out the syntax the Domino server uses to render the file upload control. This syntax is a server setting you can disable, as explained again on codestore.net: Adding Your Own File Uploads to Forms.

The solution

Ferdy Christant has Mimic the Domino file upload control. I very much like the approach of Vince DiMascio: Managing Domino File Attachments the Ajax Way. I am still thinking of a solution that also works without Ajax. Need more time. Sorry, no new code for now.

Star rating

40%

Comments

To add a comment, log in or register as new user. It's free and safe.