Re: Help Tapestry5 Block with JavaScript? Anyone

2009-11-23 Thread alanearl
Any Examples is appreciated ... Currently no luck in searching the nabble forum any links. alanearl wrote: > > Sory Oakstair i did not detail my problem. > First I dont have any problem integrating Tapestry & JQuery. > My Problem is executing my javascript when it is inside the BLOCK. > I thin

method advisors... change parameters

2009-11-23 Thread Alfonso Quiroga
Hi, is there a way to change the parameters of a service "invocation"? I have the T5Invocation, the java Method.. I saw that invocation has the real values inside (p0, p1.. fields). I can access them via reflection (brute force), maybe something more adecuate? thanks in advance ---

Re: Combining Javascript doesn't work with libraries like TinyMCE

2009-11-23 Thread Josh Canfield
Here is a workaround that I used in my tinymce mixin. void afterRender(MarkupWriter writer) { // inject script in a non-combinable way final String scriptelementid = "tinymce-script"; final Element src = writer.getDocument().getElementById(scriptelementid); if (src

AjaxFormLoop problem

2009-11-23 Thread Greg Pagendam-Turner
I'm getting the following error on my page that uses an AjaxFormLoop: "Render queue error in AfterRender[EditGoal:ajaxformloop.fragment]: The rendered content did not include any elements that allow for the positioning of the hidden form field's element." I see that an issue has been raised:

Re: Help Tapestry5 Block with JavaScript? Anyone

2009-11-23 Thread Howard Lewis Ship
Search the archives, I'm pretty sure this has come up before. On Mon, Nov 23, 2009 at 3:24 PM, alanearl wrote: > > Sory Oakstair i did not detail my problem. > First I dont have any problem integrating Tapestry & JQuery. > My Problem is executing my javascript when it is inside the BLOCK. > I thi

Re: Help Tapestry5 Block with JavaScript? Anyone

2009-11-23 Thread alanearl
Sory Oakstair i did not detail my problem. First I dont have any problem integrating Tapestry & JQuery. My Problem is executing my javascript when it is inside the BLOCK. I think it will not execute Excuse me Sir Howard, I don't understand this part: This can be accomplished by using the De

Re: Combining Javascript doesn't work with libraries like TinyMCE

2009-11-23 Thread raulmt
https://issues.apache.org/jira/browse/TAP5-935 If you have something to add or clarify, please do it as well ;) Thiago H. de Paula Figueiredo wrote: > > Em Mon, 23 Nov 2009 19:13:09 -0200, raulmt escreveu: > >> Hello, > > Hi! > >> should I post a ticket in jira about per-script combining c

Re: Combining Javascript doesn't work with libraries like TinyMCE

2009-11-23 Thread Thiago H. de Paula Figueiredo
Em Mon, 23 Nov 2009 19:13:09 -0200, raulmt escreveu: Hello, Hi! should I post a ticket in jira about per-script combining configuration? Please do it. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, softwar

Combining Javascript doesn't work with libraries like TinyMCE

2009-11-23 Thread raulmt
Hello, Combining Javascripts feature in T5.1 is great, but sadly I had to disable it. I use TinyMCE and this library uses its own path (where tiny_mce.js "lives") to load other files that are needed (themes, languages, etc.). The problem arises when tiny_mce.js is in the combined virtual asset be

Re: [T5]Has AjaxFormLoop-addrow-addrowlink-parameter context value?

2009-11-23 Thread Dariusz
Is it possible? Maybe there is a workaround for this. moonlee wrote: > > I use AjaxFormLoop-addrow-addrowlink-parameter to dynamic add a row , I > want to fill the row with some defult value which base on the link param > user click. > > for example: > > tml: > > > > Add a row >

Re: Browser scroll position - how does it work?

2009-11-23 Thread Gunnar Eketrapp
Thanks a lot! That did the trick .. 2009/11/23 Howard Lewis Ship > Check out the focus parameter of the Form component. > > On Mon, Nov 23, 2009 at 8:10 AM, Gunnar Eketrapp > wrote: > > Hi! > > > > We have a design with quite long pages. I.e. they all have a scroll bar. > > > > Now to my qu

Re: Validation failing in IE6/7

2009-11-23 Thread Andrew Miller
I've taken a look and it's definitely within a form element. The problem appears to be that tapestry.js isn't adding that function to the element, IE6/7 complains thus: Error: Object doesn't support this property or method Interestingly, IE8 was making the exact same complaint until I upg

Re: Browser scroll position - how does it work?

2009-11-23 Thread Howard Lewis Ship
Check out the focus parameter of the Form component. On Mon, Nov 23, 2009 at 8:10 AM, Gunnar Eketrapp wrote: > Hi! > > We have a design with quite long pages. I.e. they all have a scroll bar. > > Now to my question: > > When clicking in the static HTML design I got from the HTML guy new pages > s

Browser scroll position - how does it work?

2009-11-23 Thread Gunnar Eketrapp
Hi! We have a design with quite long pages. I.e. they all have a scroll bar. Now to my question: When clicking in the static HTML design I got from the HTML guy new pages starts at the top. BUT while clicking around in my T5 version of the site the browser position itself somewhere in the middl

Re: "missing key" for localized resources on Linux

2009-11-23 Thread Michael Gentry
Even though OS X is Unix-based, the default filesystem shipped by Apple is case-insensitive. mrg On Mon, Nov 23, 2009 at 5:32 AM, Ilya Obshadko wrote: > Thanks, it worked. > > Looks like resource location methods on OS X are case insensitive.

Re: ognl question

2009-11-23 Thread Howard Lewis Ship
http://tapestry.apache.org/tapestry5.1/guide/propexp.html On Mon, Nov 23, 2009 at 6:09 AM, Ken in nashua wrote: > > Thanks folks for offers. > > Still wondering... how do we do object graph notation in T5. Is there an > improvised construct/framework to take the place of OGNL? > > Ken > > > > >

Re: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry

2009-11-23 Thread Juan E. Maya
U could create a new "URIAssetFactory" to obtain assets from a external resource or u could use the one provided by chenillekit. On Mon, Nov 23, 2009 at 2:36 PM, Borut Bolčina wrote: > Hello, > > I am also looking for a way to serve all T5 application's JavaScript, CSS > and images from our own C

Re: ognl question

2009-11-23 Thread Juan E. Maya
This may be useful http://tapestry.apache.org/tapestry5/guide/propexp.html On Mon, Nov 23, 2009 at 3:09 PM, Ken in nashua wrote: > > Thanks folks for offers. > > Still wondering... how do we do object graph notation in T5. Is there an > improvised construct/framework to take the place of OGNL? >

RE: ognl question

2009-11-23 Thread Ken in nashua
Thanks folks for offers. Still wondering... how do we do object graph notation in T5. Is there an improvised construct/framework to take the place of OGNL? Ken From: nhhockeypla...@hotmail.com To: users@tapestry.apache.org Subject: ognl question Date: Thu, 19 Nov 2009 08:41:11 -0500

Re: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry

2009-11-23 Thread Borut Bolčina
Hello, I am also looking for a way to serve all T5 application's JavaScript, CSS and images from our own CDN. Does anybody have an advice on this? Is it at all possible with T5? Second question - has anybody ever noticed that scriptaculous.js or prototype.js or tapestry css is returned to the use

Re: Validation failing in IE6/7

2009-11-23 Thread Howard Lewis Ship
That seems very odd, as Tapestry (i.e., tapestry.js) will create the Tapestry.FormEventManager object if it does not already exist. Could it be because the field in question is not contained within a form? On Mon, Nov 23, 2009 at 4:45 AM, Andrew Miller wrote: > I've done a bit more digging on thi

Re: Validation failing in IE6/7

2009-11-23 Thread Andrew Miller
I've done a bit more digging on this and I made a mistake in my original assumption: > The failure occurs during the Tapestry.init function. I've traced the > javascript execution through and I've found the exact line it's failing > on - during the call to the Tapestry.Initializer.validate functio

Re: "missing key" for localized resources on Linux

2009-11-23 Thread Ilya Obshadko
Thanks, it worked. Looks like resource location methods on OS X are case insensitive. On Mon, Nov 23, 2009 at 1:14 PM, DH wrote: > Please check whether the properties file name is the same as the filter > name in web.xml (case sensitive) . > I made such mistake before. > > DH > http://www.gaonl

Re: "missing key" for localized resources on Linux

2009-11-23 Thread DH
Please check whether the properties file name is the same as the filter name in web.xml (case sensitive) . I made such mistake before. DH http://www.gaonline.com.cn - Original Message - From: "Ilya Obshadko" To: "Tapestry users" Sent: Monday, November 23, 2009 6:07 PM Subject: "missin

"missing key" for localized resources on Linux

2009-11-23 Thread Ilya Obshadko
I've started deploying my project on staging server and encountered a very strange issue. Running my JAR (I'm using embedded Jetty configuration) on Linux machine results in "missing key" messages instead of all localized strings. Running exactly the same JAR with same classpath on Mac OS X works

Re: Flash Served from Tapestry Context Not Playing

2009-11-23 Thread Howard Lewis Ship
Then that should definitely be the default. On Mon, Nov 23, 2009 at 1:47 AM, Ben Gidley wrote: > I have also seen this locally so I don't believe it is proxy - I just add > flash to non-gzippable types. > > > > Ben Gidley > > www.gidley.co.uk > b...@gidley.co.uk > > > On Sun, Nov 22, 2009 at 12:1

Re: Flash Served from Tapestry Context Not Playing

2009-11-23 Thread Ben Gidley
I have also seen this locally so I don't believe it is proxy - I just add flash to non-gzippable types. Ben Gidley www.gidley.co.uk b...@gidley.co.uk On Sun, Nov 22, 2009 at 12:16 PM, Howard Lewis Ship wrote: > On Fri, Nov 20, 2009 at 3:18 PM, Taylor Mathewson > wrote: > > Hi all, > > > > I

Re: Submit(with context) in Loop In Form

2009-11-23 Thread Stephan Windmüller
matt22 wrote: > BUT in the testButton(Integer param) param is always 3(last index)!!! > (after click a button 1, 2, or 3) > where is a problem? I posted the same question two months ago. Please have a look at this thread: http://old.nabble.com/Wrong-context-for-submit-button-in-loop-td25449383.h