Re: More complex types in Meta/ InjectMeta annotations

2005-11-05 Thread Sebastiaan van Erk
Hi, Thanks for your reply! Currently I did implement it in the second way you explained, but I wasn't too happy with it... I like your other suggestion, that way I can move the code cleanly to a reusable utility class and my Page class won't have any clutter nor will it have to change when

Re: TableView

2005-11-05 Thread andyhot
Αρχικό μήνυμα από Kent Tong <[EMAIL PROTECTED]>: > Peter Truong visionmax.com> writes: > > > I was wondering if anyone can tell me exactly how to implement the low > level > > table components. Basically i > > want to put a second page navigation tool at the bottom of my table. > > Use a T

Re: TableView

2005-11-05 Thread Kent Tong
Peter Truong visionmax.com> writes: > I was wondering if anyone can tell me exactly how to implement the low level > table components. Basically i > want to put a second page navigation tool at the bottom of my table. Use a TableView and put your navigation tool in it. -- Author of a book f

Re: Can Tapestry 4.0 generate the XML prolog?

2005-11-05 Thread Kent Tong
Tapestry tapestryforums.com> writes: > I couldn't produce the exact same HTML output with Tapestry. > Using the Shell component I can set only the doctype but not the XML > prolog! Write your own Shell component. It's simple: XMLShell.html: XMLShell.jwc:

Re: Generating Links to Components outside the request cycle

2005-11-05 Thread Kent Tong
Patrick Casey adelphia.net> writes: > In brief, I have to send out a lot of emails in response to > certain user actions. We're not talking thousands here, but a few hundred > isn't inconceivable. Each of these emails needs to include external links > back to certain tapestry pages wi

Re: More complex types in Meta/ InjectMeta annotations

2005-11-05 Thread Kent Tong
Sebastiaan van Erk sebster.com> writes: > > Hi, > > Just wondering if it was possible to accomplish this somehow: > > Meta("my-array={ string1, string2 }") > public abstract class TestPage extends BasePage { > > InjectMeta("my-array") > public abstract String[] getMyArray(); >

Re: AssetEngine

2005-11-05 Thread Kent Tong
Tapestry tapestryforums.com> writes: > Whenever I make a run a Hibernate query, I get a null-pointer exception with > the stack trace listed below. > I'm not sure what the problem is! I have a feeling it is thread related. (The > debugger isn't being very helpful) > # org.hibernate.tuple.Abstr

Re: non standart component placement

2005-11-05 Thread Kent Tong
gorodok.net> writes: > I have question about components placement. In my project i have > WEB-INF folder and components folder in it. In components folder i > have *.jwc files and *.html files with components specs and template. > In application xml file i placed something like >specificatio

Re: best practices?

2005-11-05 Thread Norbert Sándor
It persists per session, so each user have a separate value. It is because if you write only @Persist then it is the same as @Persist(value="session"), so the default persistence strategy is "session-scoped". BR, Norbi - Original Message - From: "jeff emminger" <[EMAIL PROTECTED]> T

Re: best practices?

2005-11-05 Thread jeff emminger
ok, so maybe i misunderstand how @Persist works - does it persist that object per-session, so only that current user has that specific object persisted, or does it persist the object on application-scope, so if someone else were to type in the edit url they would also get that persisted object?

Re: best practices?

2005-11-05 Thread Ron Piterman
ציטוט jeff emminger: looking for some tips from the experienced... Not sure I match but give it a try... i've developed a simple wiki as a learning project. for my wiki crud pages, i've given them a WikiPage property so i can retrieve a WikiPage object from the database, and set it on the

best practices?

2005-11-05 Thread jeff emminger
looking for some tips from the experienced... i've developed a simple wiki as a learning project. for my wiki crud pages, i've given them a WikiPage property so i can retrieve a WikiPage object from the database, and set it on the page along the lines of WikiPageUpdate: @Persist public abs

Re: help with positional page anchors, please

2005-11-05 Thread Doug Lochart
Thanks! I think that'll git-r-done! On 11/5/05, Ron Piterman <[EMAIL PROTECTED]> wrote: > > the javascript is > document.url.hash="#..." > you can call that on document load (never tried). > > http://www.unix.org.ua/orelly/web/jscript/refp_419.html > > Cheers, > Ron > > > > > > ציטוט Doug Lochart:

Re: Tassel/DynamicSelectionList for 4.0

2005-11-05 Thread Ron Piterman
Hi, We have ported deppLB (google) to tapestry 4.0. It takes a content tree and lets you render multiple selects, setting *one* value - a child node. parent nodes selection is not allowed. Need it? Cheers, Ron ציטוט Eric Schneider: Hi, I was wondering if anyone has ported the DynamicSelecti

Re: help with positional page anchors, please

2005-11-05 Thread Ron Piterman
the javascript is document.url.hash="#..." you can call that on document load (never tried). http://www.unix.org.ua/orelly/web/jscript/refp_419.html Cheers, Ron ציטוט Doug Lochart: I am not a javascript superstar but I bet there is a way so simulate an anchor click just like a button click

Re: tabbed form validation

2005-11-05 Thread Norbert Sándor
The tabs are only to separate and simplify the user interface. All fields on the tabs belong to one object. Therefore I save the data to DB when the user presses the SAVE button. When she/he changes the current tab, nothing is saved to the DB, only a submit is performed. Currently I switched t

Re: tabbed form validation

2005-11-05 Thread Ron Piterman
Hi Norbert - well it depends on how you implement the tabs, when do you save the data aso - if you dump the data to the database on each Tab's submit, than you must do so also when switching tabs , but there are many many possiblities there - its hard to tell - how is the workflow generally

Using Quartz Scheduler with Tapestry

2005-11-05 Thread Ray
Hello there. I'd like to use the Quartz scheduler with a Tapestry application, so that I can check some database records at set intervals (yes I know, bizarre!). I was wondering what is the bst way to set this up under Tapestry? I could just create a class that starts the scehduler when it g