Have a look at HttpSessionListener. This requires modifing the web.xml
if I remember.
Also, in the past, I had an application that created some files on the
hard drive that I wanted to delete when the user session ended (timeout
or logout). To do this, I created a cleanup class that implemented
executive-summary
When my forms application has been running for a while, Cocoon has
thousands of file handles open for Form.js and fom_system.js, causing
crashes.
/executive-summary
I'm developing a large CForm application. I'm now doing load testing
and after a while, I get too many open files
I think I found a problem with the repeater-action widget and I18N. The
final rendered page shows the I18N key name instead of the translated
value. In my form, I define the widget like so:
fd:repeater-action ...
fd:labeli18n:textbutton.add/i18n:text/fd:label
/fd:repeater-action
In my
object (invoke
default constructor) ? fb:javascript ? fb:custom ?
Many thanks,
Benoit Deshaies
__
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com
:
if( report.getLatitude() == null )
report.setLatitude(new GeoCoordinate());
In that case, I think I will use fb:javascript. The only problem is
that fb:javascript takes the ID of a widget. This initialization
doesn't really apply to any widget in particular...
Benoit Deshaies
--- Marc Portier
html:errors at
http://jakarta.apache.org/struts/userGuide/struts-html.html#errors
Benoit Deshaies
__
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com
the validation code in the form definition, you're mixing the
presentation and business layer. In that respect, I preferred the
old-style JS validation function, which correctly put the business
logic out of the presentation layer.
Benoit Deshaies
--- Vadim Gritsenko [EMAIL PROTECTED] wrote:
See
:8080/cocoon/samples/jsp/outOfBounds
- What I'm trying to accomplish: use a JSP to generate XML to feed to
another pipeline. More precisely, use a JSP to generate an XForms
document to be fed to JXFormsGenerator.
Many thanks for looking into this.
Benoit Deshaies