Re: How do I add an activation context when navigating to a new page?

2009-10-08 Thread Ted Steen
No, that's not the way to do it. I would inject the page, set the context and then return that page from the event handler method. Don't forget to implement onActivate(...) and onPassivate(...) on the page 2009/10/8 Gunnar Eketrapp : > Hi ! > > I have problem with adding a context to a page that

Re: New Tapestry Website - Final review

2009-09-21 Thread Ted Steen
+1 for static menus 2009/9/21 Sergey Didenko : > It would be really good to place search hints from this thread: > "search hints for Tapestry 5" (July, 23) in "User guide" menu. > > - > To unsubscribe, e-mail: users-unsubscr...@ta

Re: Zones and blocks inside components

2009-08-17 Thread Ted Steen
Something like this? Index.tml http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"; xmlns:p="tapestry:parameter"> A Zone! A Block! A link Index.java public class Index { @Inject private Block aBlock; @OnEvent(component = "anActionLink", valu

Re: Encoder may not be instantiated directly.

2008-09-26 Thread Ted Steen
You should not put non-component code under component packages. see http://tapestry.apache.org/tapestry5/guide/component-classes.html move the CountryEncoder to something like com.shared.util instead. 2008/9/27 Keith Bottner <[EMAIL PROTECTED]>: > I am trying to use a bundle a select component for

Re: T5 File Upload inside AjaxFormLoop? (as in several attachments to a mail message)

2008-09-13 Thread Ted Steen
It is not possible to send files over AJAX requests. What I have done (and seen others do) is to do a post in the background via an IFrame. This is something that would be super if the framework would do for us. 2008/8/22 Sven Homburg <[EMAIL PROTECTED]>: > hi robert, > > i try it out with the upl

Re: t5: pass few parameters to 2nd page

2008-07-09 Thread Ted Steen
example, when multiple values are annotated they are added to the context in alphabetical order. 2008/7/9 Francisco Manzano <[EMAIL PROTECTED]>: > why don't ? > > Ted Steen wrote: >> >> I dont think you can use that with multiple values as the context :/ >>

Re: t5: pass few parameters to 2nd page

2008-07-09 Thread Ted Steen
I dont think you can use that with multiple values as the context :/ 2008/7/9 Francisco Manzano <[EMAIL PROTECTED]>: > Or, you can use the new @PageActivationContext annotation for a greater > simplicity > > Zanius > > Ted Steen wrote: >> >> Just add more

Re: t5: pass few parameters to 2nd page

2008-07-09 Thread Ted Steen
Just add more parameters to the activate/passivate-methods. Or you can use (Object[] parameters). Or you can use (EventContext context) The way to go for you would be to just add more parameters to the activate/passivate-methods. 2008/7/9 t <[EMAIL PROTECTED]>: > void onActivate(String message) >

Re: T5: what's the new wisdom for Tapestry-Hiberante in 5.0.13?

2008-06-24 Thread Ted Steen
Add @CommitAfter on the service methods that should commit. That way tapestry-hibernate will commit the transaction and start a new one at the end of that method-invocation. 2008/6/24 Angelo Chen <[EMAIL PROTECTED]>: > > Hi, > > I left T5 for quite sometime and just came back to upgrade my 5.0.11

Re: How to call service during startup?

2008-05-30 Thread Ted Steen
Take a look at the @EagerLoad annotation, it might be what you are looking for. http://tapestry.apache.org/tapestry5/tapestry-ioc/service.html 2008/5/30 9902468 <[EMAIL PROTECTED]>: > > Hi! > > My parameter service needs to connect to database, inspect that all > parameters are inplace, and if th

Re: [ANN] New article about Tapestry 5

2008-05-12 Thread Ted Steen
Very nice! This is needed! 2008/5/12 Filip S. Adamsen <[EMAIL PROTECTED]>: > Wow, that's a mighty fine article! :) > > -Filip > > > On 2008-05-11 20:58, Renat Zubairov wrote: > > > Hello All, > > My self and Igor Drobiazko are proud to present our new article about > > Tapestry 5: > > > > "Tapes

Re: Could not find a coercion from type java.lang.String to type com.****.lighting.guidecontrol.view.BreadcrumbBean

2008-04-18 Thread Ted Steen
Without having read this thread carefully I suggest that you try to add volatile="true" to your loop. 2008/4/18, Jan Vissers <[EMAIL PROTECTED]>: > The problem is somehow related to the way my page and component are > hooked up/working. > > For testing purposes I now create the Breadcrumb list i

Re: Trolls (Rob Smeets, Emmanuel Sowah, you know)

2008-04-15 Thread Ted Steen
Joseph Kobe is a third personality in this schizophrenic troll's twisted mind. 2008/4/15, Chris Lewis <[EMAIL PROTECTED]>: > Dear list, > > Today I published a simple article on the dealing of trolls on the list, > and I specifically targeted our friend currently operating under the > alias "Ro

Re: Getting Answers on the User List

2008-04-14 Thread Ted Steen
Yeah, well, you know, that's just, like, your opinion, man. 2008/4/11, Rob Smeets <[EMAIL PROTECTED]>: > And especially, Howard himself recently participates in the answering of > questions. Thanks to the stiff competition out there in the webframework > space that has triggered this. His ego we

Re: 答复: from T5.0.11 to T5.0.6

2008-04-08 Thread Ted Steen
Are you aware of the fact that T5 is alpha software? And open source for that matter, feel free to contribute... 2008/4/8, Rob Smeets <[EMAIL PROTECTED]>: > Of course with T5.0.6- even within different versions of T5 there is no > backward compatibility. What a pity! > > Rob

Re: 答复: from T5.0.11 to T5.0.6

2008-04-08 Thread Ted Steen
Good to hear! With T5.0.6 or T5.0.11? 2008/4/8, Natia Gdzelishvili <[EMAIL PROTECTED]>: > I've made new project and add my classes and now every thing work > > > 2008/4/8 Natia Gdzelishvili <[EMAIL PROTECTED]>: > > > > i change version because i had problem: > > AddCelebrity.tml > > > > > >

Re: T5 : Strange exception ...

2008-04-08 Thread Ted Steen
You shouldn't put non components under the components package. If you do that Tapestry will do runtime class instrumentation on the class and you will end up with exceptions like that. Atleast this is what I think. Maybe we could check this and show a more human readable error message? Hope it he

Re: [T5] Interesting bug of link render?

2008-04-04 Thread Ted Steen
A fix is committed, this issue will close when the commit goes through. https://issues.apache.org/jira/browse/TAPESTRY-2333 2008/4/4, Howard Lewis Ship <[EMAIL PROTECTED]>: > I think it's a bug; I believe there's an error related to the > RequestPathOptimizer ... the code that generates relative

Re: T5.0.11: @Persist("flash") values are not retained if validation fails

2008-04-02 Thread Ted Steen
Could you give a simple example of the problem? 2008/4/2, Joel Wiegman <[EMAIL PROTECTED]>: > As an addendum, I shouldn't say "any field". The culprit is a List that > gets iterated over in the TML. > > > -Original Message- > From: Joel Wiegman [mailto:[EMAIL PROTECTED] > Sent: Wednes

Re: AW: Component event handlers

2008-03-19 Thread Ted Steen
The error you get is probably due to the fact that it is not an ajax request. you can only return blocks from event methods when making ajax requests. you have to make the request with Ajax.request(...) or by using tapestry default ajax mechanism. (...) hope it helps! 2008/3/19, Martin Kersten <

Re: t5: new features in 5.0.11

2008-03-13 Thread Ted Steen
Only classes controlled by tapestry. That is, components, mixins, pages and base-classes I hope I didn't miss any. 2008/3/13, Marcus <[EMAIL PROTECTED]>: > Hi, > > @Property works for any class? or only for components and pages? > > thanks, > > > Marcus > > > On 3/13/08, Robert Zeigler <[EMAIL

Re: T5 ajax zones example

2008-03-12 Thread Ted Steen
turn types are java.lang.Class, java.lang.String, > java.net.URL, > org.apache.tapestry.Link, org.apache.tapestry.StreamResponse, > org.apache.tapestry.runtime.Component. > > Any idea? > > > > Ted Steen wrote: > > > > This is a simple example showing ajax with and witho

Re: T5 ajax zones example

2008-03-11 Thread Ted Steen
additional question. is it possible to mark as > 'zone-to-update' something different than a form element? a simple div for > example? > > > > > Ted Steen wrote: > > > > This is a simple example showing ajax with and without forms. > > Hope it helps! &g

Re: T5 ajax zones example

2008-03-11 Thread Ted Steen
This is a simple example showing ajax with and without forms. Hope it helps! --Test.tml-- http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> Ajax test Boring block fun dynamic block! date on server ${date} message: ${m

Re: T5: onValidationFrom

2008-03-07 Thread Ted Steen
If you are on T5.0.11-SNAPSHOP try, onValidateFormFrom{name} I've seen that it has changed 2008/3/7, ronaldlee <[EMAIL PROTECTED]>: > > > Hi, > > I am trying to use "onValidateFrom{Page Property name}" event handler to > do > validation according to the guide: > "http://tapestry.apache.org/tapestr

Re: T5: proper handling of hibernate exception?

2008-03-07 Thread Ted Steen
The problem is that the exceptions does not occur at the line usr.setEmail("[EMAIL PROTECTED]"); // email already used by other user the exception occurs when the session is flushed (at the end of the request) so my suggestion would be to make an UsrService with a updateUsr(Usr usr) method

Re: Problem with Page pooling

2008-03-04 Thread Ted Steen
I need to configure my AppModule.java with the > ApplicationStateCreator() to handle ASOs in my Tapestry project? Please > explain. > > Thanks, > Yeeswara N. > > > -Original Message- > From: Ted Steen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March

Re: Problem with Page pooling

2008-03-04 Thread Ted Steen
Exactly. Also, from what I can see you use the constructor for setting up login-logic. you should use public void onActivate() {...} for this, as the page class is created only once. 2008/3/4, Chris Lewis <[EMAIL PROTECTED]>: > I think you are expecting @Persist to work as @ApplicationState, and

Re: Problem with Page pooling

2008-03-04 Thread Ted Steen
What does your "isLoggedIn-logic" look like? do you persist the state that tells if a person is logged in or not? if possible, please show the parts of the code that handle login-logic. This is definitely not some problem due to page pooling. 2008/3/4, Yeeswara Nadapana (HCL Financial Services) <

Re: t5 Inject service to HttpSessionListener

2008-02-28 Thread Ted Steen
We had the same problem. We created a static field (of the service type) in the HttpSessionListener and when the service was created (in buildService...) we assigned the service to the static field. We then could access the service from the HttpSessionListener via that static field. Yes, it sucks,

Re: injecting services in T5

2008-02-22 Thread Ted Steen
You can only use @Inject in classes that are under the control of tapestry. that is classes under .base .components and .pages If you want to use services in other classes you have to inject them yourself. see http://tapestry.apache.org/tapestry5/tapestry-ioc/index.html 2008/2/22, Mahen Perera <

Re: [T5] RuntimeException if extends pages/components

2008-02-21 Thread Ted Steen
It should be possible. Make sure that the AbstractBasePage is controlled by Tapestry by ensuring that the module for that library is loaded and that it contains this contribution public static void contributeComponentClassResolver(Configuration configuration) { configuration.add(new Lib

Re: [t5] NPE in createActionLink

2008-02-21 Thread Ted Steen
Try to create the action link in setupRender(). I remember having trouble creating the actionlink too early (onActivate) after upgrading from 5.0.6. I'm looking it to it this weekend. 2008/2/20, Joachim Van der Auwera <[EMAIL PROTECTED]>: > Does anybody have an idea what I am doing wrong? > > Usi

Re: Tapestry 6

2008-02-18 Thread Ted Steen
Of course it's not true! Emmanuel Sowah and Joseph Kobe are the same schizophrenic troll. Please just ignore. 2008/2/18, Pai911 <[EMAIL PROTECTED]>: > > > > Joseph Kobe wrote: > > > > Ok Howard, thanks for your private mail to me clarifying my concerns about > > Tapestry 6, upcoming in 4th quate

Re: [ANN] t5components - release 0.5.5

2008-01-31 Thread Ted Steen
Nice! But it´s FreeMarker not FreeMaker ;) 2008/1/31, Sven Homburg <[EMAIL PROTECTED]>: > > Hi there, > > the t5components release 0.5.5 is out now. > new template service based on FreeMaker > look at change log > > project page with demo click here http://213.160.23.119:8080/t5components/ > > --

Re: T5: wiki: automatic time stamping with hibernate and tapestry-hibernate

2008-01-19 Thread Ted Steen
e > interceptor ? > > 2008/1/20, Ted Steen <[EMAIL PROTECTED]>: > > > > Or clientIp, good stuff! > > > > 2008/1/20, Davor Hrg <[EMAIL PROTECTED]>: > > > Very nice :) > > > user_id: created_by, modified_by can also be added this way :)

Re: T5: wiki: automatic time stamping with hibernate and tapestry-hibernate

2008-01-19 Thread Ted Steen
Or clientIp, good stuff! 2008/1/20, Davor Hrg <[EMAIL PROTECTED]>: > Very nice :) > user_id: created_by, modified_by can also be added this way :) > > Davor Hrg > > On Jan 19, 2008 8:09 PM, Chris Lewis <[EMAIL PROTECTED]> wrote: > > Hello all. > > > > I'm writing to share a link to a wiki I just

Re: T5: Reading context before persistent fields are read

2008-01-18 Thread Ted Steen
lip in" specific logic. > > OH, an alternative to defining a service to contain the data is to > just write it as a Request attribute. I've used that approach for > handling a few awkward cases. > > On Jan 17, 2008 5:56 PM, Ted Steen <[EMAIL PROTECTED]> wrote: &g

Re: T5: Reading context before persistent fields are read

2008-01-17 Thread Ted Steen
text. > > You might simplify #1 to just store the piece of data you need from the > context. > > The approach is similar if you need page activation context, but > you'll need to contribute a similar filter into the > PageRenderRequestHandler pipeline as well. > > On

Re: pass response

2008-01-17 Thread Ted Steen
many services only lives during the request/response cycle, so doing things in threads is not a good idea as the objects behind the proxies may be invalid when/while you use them. so the solution would be not to use threads. what are you trying to do? 2008/1/17, comett <[EMAIL PROTECTED]>: > in m

T5: Reading context before persistent fields are read

2008-01-17 Thread Ted Steen
I need to hook in somewhere between where the context is available and the persistent fields are read. I need to read a context variable just before my PersistentFieldStrategy tries to read from the session, as I need a value from the context when reading from the session. What should I inject int

Re: [T5] Persistent field strategy and Hibernate

2008-01-14 Thread Ted Steen
We still got this problem. Is there anyone who know anything about this? If I read persistent fields from one page, why do persistent fields (with the same type) from other pages get read from the session aswell? This is a problem when working with hibernate. Thanks! /Ted 2007/11/27, Olof Næssén

Re: T5: JumpStart 3.0.0 Preview ready for comments

2007-12-15 Thread Ted Steen
This seems really clean and easy to understand. Looking forward on having a closer look at it next weekend! Great work Geoff! 2007/12/15, Penyihir Kecil <[EMAIL PROTECTED]>: > wow... > nice to hear that > i'll try as soon as possible. > thnx geoff > > On Dec 15, 2007 6:54 AM, Geoff Callender < >

Re: T5: multiple forms

2007-12-08 Thread Ted Steen
mponent="searchForm 1", value="success") ---> what else value can > be filled beside "success" ?? > > On Dec 8, 2007 10:51 PM, Ted Steen <[EMAIL PROTECTED]> wrote: > > > It should be onSuccessFromSearchForm1() and onSuccessFromSearchForm2(

Re: T5: multiple forms

2007-12-08 Thread Ted Steen
It should be onSuccessFromSearchForm1() and onSuccessFromSearchForm2() as it is the form, not the button that succeeds. alternatively @OnEvent(component="searchForm1", value="success") public void search1() { } 2007/12/8, Angelo Chen <[EMAIL PROTECTED]>: > > Hi, > > I have two forms in a page, a

Re: T5 no root element??

2007-11-06 Thread Ted Steen
make sure that all resources (including .tml files) are copied on compile. that is, if you have a resources folder with your tml files in it, you need to add that as a class folder in your eclipse project. an alternative would be to move all .tml files to the source folder (side by side with the cl

Re: tapestry-hibernate conflicts hibernate-search

2007-11-05 Thread Ted Steen
ublic static Session buildHibernateSession(SessionFactory > sessionFactory ){ > return sessionFactory.openSession(); > } > > I have looked into the code of FullTextSessionImpl in hibernate-search. > Do you know why they are casting between org.hibernate.Session to > org.hibern

T5: Passing a component as parameter where the parameter type is subclass of that component.

2007-11-05 Thread Ted Steen
Hi, I inject some components that all extends MyComponentBase. MyComponentBase is an abstract class in the ".base" package. Then I loop over these components with a loop-value of type MyComponentBase (which works fine) Now, when I try to pass the loop-value to a component parameter of type MyComp

Re: RequestPageCache null during onActivate()

2007-11-03 Thread Ted Steen
Sorry, its not null. my bad.. 2007/11/4, Ted Steen <[EMAIL PROTECTED]>: > I need the RequestPageCache in onActivate() but its null, is there any > other way to get a page during that phase? > > > -- > /ted > -- /ted -

RequestPageCache null during onActivate()

2007-11-03 Thread Ted Steen
I need the RequestPageCache in onActivate() but its null, is there any other way to get a page during that phase? -- /ted - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: tapestry-hibernate conflicts hibernate-search

2007-11-03 Thread Ted Steen
This happens because the session becomes a proxy when you make a service of it. I guess you have a thread scope on the hibernate session? well, then tapestry-ioc will wrap the session in a proxy that will give you a new session per request. Actually its neither a tapestry-hibernate nor hibernate-s

Re: T5: redirect with parameters (was ActionLink with two parameter context)

2007-10-29 Thread Ted Steen
Yes, and then it is important that you implement onPassivate(Long id) { ... } in the EditPage 2007/10/30, Nick Westgate <[EMAIL PROTECTED]>: > The subject for this thread was wrong. > > @Inject EditPage editPage; > > Object onActionFromEdit(Long id) > { > editPage.setId(id); >

T5: FCKEditor Component (fix for 5.0.6, medium toolbar set added)

2007-10-29 Thread Ted Steen
Small update for tapestry5-fckeditor ahead, http://code.google.com/p/tapestry5-fckeditor/downloads/list * Now works with T5.0.6 * Added "medium" toolbar set Have fun! -- /Ted - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: T5 book: update

2007-10-26 Thread Ted Steen
--Original Message- > From: Ted Steen [mailto:[EMAIL PROTECTED] > Sent: 26 October 2007 11:00 > To: Tapestry users > Subject: Re: T5 book: update > > > Very nice! > Dont forget to update the part about the DatePicker. It is now obsolete. > T5.0.6 now includes a DateField as a p

Re: T5 book: update

2007-10-26 Thread Ted Steen
Very nice! Dont forget to update the part about the DatePicker. It is now obsolete. T5.0.6 now includes a DateField as a part of the core. 2007/10/26, Kolesnikov, Alexander GNI <[EMAIL PROTECTED]>: > Just to let you know: the first draft of the book is completed, the > external revewing is a

T5: Why does the default string translator translate the empty string to null?

2007-10-17 Thread Ted Steen
In most cases I want my empty text areas and text fields to translate to an empty string. especially when my model is a hibernate entity with not null constraints. Now I have to contribute my own translator and also add translator="myTranslator" on every field... So, what is so good about translat

Re: T5 2 question about loop component parameters

2007-10-14 Thread Ted Steen
java: private int currValue; public int getCurrValue() { return currValue; } public void setCurrValue(int currValue) { this.currValue = currValue; } template: ${currValue}

Re: [ANN] Trails 1.1.1 release

2007-10-10 Thread Ted Steen
One thought regarding Compass. Have you been looking at hibernate-search? It is essential the same thing, but without the Compass dependency. Regards Ted 2007/10/4, Kalle Korhonen <[EMAIL PROTECTED]>: > Hello "Trailers" :) > > Just as promised, we are happy to announce Trails 1.1.1 release! It fe

Re: NYSERDA

2007-10-07 Thread Ted Steen
Doing what? 2007/10/7, Celia Mou <[EMAIL PROTECTED]>: > Hi Mark, > > Sorry, I guess you still don't have my phone number: (718) 204-0626 > > Cell: (917) 299-1208 (usually held by Frank) > > I'm at home and doing it. > > Thanks! > > celia > > > > On Oct 7, 2007, at 12:18 PM, Mark Alhadeff wrote

T5: All Links to API docs broken

2007-09-30 Thread Ted Steen
All links to the API docs on the tapestry5 site are broken e.g. http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/annotations/PageLoaded.html I guess this should be fairly easy to correct (it gives a pretty bad impression) -- /ted -

Re: Default package file

2007-09-29 Thread Ted Steen
If you give your page the same name as your package pages/product/Product.java then you will be able to access it with "http://host/product/";. You cant access it with "http://host/product"; tho, and in my opinion you should be able to do that See my JIRA http://issues.apache.org/jira/browse/TAPEST

Re: T5, Customized Validation

2007-09-26 Thread Ted Steen
This should be done in onValidate() i think. see http://tapestry.apache.org/tapestry5/tapestry-core/guide/validation.html for the rest of the validation. Unfortunately the onValidate is not explained there. 2007/9/25, Josh Penza <[EMAIL PROTECTED]>: > I have a question about validation in Tapest

Re: T5: Initial value for a field (persisted, parameter or just a plain field)

2007-09-25 Thread Ted Steen
your method returned. It's not going to call your initialization > method again. > > If you want your attribute to be different on every request then you should > do that assignment in the onActivate or using the page lifecycle methods, > attach/detach... > > Josh &

T5: Initial value for a field (persisted, parameter or just a plain field)

2007-09-24 Thread Ted Steen
Hi all, I define a field like this private MyObject myObject = getDefaultMyObject(); Now, the default value is not set in the end of the request as documented. If I put myObject in a form and alter fields within it, the values will pop up in subsequent requests even from different clients(!). This

Re: T5: Persisting per page AND depending on page state.

2007-09-24 Thread Ted Steen
/24, Ted Steen <[EMAIL PROTECTED]>: > the contribution should be to the PersistentFieldManager of course > > 2007/9/24, Ted Steen <[EMAIL PROTECTED]>: > > Ok! > > After digging a little deeper I now see that extending the > > AbstractSessionPersistentField

Re: T5: Persisting per page AND depending on page state.

2007-09-24 Thread Ted Steen
the contribution should be to the PersistentFieldManager of course 2007/9/24, Ted Steen <[EMAIL PROTECTED]>: > Ok! > After digging a little deeper I now see that extending the > AbstractSessionPersistentFieldStrategy and letting the prefix contain > the host name should be a

Re: T5: Persisting per page AND depending on page state.

2007-09-24 Thread Ted Steen
Ok! After digging a little deeper I now see that extending the AbstractSessionPersistentFieldStrategy and letting the prefix contain the host name should be a solution! I then contribute this to the ApplicationStatePersistenceStrategySource. Any objections? :) 2007/9/24, Ted Steen <[EM

T5: Persisting per page AND depending on page state.

2007-09-24 Thread Ted Steen
A page in our application can be in different states (depending on the sub domain). When a field is persisted, the state of the page should be taken in to account. For example if the page is accessed via the host name a.my-host.com the page should have its fields persisted for the context A and if

Re: T5: Render a block or component programatically

2007-09-18 Thread Ted Steen
return !st.hasMoreTokens(); // if it has more tokens go back to begin >} > > > It doesn't fit for all cases, but something like that should work for the > simple case you laid out... > > Josh > > > On 9/18/07, Ted Steen <[EMAIL PROTECTED]> w

Re: T5: Render a block or component programatically

2007-09-18 Thread Ted Steen
Im looking for something similar to T4 IComponent.renderBody(IMarkupWriter writer, IRequestCycle cycle) 2007/9/18, Ted Steen <[EMAIL PROTECTED]>: > I would like to do this, > > @BeginRender > final void begin(MarkupWriter writer) > { > StringTokenizer

T5: Render a block or component programatically

2007-09-18 Thread Ted Steen
I would like to do this, @BeginRender final void begin(MarkupWriter writer) { StringTokenizer st = new StringTokenizer(template, " "); while(st.hasMoreTokens()) { String token = st.nextToken(); if("TEST".equals(token))

Re: T5: FCKEditor Component

2007-09-12 Thread Ted Steen
x27;Indent'], > > ['JustifyLeft','JustifyCenter','JustifyRight','-','Cut','Copy','Paste',' > -','Link'] > ] ; > > Thanks for the great work! I am describing this component (as well as >

Re: T5: date picker component updated!

2007-09-03 Thread Ted Steen
#x27;s ok! the problem now is with BeanEditForm, that > does not show date attributes... > > I just don't know how to get the dateFormat working, can you put an exemple > of format here? > > 2007/9/2, Ted Steen <[EMAIL PROTECTED]>: > > > > Small upd

Re: T5: date picker component updated!

2007-09-02 Thread Ted Steen
Small update. The date picker component was refactored to an AbstractField to resolve Issue 3: Compatibility with BeanEditForm. 2007/9/2, Ted Steen <[EMAIL PROTECTED]>: > Hi again! > > A new version of the date picker component is released. > > Support for custom date form

T5: date picker component updated!

2007-09-02 Thread Ted Steen
fun! http://code.google.com/p/tapestry5-jscalendar/ -- /Ted Steen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5: Handling of images

2007-08-30 Thread Ted Steen
Actually I dont think the Any component exists anymore.. its not needed because of expansions in attributes. 2007/8/30, Nick Westgate <[EMAIL PROTECTED]>: > Sorry, that should be (still not ideal) ... > > > Cheers, > Nick. > > > Nick Westgate wrote: > > Why don't you read about it here: > > http:

Re: T5: FCKEditor Component

2007-08-28 Thread Ted Steen
only java. 2007/8/28, sun58224 <[EMAIL PROTECTED]>: > Ted Steen gmail.com> writes: > > > > asp, no java? > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e

Re: T5: different translator behaviour for same component

2007-08-21 Thread Ted Steen
Is this a stupid question or is it just hard to answer? (bump...) 2007/8/18, Ted Steen <[EMAIL PROTECTED]>: > Hi, > > The date picker component im working on atm have a selectable date > format which should be parsed and formatted by the translator. > The date format is pass

Re: RE : Re: T5: date picker component

2007-08-20 Thread Ted Steen
om/javasoftware/representacoes/components/HSplitBorder.html, > line 39, column 40). The content has been ignored. > > any hints? > > 2007/8/16, Ted Steen <[EMAIL PROTECTED]>: > > > > I think it would be nice to have a DateFormat parameter on the > >

T5: different translator behaviour for same component

2007-08-18 Thread Ted Steen
Hi, The date picker component im working on atm have a selectable date format which should be parsed and formatted by the translator. The date format is passed to the date picker via a parameter, problem is that the translator is defined in the app module and I dont know how to get the information

Re: RE : Re: T5: date picker component

2007-08-16 Thread Ted Steen
t in a localizable property file. > Typically, date format will depend on the user locale. > > But I don't know how to do this... sorry. > > Julien > > --- Ted Steen <[EMAIL PROTECTED]> a écrit : > > > This is something we will work on for the next > >

Re: T5: date picker component

2007-08-16 Thread Ted Steen
e module to parse it correctly. 2007/8/16, Marcelo lotif <[EMAIL PROTECTED]>: > i was looking for it a few days ago... > > just one question: it will have an "easy to set" translator in the future? > if i want to set my own format i'll have to recompile the module ... &

T5: date picker component

2007-08-13 Thread Ted Steen
Hi! A new version of our date picker component is released. Compability issues with 5.0.5 is resolved. There are new features in un-commited code here, sent to me by Martin Dietze, but we want to have a closer look before we add it. http://code.google.com/p/tapestry5-jscalendar/ -- /ted --

Re: T5 / DatePicker: Error obtaining injected value for field

2007-07-13 Thread Ted Steen
this is going to be fixed soon. thanks for pointing out the 5.0.5 incompatibilities! 2007/7/12, Martin Dietze <[EMAIL PROTECTED]>: Again answering myself... On Thu, July 12, 2007, Martin Dietze wrote: > Exception constructing service > 'ClasspathAssetAliasManager': Error invoking constructor >

Re: T5 class reloading

2007-05-29 Thread Ted Steen
Somewhere in the documentation it says that all pages are components, so i guess that all components and pages (that are special kinds of components) will automatically reload. 2007/5/29, Martin Grotzke <[EMAIL PROTECTED]>: Hi, is the class reloading in T5 limited to component classes as descr

Re: t5: Date input component

2007-05-26 Thread Ted Steen
you could have a look at this for some inspiration.. I dont know how up to date it is, but as soon as I come back from my trip in thailand ill be right on it! http://code.google.com/p/tapestry5-jscalendar/ 2007/5/26, Juan Maya <[EMAIL PROTECTED]>: Thank u very much! This showed me the path! I

Re: T5: Date picker component

2007-04-01 Thread Ted Steen
Thats fixed now. 2007/4/1, Massimo Lusetti <[EMAIL PROTECTED]>: On 3/30/07, Ted Steen <[EMAIL PROTECTED]> wrote: > While at it we put our jscalendar library (with a DatePicker implemented) > See http://www.dynarch.com/projects/calendar/ for more info on > jscalendar, i

T5 External Asset

2007-03-31 Thread Ted Steen
I need an asset that has a external url. Is this implemented yet in T5? If so, how should it be done? I cant find anything about this in the documentation. Also I cannot find anything about it in the source. What I think is needed is an ExternalAssetFactory -- /ted --

Re: T5: Date picker component

2007-03-31 Thread Ted Steen
it CLA. On 3/30/07, Ted Steen <[EMAIL PROTECTED]> wrote: > While at it we put our jscalendar library (with a DatePicker implemented) > See http://www.dynarch.com/projects/calendar/ for more info on > jscalendar, it seems like a decent date picker component. > > http://code.g

Re: T5: FCKEditor Component

2007-03-30 Thread Ted Steen
D]> wrote: > Good work! > > 2007/3/30, Ted Steen <[EMAIL PROTECTED]>: > > Hi! > > > > We made a FCKEditor component for a project and it is available on > > Google Code for anyone who is interested. > > > > http://code.google.

T5: Date picker component

2007-03-30 Thread Ted Steen
While at it we put our jscalendar library (with a DatePicker implemented) See http://www.dynarch.com/projects/calendar/ for more info on jscalendar, it seems like a decent date picker component. http://code.google.com/p/tapestry5-jscalendar/ --

T5: FCKEditor Component

2007-03-29 Thread Ted Steen
Hi! We made a FCKEditor component for a project and it is available on Google Code for anyone who is interested. http://code.google.com/p/tapestry5-fckeditor/ Please do give some feedback. - To unsubscribe, e-mail: [EMAIL PROT

T5: contributing to component class resolver

2007-03-22 Thread Ted Steen
After creating a component library and packing it all in a jar I tried to include the jar in my T5 project and contribute the ComponentClassResolver like this public static void contributeComponentClassResolver(Configuration configuration, Log log) { log

Re: T5 ASO

2007-03-21 Thread Ted Steen
I like these discussions, and I really like that they tend to end in a conclusion that good code conventions and good code design seems to be the solution to the "problem". T5 encourage one to do things "right". 2007/3/20, Anjana Gopinath <[EMAIL PROTECTED]>: Thanks Robert! Anjana Gopinath Tru

Re: [WARNING] Latest Tapestry 5 Screencast

2007-03-01 Thread Ted Steen
Very nice Howard! I think you should end all your screen casts with a reference to the site where there is a simple and quick explanation on how to create and setup a tapestry-simple project. So that people easily could get started, when they just have been tempted with all the new and good stuff

Re: T5:How to use Select component's model

2007-02-27 Thread Ted Steen
In T5 you use SelectModel. see http://tapestry.apache.org/tapestry5/tapestry-core/apidocs/org/apache/tapestry/SelectModel.html 2007/2/27, Weisu <[EMAIL PROTECTED]>: Hi, I am converting my app to T5, in T4, I use IPropertySelectionModel to create the dropdown for select, what model can I use in

Re: T5: Type coercer question

2007-02-06 Thread Ted Steen
t; The TypeCoercer is used on the flip side, mapping string query > parameter values to typed event handler method parameters, so I can't > see why not using it for your situation would matter. > > On 2/6/07, Ted Steen <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Im

T5: Type coercer question

2007-02-06 Thread Ted Steen
Hi, Im trying to contribute a type coercer from MyType to String (and vice versa), but it seems like the Object to String is used instead. When the ActionLink is rendered with a MyType in the context it renders to the value toString() returns, not the value my MyType->String coercer gives. I hav

Re: Tapestry page sent by mail

2007-01-31 Thread Ted Steen
Hi Have a look at this, I dont know how much has happened in the internals of tapestry 4 since, but I guess it is still usable. I have plans on implementing this for T5, but that will not happen in the near future. http://mail-archives.apache.org/mod_mbox/tapestry-users/200605.mbox/[EMAIL PROTECT

Re: T5: which way do you prefer?

2007-01-27 Thread Ted Steen
hehe, great ren & stimpy reference.. 2007/1/27, Jesse Kuhnert <[EMAIL PROTECTED]>: No sir, I don't like it. On 1/27/07, Kent Tong <[EMAIL PROTECTED]> wrote: -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. h

  1   2   >