Commit Graph

1011 Commits

Author SHA1 Message Date
sebd 543b999cd8 Added schema attribute elementFormDefault="qualified", so that
Expression's own generated elements (such as Http404) fit their schemas.
2005-01-23 17:58:46 +00:00
sebd 4372c60500 Validates elements against their schemas while in debug mode. 2005-01-21 15:02:51 +00:00
sebd 6076f1d81e Renamed validateDoc to validateDocument.
ValidateDocument now returns True on validation pass.

Added method validateElement.
2005-01-21 14:59:24 +00:00
sebd 89902f54aa Ensures the schema is valid on initialisation.
Added method validateDoc.

Added support for xsd:import.

Added method getTargetNamespace and fixed method getTypeInNode so that amedes:User can inherit from yep:User.

More changes coming.
2005-01-21 13:57:18 +00:00
sebd f22b7455a8 Right syntax, but commented out because of current limitations in libxml2 2005-01-20 19:16:45 +00:00
sebd 722ccd6523 An email address field. 2005-01-20 19:16:03 +00:00
sebd acd2ac90ee "targetNameSpace" -> "targetNamespace", attributes after sequences and other slight modifications so libxml2 can validate the schemas. 2005-01-20 16:42:29 +00:00
sebd 7d17d02938 Grouped Identity, Person and Session in the same Schema document.
This is to avoid recursive includes.
libxml2 does not handle recursive includes properly yet.

"targetNameSpace" -> "targetNamespace" so libxml2 can validate the schemas.
2005-01-20 16:41:09 +00:00
fpeters fba7a4e7cc allows to override charset for "text/*" mimetype; as in:
<inode mimeType="text/html">
    <pythonClass>expression.core.dataholders.StaticDataHolder</pythonClass>
    <charset>iso-8859-1</charset>
  </inode>
2005-01-20 10:42:02 +00:00
fpeters b5eb4f7672 don't barf on directories with a dot (like api-reference-0.6) 2005-01-19 15:06:44 +00:00
fpeters e1c23d2ffc added miniredirect module 2005-01-17 12:42:40 +00:00
fpeters f68a793bbf added http 301 status code support 2005-01-17 12:42:19 +00:00
sebd 56f4cd3ac9 dateTime inputs show time 2005-01-15 06:37:42 +00:00
sebd 36cc572d40 bugfix in method convertSubmissionValueToContent of type dateTime 2005-01-14 16:03:23 +00:00
sebd 7ab351bad0 Added MIME type for ".cvs". 2005-01-07 13:24:19 +00:00
sebd a7e99d628e Setting the actionButtons id attribute so they can be easily driven from javascript. 2005-01-07 09:20:38 +00:00
sebd 078b0d7528 getDescriptionHolder caches the holders again. Problems are fixed downstream. 2005-01-07 09:16:51 +00:00
sebd f7e016379b Made Select and Select1 easier to subclass. 2005-01-06 16:05:05 +00:00
sebd aea9500d6e Added a "trace function" mecanism. 2005-01-05 21:15:53 +00:00
sebd 8ed9101d79 A root element must be considered as a directory while calculating relative URLs. 2005-01-05 20:57:40 +00:00
sebd f1dccfbee7 Bugfix. One can login again. 2005-01-04 21:58:53 +00:00
sebd c1b1b4dc49 Better handling of ActionButtons (no more crashing on absence of it).
ActionButtons can be anywhere in the page (not only in the actionButtonsBar).

sendHttpAnswer sends the next page, falling back on a redirect if that fails.
2005-01-04 21:52:29 +00:00
sebd 2e470e32e9 Setting HTTP header "Content-Location" whenever replying in HTML.
This makes it possible to reply with another station from the one that was posted to, and keep the web browser follow what's happening.
2005-01-04 21:41:25 +00:00
sebd ab980ccb3f Added method getPresence. 2005-01-04 06:08:49 +00:00
sebd c499a20c19 Added method getComputedId and hook method checkData in ActionButton. 2005-01-04 06:00:38 +00:00
sebd 9c753f8e07 Improved ActionButton.
Made Page aware of it.

Prevented problems this change could involve.

Instead of overriding Page, consider overriding ActionButton.
In most cases it results in simpler and more readable code.
2005-01-03 15:14:42 +00:00
sebd e982abea88 shorter info log lines 2005-01-03 08:54:04 +00:00
sebd 4c3e377517 email must be a valid email address 2005-01-01 15:28:11 +00:00
sebd 0532530d06 not caching description holders anymore, so controls can dynamically modify themselves 2004-12-21 16:50:56 +00:00
sebd 7b9b523cb7 Compiles.
sorry
^_^
2004-12-20 09:59:19 +00:00
sebd 61dcde4d8a documentation
some code simplified - no major change
2004-12-20 09:57:48 +00:00
sebd 36f0b53aac factorizing code in a hookable method ComponentWidget.getDataComponent() 2004-12-17 21:31:45 +00:00
sebd da1a0ce524 allow using args in "objectURI/pageName/args" 2004-12-14 10:36:39 +00:00
sebd e37cef1bfd added xslt function _httpHeaders(name) 2004-12-02 18:28:18 +00:00
sebd 21b3dee0ee fixed improvement of handling of errors 2004-11-25 21:07:48 +00:00
sebd c82e01445e improved handling of errors 2004-11-25 20:58:41 +00:00
sebd 301eac5539 added method getNames 2004-11-19 12:12:11 +00:00
sebd 1d226b2347 an output field is readonly and not required 2004-11-19 08:24:27 +00:00
sebd f736ae364c replaced '(required)' message by html attribute class 'requiredField' 2004-11-17 23:38:22 +00:00
sebd b422f55ff2 added method gettext 2004-11-17 23:36:47 +00:00
sebd 20a0caa24d not showing empty Repeat controls
removed two useless remaining lines in method Output.generateHtmlContextControlCoreForm
2004-11-16 14:04:03 +00:00
sebd 72e2284dd1 added methods getIds and getIdsOnly - slightly improved getIdsAndNames 2004-11-15 21:03:48 +00:00
sebd e61fa99577 added support for xsd:dateTime 2004-11-11 19:56:21 +00:00
sebd 12b112dbab uncommented useful code (why did I comment it out just before commiting ? no idea) 2004-11-10 10:17:53 +00:00
sebd 599942bca1 a page can show a page-level alert 2004-11-10 09:53:27 +00:00
sebd bdad789999 bugfix for createChildElementNode - namespace can be none 2004-11-09 09:33:02 +00:00
sebd 56a8d9837e email is a yep:emailAddress so that validity checks are performed 2004-11-08 11:40:09 +00:00
sebd b7b281e3e9 method outputAlert handles XSLT template 2004-11-05 15:45:51 +00:00
sebd 73900d3881 added new schema data type "yep:emailAddress" 2004-11-05 11:31:58 +00:00
fpeters 699146e6a0 don't ignore signal; it is necessary for waitpid() 2004-11-04 08:20:01 +00:00