PropertySelection

2006-06-01 Thread abuer
Hello, In a page that display a query form and query results together, I want to remember the property selected by the user for the last query. I store this value in a page property, but I cannot get the PropertySelection to render using the previous value for the default value. It reverts

@Persist documentation?

2006-06-01 Thread Jean-Eric Cuendet
Hi, I'm unable to find @Persist annotation doc... Could someone point me to some? Thanks. -jec -- Best regards / Salutations. Jean-Eric Cuendet Senior developer / Technical support Riskpro Technologies SA Av. Louis-Ruchonnet 2 CH-1003 Lausanne Switzerland Direct: +41 21 637 0123 Principal

Re: @Persist documentation?

2006-06-01 Thread Shing Hing Man
Have you checked out the following? http://jakarta.apache.org/tapestry/tapestry-annotations/index.html#Persist Shing --- Jean-Eric Cuendet [EMAIL PROTECTED] wrote: Hi, I'm unable to find @Persist annotation doc... Could someone point me to some? Thanks. -jec -- Best regards /

Re: @Persist documentation?

2006-06-01 Thread Jesse Kuhnert
http://jakarta.apache.org/tapestry/tapestry-annotations/index.html#Persist On 6/1/06, Jean-Eric Cuendet [EMAIL PROTECTED] wrote: Hi, I'm unable to find @Persist annotation doc... Could someone point me to some? Thanks. -jec -- Best regards / Salutations. Jean-Eric Cuendet Senior developer /

Re: Visit object

2006-06-01 Thread Mário Lopes
On 6/1/06, Andreas Bulling [EMAIL PROTECTED] wrote: On 01. Jun 2006 - 17:56:58, Mário Lopes wrote: | Hi. | | I've been following Tapestry in Action to implement a Visit session | object but I was unable to make it work. Declaring a getVisit(); as | abstract and then calling it through Visit

Re: Visit object

2006-06-01 Thread Andreas Bulling
| Following your advice, I've created my own class, called Visit | (original isn't it? :-) and added this to hivemind.xml | | contribution configuration-id=tapestry.state.ApplicationObjects |state-object name=user-visit scope=session | create-instance class=com.icom.crm_feup.Visit/ |

Border question

2006-06-01 Thread Carl Pelletier
Hi, I'm looking for advise, tips or idea here. I'm beginning the development of a site in Tapestry 4.0 and I don't know how to implement all my levels of menu without creating many border page.What I'm trying to do is implementing component that will render my menu. The problem I have, is that all

Re: Border question

2006-06-01 Thread Andreas Bulling
On 01. Jun 2006 - 14:06:48, Mark Stang wrote: | The other option is to create your own menuing component. Start with manually coding a couple of HTML pages to get the LF. Then abstract it backwards into a component that creates the HTML on-the-fly. Then just add that component/components to

RE: Visit object

2006-06-01 Thread James Carman
Try renaming what you call the getter/setter. See what that does. There is a deprecated getVisit() method on IPage. -Original Message- From: Mário Lopes [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 4:35 PM To: Tapestry users Subject: Re: Visit object This is the error

RE: Border question

2006-06-01 Thread Mark Stang
There is another option to get around that restriction. It is what Howard calls my mutant application. I have one Frame.html/Frame.page/Frame.java. All of my other pages are popups. There are about 5 or 6 of those. In addition, I have 130 components. None of my components have any border

Re: Border question

2006-06-01 Thread Andreas Bulling
Hi Mark, sounds as a solution even if I don't understand what you were trying to explain... Some sample code would help a lot, is there something you can show us/commit to one of the widely known Tapestry repositories? Cheers, Andreas On 01. Jun 2006 - 14:51:00, Mark Stang wrote: | There is

Re: Issues with Label Components with Tapestry 4.0

2006-06-01 Thread Jesse Kuhnert
Sure, but at that point you are basically overriding the behaviour provided by the ValidationDelegate when it does before/after field rendering (not talking about FieldLabel). The FieldLabel component already supports informal parameters. I noticed in your first email you mentioned trying to do

RE: Border question

2006-06-01 Thread Mark Stang
Andreas, Here is an excerpt from Frame.html: !--This is our headcrumbs and breadcrumbs, which we don't show if it is the portal page.-- span jwcid=@contrib:FormConditional condition=ognl:! page.visit.currentTasklet.isItPortal() span jwcid=@contrib:FormConditional condition=ognl:!

RE: Border question

2006-06-01 Thread Mark Stang
Sorry, forgot about the list filtering attachments: http://www.markjstang.com/tapestry/ regards, Mark -Original Message- From: Mark Stang Sent: Thu 6/1/2006 3:57 PM To: Tapestry users Subject: RE: Border question Andreas, Here is an excerpt from Frame.html: !--This is our

XMLHTTPRequest within tapestry

2006-06-01 Thread Peter Dawn
hi all, i am trying to implement XMLHTTPRequest within my web app. now for starters i would like to display a log file (which is constantly updating), within my web app. how should i display its contents without refreshing the page manually (it should display information as the log gets filled

Re: Border question

2006-06-01 Thread Omar Valerio
Hi Carl, You should use some sort of JavaScript based menu generation solution. They are plenty of them, most of them allow you to configure menu generation based on some sort of configuration file, or you can even handle the JS been written on the fly by your web engine. Personally I use:

Re: Unable to read OGNL expression 'parsed OGNL expression'

2006-06-01 Thread Bryan Lewis
Hard to say without seeing the java code and page spec. It looks like the page class should have a property model that's returned by a getModel() method. (That's the object you're calling the bean?) I'm guessing you should have something like: public abstract class MyPage ... {

submit listener not getting invoked??

2006-06-01 Thread Aninder Makkar
Hi Guys, Im using a submit button in the form , input jwcid=[EMAIL PROTECTED] listener=ognl:listeners.submit disabled=ognl:disable id=ognl:submitId / initially when the page renders ,disable=true and id = aaa this form displays a tree structure data and as the user gets to the

Re: XMLHTTPRequest within tapestry

2006-06-01 Thread Ryan Holmes
Have you checked out DWR (http://getahead.ltd.uk/dwr/)? It might be a good fit for what you're trying to do and it's framework agnostic, so it will work fine with Tapestry 3. It's also pretty darn easy to use. -Ryan Peter Dawn wrote: just tried to implement it now. the country list example

Running the Tapestry Tutorial

2006-06-01 Thread Murray Collingwood
Hi folks Sorry, this is a real newby question - how do you run the Tapestry Tutorial in Eclipse? I have installed Eclipse 3.1 (C:\Eclipse) and downloaded the Tapestry Tutorial zip. I extracted the Tutorial files into a folder - C:\TapestryTutorial I found a file called INFO.txt and tried to

Re: submit listener not getting invoked??

2006-06-01 Thread Jesse Kuhnert
I think tapestry expects the id to be synchronized with the id of a valid listener that it knows about...Changing the submit button id on the fly like that will likely get undesired results unless you also change some of the hidden form input fields to reflect your change. Why do you need to

Re: Running the Tapestry Tutorial

2006-06-01 Thread Jesse Kuhnert
No idea what the tutorial stuff is showing, but I do know if you check out either tacos (http://tacos.sourceforge.net ) or the current tapestry4 trunk version (trunk from either project) you will find eclipse shared run configurations for the tacos demo or the upcoming (unreleased / documented)

Re: Unable to read OGNL expression 'parsed OGNL expression'

2006-06-01 Thread Jesse Kuhnert
Perhaps a message sort of like source is null for expression blah blah? On 6/1/06, Bryan Lewis [EMAIL PROTECTED] wrote: Hard to say without seeing the java code and page spec. It looks like the page class should have a property model that's returned by a getModel() method. (That's the object

Re: submit listener not getting invoked??

2006-06-01 Thread Jesse Kuhnert
Sounds good :) Just as an fyi though, it's pretty easy to define images using css classes instead of id based definitions..Ie .myClassName { background-image:url(something.gif) } Then you just use different classes for different buttons. On 6/2/06, Aninder Makkar [EMAIL PROTECTED] wrote: