Hello,
This morning, I migrated to the lastest version of cxxtools, tntnet and
tntdb and I have a problem : I cannot get any value from <%config> ...
</%config>. All string variables are empty.
Simple example :
In tntnet.xml :
...
<dburl>my dburl</dburl>
In my component :
<%pre>
// put your includes here
// #include "foo.h"
</%pre>
<%args>
// define the query parameters
// bar;
</%args>
<%session>
// define your session scope variables here
// std::string mySessionState;
</%session>
<%cpp>
// put your C++ code here
</%cpp>
<%config>
std::string dburl;
</%config>
<!DOCTYPE html>
<html>
<head>
<title>ecpp application T1</title>
</head>
<body>
<h1>T1</h1>
<p>Hello world!</p>
% log_error("DBURL : " << dburl);
</body>
</html>
In log, I have :
2014-02-03 11:18:35.10950 [2869.47653605242624] ERROR component.T1 - DBURL :
Any ideas ?
Thanks,
Jean-Michel
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general