----- Original Message ----- From: "Christopher Hicks" <[EMAIL PROTECTED]>
To: "CGI::Application Mailing List" <[EMAIL PROTECTED]>; "Jonathan Mangin" <[EMAIL PROTECTED]>
Sent: Sunday, October 17, 2004 9:44 AM
Subject: Re: [cgiapp] C::A without Templates?? (Sessions)
On Sun, 17 Oct 2004, Jonathan Mangin wrote:I'm upgrading some code, but I'm new to C::A. I haven't yet used HtmlTemplate or TT. At the moment I'd like to avoid it, if possible?
Whatever you runmodes return gets sent to the user. If you have other ways of generating that than using TT or HT C::A won't stop you. We've got a small C::A script that generates binaries and it works fine.
-- </chris>
"Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing." -- Dick Brandon
Thanks Chris,
for the correct answer (return). This is now really a question for PBML but I'll give it a shot...
How does one create a returnable object from inline HTML that now looks something like this?
"<html> <yada...> <br>$uid1 <br>$pass <select name=$state size=1> <option>$sname"
foreach my $state (@states) {
print "<option>$state";
}" </select> <yada...> </html>"
with proper variable substitution and such-like? I have tried a couple things with no good luck, although cookies are now being set.
Thanks, Jon
--------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
