Re: T5: IE conditional not working under template

2008-05-07 Thread Massimo Lusetti
On Wed, May 7, 2008 at 5:35 AM, Angelo Chen <[EMAIL PROTECTED]> wrote: > if I put following code in a pure html file and open it with IE, it works, > but if I put this in a T5 template then run the app, open it in a IE, the > 'Welcome to...' will not display, any idea how to make this works? th

Referring ComponentResources blows Component

2008-05-07 Thread Martin Kersten
Hi there, I stumbled across a deal breaker problem. I have a simple login component and and embedded a Form to it (using ). * OnSuccess I tried to set an ASO (which was present but changes to it are not stored). So I tried using the ApplicationStateManager which was Present but also didn't

Re: Replace item in OrderedConfiguration

2008-05-07 Thread Robin Helgelin
On Tue, May 6, 2008 at 11:04 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > I've been thinking for a while about adding remove() and replace() > methods to OrderedConfiguration and MappedConfiguration, and adding > other methods to OrderedConfiguration to allow minor tweaks to > dependencies

RE: tapestry web app , deployed in tomcat. Need to set as default web app

2008-05-07 Thread Mahen Perera
Hi Marcus, Thanks for the suggestion. AFAICR I tried that. But some URL links within the app was not working then,,, strange. For now I am having the following in an index.html file which sits in the webapps/ROOT directory. mailto:[EMAIL PROTECTED] Sent: 07 May 2008 02:22 To: Tapestry user

Re: Replace item in OrderedConfiguration

2008-05-07 Thread Otho
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 for configuring acegi is in my personal view more readable than the contributions in a service class and it

AjaxFormLoop

2008-05-07 Thread Blower, Andy
Hi Howard, A couple of weeks ago you mentioned that you'd been developing and AjaxFormLoop component when talking about not doing an official release of 5.0.12 just yet. I've been waiting for this to appear in the svn repository so I can grab a new nightly and try out this component, but it doe

Re: Replace item in OrderedConfiguration

2008-05-07 Thread Robin Helgelin
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 for configuring acegi is in my pers

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: [ANN] equanda 0.9 released

2008-05-07 Thread Rob Smeets
Joachim, Great tool but who cares here on the list? I should say you made a bad decision by choosing Tapestry. Tapestry users are fading and you could tell that yourself by looking at the traffic here on the list. If you had done it for say GWT or Wicket, you would have received tons of feedbacks

Re: Replace item in OrderedConfiguration

2008-05-07 Thread Otho
Hi Robin, I must admit that I learned Spring before Tapestry :) The remark was not coined at your work specifically since a seamless integration of Acegi/Spring Security into Tapestry is without doubt something good, because a kind of security and user rights is needed in almost every non trivial w

Re: [ANN] equanda 0.9 released

2008-05-07 Thread adasal
Hi Joachim, I have looked at your web site and discussed this with colleagues. It seems like a very interesting development to me. The apparent ease with which MVC can be split between different machines may be of particular interest to us due to the scale and further scaling needs of our web site,

Re: How to instance object using generic method?

2008-05-07 Thread Filip S. Adamsen
Hi, This is not possible due to the way Java generics are implemented. At least not at present. -Filip On 2008-05-07 06:51, Jun Tsai wrote: public class GenericCreatePage{ private T entity; void onSuccess(){ orm.save(entity); } public void setter/getter } public class CreateUser exn

Re: Referring ComponentResources blows Component

2008-05-07 Thread Filip S. Adamsen
Hi, I use ComponentResources all the time with no issues whatsoever. Something else must be wrong. Do you have any code to share? -Filip On 2008-05-07 09:18, Martin Kersten wrote: Hi there, I stumbled across a deal breaker problem. I have a simple login component and and embedded a Form

Re: Referring ComponentResources blows Component

2008-05-07 Thread Kristian Marinkovic
hi Marting, if you post your code we'll more likley be able to help you :) injecting ComponentResources does not cause any problems/ sideeffects for me either. as long as you use it only in pages, components and mixins :) g, kris "Filip S. Adamsen" <[EMAIL PROTECTED]> 07.05.2008 14:00 Bit

issues in getting IMarkupWriter object

2008-05-07 Thread abhilash
Hi all, i am using tapestry4.1.5 i have problem in getting IMarkupWriter object in my component.when i say cycle.getResponseBuilder().getWriter(getClientId(), ResponseBuilder.ELEMENT_TYPE) its throwing null pointer exception.when i debugged the sourcecode its failing in getWriter(String id,Strin

Re: [T4.1.5] - Inherited annotations fail

2008-05-07 Thread Rob Smeets
No one responding? Sounds like a deja vu. That's sad! Normally, it's Jesse Kuhnert who is responsible for T4 related issues. But unfortunately he's left Tapestry. You may do so too. I wish you best of luck. Yours friendly, Rob On Tue, May 6, 2008 at 5:53 AM, Henrik Schlanbusch <[EMAIL PROTECTED]

Re: [ANN] equanda 0.9 released

2008-05-07 Thread Joachim Van der Auwera
Rob, Your "gospel" is not working. I have used tapestry for several years now, starting from v3 to v4 and now v5. Especially with v5 it is actually getting very apparent that this really is a work of genius. Maybe you should try using it a little instead of always bashing it. For equanda ta

Re: Replace item in OrderedConfiguration

2008-05-07 Thread Robin Helgelin
On Wed, May 7, 2008 at 1:06 PM, Otho <[EMAIL PROTECTED]> wrote: > Hi Robin, > of the underlying concepts from developers. For example your Todo list still > has the non working method security and the ability to access action > handlers in @Secured classes open. Because of the conventions in met

T5: Time picker component

2008-05-07 Thread Partogi, Joshua
Hi all, Does anyone know a good time picker component for T5 like the currently available date picker component? Thanks in advance IMPORTANT NOTICE: The information in this email (and any attachments) is confidential. If you are not the intended recipient, you must not use or disseminate the i

RE: [T4.1.5] - Inherited annotations fail

2008-05-07 Thread Jonathan Barker
Ah, Rob, I'm sure your helpful nature has provided all the technical assistance Henrik needed. I'm still waiting for an answer from you on my inquiries BTW. Henrik provided enough information from someone who hit that exact problem to understand. There was not enough information for someone to

Localization

2008-05-07 Thread dpark
I understand the following: * in order to set the locale programmatically, you call the following: getEngine().setLocale( new Locale( language ) ); * then I call getRequestCycle().activate( "SOME_PAGE" ); * Voila, I see the SOME_PAGE loaded with the locale specific properties and assets. HOWEVER,

RE: Localization

2008-05-07 Thread Jonathan Barker
Try executing cycle.cleanup() after you set the Locale. > -Original Message- > From: dpark [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 07, 2008 10:14 AM > To: users@tapestry.apache.org > Subject: Localization > > > I understand the following: > * in order to set the locale programm

[T4.1.5] problems with file service and IE

2008-05-07 Thread Henrik Schlanbusch
Hi I have a major problem with my file service. It is a service that should stream files to the client. It works swell in firefox and opera, but behaves strangely in IE. An image may be opened ok first time (probably due to caching), then the second time (after hitting ctrl + F5) the image may be

Re: Replace item in OrderedConfiguration

2008-05-07 Thread Filip S. Adamsen
How about using the new ComponentMethodAdvice? Sounds like that might be a good fit. -Filip On 2008-05-07 15:20, Robin Helgelin wrote: On Wed, May 7, 2008 at 1:06 PM, Otho <[EMAIL PROTECTED]> wrote: Hi Robin, of the underlying concepts from developers. For example your Todo list still has t

RE: Localization

2008-05-07 Thread dpark
Thanks for the help but unfortunately that doesn't seem to work. Here's what I do: public void setLanguage( String language ) { getEngine().setLocale( new Locale( language ) ); getRequestCycle().cleanup(); throw new PageRedirectException( "Login" ); } Are you telling me th

Problem with form submission with callback

2008-05-07 Thread stuffhere
Hi All I'm trying to submit a form then do a callback to a javascript function, but the form appears to be submitted twice. The tapestry form is for login and has a couple of textfields with a t:submit button Abridged Java class @Mixins("t5components/OnEvent") @Component(id = "loginForm", par

Re: Problem with form submission with callback

2008-05-07 Thread stuffhere
P.S. I think this is a problem with the onevent stuff - if I just do a normal submit, the onSubmitFromLoginForm function only gets called once. -- View this message in context: http://www.nabble.com/Problem-with-form-submission-with-callback-tp17106416p17106419.html Sent from the Tapestry - User

Re: Localization

2008-05-07 Thread Michael J. Long
I observed a similar behavior, which I traced back to the RequestLocaleManagerImpl (see my post on the subject: ). As I have not received a response (and my implementation, which is attached, seems to have sol

Re: T5: Time picker component

2008-05-07 Thread Sven Homburg
just commited into t5components project trunk http://code.google.com/p/tapestry5-components/ 2008/5/7 Partogi, Joshua <[EMAIL PROTECTED]>: > Hi all, > > Does anyone know a good time picker component for T5 like the currently > available date picker component? > > Thanks in advance > > IMPORTANT N

Potential bug in Tapestry 5.0.11 running on Tomcat

2008-05-07 Thread Michael Böckling
Hi, I found a strange bug in Tapestry 5.0.11. I have a webapp which works - in jetty [win] - in tomcat 6.0.13 [Win] - in tomcat 5.5.25/6.0.13 [Win] but not - on a Linux box with either 5.5.25 or 6.0.16 in a configuration where tomcat.home and tomcat.base are seperate directories, and tomcat

Re: AjaxFormLoop

2008-05-07 Thread Josh Canfield
> P.S. Also, I asked a question on the list about whether there was an easy way > to get hold of the integration test apps rather > than one file at a time. Is there a way? You can grab the source from the svn repo. The directions are here: http://tapestry.apache.org/tapestry5/tapestry-test/sourc

Re: AjaxFormLoop

2008-05-07 Thread Howard Lewis Ship
I expect to check this in over the weekend or early next week. It's a suite of components, targetted at editing objects in a list, primarily Hibernate entities. There's the AjaxFormLoop, plus special links for handling removing an existing row or adding a new row. You'd use this for master/detail

Re: [ANN] equanda 0.9 released

2008-05-07 Thread Christian Edward Gruber
So this commit message about two weeks ago is a mistake in apache's automatic commit notification system? http://www.archivum.info/[EMAIL PROTECTED]/2008-04/msg00012.html (For the link-challenged, it's Jesse Kuhnhert commiting a change to the Tapestry4 code with the following log comments:

Re: [T4.1.5] - Inherited annotations fail

2008-05-07 Thread Christian Edward Gruber
So why don't you abandon tapestry? Why do you hang around at all, if such dedicated committers are abandoning it. Journalistic fanatical devotion to the truth and spreading it? No... that's not it? Howard spurned your advances? Could be Please. Give me some other answer that makes

Re: Problem with form submission with callback

2008-05-07 Thread stuffhere
Ok, I've put some prints in the setters and the form event methods, this is what I get out: logging in member 127.0.0.1 - - [07/May/2008:17:00:29 +] "POST /home.landingpage.loginwidget.loginform:submit HTTP/1.1" 200 2 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gec

Re: Replace item in OrderedConfiguration

2008-05-07 Thread Robin Helgelin
On Wed, May 7, 2008 at 4:21 PM, Filip S. Adamsen <[EMAIL PROTECTED]> wrote: > How about using the new ComponentMethodAdvice? Sounds like that might be a > good fit. Reading up about that now, any specific ideas on how to use it? Seems like it can help on secure methods, but not on secure classes.

Re: [T4.1.5] problems with file service and IE

2008-05-07 Thread Marcus Schulte
output.close() ? On 07/05/2008, Henrik Schlanbusch <[EMAIL PROTECTED]> wrote: > Hi > > I have a major problem with my file service. > It is a service that should stream files > to the client. It works swell in firefox > and opera, but behaves strangely in IE. > An image may be opened ok first

why leading underscores removed ?

2008-05-07 Thread Sven Homburg
hi howard, what is the reason removing the variables leading underscores? -- with regards Sven Homburg http://tapestry5-components.googlecode.com

Re: Replace item in OrderedConfiguration

2008-05-07 Thread Filip S. Adamsen
There isn't much documentation on this yet as far as I know, but Howard posted a bit about it on his blog: http://tapestryjava.blogspot.com/2008/04/tapestry-components-aspects.html -Filip On 2008-05-07 19:29, Robin Helgelin wrote: On Wed, May 7, 2008 at 4:21 PM, Filip S. Adamsen <[EMAIL PROTE

Re: Problem with form submission with callback

2008-05-07 Thread Sven Homburg
what is your reason to attach the OnEvent Mixin to the Login form ? 2008/5/7 stuffhere <[EMAIL PROTECTED]>: > > Ok, I've put some prints in the setters and the form event methods, this > is > what I get out: > > logging in member > 127.0.0.1 - - [07/May/2008:17:00:29 +] "POST > /home.la

How to make use of reply.script

2008-05-07 Thread TonyTheFish
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, if present, reply.script is evaluated. I really want to find out how to place

Re: [T4.1.5] problems with file service and IE

2008-05-07 Thread Henrik Schlanbusch
Marcus Schulte googlemail.com> writes: > > output.close() ? > Marcus, thanks for the suggestion, but the same situation persists. Exactly the same error message from explorer. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [T4.1.5] problems with file service and IE

2008-05-07 Thread Marcus Schulte
The exception hints to IE closing the connection unexpectedly. Might it be related to the content you're streaming? I use very similar code to serve out Excel files to IE. Works great. Did you try omitting the length-header? On 07/05/2008, Henrik Schlanbusch <[EMAIL PROTECTED]> wrote: > Marcus Sch

Re: T5 PopUp Windows & JavaScrip

2008-05-07 Thread nicholas Krul
Hi... Sorry it took so long, tonight is the first free (ish) nigh I've had for a while. for point 4... try this: @Environmental private PageRenderSupport pageRenderSupport; @Inject @Path("tiny_mce/tiny_mce.js") //CLASSPATH ref (relative for me) private Asset mceEditor; void se

RE: Localization

2008-05-07 Thread Jonathan Barker
Yes, what I have works fine. Because it is cookie-based, it also persists to subsequent sessions. FYI, that app is running on T4.0.2 I actually do it from within a component: /** * listener to change language / locale */ public void onSetLocale(IRequestCycle cy

RE: Potential bug in Tapestry 5.0.11 running on Tomcat

2008-05-07 Thread Jonathan Barker
Error messages? Linux distro? Tomcat from distro package or straight from Apache? > -Original Message- > From: Michael Böckling [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 07, 2008 11:56 AM > To: users@tapestry.apache.org > Subject: Potential bug in Tapestry 5.0.11 running on Tomcat

Re: How to make use of reply.script

2008-05-07 Thread Chris Lewis
Tony, The ajax response handler tries to wrestle the environment to behave as if the request was a normal one, preserving many things including the PageRenderResponse service. When using this service in an ajax context, scripts added via addScript() are packaged up in a json object response result

Re: Localization

2008-05-07 Thread Michael J. Long
Yes, RequestLocaleManagerImpl was "broken" with the fix for an issue in 4.1.3. Therefore, it works fine in Tapestry 4.0.x. On May 7, 2008, at 2:07 PM, Jonathan Barker wrote: Yes, what I have works fine. Because it is cookie-based, it also

IDE Integration for Tap 5

2008-05-07 Thread Mark W. Shead
I am looking for IDE integration for Tapestry 5. I was getting ready to try out IDEA because it appears to be the only IDE with a plugin for Tapestry 5. However when I click on the link on the front page of the Tapestry site, it doesn't seem to take me to the TapIDEA plugin. Is anyone els

Re: why leading underscores removed ?

2008-05-07 Thread Howard Lewis Ship
I adopted the leading underscores style a long time ago, when using Eclipse. It helped with completion (Eclipse was very slow at this, back in the day). However, seeing that in code has "scared" people, since its unusual. Next: Hibernate is not as flexible as Tapestry, and leading underscores co

Re: why leading underscores removed ?

2008-05-07 Thread Sven Homburg
thanx for info 2008/5/7 Howard Lewis Ship <[EMAIL PROTECTED]>: > I adopted the leading underscores style a long time ago, when using > Eclipse. It helped with completion (Eclipse was very slow at this, > back in the day). > > However, seeing that in code has "scared" people, since its unusual. >

Re: IDE Integration for Tap 5

2008-05-07 Thread Sven Homburg
i dont know who needs it, but have a look for that http://blogs.logical-software.com/roller/frontpage/page/search?tag=loomy i think very usefull is a generated html, that describe used components in pages, services etc so you may have a wunderfull technical overview of the application 2008/5/7 M

Re: IDE Integration for Tap 5

2008-05-07 Thread Mark W. Shead
I saw that but it looks like it is just some screenshots. I can't find anything downloadable, so I'm assuming this isn't what others are using. Mark On May 7, 2008, at 3:37 PM, Sven Homburg wrote: i dont know who needs it, but have a look for that http://blogs.logical-software.com/roller

Re: IDE Integration for Tap 5

2008-05-07 Thread Sven Homburg
what do you expect from such tool ? 2008/5/7 Mark W. Shead <[EMAIL PROTECTED]>: > I saw that but it looks like it is just some screenshots. I can't find > anything downloadable, so I'm assuming this isn't what others are using. > > Mark > > > On May 7, 2008, at 3:37 PM, Sven Homburg wrote: > >

Re: IDE Integration for Tap 5

2008-05-07 Thread Mark W. Shead
Component autocomplete in the .tml files. Visually linking Java code to .tml files would be nice (like the WebObject Builder use to do.) On May 7, 2008, at 4:46 PM, Sven Homburg wrote: what do you expect from such tool ?

Re: Potential bug in Tapestry 5.0.11 running on Tomcat

2008-05-07 Thread Howard Lewis Ship
You are probably hitting some case sensitivity. What is the exact name of your Index page's Java class? And what is the exact name of the template file? On Wed, May 7, 2008 at 12:09 PM, Jonathan Barker <[EMAIL PROTECTED]> wrote: > > Error messages? Linux distro? Tomcat from distro package or st

Re: Potential bug in Tapestry 5.0.11 running on Tomcat

2008-05-07 Thread Howard Lewis Ship
I.e. Because Windows is relatively case insensitive about file names, but Linux (to my knowledge) is very case sensitive. On Wed, May 7, 2008 at 3:13 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > You are probably hitting some case sensitivity. What is the exact > name of your Index page's J

Re: Tapestry 5 Beaneditform and TextFlield

2008-05-07 Thread ice96
Hello, I don;t know why but it doesn't works :( in AppModule.java I added this lines public static void contributeBeanBlockOverrideSource(Configuration configuration) { configuration.add(new BeanBlockContribution("text", "AppPropertyEditBlocks", "text", true)); } and in compone

RE: Potential bug in Tapestry 5.0.11 running on Tomcat

2008-05-07 Thread Jonathan Barker
Geez, I should really try scrolling next time and eliminate the useless questions like "Error messages?" > -Original Message- > From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 07, 2008 6:13 PM > To: Tapestry users > Subject: Re: Potential bug in Tapestry 5.0.11 r

Tapestry 5 Release Date (not beta)

2008-05-07 Thread jason sid
Hi All I am currently using Tapestry 4.x for one of my projects. There is a new project that I prefer to do in Tapestry 5. Can someone tell me when an official release would be available. If someone could tell me it could be the decision choice for Tapestry. Thank you Jason

RE: Potential bug in Tapestry 5.0.11 running on Tomcat

2008-05-07 Thread Michael Böckling
I am not worthy. *doh* Never again will I make such bold assumptions about T5's buggyness, I promise! Btw., I'm just getting started with Tapestry, and I'm pretty much in awe. This is exactly how a Java web-framework has to look like in 2008! Thanks a lot Howard! Regards, Michael P.S.: Though