Re: ForBean: 4.1 to 4.1.1

2007-03-13 Thread Sam Gendler
I'm curious why storing a list in hidden fields, even as ids, isn't considered a huge security hole. Doesn't it seem like it is just inviting users to manipulate their application into letting them do things to entities they shouldn't have access to, etc. I use volatile wherever I can, despite t

Re: [T5]Question on ASO configuration

2007-03-13 Thread Howard Lewis Ship
Again, if you ASO is just a normal POJO (public no args constructor), then you don't need to make a contribution to the ApplicationStateManager service configuration. On 3/13/07, Weisu <[EMAIL PROTECTED]> wrote: Hi, I am following the User Guide on ASO, what is "ApplicationStateConfiguration"?

Re: [T5]Question on ASO configuration

2007-03-13 Thread Howard Lewis Ship
Sorry, just a typo; the name of the class should be ApplicationStateContribution (not ApplicationStateConfiguration). On 3/13/07, Weisu <[EMAIL PROTECTED]> wrote: Hi, I am following the User Guide on ASO, what is "ApplicationStateConfiguration"? Do I have to create this interface, the online ex

Re: Tapestry 5.0.2

2007-03-13 Thread Howard Lewis Ship
Just about ready to release 5.0.3, but it's still alpha code, meaning things can change. For instance, when you upgrade from 5.0.2 to 5.0.3 many things may break and even fail to compile. On 3/13/07, KEGan <[EMAIL PROTECTED]> wrote: Hi, I have used Tapestry 4.0.2 in the past (few months ago). I

Re: public abstract Boolean isQuery()

2007-03-13 Thread Jesse Kuhnert
I don't like this behavior either...F-# what javabeans say, if you add the issue to http://jira.opensymphony.com/browse/OGNL I'll make sure it gets fixed. On 3/13/07, Murray Collingwood <[EMAIL PROTECTED]> wrote: Hi all Just trying to clarify my understanding. I had some code that looked like

Re: Shell output

2007-03-13 Thread Jesse Kuhnert
Nevermindfixed now. Use the new "disableTapestryMeta" parameter to suppress this kind of output. On 3/13/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: It doesn't look like it is currently. :/ Sorry about that. It's jira flagged and should be easy enough to hit on the next "bug run" . https:/

Tapestry 5.0.2

2007-03-13 Thread KEGan
Hi, I have used Tapestry 4.0.2 in the past (few months ago). I am quite familiar with Tapestry 4.0.2. Now I want to start a new Tapestry project (a very basic one, probably with only 1 form and a few dynamic pages. Need to finish 4 weeks from today). Would anyone recommended Tapestry 5.0.2 to be

Re: Accessing EJB3s via annotations?

2007-03-13 Thread Jesse Kuhnert
Oh I hadn't even noticed...Good point. There's no limiting reason why javassist wouldn't be able to do it very easily or the Tapestry enhancement API, but you're right - there is currently no standard direct way to do this unless you are a little familiar with the API already. If someone doesn't

Re: Accessing EJB3s via annotations?

2007-03-13 Thread James Carman
I don't know. Would the enhancement workers allow you to enhance a field like that, though? I can see where putting it on a method would be fairly straight-forward, but a field might be a bit tricky. On 3/13/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: It's not for the casual visitor of cours

[T5]Question on ASO configuration

2007-03-13 Thread Weisu
Hi, I am following the User Guide on ASO, what is "ApplicationStateConfiguration"? Do I have to create this interface, the online example code is: public void contributeApplicationStateManager(MappedConfiguration configuration) { ApplicationStateCreator creator = new ApplicationStateCreator(

Re: Shell component

2007-03-13 Thread Jesse Kuhnert
Set "debugEnabled=false" . On 3/13/07, Tomić Mirko <[EMAIL PROTECTED]> wrote: How to prevent tapestry Shell component from inserting some of javascripts to page head? Cause I don't need them all. dojo.registerModulePath("tapestry", "/app?service=asset&path=%2Ftapestry%2F"); dojo.require

Re: Tomcat to Jetty - Pacific Transistion

2007-03-13 Thread Jesse Kuhnert
One of the hivemind jars is on your classpath twice. (ie if you exectued java -classpath hivemind.jar:hivemind.jar:someother.jar ) Just find out who's to blame and remove the extra classpath entries. On 3/13/07, Bruno Mignoni <[EMAIL PROTECTED]> wrote: [My Environment: Windows, TomCat, Eclipse,

Re: T4: Misplaced resource bundle

2007-03-13 Thread Jesse Kuhnert
Hi Richard, You can use the "org.apache.tapestry.namespace-properties-name" meta parameter to control the name of your properties file. http://tapestry.apache.org/tapestry4.1/usersguide/configuration.html I'm also pretty sure I made it search the classpath by default now as well (something for

Re: DatePicker Validation

2007-03-13 Thread Jesse Kuhnert
Javascript does support a Date() object which is very similar to the java.util.Date object. (in fact it was designed with the java Date in mind ...as odd as that may be..) You should have more than enough Date comparison functions available to you by using one of the tapestry Calendar object func

Re: Component parameter

2007-03-13 Thread Jesse Kuhnert
You don't even need to use ognl for that, just do : "item1,item2,item3" .. On 3/13/07, Urban Sombrero <[EMAIL PROTECTED]> wrote: How about: "ognl:{'item1','item2','item3'}" You can use single quotes for strings in ognl. On 3/12/07, Tomić Mirko <[EMAIL PROTECTED]> wrote: > > What I wanted i

Re: Component parameter question

2007-03-13 Thread Jesse Kuhnert
not sure what you mean.something like "ognl:list" ? If that list is gettable via a method like public abstract List getList() on your page class and your component is contained by the page. On 3/13/07, Tomic Mirko <[EMAIL PROTECTED]> wrote: How to pass a list directly to a component as a p

Re: ForBean: 4.1 to 4.1.1

2007-03-13 Thread Jesse Kuhnert
I'm not certain this change happened from 4.1 to 4.1.1 as I'm pretty sure I never made it. Maybe from 3 -> 4 ? The list is stored in the form ~specifically~ so that it does match exactly on render/rewind as anything else would be un-predictable . You can set volatile=true on your list -> but if y

Re: [WARNING] 4.1.2 try to access hidden class java.util.HashMap$Entry

2007-03-13 Thread Jesse Kuhnert
Yes, registering in JIRA is what will start your timer for getting a fix on it. ;) I'll probably fix it pretty quickly assuming the bug report is sufficient to re-produce the error. On 3/12/07, maksymg <[EMAIL PROTECTED]> wrote: Do you know timetable when the issue will fixed? Should I regist

Re: Stopping validators if translator fails

2007-03-13 Thread Jesse Kuhnert
Is this client or server? I'm not certain that I've made the distinction between translators / validators on the client side yet. I guess this could get broken up a little more to stay in sync with server behavior. (jira? ) On 3/10/07, Markus Joschko <[EMAIL PROTECTED]> wrote: Hi, maybe I miss

Re: T4.1.1 - Portlet problem

2007-03-13 Thread Jesse Kuhnert
Looks nasty. I wouldn't be surprised if something had run awful for portlets. I've yet to find a suitably easy environment to setup a simple portlet app to test things in but can hopefully get to it umm soon-ish. On 3/9/07, Martin Petras <[EMAIL PROTECTED]> wrote: Hi, I am trying to port my p

Re: Tapestry 4.1 to send email

2007-03-13 Thread Jesse Kuhnert
The ResponseBuilder solution sounds like the current "right" approach to me. The ResponseDelegateFactory service point is where the different response types get registered and can "claim" handling a particular kind of request using the same sort of voting strategy as other servicesSo for your

Re: Shell output

2007-03-13 Thread Jesse Kuhnert
It doesn't look like it is currently. :/ Sorry about that. It's jira flagged and should be easy enough to hit on the next "bug run" . https://issues.apache.org/jira/browse/TAPESTRY-1350 On 3/9/07, Tomić Mirko <[EMAIL PROTECTED]> wrote: Is it possible to remove: from shell component output?

Re: Accessing EJB3s via annotations?

2007-03-13 Thread Jesse Kuhnert
It's not for the casual visitor of course, but the "integrated" way to do it would be using the enhancement workers. http://tapestry.apache.org/tapestry4.1/tapestry-framework/hivedoc/module/tapestry.enhance.html On 3/8/07, Bastian Voigt <[EMAIL PROTECTED]> wrote: Hi *, in Suns EJB tutorials al

Re: Application Exception handling

2007-03-13 Thread Jesse Kuhnert
I think most the exception infrastructure is focused around building up location / context information more so than exception types, though types are handled as well of course.. . If you want to know how tapestry handles it right now take a look at: http://svn.apache.org/viewvc/tapestry/tapestry

Re: Upgrade to 4.1.1 or wait to 4.12

2007-03-13 Thread Jesse Kuhnert
I think at this point it's usually when enough people get annoyed at being on SNAPSHOT to ask for a release. ;) I'm still a little scared of the ognl changes as I've made fixes to ognl itself on almost a daily basis. (none today thankfully) Maybe if it quiets down for another week or so a release

Re: Upload file component(async problem)

2007-03-13 Thread Jesse Kuhnert
Sorry. This is handleable semi-transparently but I hadn't gotten around to it yet. (probably something similar to what tacos:AjaxForm does ) I've filed a jira issue for it. https://issues.apache.org/jira/browse/TAPESTRY-1348 On 3/7/07, VitalyA <[EMAIL PROTECTED]> wrote: Hello all, I try to upl

Re: Friendly URLs in libraries

2007-03-13 Thread Jesse Kuhnert
Would probably need to know what doesn't work with pages in libraries to be able to help .(preferrably with a sample of some sort that is easy to run - attached to a jira issue ) On 3/6/07, Stephane Decleire <[EMAIL PROTECTED]> wrote: Hi, I've tried to implement friendly urls with the solution

Shell component

2007-03-13 Thread Tomić Mirko
How to prevent tapestry Shell component from inserting some of javascripts to page head? Cause I don't need them all. dojo.registerModulePath("tapestry", "/app?service=asset&path=%2Ftapestry%2F"); dojo.require("dojo.logging.Logger"); dojo.log.setLevel(dojo.log.getLevel("WARNING")); dojo.r

Tomcat to Jetty - Pacific Transistion

2007-03-13 Thread Bruno Mignoni
[My Environment: Windows, TomCat, Eclipse, WTP, tapestry 4.0.2] I used a Tomcat, but now i want to test ( change ) Jetty. I installed a Jetty and a Jetty Laucher with demo.xml D:/workspace/bruno/InternetBanking/ That is a place where the TomCat used to execute an InternetBanking. I added to d

T4: Misplaced resource bundle

2007-03-13 Thread Richard Clark
Hi all, I've inherited a project where the resource bundle is in WEB-INF/classes (T4 expects it in WEB-INF) and the localized messages aren't being found (I get[key.name] instead.) I have to leave the resource bundle where it is to support some other software. How do I configure Tapestry 4 to fi

Re: Re: Eclipse is very Slow - What do i have to do be more fast the developing?

2007-03-13 Thread Konstantin Ignatyev
Need to have 2GB at least these days :( --- Bruno Mignoni <[EMAIL PROTECTED]> wrote: > I Have 1 GB RAM :-) > > On 3/13/07, Adli <[EMAIL PROTECTED]> wrote: > > > > Why don't you invest on more RAM, hehe > > I noticed Eclipse work better with more RAM. > > Sometimes Eclipse bloated with stuffs we

Re: Re: Eclipse is very Slow - What do i have to do be more fast the developing?

2007-03-13 Thread Bruno Mignoni
I Have 1 GB RAM :-) On 3/13/07, Adli <[EMAIL PROTECTED]> wrote: Why don't you invest on more RAM, hehe I noticed Eclipse work better with more RAM. Sometimes Eclipse bloated with stuffs we unnecessarily install. On 3/12/07, Kristian Marinkovic <[EMAIL PROTECTED]> wrote: > > hls wrote a good t

Re: Re: Eclipse is very Slow - What do i have to do be more fast the developing?

2007-03-13 Thread Adli
Why don't you invest on more RAM, hehe I noticed Eclipse work better with more RAM. Sometimes Eclipse bloated with stuffs we unnecessarily install. On 3/12/07, Kristian Marinkovic <[EMAIL PROTECTED]> wrote: hls wrote a good tutorial in his T5 tutorial: http://tapestry.apache.org/tapestry5/t5-

Re: public abstract Boolean isQuery()

2007-03-13 Thread Steve Shucker
big-B Boolean uses get/set little-b boolean uses is/set you need one of public abstract Boolean getQuery() public abstract Boolean getIsQuery() public abstract boolean isQuery() -Steve Murray Collingwood wrote: Hi all Just trying to clarify my understanding. I had some code that looked like

Re: public abstract Boolean isQuery()

2007-03-13 Thread Patrick Klein
Hello, i think the problem is that you used the Object-type Boolean not the simple-type boolean. For some reason (bug?) it's booleanValue() method is not called... I personally never tried using Boolean as persist variables in my pages. Regards, Patrick Hi all Just trying to clarify my u

Re: DatePicker Validation

2007-03-13 Thread Marcos Chicote
Thanks! I have the book and i have read most of it. However I thought there might be a simpler way of validating this without writing an ugly month-translating javascript function. - Original Message - From: "Peter Schröder" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Monday, March 1

public abstract Boolean isQuery()

2007-03-13 Thread Murray Collingwood
Hi all Just trying to clarify my understanding. I had some code that looked like the following: @Persist public abstract Boolean isQuery(); The above code gives me an error, 'no implementation in class', and it took me a while but I finally figured the problem that the enhanced class was not id

AW: Windows + Eclipse + WTP + Tapestry 4.0.2 + Jetty - Maven

2007-03-13 Thread Peter Schröder
sure you can. just put all required libs in your classpath. no, maven increases development speed. -Ursprüngliche Nachricht- Von: Bruno Mignoni [mailto:[EMAIL PROTECTED] Gesendet: Montag, 12. März 2007 21:48 An: Tapestry users Betreff: Windows + Eclipse + WTP + Tapestry 4.0.2 + Jetty