T5 : null display SELECT component ?

2007-12-11 Thread Penyihir Kecil
i tried select component but i have difficulty and got stuck on it. i had already read the archive milis, but still have no idea what had happened with mine here's my code i always get null value(no data) to diplay in my select component. when i debug it, getPositionList() in Home.java always

Component with mixed functionality?

2007-12-11 Thread Kaspar Fischer
Hi! My page needs to output a table with a fixed, predefined number of rows. Some of these rows may have empty content and should not be rendered. Each row has a different type (one is a date, another a string, etc.) and I want a class of "even" or "odd", respectively, be attached to . My fir

[T5] announce Tapestry5Howtos addition

2007-12-11 Thread Davor Hrg
There are two more articles now available on http://wiki.apache.org/tapestry/Tapestry5HowTos both are about using tapestry-ioc without the web part http://wiki.apache.org/tapestry/Tapestry5HowToIocOnly http://wiki.apache.org/tapestry/Tapestry5HowToIocAndHibernate Davor Hrg --

unit testing

2007-12-11 Thread Tony Green
I have two questions about unit testing with tapestry. I am trying to create a setup where I can unit test pages using appropriate mocks and stubs for injected business services whether they come from Tapestry IOC or Spring. I've seen the Wiki entries for SpringIntegrationAlternative and Sp

RE: Component with mixed functionality?

2007-12-11 Thread Kristian Marinkovic
have you tried: http://tapestry.apache.org/tapestry4.1/components/general/if.html see also: http://www.nabble.com/Brain-Freeze-Assistence-Please-to1017361.html#a1017361 g, kris Kaspar Fischer <[EMAIL PROTECTED]> 11.12.2007 10:09 Bitte antworten an "Tapestry users" An Tapestry users Kopie

Re: T5: Client persistence bug? User typing lost.

2007-12-11 Thread Geoff Callender
Done. https://issues.apache.org/jira/browse/TAPESTRY-1972 Thanks for the assistance. Geoff On 11/12/2007, at 7:04 AM, Filip S. Adamsen wrote: Looked at it, still looks like a bug. I'd add it to JIRA, but you know exactly what's wrong. ;) -Filip Filip S. Adamsen skrev: I would definitely a

Re: [T5] injecting services into Domain Objects

2007-12-11 Thread Thiago H de Paula Figueiredo
On Mon, 10 Dec 2007 20:01:49 -0200, Kristian Marinkovic <[EMAIL PROTECTED]> wrote: thank you all for your input... Domain Objects sometimes (quite often:)) need other services to meet their function. In this cases, I create a controller class and put the method the implements that functio

T5 : NULL (no data)display for SELECT component ?

2007-12-11 Thread Penyihir Kecil
i tried select component but i have difficulty and got stuck on it. i had already read the archive milis, but still have no idea what had happened with mine here's my code i always get null value(no data) to diplay in my select component. when i debug it, getPositionList() in Home.java always

Re: [T5] Message Page Redirect

2007-12-11 Thread Peter Stavrinides
I agree with Marcelo, the dispatcher works best for me too, it is the way to go because it filters on the request instead of having to repeat code and authorization checks in pages etc. Using an ASO also has its advantages... you could for instance use an ASO that represents your user which is

RE: unit testing

2007-12-11 Thread Joel Wiegman
Tony, The purpose of unit testing is to run your tests in a black box environment. If you auto-load all of the Spring configurations from your web.xml and use them, you're kind of defeating the purpose of unit testing. If you're looking for integration testing (which it sounds like you are), the

CustomFilter

2007-12-11 Thread Michael Bernagou
Hi, I tried to creat emy own filter, a Hibernate filter in fact, like that : [code] // here the imports... compilation ok public class HibernateFilter implements Filter { private TapestryFilter tapestryFilter = new TapestryFilter(); private static Log log = LogFactory.getLog(HibernateFil

Re: CustomFilter

2007-12-11 Thread Michael Bernagou
The error is generated by this line offcourse : private TapestryFilter tapestryFilter = new TapestryFilter(); Still doesn't know why... 2007/12/11, Michael Bernagou <[EMAIL PROTECTED]>: > > Hi, > > I tried to creat emy own filter, a Hibernate filter in fact, like that : > > [code] > // here the i

Re: [T5] injecting services into Domain Objects

2007-12-11 Thread jeffrey ai
> as pointed out by jeffrey i could also pass in the services as needed > but i think this approach will bloat the methods of my domain objects. > have you used this approach on a big codebase? doesn't it have some > negative effects on the expressiveness of the Domain Objects? When some domain l

Re: T4: replacing script asset in AbstractSubmit

2007-12-11 Thread Steve Shucker
A few more days, a few more bugs discovered. Specifically, I wasn't uncovering controls if client side validation failed. Here's a patch to my earlier code that takes care of this (inspired by AjaxStatus) in the script files: dojo.require("dojo.event.common");

Re: T5 : NULL (no data)display for SELECT component ?

2007-12-11 Thread jeffrey ai
There are several examples of how to use "Select" component in the following link. They may help you to figure out what's wrong with your code. http://lombok.demon.co.uk/tapestry5Demo/ Cheers, Jeffrey Ai Penyihir Kecil-2 wrote: > > i tried select component but i have difficulty and got stuck o

Re: T5: Edit page best practice - Mk III

2007-12-11 Thread jeffrey ai
Geoff, I think your code is great for **ONE** edit-page. Our project is looking for a web flow from T5, like the Spring one. Do you have any idea about it? Howard mentioned he may add this feature in the next release. Might be a little late to us, but I am expecting to see it. Cheers, Jeffrey Ai

Re: T5: Edit page best practice - Mk III - now Mk IV

2007-12-11 Thread Geoff Callender
I'm planning on doing one, but not today. If you know your way around T4 then the web flow example in JumpStart Max 2.0.0 may help you. It's at http://files.doublenegative.com.au/jumpstart/ . Here's Mk IV of the single page edit. It seems that recording errors in onSuccess() can cause fie

RE: T4 Excel component

2007-12-11 Thread Istvan Szucs
Hi Joshua, You can user honeycomb's excel export (honey-excel module): http://www.javaforge.com/sharedProjectInfo.do?proj_id=481 You need to contact with the project owner (Marcus) because at this time it is not accessible on javaforge. This project broken on last javaforge upgrade process. I t

Tapestry position (Contract or Full-Time) @ Miami,USA

2007-12-11 Thread sunilmanu
Location: Miami , Florida, United States Investacorp Inc., a leading, publicly traded broker-dealer firm, seeks to hire a Java Developer to join our MIS team. This person will be responsible for the design, development, and maintenance of Java based applications. The candidate will participate