Hi Tommi,
I'm trying to initialize a variable that has request lifetime with a
query argument:
----------------------------------
<%args>
std::string id;
</%args>
<%request>
Handle<query_wnd*> wnd(new test_wnd(con, QUERY_SIZE, id));
</%request>
----------------------------------
But generated code declares query arguments after it declares variables,
which results in a compilation error.
Would it be reasonable enable initialization of variables that have
request lifetime with query parameters? Or should I just declare
variables in <{}> blocks?
And what is the difference between a variable declared in <{}> block and
in <%request></%request> block?
Regards,
Yuri
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general