Re: T5 - Javascript libraries on ajax requests

2008-07-10 Thread Chris Lewis
ope that clears things up. chris raulmt wrote: > Hello, > > I have a zone that is updated with an ajax request. Inside this zone, I use > an InPlaceEditor components (from t5components) many times (one for each row > in a table). The InplaceEditor component include a javascript li

Re: Any component / client id

2008-07-05 Thread Chris Lewis
I believe the attribute is rendered only if the getClientId method is called on the component instance. Sven Homburg wrote: > do i interpret the any component docs wrong,? > > the doc says: "The desired client id, which defaults to the components id. " > but the default client id never be rendered

Re: What if "Page" was removed from page names?

2008-06-24 Thread Chris Lewis
I heartily agree with Filip. Even though the page name 'optimization' is documented, I loathe the fact that I can do nothing to stop it. Please, if this is implemented at least allow users the power to say 'yay' or 'nay' in our apps. Filip S. Adamsen wrote: > As long as it's configurable, I'm fine

T5: component as a parameter to another component

2008-06-18 Thread Chris Lewis
named 'dateview' here. In reality I want this to be a component of an unknown type that will use the MarkupWriter to generate the markup as it wants. Note that a simple t:block won't do because I need the MarkupWriter. Any clues?

Re: T5 onActivate

2008-06-07 Thread Chris Lewis
quirements evolve. If your app is small, ok, but if not you should reconsider your approach sooner rather than later. chris maxthesecond wrote: > Well, in my case when I have two or more onActivate handlers I've seen all > them called one after the other wich of course is not what I expec

Re: [T5] JavaScript in template files

2008-05-20 Thread Chris Lewis
Ken, You need to specify your script block as containing CDATA, like so: <![CDATA[ if(true && true) { alert("!!!"); } ]]> Tapestry treats templates as XML, and & is an invalid character unless processed as cdata. chris Ken wrote: > Hi, > > I wrote a

Re: Tapestry users declined for the first time in 3 years, says this researh site ...

2008-05-20 Thread Chris Lewis
the same 'mud' imagery referring to the wake of a troll. 3) The word plays on HLS' last name never get old. I'm not being sarcastic. I giggle every time I read one. chris Eelco Hillenius wrote: > Chris Lewis-5 wrote: > >> Except for the part about him not b

Re: Tapestry users declined for the first time in 3 years, says this researh site ...

2008-05-20 Thread Chris Lewis
rolls. It's open source software, we should all be gaining from this. Respectfully yours, Chris Lewis Eelco Hillenius wrote: > Chris Lewis-5 wrote: > >> Except for the part about him not being a friend of wicket, I agree. >> We've every reason to believe this moron

Re: Tapestry users declined for the first time in 3 years, says this researh site ...

2008-05-20 Thread Chris Lewis
hanks' for having contributed an accepted patch (http://wicket.sourceforge.net/wicket-1.1/changes-report.html - search for Francis Amanfo). I wouldn't dare say that the rantings of a such bird brain reflect the wicket community, but he is in some manner associated with it. chris Geoff Calle

Re: Instability in Tapestry 5.0.12-SNAPSHOT

2008-05-20 Thread Chris Lewis
They're nightly for a reason. If you've been using nightlies you've done so at your own risk, and if you require preserving your app against a certain nightly, the deploy with the exact nightly you need. Moritz Gmelin wrote: > Hi, > > would it be possible to do a 5.0.12 release and then do this re

Re: Dispatcher doesn't get called in default start page

2008-05-19 Thread Chris Lewis
ou'll need to place it :before the root. chris Hugo Palma wrote: > I've registered a Dispatcher class which works just fine except when the > page name is not specified in the URL. > So, if i put http://localhost:8080/mycontext/start the Dispatcher is > called like expec

Re: Does the Palette works inside a zone/block

2008-05-18 Thread Chris Lewis
/TAPESTRY-2390 Hopefully this will be addressed soon. chris Massimo Lusetti wrote: > Does anyone have tested the palette components to works from inside a > block used to update a zone? > > -- http://thegodcode.net

Re: Question about update T5 from 5.0.10 to 5.0.11

2008-05-15 Thread Chris Lewis
It sounds like you are using the old (5.0.10) maven archetype. What exactly are you using to create the project (the exact command)? amebaliu wrote: > Hi, I have post some question recently, and got some replies. first of all, > thanks all the people who replied my post before. Thank you guys a lo

Re: T5 + JSON + key name

2008-05-15 Thread Chris Lewis
Try: for (var i in object) {} Where object would be your json object. Leon Derks wrote: > Hi Sven, > > I only see that they get the value by using the key name. > For example this: > > |var data = '{ "name": "Violet", "occupation": "character" }'.evalJSON(); > data.name; //prints Violet. > | > >

Re: T5: Calling method with parameter in prop

2008-05-14 Thread Chris Lewis
tapestry5-components provides an ognl binding like it worked in t4. See http://code.google.com/p/tapestry5-components/ and http://87.193.218.134:8080/t5components/t5c-commons/howto_ognlbinding.html chris Szemere Szemere wrote: > I agree with the sentiments above - the framework should prov

Re: Changing a components property at runtime

2008-05-13 Thread Chris Lewis
I just realized I repeated Rob, so listen to him :-) Chris Lewis wrote: > I seems like you'd want to use the 'disabled' parameter as Robert > mentioned, which many components have. Perhaps your dynamic behavior > could be solved by storing a flag in a page property and the

Re: Changing a components property at runtime

2008-05-13 Thread Chris Lewis
by Hobson wrote: > Thanks Chris, > > Does this mean that there is no easy way to disable a textfield at runtime > for instance? Would a mixin work for this? > > Toby > > ----- Original Message > From: Chris Lewis <[EMAIL PROTECTED]> > To: Tapestry users >

Re: Changing a components property at runtime

2008-05-13 Thread Chris Lewis
Toby, Components are just POJOs - as far as your application code they have no common type; no common interface for such actions. There is a common interface but it is fitted onto component classes at runtime. If you need to set properties/call methods, you must provide such interfaces. chris

Re: update select based on first select

2008-05-13 Thread Chris Lewis
.tapestry.users#query:ajax-based%20data%20retrieval%20list%3Aorg.apache.tapestry.users+page:1+mid:5srufbsi5jsrdmu2+state:results chris Leon Derks wrote: > I want to update a select, based on a value from another select. > > I have tried the OnEvent mixin from the t5components, but only the &

Re: Page property reset during request

2008-05-10 Thread Chris Lewis
T5 does a redirect after form posts, so using persist is probably how one should do this (probably @Persist("flash")). The redirect-after-post removes the danger of things like double posts (from page refreshes, etc). Toby Hobson wrote: > I managed to get around this by using @Persist on the start

Re: Problem with form submission with callback

2008-05-10 Thread Chris Lewis
The issues with JS get harrier when you mix AJAX (zones) and components or mixins that use external JS or CSS. Essentially, they won't be included unless they were already included on the page. A ticket (with a patch) is open for this issue: https://issues.apache.org/jira/browse/TAPESTRY-2390 Josh

Re: T5 PopUp Windows & JavaScrip

2008-05-08 Thread Chris Lewis
Sorry, I only saw the messages that mentioned tinyMCE and assumed you were looking for an editor component. chris maxthesecond wrote: > Well, I can't see the relation but anyway thanks! > > > Chris Lewis-5 wrote: > >> I missed the rest of this thread, but if yo

Re: T5 PopUp Windows & JavaScrip

2008-05-08 Thread Chris Lewis
I missed the rest of this thread, but if you're looking for an editor component t5components provides one (based on FCK): http://87.193.218.134:8080/t5components/t5c-commons/ref/org/apache/tapestry/commons/components/Editor.html maxthesecond wrote: > Thanks nicholas I'll give it a try...any way I'

Re: How to make use of reply.script

2008-05-07 Thread Chris Lewis
e.org/jira/browse/TAPESTRY-2390). chris TonyTheFish wrote: > In tapestry.js (5.0.12-SNAPSHOT) in the zone processing stuff there is a > 'reply.script' - if I read the code correctly what happens when you do a > zone update is that reply.content is updated into the zone div and then,

Re: Replace item in OrderedConfiguration

2008-05-07 Thread Chris Lewis
Robin Helgelin wrote: > On Wed, May 7, 2008 at 11:30 AM, Otho <[EMAIL PROTECTED]> wrote: > >> One thing which bothered me a couple of times already on this list. With the >> neat tapestry-spring integration, why don't you just use Spring to configure >> Spring services? The little xml used f

Re: T5: default.css and IE7 problem

2008-05-06 Thread Chris Lewis
earned why not to use them by now. chris Angelo Chen wrote: > hi Tomasz, > > This works, thanks. however, the its effect is, look just right in IE7 but > shift too much to the right in other browsers, any idea how to make this > works only in IE7? > > Angelo > > Toma

Re: T5: Passing (looped) component blocks to layout for (looped) rendering

2008-05-02 Thread Chris Lewis
I don't know if that infrastructure exists, but it's a thought. chris Bill Holloway wrote: > I agree, Chris. _resources.findBlock has got to be where the trouble is. > Somehow the rendering order on Layout winds up only looking at the last > rendering of the block. > > Bill > >

Re: T5: Passing (looped) component blocks to layout for (looped) rendering

2008-05-02 Thread Chris Lewis
id 'tester', and in subsequent loop iterations over your blocks I'm guessing that all but the last block will be replaced because of the hardcoded block id. Because you're looping you need to let tapestry generate the ids, but then of course there's the question of how to g

Re: T5: Ajax update of one form field based on change to another form field?

2008-05-01 Thread Chris Lewis
Sorry I was vague on that, and I was referring to the t5components OnEvent mixin (http://87.193.218.134:8080/t5components/t5c-commons/ref/org/apache/tapestry/commons/mixins/OnEvent.html). Here's a quick example of ajax-based data retrieval. Note that where I use hard-coded strings, you'd be using y

Re: T5: Ajax update of one form field based on change to another form field?

2008-05-01 Thread Chris Lewis
Franz Amador wrote: > Hi, all. I asked about this a while ago, and there was no good answer > then, but I'm hoping that there are new options now. I have a bean > that holds information about a database connection. I'm editing it > with BeanEditForm. One of the fields is the database type, an

Re: page activation + components

2008-05-01 Thread Chris Lewis
ing for a valid newsId, provide the News component with it. These are the best methods we've seen, I just can't figure out why my mind keeps saying there's a better way :-|. chris Josh Canfield wrote: > Here's an app that does what I believe is trying to be done: > > //

Re: page activation + components

2008-04-30 Thread Chris Lewis
page. Still not sure if we've had our epiphany yet :-) chris Josh Canfield wrote: >> I mean really, how is that any simpler than >> dealing directly with query parameters? >> > > Hehe... I have to admit that I was solving a much more complicated > problem than

Re: page activation + components

2008-04-30 Thread Chris Lewis
he object. The problem is still how to deal with the T5-encouraged redirect and maintain that value in the page, so we can render the news item. That is, without using @Persist Still thinking on this - input welcome! chris Josh Canfield wrote: > Are you trying to keep the news id out of

Re: page activation + components

2008-04-30 Thread Chris Lewis
the remaining parameters and use them as key/value > for the components. The your components do something like: > > @Environmental > private ComponentContext _compContext; > > void setupRender() { > Long newsId = _compContext.getLong(_resources.getId()); > } > > vo

Re: page activation + components

2008-04-30 Thread Chris Lewis
value > for the components. The your components do something like: > > @Environmental > private ComponentContext _compContext; > > void setupRender() { > Long newsId = _compContext.getLong(_resources.getId()); > } > > void onPickNewsItem(Long id) { > _compContex

Re: page activation + components

2008-04-30 Thread Chris Lewis
ue > for the components. The your components do something like: > > @Environmental > private ComponentContext _compContext; > > void setupRender() { > Long newsId = _compContext.getLong(_resources.getId()); > } > > void onPickNewsItem(Long id) { > _compContext.

Re: page activation + components

2008-04-30 Thread Chris Lewis
that event can catch it and do whatever with it. I'll put together some example code a bit later, I have run out for a bit. sincerely, chris János Jarecsni wrote: > Hi Chris, > > no! that's the essential part. the same page redisplayed. with the "News" > componen

Re: page activation + components

2008-04-30 Thread Chris Lewis
Much clearer :-). When you say "when it comes to my 'News' component" do you mean news page? That is, clicking a 'more' link from NewsQuote leads to a News page? János Jarecsni wrote: > Hi Chris, > > I try to explain :) > Say, you have a "NewsQuote

Re: page activation + components

2008-04-30 Thread Chris Lewis
>> On Tue, 29 Apr 2008 18:02:52 +0200, "János Jarecsni" >>>> <[EMAIL PROTECTED]> wrote: >>>> >>>> >>>>> Hi there, >>>>> >>>>> the service approach (as I expected) is session-agnostic (and is

Re: T5 actionlink, ajax zone and user onclick handler

2008-04-29 Thread Chris Lewis
n. Not really a nice option, unfortunately. You could take it further to force ordering using some function reference replacement voodoo, but that's a tad nasty. Perhaps this logic would be better factored into the components. Any other thoughts, anyone? Tobias Wehrum wrote: > Hi Chris, >

Re: page activation + components

2008-04-29 Thread Chris Lewis
ing in the environment as Kristian suggested. I'm sorry I can't be more helpful but as I said I'm not clear on what you're really trying to do. good luck chris János Jarecsni wrote: > Hi Chris, > > I thought of pages as "contexts" for the components embedded within

Re: page activation + components

2008-04-29 Thread Chris Lewis
if it's a more sophisticated component, probably a service. chris János Jarecsni wrote: > and how a component can get to know the page in which it is included? I > mean, I can't @InjectPage, as the component will be included in many kinds > of pages. > > @Kristian: thx f

Re: page activation + components

2008-04-29 Thread Chris Lewis
5) @InjectPage the page and call the getter Kristian Marinkovic wrote: > hi janos, > > there are several possibilities: > > 1) declare a component parameter and pass in the variable > > 2) put it in a ASO and inject the ASO in all your components (using > @ApplicationState) > the drawback is that

Re: T5: JPA EntityManager + Tapestry Injection

2008-04-28 Thread Chris Lewis
you can provide a builder method and build it manually. If you haven't already, read up on how t5-ioc does binding: http://tapestry.apache.org/tapestry5/tapestry-ioc/module.html chris Leon Derks wrote: > I have added an JPA entity manager to my AppModule, in the same way > this is

Re: Antwort: Re: T5 Activation/Passivation - strangeness

2008-04-28 Thread Chris Lewis
Good eyes! I assume it would have worked if the url had been absolute, in which case tapestry would not have interpreted it as a page render ... or maybe not. Christian Koeberl wrote: >> Jan Vissers <[EMAIL PROTECTED]> wrote: >> Our layout component has: >> >> > > If you have this in your co

Re: T5 Activation/Passivation - strangeness

2008-04-28 Thread Chris Lewis
Can you share the full code? What are your activate/passivate methods doing? Does that get thrown when the layout is used with a page that has no activation context? If so, and that really is all to the template code, I would say it's a bug. Share more code if you can. chris Jan Vissers

Re: T5 Activation/Passivation - strangeness

2008-04-28 Thread Chris Lewis
Can you share some template code? Perhaps of the layout if you can. Jan Vissers wrote: > Hi, > > In our project we get the following message passivating/activating > pages: > > java.lang.NumberFormatException: For input string: "favicon.ico" > > The more details stack trace shows: > > Caused by:

Re: actionlink and pagelink id's no longer (automatically) rendered in 5.0.12-snapshot

2008-04-28 Thread Chris Lewis
different from the clientId) via t:id, that exact value is rendered in the resulting element. I imagine that would also use a rolling scheme if in a loop, but I haven't tried it. sincerely, chris Steven Woolley wrote: > Upgrading from 5.0.6 to the latest snapshot, I found that all

Re: AJAX and the bleeding edge... minor pains...

2008-04-28 Thread Chris Lewis
ch as I /might/ be able to clean it up quickly (I've been hacking through the ajax/partial response areas in T5 recently). Anyway, glad you found at least a temporary solution - happy hacking! chris Steven Woolley wrote: > Thanks for the response Chris. Rob Zeigler and myself dug in and

Re: T5 Component question based on the Count component in documentation

2008-04-27 Thread Chris Lewis
Sorry I didn't mean to say providing a number is illegal, but interpreted directly as that numeric value because it can't be interpreted as a valid bean property. Chris Lewis wrote: > maxthesecond wrote: > >> Completely right sire >> although you have to admit t

Re: T5 Component question based on the Count component in documentation

2008-04-27 Thread Chris Lewis
for someone writing a component, they would quickly understand. Now whether having the default prefix as 'prop' vs 'literal' is better is just an opinion, but I personally agree with prop as the default because in a real application it's generally more likely that valu

Re: AJAX and the bleeding edge... minor pains...

2008-04-27 Thread Chris Lewis
could very much shield developers from dealing with a lot of things, it should needs a bit more time in the oven. chris Steven Woolley wrote: > Like pouring ajax in my wounds? > > Trying to upgrade from 5.0.6, and upgrading all my ajax stuff is killing me... > > The issues I

Re: Disable PageRenderSupport

2008-04-27 Thread Chris Lewis
Hi Fernando, I've not tried this before, but can you just replace the one that gets added in the TapestryModule (line 1529)? I thought there was a way to do this, perhaps by adding yours to the configuration with the same service id. Fernando Padilla wrote: > Hello. I would like to disable the d

Re: T5 Component question based on the Count component in documentation

2008-04-27 Thread Chris Lewis
d (and thus a page property). Strings on the other hand, and represent a myriad of things - literal text (literal:), a localized message (message:), a page property (prop:), etc. hope that helps chris maxthesecond wrote: > allegedly longs from > http://tapestry.formos.com/nightly/tapestry5/t

Re: accessing core services

2008-04-26 Thread Chris Lewis
nent, and mixin classes (specifically NOT in services). Someone correct me if I'm mistaken. good luck chris János Jarecsni wrote: > However, > > @Inject Logger logger; > > does not work even now. It is a pity, because this way I have to list all > stuff I need in the construct

Re: accessing core services

2008-04-25 Thread Chris Lewis
you are doing. good luck chris János Jarecsni wrote: > Hi, thx for the quick replies first of all, > > here is how I'm doing it now: > > public void contributeMasterDispatcher(OrderedConfiguration > configuration, > > @InjectService("MyDi

Re: T5 - how to have every request have one jpa 'session'

2008-04-25 Thread Chris Lewis
Jan, The tapestry-hibernate module does exactly that: http://tapestry.apache.org/tapestry5/tapestry-hibernate/index.html Even if you don't use that module (or even hibernate), the source will show you everything you need. chris Jan Vissers wrote: > Hi, > > We're about t

Re: [T5] Javascript links rendered on bottom of page?

2008-04-25 Thread Chris Lewis
components-user http://code.google.com/p/tapestry5-components/issues/list sincerely, chris Harald Geritzer wrote: > > hi chris, > > after having a second look at your code i think you don't even need > the replacement at all > as the new version uses the "replaceTextArea()

Re: [T5] Javascript links rendered on bottom of page?

2008-04-24 Thread Chris Lewis
Harald, Can I convince you to file an issue, if that is an issue? http://code.google.com/p/tapestry5-components/issues/list If you can, provide an example situation that would cause a problem. thanks! Harald Geritzer wrote: > Chris Lewis schrieb: >> Hi Harald, >> >> tap

Re: T5: Select component + onchange()

2008-04-24 Thread Chris Lewis
Unless https://issues.apache.org/jira/browse/TAPESTRY-2286 has been addressed, you cannot respond with JSONArray, but you can with JSONObject. Sven Homburg wrote: > the JSONObject/JSONArray response too > > 2008/4/24, Sven Homburg <[EMAIL PROTECTED]>: > >> the return type is not limited to Stre

Re: [T5] Javascript links rendered on bottom of page?

2008-04-24 Thread Chris Lewis
n any cayse Davor is right, so if you're going to roll your own do as he suggested. chris Harald Geritzer wrote: > > hi all, > > is there a special reason for rendering the javascript includes on > bottom of the page in latest 5.0.12 snapshot? > > i got a fckeditor

Re: t5.0.11 help in update my own components

2008-04-24 Thread Chris Lewis
lers to a select's client-side onchange event, you'll need some ajax. tapestry5-components provides a mixin that handles this, which you can find here: http://87.193.218.134:8080/t5components/t5c-commons/ref/org/apache/tapestry/commons/mixins/OnChange.html sincerely, chris 孟凡振 wrote: > i

Re: tooltips (hints) for form components

2008-04-23 Thread Chris Lewis
Hello, The Tooltip component of tapestry5-components (http://code.google.com/p/tapestry5-components/) may help you: http://87.193.218.134:8080/t5components/t5c-commons/ref/org/apache/tapestry/commons/components/Tooltip.html ice96 wrote: > Hello, > is it way to extend all form input components wi

Re: T5 contributeMasterDispatcher - how to have default rootContext access be part of it

2008-04-23 Thread Chris Lewis
Peter, Thanks fo jumping in :-) - I was away and I wouldn't have readily known the answer anyway, so I along with Jan appreciate your sharing. Jan, So is there something incorrect in the wiki, or perhaps something that would be worth adding as a warning? chris Jan Vissers wrote: > Gre

Re: [T5]: javax.mail from Tapestry

2008-04-23 Thread Chris Lewis
Hi Andy, If exceptions aren't being thrown from the services/pages that use the mail classes, then the javax.mail is present. Is it possible that your server (or it's network) is blocking outbound smtp connections? chris Andy Huhn wrote: > Hello, > > In my dev environment (

Re: T5 contributeMasterDispatcher - how to have default rootContext access be part of it

2008-04-23 Thread Chris Lewis
Hi Jan, The first 2 paragraphs of this article cover what you want to do: http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher Included also are relevant links to javadocs, as well as references to the TapestryModule, where you can see how it influences dispatcher ordering. chris

Re: T5 equivalent for T4 PageBeginRenderListener.pageBeginRender

2008-04-22 Thread Chris Lewis
I think you want the pageLoaded event. Don't take my word for it: http://tapestry.apache.org/tapestry5/tapestry-core/guide/lifecycle.html chris Jan Vissers wrote: > Just out of curiosity; > > What is T5's alternative for: > PageBeginRenderListener public void pageBegin

Re: T5 actionlink, ajax zone and user onclick handler

2008-04-22 Thread Chris Lewis
e are some fine ones available now, and they make using Tapestry so much easier. Chris Blower, Andy wrote: > Chris, > > Just wanted to say that's a very well written wiki page which seems to pull > together all relevant points without being too verbose. Bravo. > > Hope you get

Re: T5 actionlink, ajax zone and user onclick handler

2008-04-22 Thread Chris Lewis
I don't understand - it uses the modern DOM events system, abstracted (partially) by tapestry.js, and further abstracted by the underlying prototype.js library. What is it you are asking? zack1403 wrote: > Why doesnt tapestry attach events to the DOM instead of using onClick? > > Za

Re: Tapestry Start

2008-04-21 Thread Chris Lewis
Hi Zack. By chance are you using any 3rd party component libs? chris zack1403 wrote: > I have a very basic project with a few pages just doing basic crud stuff. My > Tomcat6 (SDK 1.6) server is running just this one tapestry project with > nothing running of my own during startup. I

Re: example doesn't work :(

2008-04-21 Thread Chris Lewis
is ok now :) > > thanks again > cu > janos > > On 21/04/2008, Sven Homburg <[EMAIL PROTECTED]> wrote: > >> bingo >> >> 2008/4/21, János Jarecsni <[EMAIL PROTECTED]>: >> >> >>> ah, you mean I should not have added typest

Re: example doesn't work :(

2008-04-21 Thread Chris Lewis
It is a module for hibernate integration, so if you don't need hibernate, you don't need that module. János Jarecsni wrote: > ah, you mean I should not have added typestry-hibernate-XXX at all? > > On 21/04/2008, Chris Lewis <[EMAIL PROTECTED]> wrote: > >> Of

Re: example doesn't work :(

2008-04-21 Thread Chris Lewis
t; at >> org.apache.tapestry.hibernate.HibernateModule.build(HibernateModule.java:124) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>

Re: example doesn't work :(

2008-04-21 Thread Chris Lewis
recsni <[EMAIL PROTECTED]> wrote: > >> thanks for the prompt help! I'm now updating everything :) >> have a nice day! >> >> >> On 21/04/2008, Sven Homburg <[EMAIL PROTECTED]> wrote: >> >>> now i am see it too ;- >>> >>>

Re: example doesn't work :(

2008-04-21 Thread Chris Lewis
Hi, >From the package in the stack trace it looks like you're using the old version of that component. It has since been merged into the http://code.google.com/p/tapestry5-components/, so try that. Also, the latest T5 release is 5.0.11. chris János Jarecsni wrote: > Hi, > &

Re: Re : T5 actionlink, ajax zone and user onclick handler

2008-04-20 Thread Chris Lewis
ework less coupled with a particular JS implementation, we will see this behavior evolve with that. Thanks for looking through it and I'm sorry about the length, but I wanted to cover the workings thoroughly. chris Julien HENRY wrote: > Hi Chris, > > Just a little suggestion. Because

Re: T5 actionlink, ajax zone and user onclick handler

2008-04-18 Thread Chris Lewis
e (that is, they may fire before the confirmation code). Anyway, I think it will be helpful to those looking for such an explanation, and I hope it helps you. chris Luca Fossato wrote: > Hi all, > > I'm playing with actionlink and zones to understand T5 ajax functions > (Tape

Re: AW: AW: Getting Answers on the User List

2008-04-18 Thread Chris Lewis
Expressing dissent is not trolling. Sure one could argue that what constitutes trolling is subjective, but almost any reasonable person can discern when the line has been crossed. Francis is a lying mischievous fool that periodically chimes in in hopes of pissing off users, or scaring off newbies.

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

2008-04-18 Thread Chris Lewis
hema/tapestry_5_0_0.xsd";> >> >> > content="text/html;charset=utf-8" /> >> >> ${title} >> >> >> >> >> > t:breadCrumbs="${basePage.breadCrumbHolde

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

2008-04-18 Thread Chris Lewis
t; t:breadCrumbs="${basePage.breadCrumbHolder.model}" /> > > > > > > > On Fri, 2008-04-18 at 16:43 +0200, Chris Lewis wrote: > >> And that is the part I want to see, from the template code which y

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

2008-04-18 Thread Chris Lewis
;> public void setBreadCrumbs(List breadCrumbs) { >> logger.debug("Setting breadcrumbs: "+breadCrumbs); >> this.breadCrumbs = breadCrumbs; >> } >> >> public int getIndex() { >> return index; >> } >> >>

Re: [T5] way to check if the application is entering or exiting from a page

2008-04-18 Thread Chris Lewis
ers to catch them. If you want to execute something at the end of a request within the context of the page, use pageDetached. I apologize if I'm missing your point. Perhaps someone else can chime in. chris Luca Fossato wrote: > Hi Chris, > > thank you. > > Sorry, I didn't

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

2008-04-18 Thread Chris Lewis
the same thing doesn't work. This must be a bug?! > > -J. > > On Fri, 2008-04-18 at 15:59 +0200, Chris Lewis wrote: > >> That looks good to me. I don't have an example I can look at with a >> loop, but I do have one with a t:grid in which I reference a bean >

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

2008-04-18 Thread Chris Lewis
} > > public void setCrumb(BreadcrumbBean crumb) { > this.crumb = crumb; > } > > This should be right, right? > > -J. > > On Fri, 2008-04-18 at 14:00 +0100, nicholas Krul wrote: > >> ? is your crumb property of type BreadCrumbBean, or is it typ

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

2008-04-18 Thread Chris Lewis
umb bean defines a "getName" method, you *should* be good. It would be helpful if you can include the exception, specifically the line it references, etc. chris PS the list is good, the IRC channel (irc.freenode.net #tapestry) is better ;-) Jan Vissers wrote: > Yep, sure, I may

Re: [T5] way to check if the application is entering or exiting from a page

2008-04-18 Thread Chris Lewis
Luca, I think what you want is the page life cyle method "PageDetached." See: http://tapestry.apache.org/tapestry5/tapestry-core/guide/lifecycle.html sincerely, chris Luca Fossato wrote: > Hi, > > in Tapestry 5 is there a way to determine if the application is > entering

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

2008-04-18 Thread Chris Lewis
Can you share some code? At least the relevant part from template would be helpful. chris Jan Vissers wrote: > Hi, > > Just to make sure I'm not missing something. > > In T4 when I wrote a @For construct I could use value="..." as long as I > provided a setter|g

Re: T5: How do I access a page property in my component - PagePool Page Page[Start en] is dirty

2008-04-18 Thread Chris Lewis
something else. Specifically not in a directory controlled by T5 such as 'pages' or components. You are encouraged to use 'base': my.company.base chris Jan Vissers wrote: > Noticed the @InjectPage annotation and tried that - as the javadoc > talked about accessing read

Re: T5: How do I access a page property in my component

2008-04-18 Thread Chris Lewis
Jan, There's probably a simpler way, but you should be able to use @InjectContainer in your component to get the page and call whatever methods (in your case a a getter) you want. I imagine there's a more terse way, but I'm not sure what it would be. chris Jan Vissers wrote: >

Re: Newbie Question about services and modules

2008-04-17 Thread Chris Lewis
Sorry I missed the filter-mapping part, which I believe needs to match the filter name. So you should have: ... Quiz org.apache.tapestry.TapestryFilter Quiz /* ... Chris Lewis wrote: > Hi Michael, > > I believe the problem is your fi

Re: Newbie Question about services and modules

2008-04-17 Thread Chris Lewis
is named 'app', and a default module is created for you named AppModule.java in the services directory. My guess is you renamed your module but did not rename your filter (I've done this a couple of times). chris Michael Szalay wrote: > Hi all > > I tried to build my fi

Re: AW: AW: Getting Answers on the User List

2008-04-17 Thread Chris Lewis
Rob Smeets wrote: > Chris, > > Some of your quotes were made by me but others not by me. To make things > easier for you I've copied my previous post for you. Be bold and answer > them, ok. Don't be afraid or shy. At least I won't bite you. There we go: > > I

Re: AW: AW: Getting Answers on the User List

2008-04-17 Thread Chris Lewis
Francis (as Rob): http://www.nabble.com/Re%3A-AW%3A-Getting-Answers-on-the-User-List-p16679523.html "...not only are high profile Tapestry users abandoning Tapestry, high profile sites which were using Tapestry are also ditching Tapestry..." - *FUD* http://www.nabble.com/Re%3A-Getting-Answers-on-

Re: how to use t5 complete mixin

2008-04-17 Thread Chris Lewis
You need to at least provide the t:textfield component with the value parameter (the property that populates it). See: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/TextField.html. chris luna_guo wrote: > t5 beta: > Start.tml:

Re: AW: AW: Getting Answers on the User List

2008-04-17 Thread Chris Lewis
Check this wiki page: http://wiki.apache.org/tapestry/Tapestry5Trolls, and then consider reporting him to the relevant abuse departments. A couple of us now know a good deal about who this person is, and I am hoping that he will consider the reputation of his actual identity and back off. chris

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

2008-04-16 Thread Chris Lewis
ot. You do have a point about me taking my own advice. I am guilty of allowing my panties to be wadded and I have clearly put some time and energy into a response. I'll have to think on that one for a bit ;-). sincerely, chris Andy Pahne wrote: > > > To quote yourself: > > "

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

2008-04-16 Thread Chris Lewis
mes, email addresses, and messages listed on that page are ones written by him and posted to public lists. Please, explain to me how repeating information that someone has willingly published to public resources is in any way unethical. Joshua Jackson wrote: > On 4/16/08, Chris Lewis <[EMAIL P

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

2008-04-16 Thread Chris Lewis
How is this not ethical? Joshua Jackson wrote: > On 4/16/08, Andy Pahne <[EMAIL PROTECTED]> wrote: > >> Don't you think you are getting carried away with it? >> >> > > I think so too. I don't think this is ethical. :) > > -- http://thegodcode.net

Trolls (Rob Smeets, Emmanuel Sowah, you know)

2008-04-15 Thread Chris Lewis
ng the the polices (and laws) he is violating. If we can't succeed in exposing him, we can at least get his accounts shut down. chris -- http://thegodcode.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: AW: Getting Answers on the User List

2008-04-15 Thread Chris Lewis
Great! Thanks for that link Michael, I was looking for that. chris Michael Gerzabek wrote: > well if you don't have gmail you can also use > > https://mail.google.com/support/bin/request.py?contact_type=abuse_phishing > > > Links to Program Policies and Terms of Use ar

<    4   5   6   7   8   9   10   11   12   13   >