Re: tapestry not really component based?

2006-01-27 Thread mike jones
"when is a component not a component? when its a tapestry component" which is not a bad thing you just have to learn how this great framework works. but the major problem for me is "when is a tapestry component not a tapestry compoent? when its in a loop" I have had problems with tap 3 with this

Re: tapestry not really component based?

2006-01-26 Thread mike jones
I have the same problem when I run my object model which (tapestry components bind their values to) through external validation. I validate the object model and have set of errors and if the errors are inside a component that is in a loop its very hard to attach that error to it. To resolved this I

Re: [TAP 4] Components in loops

2006-01-24 Thread mike jones
Hi Thanks for the responses but unfortunatley I thought of these things and they dont work The results are: - getName(): works outside a loop just fine, just not inside the loop - getClientId(): neither works insdie or outide as it returns null - getId(): this shouldnt be used as its the

[TAP 4] Components in loops

2006-01-24 Thread mike jones
Hi I have a couple of questions about form components in loops. Firstly how am I able to access form components that are in a loop to record an error against them in a listener method? e.g If there are 4 text fields in a loop and I want to add an error to each of them. Also related to this when t

Re: NumericField for customer Number? etc

2006-01-16 Thread mike jones
It return a Number so try something like: ((Number) getTranslatedFieldSupport().parse(this, value)).intValue()); On 16/01/06, spm <[EMAIL PROTECTED]> wrote: > > Seeing that Numeric Field is deprecated...what do people use for an entry > field that can contain numerics only (such as customer num

Re: HtmlArea component for T4.

2006-01-14 Thread mike jones
Hey I wrote a dhtml component using the dojo text editor. It was really simple. I believe there is one the the tacos4 library but if you want to write your own all you need to do is download the latest dojo release (0.2.1 I believe) and create a component thats has a script file something like thi

Re: Friendly URL help in Tap 4.0

2006-01-14 Thread mike jones
lol my finger hurts from the scrolling On 15/01/06, Francis Amanfo <[EMAIL PROTECTED]> wrote: > > Hi Mitch, > > This seems to be the LONGEST email I've seen in my long Internet life. I > think you must be entered into the guiness book of records! :) > > F > > On 1/15/06, Mitch Christow <[EMAIL PRO

Re: instantiating components directly

2006-01-12 Thread mike jones
I had the exact same issue with a calendar component that I wrote which required an link for the dates with events. I ended up writing two versions: one which used a html template for the components with a directlink for each date that had an event, another that implemented IDirect and created its

Re: Print: Tapestry in Action (for Version 4.0 )

2006-01-12 Thread mike jones
http://www.agileskills2.org/EWDT/ I found it very informative On 12/01/06, Rudolf Baloun <[EMAIL PROTECTED]> wrote: > > Hi, > > does someone know, if there is a new version of the book: "Tapestry in > Action". > I need a book for Tapestry version 4.0. > > Best regards > > Rudolf B. > > > -

Re: response.getOutputStream() in listener method

2006-01-11 Thread mike jones
You may want to look at writing a service, and call it from the service link. Kent Tong has a good example in his book, or there is an example in the workbench Cheers Mike On 11/01/06, Mazhar, Osman (Home Office) <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I am trying to stream out content insid

Re: [ANNOUNCE] Tapestry 4.0 (final)

2006-01-08 Thread mike jones
Congratulations! I have been using tapestry 4 since the beta versions and find is a pleasure to develop with. So much so that I chose it for the project at work. This is (as always) a project with very tight deadlines, lots of integration with various technologies and other projects. The new featur

Re: website hosting

2006-01-03 Thread mike jones
http://nameonthe.net/ are pretty cool I hosted a site for my wife on there On 03/01/06, Ron Piterman <[EMAIL PROTECTED]> wrote: > > Will it work with ASF ? > > Lennart Benoot wrote: > > Hi all, > > > > Especially, Hi Howard. > > > > When I look at the site of Ruby on Rails, one of the first thing

Re: Problem with Tapestry 4.0-beta-12?

2005-12-16 Thread mike jones
too am a proponent of CSS design. Maybe ten years from > now > > we'll be in a position to do exactly this. However, we are not. In > addition, > > suppose the user turns off CSS? It would be a poor degradation if the > page > > was delocalized based on the state of CSS

Re: [OT] Favorite testing tools

2005-11-23 Thread mike jones
This is pretty useful http://selenium.thoughtworks.com/index.html On 23/11/05, Paul Field <[EMAIL PROTECTED]> wrote: > > > There are some alternatives to JUnit that do similar things but offer > enhanced functionality: > JTiger: http://www.jtiger.org/ > TestNG: http://www.testng.org/ > > There's

Re: T4 ASO state binding

2005-11-21 Thread mike jones
ding doesn't override isInvariant(), so > if it returns false the first time, the If component will never ask it > again! This is a bug, please add it! > > On 11/21/05, mike jones <[EMAIL PROTECTED]> wrote: > > Hi > > I am trying to use the following to hide secti

Re: Integrating charts in tapestry

2005-11-21 Thread mike jones
Hi If you look at the workbench examples I believe there is an example there. I used this as a basis for my implementation. Cheers Mike On 21/11/05, Ashish Raniwala <[EMAIL PROTECTED]> wrote: > > Hi Guys, > > I am trying to integrate charts in tapestry page. > > Here is the code written for servle

T4 ASO state binding

2005-11-21 Thread mike jones
Hi I am trying to use the following to hide sections of my page using... ... however it always returns false, so even when someone has logged in they never show. However if I use this public abstract void setIsLoggedIn(boolean isLoggedIn); protected void prepareForRender(IRequestCycle cycle)

Re: [SOLVED] Re: NoSuchPropertyException

2005-11-13 Thread mike jones
Hi FYI you can now add the follwoing to your .application file so you dont need to specifiy the class location for your pages or components see http://jakarta.apache.org/tapestry/UsersGuide/configuration.html Mike On 13/11/05, Borut Bolčina <[EMAIL PROTECTED]> wrote: > > Ahh, forgot to put cl

Re: Problem with Tapestry 4.0-beta-12?

2005-11-11 Thread mike jones
language? > > > ציטוט mike jones: > > You may think its a mistake but I suspect that most people who wanted > some > > text to follow a input element would do it. > > A css based form layout is rather tricky and why spend ages getting > right > > css that will wo

Re: Problem with Tapestry 4.0-beta-12?

2005-11-11 Thread mike jones
PROTECTED]> wrote: > > > >>Getting the FieldLabel to work with the various field components > >>(TextField, etc.) is problematic, and only works if the FieldLabel > >>precedes the field itself. I'm not certain this can be properly fixed. > >> &

Problem with Tapestry 4.0-beta-12?

2005-11-10 Thread mike jones
Hi I have the following in one of my html files. When both fields are not filled in I get the following messages from the validation delegate when I loop through the formerrors - You must enter a value for Title. - You must enter a value for Text. - You must enter a value for Text

Re: Injecting ASO in the .page file

2005-11-07 Thread mike jones
However it the if component now returns false if a log out link as added to the page. Logout On 07/11/05, mike jones <[EMAIL PROTECTED]> wrote: > > For anyone who is interested the problem was solved by fixing all the > genertic type warnings in the project! > > On

Re: Injecting ASO in the .page file

2005-11-07 Thread mike jones
For anyone who is interested the problem was solved by fixing all the genertic type warnings in the project! On 07/11/05, mike jones <[EMAIL PROTECTED]> wrote: > > Hi Shing :) > Yeah I fixed that, the problem I have no is that > > always returns false > > > > On

Re: Injecting ASO in the .page file

2005-11-07 Thread mike jones
t; Have you lookat at > http://jakarta.apache.org/tapestry/UsersGuide/state.html#state.aso > > > Shing > > > --- mike jones <[EMAIL PROTECTED]> wrote: > > > Hi > > Quick question I am trying to inject a state object > > into my page class > > th

Injecting ASO in the .page file

2005-11-06 Thread mike jones
Hi Quick question I am trying to inject a state object into my page class through a declaration in the .page file but I keep getting an error. After reading http://jakarta.apache.org/tapestry/UsersGuide/state.html#state.aso.access I have and however I guessed that the documentation was w

Re: Using Quartz Scheduler with Tapestry

2005-11-06 Thread mike jones
hiya ray :) dont know if this will help, but I wrote a hivemodule service that was added to the eager load contribution which had a init method that started all the quartz jobs I was going to try and emulate something like in spring but didnt have the time. cheers Mike On 05/11/05, Ray <[EMAIL PRO

Building Tapesty 3.0.3 Fails

2005-10-29 Thread mike jones
Had a quick check on the mailing list but I couldnt find this problem. When I try to build from the Tapestry-3.0.3-bin.zip it fails becuase it can't download the javassist-2.5.1 file. What it downloads is a html file asking you to select a mirror for the file. -- d-_-b \m/(>_<)\m/ (9ò_ó)-o(@_o)

Re: Getting properties from Enhanced class

2005-07-02 Thread mike jones
sorry I forgot to add that I did actualy solve this the way shinng suggested On 7/2/05, mike jones <[EMAIL PROTECTED]> wrote: > > We have on object model that is a property of a page and form component > values are mapped to properties of this. > > This model is val

Re: Getting properties from Enhanced class

2005-07-02 Thread mike jones
> > On Jul 1, 2005, at 8:28 PM, mike jones wrote: > > > Hello > > I am tring to access the property of a component in the page class but > > it > > always returns null. > > The property is declared... > > > direction="in" /> > > &

Getting properties from Enhanced class

2005-07-01 Thread mike jones
Hello I am tring to access the property of a component in the page class but it always returns null. The property is declared... has an abstact getter and setter in the component class public abstract class WithError extends ValidField ... { public abstract String getError(); public abstr

Re: how to assign component HTML id?

2005-05-10 Thread mike jones
I found it a awkward that Tapestry uses only name in form components especially as I am trying to make everything I do standards compliant. For the html id (in input elements) I mirror the value of the name parameter, as xhtml is leaning towards replacing names with ids. To do this in tapestry ra

Tapestry Developers

2005-04-28 Thread mike jones
All, Sorry is this is a bit rude after only a few posts but... Our company is looking for 2 developers who have experience developing with Tapestry and Hivemind to work with us on a contract basis (initially for 2 months) . The roles will be based in Slough, Berkshire (UK) so you will have to ha

Re: Images not serving (may be Jetty Launcher)

2005-04-20 Thread mike jones
try On 4/20/05, Patrick Casey <[EMAIL PROTECTED]> wrote: > > > You could try setting your images up as assets. > > First you add the asset description to the page upon which you want > to use it: > > > > Then, in that page's html file, you reference the asset e.g. > > > > Remember that