Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Re: Re: Maintaining form state with HTML::Template

by TheoPetersen (Priest)
on Jun 22, 2001 at 19:39 UTC ( #90760=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Maintaining form state with HTML::Template
in thread Maintaining form state with HTML::Template

There may be a better way, but we use the same technique Arguile presented.

The only other method we tried was to use JavaScript to set the selected option based on another input. Nice if you like JavaScript, but I prefer the <TMPL_LOOP> version as it doesn't depend on what the browser does with the JS code.

  • Comment on Re: Re: Re: Maintaining form state with HTML::Template

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://90760]
[Corion]: Oh yay. The (external, not guided by me) programmers have chosen Moose+DBIx::Class for some implementation, and now seem to do 1+n SELECT statements for each row, as is usual when using ORMs.
[Corion]: So maybe I should investigate how to plug in a cache in front of DBIx::Class so I can do a ->selectall_hashre f and then satisfy the "sub"-selects from that cached single SELECT statement ...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2017-09-25 10:57 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (279 votes). Check out past polls.