Hi Neal,
I like your changes to the Gui tool. The idea of the default values is great.
Please post your ideas to the [EMAIL PROTECTED], i am not the only person who is 
working on dbforms.

Please could you send me your changed files as private mail - not only the diffs? 
Thanks!

Your idea of using getGeneratedKey() is good. But not it's a java 1.4 feature not 
found in java 1.3. And the most jdbc drivers do
not support this.

Please could you think about wich changes to the stylesheets are for everyone and send 
me this?

Thanks for your work,

Henner

> 
> Since you are preparing an update, let me dump some diffs on you.
> 
> I made 3 sets of changes to the 2.2 version
> 
> 1) added supported to capture the value of a generated key 
> after an insert, using JDBC getGeneratedKey().
>    This is very handy with MySql tables with an auto_increment field.
>    Note: The naming of the session variable is not that 
> great, please feel free to change it
> 
> 2) Modified the Gui tool
>    1) support for mysql "longblob" mapped to blob
>    2) escape the jdbc string so its XML safe.  ex. 
>  
> jdbc:mysql:///stp?requireSSL=false&useUnicode=true&characterEn
> coding=UTF
> -8
>       becomes
>       <dbconnection
>               name   =
> "jdbc:mysql:///stp2?requireSSL=false&amp;useUnicode=true&amp;c
> haracterEn
> coding=UTF-8"
>    3) added an optional attribute "defaultValue" to "field" 
> in dbforms-config
>         The value is read from the database, Note: Only 
> tested with MySql, but should be portable
>         the "defaultValue" attribute is ignore by dbforms, 
> but is used by my custom XSL scripts
> 
> 3) Changes to XSL files
>     -- create .prop files for use with localization
>     -- I am working on a tool to manage 
> ApplicationResources.properties files, when done it will 
> merge new keys from .prop files and 
>        identify keys missing from a language specifi version. 
> Right now I just use  cat *.prop | sort | uniq
>     -- NOTE: Some of these changes are not for everyone (i.e. 
> I include some additional taglibs), look at the 
> generate_application_resource.xsl and 
> generate_singleforms.xsl (for using the defaultValue attribute)
> 
> 
> Neal
> 
> 
> 
> p.s. Great Work, I really like DBForms and I'm finding it very useful.
> 
> 




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to