Re: Property Edit Blocks

2011-06-02 Thread Greg Pagendam-Turner
Thanks Thiago, I actually do have a DataTypeAnalyzer in my AppModule public static void contributeDefaultDataTypeAnalyzer(MappedConfiguration configuration) { configuration.add(PersonName.class, "personname"); } Looks like if I take out the translator references everything

Re: What to use for multiple select => (MultiplePropertySelect || Select with Multiple=true)

2011-06-02 Thread ael
I prefer you will use autocomplete for this. http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/autocompletemixin http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/autocompletemixin -- View this message in context: http://tapestry.1045711.n5.nabble.com/What

Re: What to use for multiple select => (MultiplePropertySelect || Select with Multiple=true)

2011-06-02 Thread Andreas Andreou
i think he's talking about T4 , so see http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/multiplepropertyselection.html There's a renderer parameter and an alternative implementation that can render checkboxes On Thu, Jun 2, 2011 at 07:42, nazarhussain_s wrote: > Hi, >  

Re: What to use for multiple select => (MultiplePropertySelect || Select with Multiple=true)

2011-06-02 Thread Bob Harner
Nazar, I know this isn't really an answer to your question, but many people find the hard to use. Usually preferable alternatives are multiple checkboxes (perhaps within a scrolling div), or Tapestry's Palette component http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/co

Re: StackMapTable format error: bad class index

2011-06-02 Thread Taha Hafeez
Hi You have not mentioned which tapestry version you are using ? May be this will help http://tapestry.1045711.n5.nabble.com/T5-StackMapTable-format-error-td2408450.html regards Taha On Thu, Jun 2, 2011 at 9:44 PM, Brian Long wrote: > Hi all, > > getting this error message sporadically when r

StackMapTable format error: bad class index

2011-06-02 Thread Brian Long
Hi all, getting this error message sporadically when running my tapestry application in jetty, was hoping that someone might have encountered this before and would be able to point me in the general direction of a solution? Thanks, Brian. 2011-06-02 16:08:05,109 {33144006@qtp-18954926-4} [T(W9EM

Re: Property Edit Blocks

2011-06-02 Thread Thiago H. de Paula Figueiredo
On Thu, 02 Jun 2011 04:31:55 -0300, Greg Pagendam-Turner wrote: Hi all, Hi! I've also written a translator: Why? A translator is used when you want to edit a property which isn't a String with one text field, and this isn't your case. Your code is missing a DataTypeAnalyzer to defin

Re: Session Time-out

2011-06-02 Thread Kalle Korhonen
Sounds like a good case for a conversational page. Tynamo's tapestry-conversations (http://tynamo.org/tapestry-conversations+guide) allows you to set the max length of a conversation independent of the session timeout and a ajax keep-alive with a drop-in component. Kalle On Thu, Jun 2, 2011 at 7

Re: Session Time-out

2011-06-02 Thread Andreas Andreou
Also, it's usual in such forms to do a "dummy" ajax request from javascript every few minutes so that the session is extended On Thu, Jun 2, 2011 at 17:05, Taha Hafeez wrote: > This is fully documented at > http://tapestry.apache.org/overriding-exception-reporting.html > > I would use version 2 o

Re: [T5.2.5] NPE on form submit

2011-06-02 Thread rorschach
Finally got this one fixed for real. After handling the NPE and digging around a bit more, I found the real culprit. An IllegalStateException that the page threw because one of the custom filters in this project called "sendRedirect()" twice. Refactored the code and everything seems to be working f

Re: Session Time-out

2011-06-02 Thread Taha Hafeez
This is fully documented at http://tapestry.apache.org/overriding-exception-reporting.html I would use version 2 or 3 from that page regards Taha On Thu, Jun 2, 2011 at 7:19 PM, wrote: > I have a problem with Tapestry 5 when the s

Session Time-out

2011-06-02 Thread mwilliamson
I have a problem with Tapestry 5 when the session times out. There is a security policy on my system that requires a session time-out after 30 minutes of non-use. I have a data entry page that can take a long time to complete with many submits. If the session times out and a user then enters mor

Re: Simpler Select configuration

2011-06-02 Thread Josh Canfield
> That is, if you provide a property of type List for the "model" You can also return a map with label and value which is much more useful for database objects. On Jun 1, 2011 6:08 PM, "Bob Harner" wrote: > Inge, > > Interesting ideas. I agree that it would be nice to have a SelectModel > created

Re: Strange problem with tapestry.js

2011-06-02 Thread Taha Hafeez
Ajax with prototype is very slow in ie6. In our company, we have more than 6000 installations of ie6. So, I have to do something about it. When I disable javascript on ie6 it works fine (thanks to tapestry and @XHR). So I am checking out ways of disabling javascript all together in ie6, may be by t

Property Edit Blocks

2011-06-02 Thread Greg Pagendam-Turner
Hi all, I'm working on a property editor block. My Patient object contains an embeddable PersonName object. @Embeddable public class PersonName { String prefix; String given; String family; public String getFormattedName() { String s = this.prefix; if (!s.isEmpty()) { s