Re: moving from tapestry 4.1.5 to tapestry 4.1.6

2009-04-15 Thread Robert Zeigler
Switch versions? :) I'm not involved in T4 in any way, but my understanding is that 4.1.6 is largely a bug-fix release over 4.1.5, so you should just be able to switch the version you depend on and be fine? Also, slight correction: Tapestry 5 certainly supports ajax. :) But not in exactly

Re: T5: No object of type org.apache.tapestry5.RadioContainer

2009-04-15 Thread alex_brest
Hello! Thanks for answer, but you mean a grid with elements (radiobuttons, checkboxes)? This grid inside a form works fine (and clicks on pager also) without radiobutton column. Alexander You can't update the grid in place if it's inside a form. > Hello! I have a problem: > > I have a grid wi

moving from tapestry 4.1.5 to tapestry 4.1.6

2009-04-15 Thread kk4Nabble
Hi All, Am using tapestry 4.1.5. Since Tapestry 5 does not support Dojo and ajax. ( And my application has lot of dojo and ajax stuff) I want to move from tapestry 4.1.5 to tapestry 4.1.6 which is the latest version in tapestry 4. So how to upgrade from tapestry 4.1.5 to Tapestry 4.1.6? Thanks a

@Inject @Symbol doesn't appear to work in pages?

2009-04-15 Thread daniel joyce
This doesn't seem to work in a page model file @Inject @Symbol(value=SymbolConstants.PRODUCTION_MODE) private Boolean productionMode; I get a nullpointerexception when I try and use it. Also, is the magic method name onPageLoad() for setting up vars at page instance load time? -

Re: Tapestry harfs on templates using  

2009-04-15 Thread Thiago H. de Paula Figueiredo
Em Thu, 16 Apr 2009 00:39:42 -0300, daniel joyce escreveu: org.apache.tapestry5.ioc.internal.util.TapestryException Failure parsing template classpath:com/mobilesemi/trailblaze/pages/admin/ManageUsers.tml: The entity "nbsp" was referenced, but not declared. Add an HTML doctype to your templ

Tapestry harfs on templates using  

2009-04-15 Thread daniel joyce
org.apache.tapestry5.ioc.internal.util.TapestryException Failure parsing template classpath:com/mobilesemi/trailblaze/pages/admin/ManageUsers.tml: The entity "nbsp" was referenced, but not declared. Am I doing something wrong? Or is it due to the fact that http://tapestry.apache.org/schema/tapest

Re: [REQUEST] Live T5 web sites, quotes, marketting

2009-04-15 Thread Jun Tsai
http://www.1king1.com >From China. using Tapestry5.0. -- regards, Jun Tsai

Re: T5: No object of type org.apache.tapestry5.RadioContainer

2009-04-15 Thread Howard Lewis Ship
You can't update the grid in place if it's inside a form. On Wed, Apr 15, 2009 at 5:37 PM, alex_brest wrote: > > Hello! I have a problem: > > I have a grid with radiobutton column: > > >   pagerPosition="bottom" inPlace="true"> >     >       >     >   > > > all works fine, but after click on pa

T5: No object of type org.apache.tapestry5.RadioContainer

2009-04-15 Thread alex_brest
Hello! I have a problem: I have a grid with radiobutton column: all works fine, but after click on pager, i receive a next error: Communication with the server failed: Render queue error in BeginRender[Start:radio]: No object of type org.apache.tapestry5.RadioContainer

Re: Ordering of meta tags

2009-04-15 Thread Howard Lewis Ship
We could change Tapestry to shift the location of the extra and

Re: t5: forwarding in index

2009-04-15 Thread Borut Bolčina
Hi, no I do not have any information, sadly. I had to ditch the concept of having tapestry form together with tapestry-spring-security. I was quite disappointed as this issue was closed so quickly. -Borut 2009/4/15 Francois Armand : > Borut Bolčina wrote: >> >> It is now: https://issues.apache.

Ordering of meta tags

2009-04-15 Thread Ville Virtanen
Hi, Per Microsoft documentation (http://msdn.microsoft.com/en-us/library/cc817574.aspx) "The X-UA-compatible header is not case sensitive; however, it must appear in the Web page's header (the HEAD section) before all other elements, except for the TITLE element and other META elements." T5 put

Re: Upgrading to Tapestry 4 to Tapestry 5

2009-04-15 Thread kk4Nabble
Thanks a lot for a reply. I want to know which version is the latest version in tapestry 4 itself. Thanks in advance. Thiago H. de Paula Figueiredo wrote: > > On Wed, Apr 15, 2009 at 12:40 PM, Peter Stavrinides > wrote: >> I think this is entirely your decision, the benefits of upgrading ar

Re: [T5.1.0.2] / [T5.1.0.3] Combining JavaScript Libraries in IE 6

2009-04-15 Thread Howard Lewis Ship
On Wed, Apr 15, 2009 at 5:20 AM, Steve Eynon wrote: > Hi, > > We use Jetty 6.1.14 and this happens regardless of whether deployed to > Windows or Linux. We've not noticed this behaviour in Firefox or IE 7, > but it's consistent on IE 6. However, when you refresh the problematic > page then all wor

Re: Upgrading to Tapestry 4 to Tapestry 5

2009-04-15 Thread Thiago H. de Paula Figueiredo
On Wed, Apr 15, 2009 at 12:40 PM, Peter Stavrinides wrote: > I think this is entirely your decision, the benefits of upgrading are > improved productivity, so could offset the initial setback and learning curve > in the long run. > Tapestry 5 IMHO as a former Tapestry 4 user, is in nearly all re

Re: Upgrading to Tapestry 4 to Tapestry 5

2009-04-15 Thread Peter Stavrinides
>I heard that there is no simple, direct upgrade path from Tapestry 4 to >Tapestry 5. correct >Should i rewrite the code? Ours application is quite big.. >Please suggest. I think this is entirely your decision, the benefits of upgrading are improved productivity, so could offset the initial set

Re: T5 Chenillekit: @OnEvent problem with JSONObject/JSONArray

2009-04-15 Thread leechj
This will be my last post on this as I was able to find a solution!! My problem was related to this: https://issues.apache.org/jira/browse/TAP5-469 A workaround in that link is given that fixes the issue. Hopefully this will help anyone else out experiencing the same thing I was. leechj wr

Complex Page Lifecycle

2009-04-15 Thread Geoffrey Wiseman
Is there documentation covering a page lifecycle with events and rendering mixed together? I'm discovering that my page gets activated before a validation event and again for rendering after the validation fails, which means that values don't carry forward from the event to the render without taki

Re: T5 How to onLoad focus() to textfield in Layout component

2009-04-15 Thread wesleywj2
thanks so much, simple and efficient. thanks much. regards, wesley Thiago H. de Paula Figueiredo wrote: > > Prototype comes to the rescue: > http://www.prototypejs.org/api/event/observe. > > Event.observe(window, 'load', function() { > $('text1').focus(); > } > > -- > Thiago > > -

Re: t5: forwarding in index

2009-04-15 Thread Massimo Lusetti
On Wed, Apr 15, 2009 at 3:48 PM, Francois Armand wrote: > Borut Bolčina wrote: >> >> It is now: https://issues.apache.org/jira/browse/TAP5-607 >> > > This bug was closed without real solution nor bypass, do you had some more > information about it ? If i'm not wrong Howard asked (in another thre

Re: T5 Chenillekit: @OnEvent problem with JSONObject/JSONArray

2009-04-15 Thread leechj
Okay I found out that it's not the amount of elements in the Array, but how big the entire object is total. Is there something in the request or response I need to look into to change the allowable size of what gets returned from an ajax call when using this mixin? leechj wrote: > > My problem

Re: t5: forwarding in index

2009-04-15 Thread Francois Armand
Borut Bolčina wrote: It is now: https://issues.apache.org/jira/browse/TAP5-607 This bug was closed without real solution nor bypass, do you had some more information about it ? -- Francois Armand Etudes & Développements J2EE Groupe Linagora - http://www.linagora.com Tél.: +33 (0)1 58 18 6

Re: Decent jetty runner for eclipse

2009-04-15 Thread Christian Edward Gruber
Ganymede, Mac, 1.6. Christian. On 14-Apr-09, at 17:45 , Amit Nithian wrote: I am using it with Eclipse Ganymede and 1.6 without problems. I too have the parentLoader property and production mode off as I assume most others do too. I just upgraded from Eclipse 3.3 and launched this without m

Upgrading to Tapestry 4 to Tapestry 5

2009-04-15 Thread kk4Nabble
Hi all, Am using Tapestry 4.1.5 . I want to upgrade to Tapestry 5. I heard that there is no simple, direct upgrade path from Tapestry 4 to Tapestry 5. And also its completely new . Should i rewrite the code? Ours application is quite big.. Please suggest. Thank you -- View this message in c

Re: [REQUEST] Live T5 web sites, quotes, marketting

2009-04-15 Thread Steve Eynon
Hi, http://www.bushmasters.co.uk - An extreme adventure tour company in South America. We re-deployed a few weeks ago with Tapestry 5.1, upgrading from an old PHP site. I've been a long standing advocate of Tapestry - it makes web development fun! They're a bit non specific but here's my two pe

Re: New T5 blog

2009-04-15 Thread Inge Solvoll
http://tinybits.blogspot.com/ New post on my blog with another simple mixin that has been posted on the list before. Also worked a bit on the layout. Found that the best way to publish source code on blogger.com was to use Windows Live Writer with source code formatter plugin: http://skotl.blogsp

Re: [T5.1.0.2] / [T5.1.0.3] Combining JavaScript Libraries in IE 6

2009-04-15 Thread Steve Eynon
Hi, We use Jetty 6.1.14 and this happens regardless of whether deployed to Windows or Linux. We've not noticed this behaviour in Firefox or IE 7, but it's consistent on IE 6. However, when you refresh the problematic page then all works fine. It's almost as if the virtual script is being download

Re: Re: A document must have exactly one root element exception on 5.1.0.2 upgrade.

2009-04-15 Thread nille hammer
Hi zack, "Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException: A document must have exactly one root element. Element is already the root element. [at classpath:com/inavero/pulse/pages/report/Edit.tml, line 78]" Search Edit.tml and )if existent) UnitTree.tml. I am pretty sure you

Differences between T5 and T51 question

2009-04-15 Thread Andrea Chiumenti
hello, I see that org.apache.tapestry5.internal.structure.Page#getLogicalName has moved to org.apache.tapestry5.internal.structure.Page#getName in toapestry5.1, is there a common method to get the logical method of a page in T5 and T51 ? Thanks in advance, kiuma --

Re: Several problems with T5.1.0.2

2009-04-15 Thread serg-l
I'm found were is the problem... It's appear only when tapestry.production-mode=true. As I'm understand in this mode all JavaScripts gather in one virtual .js. But one of my script have comment at the last line! The next script added to the end of previous one without CL, so the meaning line

Re: T5 How to onLoad focus() to textfield in Layout component

2009-04-15 Thread Thiago H. de Paula Figueiredo
Prototype comes to the rescue: http://www.prototypejs.org/api/event/observe. Event.observe(window, 'load', function() { $('text1').focus(); } -- Thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For add

Re: T5 How to onLoad focus() to textfield in Layout component

2009-04-15 Thread Ville Virtanen
You can achieve this the T5 way by doing this in the page that contains the textbox, no need to mess with layout etc. this can even be in a component...: @Environmental private RenderSupport renderSupport; void setupRender() { renderSupport.addScript("document.getElementById('%s').fo

Re: [REQUEST] Live T5 web sites, quotes, marketting

2009-04-15 Thread nille hammer
Hi Howard, maybe to small to be mentioned, but www.salsadeli.de is running with T5.0.18. I have developed it all by myself. What I find most impressive about T5 is the clean code one produces. Compare the amount and style of code needed to do a simple form in Struts or JSF to that needed in T5

T5 How to onLoad focus() to textfield in Layout component

2009-04-15 Thread wesleywj2
hi, i'm trying to do an automatic focus on 1 of 3 textfield input upon the page render. so i thought in my textfield upon resubmit this page, the onLoad attribute in can call the javascript document.getElementById('text1').focus(); but the environment of my page is using Layout component

Re: [T5.1.0.2] / [T5.1.0.3] Combining JavaScript Libraries in IE 6

2009-04-15 Thread Ville Virtanen
I've experienced this too, and some others in the list. The underlying issue is that the combining / gzipping dies in the server side -> the page is loaded but the javascript asset is never delivered to the browser. However, tapestry includes initialization in the page which dependes to the asset

Re: [REQUEST] Live T5 web sites, quotes, marketting

2009-04-15 Thread Petro
We have been using intensively T4, T4.1 and now we are working with T5 and T5.1 We have a couple of applications developed with T5: * http://laporradeportiva.com http://laporradeportiva.com * http://sync.intenziona.com/intenziona/ http://sync.intenziona.com/intenziona/ * http://www.ferroviar

Re: T5 how to execute javascript after zone update?

2009-04-15 Thread Hugo Palma
There was a discussion on the list recently regarding this subject ( http://www.nabble.com/Executing-javascript-on-ajax-call-return-td22667258.html ). An issue was created for this, you can watch/vote for it here https://issues.apache.org/jira/browse/TAP5-624 2009/4/14 grabarz > is there any way

Re: [REQUEST] Live T5 web sites, quotes, marketting

2009-04-15 Thread Andy Pahne
This is the public part of a project consisiting of four different T5 applications: http://www.travelling-britain.com/ We have been running on the latest T5 snapshots for the last six months without any major problems. I have never done such thing before, running a production website on

Re: Package for base pages

2009-04-15 Thread Inge Solvoll
I guess the only consequence is that your base page is regarded as a regularly accessible page/component by tapestry. I have such base components myself, and did some thinking about this. I don't like having too many duplicate packages like the example below, but I don't see another way out when us

Question: GetValue from for-loop

2009-04-15 Thread Fevzi Yuekseldi
Hi all. I have a for loop in a component and now i want to implement something like AJAX. The for-loop has a article-number(Textfield), description(Insert), and a price(Insert) 5 times... At the beginning all the fields are empty. I set a method with a @Eventlistener annotation with target to t

Package for base pages

2009-04-15 Thread Peter Stavrinides
Hi, Regarding a quote from the docs here: http://tapestry.formos.com/nightly/tapestry5/guide/component-classes.html Component Packages: ... "In addition, it is common for an application to have base classes, often abstract base classes, that should not be directly referenced. These should not g