Hi, all!

Is there any chance to configure alternative database pool within the
default pool (Torque.properties) used by Jetspeed? The last-end target is to
make porlet referenced to DatabaseBrowserPortlet to view another table then
COFFEES. At the jetspeed home site i've found the record about configuring
portlets based on DatabaseBrowserPortlet:

       <parameter name="template" value="database-browser-portlet"
hidden="false"/>
        <parameter name="customizeTemplate"
value="database-browser-customize" hidden="false"/>
        <parameter name="action"
value="portlets.browser.DatabaseBrowserAction" hidden="false"/>
        <parameter name="sql" value="select * from <MY_TABLE>"
hidden="false"/>

        <!-- to use an alternate torque pool, set this parameter -->
        <!-- parameter name="poolname" value="<MY_POOL>" hidden="false"/-->

As far as i understand there is an ability to view any table (properly
configured  "sql" parameter) from selected database (properly configured
"poolname" parameter). I've added following strings to Torque.properties
after dsfactory.default records:

dsfactory.<MY_POOL>.connection.driver =
dsfactory.<MY_POOL>.connection.url =
dsfactory.<MY_POOL>.connection.user =
dsfactory.<MY_POOL>.connection.password =

but i've got the error telling that table <default_pool_name>.<MY_TABLE> was
not found... how can i make jetspeed look for table in MY_POOL????

Thanks for tolerance.

WBR, Alexandr




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to