Hi
I am trying to use the Lotus Domino JSP tags to access a Domino 6 server. For some reason, the domino input tags in my form tag are playing up (I’m fairly sure it’s not my JSP).
My JSP has 4 input tags nested within a domino form tag. When I open an existing document, it fills all 4 fields with the first tag’s value. When you save a document, it saves the last input value in the first input tag’s column - no other data is saved. When I replace the input tags with item tags, everything is fine. So I know the right documents are getting accessed. I also have this same problem with domino richtext tags. I am using JDeveloper to deploy my JSP. Any suggestions/help would be GREATLY appreciated.
thanks, Kim
Subject: Domino JSP tag: Domino:Input
Hi,
If you could post a snippet of code with the form tag + some input tags, it would be helpful.
Since I don’t have code, I’ll assume you did it right and guess that the servlet container you are deploying to is doing tag cacheing (also called tag pooling). Support for tag cacheing is something I am looking into for an upcoming release of the Domino JSP tags, but at this time the Domino JSP tags don’t work when cached/pooled.
I am sorry that I am not familiar with JDeveloper, so I don’t know which xml file you will need to modify, but try to turn tag cacheing off and let us know how it works.
Steve
Subject: RE: Domino JSP tag: Domino:Input
Steve, thanks for the reply.
Something I found in the OC4J 10g release notes:
“JSP 2.0 tag file functionality does not work if JSP TLD caching is turned on. The default value of jsp-cache-tlds parameter is set to false in global-web-application.xml.”
I took up your suggestion and hunted down global-web-application.xml and found <orion-web-app … jsp-cache-tlds=“false”>.
So back to the code!!
<domino:form name=“Contact” dbname=“contacts.nsf” schema=“Contact”
validhref="formTest.jsp" debug="true" onfailure="inline" >
<domino:editdoc />
<domino:saveclosedoc />
<domino:deletedoc /> <br>
First name
<domino:input name="firstName" /> <br>
Last name
<domino:input name="lastName" /> <br>
Phone
<domino:input name="phone" /> <br>
Email
<domino:input name="email" /> <br>
</domino:form>
Can you suggest any other place I can look for inadvertent caching because it’s the most logical (not to mention the only) solution I’ve heard so far. Once again, thanks for all your help.
cheers, Kim