DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3959>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3959

Resource Properties, Connection Pool

           Summary: Resource Properties, Connection Pool
           Product: Struts
           Version: 1.0 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Unknown
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


It would be nice...
...to store (and of course retrieve) the resource properties in a database not 
in a text file.

... that "html:option" can retrieve values automatic from a resource file or 
resource databses or database via "sql-select".
e.g.    <html:option value="A" key="land.a"/>
        <html:option value="D" key="land.d"/>
        <html:option value="SLO" key="land.slo"/>
        <html:option value="XXX" key="land.xxx"/>
could be something like
        <html:option keyprefix="land"/> and all values in the resource that 
starts with "land" are inserted in the html statement.

... that all tags which get data from the resource file (such as "bean:message" 
and "html:option") have a "dynamic key", let me show an example:
   <logic:equal value="M" name="sesskey" property="geschlecht">
       <bean:message key="geschl.m"/></logic:equal>
   <logic:equal value="F" name="sesskey" property="geschlecht">
       <bean:message key="geschl.f"/></logic:equal>
cold be something like this:
   <bean:message name="sesskey" property="geschlecht" keyprefix="geschl"/>

...to have a method which is called every time before a connection is delivered 
from connection pool to the application to some stuff with the connection, e.g. 
set some database-roles according the actual rights of the user. Now I call, 
every time I request for a connection, my own methot "prepare(con)", which sets 
some database-roles. This works fine in the action classes and beans, but if I 
want to have a connection in JSP or in some sql-JSP-tags which you will write (I 
read the todo-list) there I'll have a problem.

Reply via email to