[jifty-devel] A coupleof Jifty 101 questions: form_field's and scrollable regions

Jesse Vincent jesse at bestpractical.com
Tue Oct 2 14:11:43 EDT 2007


Steve H wrote:
> 
> A couple of Jifty 101 questions...
> 
> I see in the doco/examples how in the 
> How though do I leverage that same $action for form_field's in a Fragment?  ...that I've called via a Jifty->web->regiou( name... path ...) ... or am I missing some point here about how/where the  form_field's should be used?  ...I can't seem to  see exactly how/where it all fits together from the man pages -- some code snippets would be good.

Each fragment is essentially its own http request (at least, that's a 
reasonable way to think about it.) It could be loaded as its own page. 
The downside is that means you can't share an $action between fragments.


> 
> Is it possible (how to) to make a Region scrollable?  and of a particular size?  I was wanting to fix it so that a paged collection (terminology?) inside a region didn't bounce the screen around depending on what it rendered in a table.   How/would I for example leverage (CSS) DIV's ?  I've done this a little the long-hand way before... not sure on best practice with Jifty here, and would appreciate some pointers.

That really does just sound like pretty vanilla CSS. There's nothing 
jifty-specific there.

-jesse



More information about the jifty-devel mailing list