cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neeme Praks" <neeme.pr...@one.ee>
Subject RE: [C2] actions, forms, etc.
Date Thu, 14 Jun 2001 16:15:50 GMT

> -----Original Message-----
> From: Christian Haul [mailto:haul@dvs1.informatik.tu-darmstadt.de]
> Sent: Tuesday, June 12, 2001 7:32 PM
> Subject: Re: [C2] actions, forms, etc.

[... long email cut ...]

Good start. However, here are some issues to consider:
* i18n: The last thing I would like to do in my webapp is to "hardcode" the
error messages like below
	-----------------
	  <xsp-formval:descriptor name="descriptor.xml"
constraint-set="user-input">
	     this parameter must be at least <xsp-formval:get-attribute
parameter="input" name="min"/>
	  </xsp-formval:descriptor>
	-----------------
Instead, I would like to be able to pass the parameters to some i18n package
like XMLResourceBundle in Avalon, or i18n transformer in C2 (I haven't
looked deeper into i18n transformer yet, so I know very little about
parameter substitution support there).

* validation data: With my current form validation system (from Turbine),
I'm able to specify the following information about the error on a form:
	* error code/name
	* form name
	* field name
	* related data (optional)
Your solution covers only some parts of this and adds some new capabilities
like <xsp-formval:get-attribute>. I would like to see the full support also
for the information above.

Comments?

Neeme


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message