For loops in a form...

2007-03-26 Thread Giaccone, Anthony CTR DTIC-A
I'm totally confused. I'm trying to create a dynamic form. I have two different lists of beans on the page. In the first list (LineItems) I can change values in text fields and the values in the beans in the list update. I can add new beans to the list and delete beans from the list. I can als

RE: OGNL AND errors

2007-03-26 Thread Ben Dotte
Certainly--I have started opening cases for the remaining open issues. I will file any more OGNL bugs I see in JIRA going forward as well. Thanks!!! -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 1:54 PM To: Tapestry users Subject: Re: OGNL

Re: OGNL AND errors

2007-03-26 Thread Jesse Kuhnert
Any chance you could do me a favor and file them in http://jira.opensymphony.com/browse/OGNL ? (it'll make it easier than filtering through mailing list emails ) On 3/26/07, Ben Dotte <[EMAIL PROTECTED]> wrote: Excellent, again I really appreciate it. While you're in there string concatenation

RE: OGNL AND errors

2007-03-26 Thread Ben Dotte
Excellent, again I really appreciate it. While you're in there string concatenation appears to have some issues as well. For example: whereas it used to output a class of just "tabHeader". This causes problem for us in a few places, and may also be the cause of another string problem. Here is a

Re: T5: maven build error

2007-03-26 Thread Howard Lewis Ship
Which version do you use? I've head rumors that 0.0.10 is unstable, so I've been holding back at 0.0.9. On 3/26/07, Celia Mou <[EMAIL PROTECTED]> wrote: Hi, has anyone tried to build a distribution of a T5 project using Eclipse Maven plugin? When I tried to build after following the steps of t

Re: T5 Custom AssetFactory

2007-03-26 Thread Howard Lewis Ship
Something looks very odd there, I can't imagine where "classpath:" would come from. Are you sure it isn't "classpath:myassets:path.to.file"? That I think I could explain. Just make sure you are using the prefix consistently. Also, remember that for AppModule changes, you do need to restart for

T5: maven build error

2007-03-26 Thread Celia Mou
Hi, has anyone tried to build a distribution of a T5 project using Eclipse Maven plugin? When I tried to build after following the steps of the tutorial and adding my own java and template files, it failed on the war file making. Here are the beginning line of the error dump:

Re: Custom Validator - name not defined.

2007-03-26 Thread Gareth
Ok, please ignore my email requesting help, the answer was to do this: - Original Message From: Gareth <[EMAIL PROTECTED]> To: users@tapestry.apache.org Sent: Monday, 26 March, 2007 7:00:36 PM Subject: Custom Validator - name not defined. Hi, I've spent the last couple of hou

Re: Maven jetty problem

2007-03-26 Thread Celia Mou
Hi, What i did was: After running the first maven command, go into the project directory of the project just created, then do "mvn jetty:run" That worked. It wouldn't work if you're outside the project directory. Hope it helps. celia Christoph Jaeger wrote: -BEGIN PGP SIGNED MESSAGE-

Re: OGNL AND errors

2007-03-26 Thread Jesse Kuhnert
Yep.but this is probably still a bug...I'll get it tonight. On 3/26/07, Ben Dotte <[EMAIL PROTECTED]> wrote: Ok, actually the concrete listSource implementation in this case does extend ArrayList in addition to implementing the ListSource interface--that's got to be where this is coming from

Custom Validator - name not defined.

2007-03-26 Thread Gareth
Hi, I've spent the last couple of hours looking through the Gmane archives for this forum, but to no avail. I've created a custom validator (extending the BaseValidator class), and added a hivemind contribution as follows: I then try to use this validator with the following line:

RE: OGNL AND errors

2007-03-26 Thread Ben Dotte
Ok, actually the concrete listSource implementation in this case does extend ArrayList in addition to implementing the ListSource interface--that's got to be where this is coming from. -Original Message- From: Ben Dotte [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 12:10 PM To: T

OGNL 2.7 error

2007-03-26 Thread maksymg
Hi, The expression 'page.specification.getProperty('page_group')' stopped working after trying to upgrade to T4.1.2. I use the latest ognl-2.7-20070325.025541-16. Any ideas? Error: Unable to parse OGNL expression 'page.specification.getProperty('page_group')': Error compiling expression on obje

RE: OGNL AND errors

2007-03-26 Thread Ben Dotte
getListSource() returns a ListSource object, which is one of our own interfaces. It has a getTotal() method that returns an int, which is what I expect to have called in this case. So the problem appears to be that it thinks getListSource() returns a java.util.List, then it tries to call the get()

Re: OGNL AND errors

2007-03-26 Thread Jesse Kuhnert
Aha..So what kind of interfaces does your listSource implement? On 3/26/07, Ben Dotte <[EMAIL PROTECTED]> wrote: Aha! "count" is a parameter, it is what is being passed in for count that is the problem. Here is the template portion: So the "components.doxList.model.listSo

RE: OGNL AND errors

2007-03-26 Thread Ben Dotte
Aha! "count" is a parameter, it is what is being passed in for count that is the problem. Here is the template portion: So the "components.doxList.model.listSource.total" is what isn't being evaluated properly. Looking closer at the stack trace I see how it is expanding the ognl

RE: OGNL AND errors

2007-03-26 Thread Ben Dotte
I upgraded javassist to 3.4.ga so it should be the same version. I just verified that is the one on the build path too. I'm fairly certain I got all of our dependencies up to date with the versions listed on the Tapestry site but I'll double check that as well. -Original Message- From: Jes

Re: OGNL AND errors

2007-03-26 Thread Jesse Kuhnert
What version of javassist are you using? In my test suite I've created a similar count > 0 expression for every conceivable type / object combination I can think of with no failure. ...So I'm either not correctly re-creating the exact object structure you have or we are on different version of jav

RE: OGNL AND errors

2007-03-26 Thread Ben Dotte
I got the latest OGNL snapshot from 3-24 but the "ognl:count > 0" expression still isn't working. I get a different exception however: Unable to parse OGNL expression 'count > 0': Error compiling expression on object [EMAIL PROTECTED]/$ShowAll] with expression node count > 0 getter body: null sett

Re: BaseComponent begin render

2007-03-26 Thread Steve Shucker
Yes, it'll work just fine - with one caveat. pageBeginRender/pageEndRender are called for all (rendered?) components on your page. If you're using Block/RenderBlock to render a component from another page, that component won't have its pageBeginRender/pageEndRender methods called. Unless you

JumpStart v1.0 is now available

2007-03-26 Thread Geoff Callender
Tapestry JumpStart v1.0 is now available. New in this version: * Live examples, with their source displayed right there on the page: Hello World! Simple Output Simple Input Validation Validators

Re: Portlets and Liferay?

2007-03-26 Thread moorthy
Hi, i am new to portlet can you send me portlet example codes . and also deployment descriptor file for the example. thanks guna jfsingletin wrote: > > I've been down this path. I liked tapestry from a development point of > view, but had a problem with performance wrt Portlets. Basi

Re: Why submit again when click refresh button in IE ?

2007-03-26 Thread Thiago H de Paula Figueiredo
On Mon, 26 Mar 2007 09:50:22 -0300, Pablo Ruggia <[EMAIL PROTECTED]> wrote: No, it is not. tapestry-flash is a kind of property persistence. You're right. I forgot to mention that http://howardlewisship.com/tapestry-javaforge/tapestry-flash/ also shows how to use redirect-after-post in Tap

Re: Why submit again when click refresh button in IE ?

2007-03-26 Thread Pablo Ruggia
No, it is not. tapestry-flash is a kind of property persistence. Redirect after post is implemented the way Huang Gehua told, or getting the page service if your page does not implement the external interface. On 3/26/07, Thiago H de Paula Figueiredo <[EMAIL PROTECTED]> wrote: On Mon, 26 Mar 20

Re: Why submit again when click refresh button in IE ?

2007-03-26 Thread Thiago H de Paula Figueiredo
On Mon, 26 Mar 2007 08:35:04 -0300, Pablo Ruggia <[EMAIL PROTECTED]> wrote: You have to implement redirect after post pattern. http://www.theserverside.com/tt/articles/article.tss?l=RedirectAfterPost Nice reading, but it is already implemented by Howard in tapestry-flash: http://howardlewiss

Re: Why submit again when click refresh button in IE ?

2007-03-26 Thread Huang Gehua
public ILink onSubmit(IRequestCycle cycle) { //your some codes here //below is the redirect code.Remember this method must return a ILinK. ExternalServiceParameter esp=new ExternalServiceParameter("member/LeaveWord",new Object[]{getUserIdBeViewed()}); return this.get

Re: Why submit again when click refresh button in IE ?

2007-03-26 Thread Pablo Ruggia
You have to implement redirect after post pattern. http://www.theserverside.com/tt/articles/article.tss?l=RedirectAfterPost On 3/26/07, Stony Zhang <[EMAIL PROTECTED]> wrote: Hi everyone, I have a question in T4, that is, After I submit a form (have sent something

RE: Tapestry 4.1.1 and open session in view

2007-03-26 Thread Marcus.Schulte
Manually initialising collections makes your "service layer" implementation depend on the presentation layer implicitly. This is evil. You'll want to make sure that Hibernate entities are NOT persisted via standard serialization but using their hibernate entity-name + id. While tapernate & honeyco

AW: Tapestry 4.1.1 and open session in view

2007-03-26 Thread Maximilian Weißböck
Hello Francesco, we use the open session in view filter and have no real problems so far. But what we also do, we define database views for joining the values we need, we do not join very much in hibernate. Somtimes I have the feeling, that people try to do to much in hibernate and they forge