T5 I need to be able to dynamically render components

2007-05-30 Thread Jonathan Glanz
All, below is a sample of what I'd like to be able to do, but I can't seem to figure out a way to make it work t:loop source=widgets value=widget div t:type=prop:viewElementType/ /t:loop Is there a way to do this or a binding that would do this? Basically I need a way to

Re: T5 class reloading

2007-05-30 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

Re: dojo dialog to populate portion of form and submit

2007-05-30 Thread Paul Stanton
I've just tried a javascript writeback hack (trying to keep it tapestry-ish, yet it's a hack for sure) basically, the dialog's form elements are Any's so they populate correctly, but don't submit to tapestry. then when the submit button is clicked they Any's values are sucked into some hidden

Re: T5 class reloading

2007-05-30 Thread Martin Grotzke
On Wed, 2007-05-30 at 13:44 +0700, Ted Steen wrote: 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. Then the question is what's required to get it to work. For me

Re: T5 class reloading

2007-05-30 Thread Francois Armand
Le mercredi 30 mai 2007 à 07:28 +, Martin Grotzke a écrit : For me changed classes are not picked up automatically, when running mvn jetty6:run... If it's working for you, what's your setup, or did you do anything special to support class reloading? Is it connected with a context reload

Re: T5 - Service injection and ioc

2007-05-30 Thread Blackwings
The only error I have is : # java.lang.ClassNotFoundException caught an exception while obtaining a class file for papo.pages.Start exception java.lang.RuntimeException: Error obtaining injected value for field papo.pages.Start._userService: No service implements the interface

Re: T5 - Service injection and ioc

2007-05-30 Thread Blackwings
Ok I found the problem and it was not my code but the packages!! Services and modules have to be in papo.services, if I declared in web.xml tapestry.app-package with papo. But I was able to declare my builder in AppModule but I still doesn't achieve to create my own module, in the same package,

Re: T4.1.1 - ComponentClass and Component annotation question

2007-05-30 Thread Christian Dutaret
http://jira.opensymphony.com/browse/OGNL-84 2007/5/29, Jesse Kuhnert [EMAIL PROTECTED]: OGNL errors? Hmmm. When you do file them the best place is here: http://jira.opensymphony.com/browse/OGNL Please do file them when you get a chance as I'm not as comfortable making a release knowing

Re: T4.1.x: @Dialog component triggers a lot a javascript errors on scroll after open/close

2007-05-30 Thread Christian Dutaret
https://issues.apache.org/jira/browse/TAPESTRY-1527 2007/5/29, Jesse Kuhnert [EMAIL PROTECTED]: Can you file a bug for this ? On 5/29/07, Christian Dutaret [EMAIL PROTECTED] wrote: Hi all, I've been playing with the @Dialog component and EventListener annotations, and I am facing a

URGENT: Where are hivemind 1.1.1 sources

2007-05-30 Thread Jan Vissers
Hi, I'm desperately looking for the sources of hivemind 1.1.1 I can find a tagged 1.1 version, and the trunk is 1.2.1 - or so the pom suggests Where is 1.1.1? Thanks, -J. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: URGENT: Where are hivemind 1.1.1 sources

2007-05-30 Thread Robin Ericsson
On 5/30/07, Jan Vissers [EMAIL PROTECTED] wrote: Hi, I'm desperately looking for the sources of hivemind 1.1.1 I can find a tagged 1.1 version, and the trunk is 1.2.1 - or so the pom suggests Where is 1.1.1? Included in the distribution tarball? -- regards, Robin

T4.1.2 How to generate URL to the listener method

2007-05-30 Thread Denis Burlaka
Hi, All. How can I generate URL for the listener method in my component? I need that for my javascript function that must send async request to that URL. I can't use DirectLink component because the element that will send request is generated dynamically in another javascript function on the

4.1.2 Cometd Implimentation

2007-05-30 Thread Craig Spry
I'm looking at adding cometd type functionality to the tapestry 4.1.2-snapshot application that I'm currently developing. I would like to do it as follows: Have only one cometd subscription per page. This would be bound to a javascript function that would have the updates sent to it, much like

Re: HTML tags....such as Publisher or Front page editor.....

2007-05-30 Thread Joshua Jackson
You should have this html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; on your html page. I assume that's what cause the problems On 5/30/07, erwin_br [EMAIL PROTECTED] wrote: I am from brazil... I am study tapestry and there is something that i could understand. i would

Re: HTML tags....such as Publisher or Front page editor.....

2007-05-30 Thread #Cyrille37#
erwin_br a écrit : i would like to construct a web page using front page or publisher and put into the components tapestry but don´t work EX: i do the screnncast 5...no problem work fine.but if i edit the start.html with publisher or front page and put some html tags then when i run

URGENT: T4.1.1 on Oracle OC4J 9.0.4, 10.1.2.xxx - Missing classpath resource '/dojo' issue

2007-05-30 Thread Jan Vissers
Hi, I'm starting a new project for a customer of ours and want to use Tapestry 4.1.1 on Oracle's J2EE container - OC4J. Having tested various aspects of this T version on 10.1.3 - I'm pretty keen on using this version, however there are issues... Firstly I ran into a known issue with

Re: Tapestry 3 and Valid XHTML Forms (generated Script tag)

2007-05-30 Thread Andrew Ingram
Thanks Jonathan, I'm down to just one tapestry-generated validation error now. I'm still getting the language attribute on script tags (example below), i've looked through the tapestry source and the scripting stuff seems a bit complicated, even if I tell the component to not use client side

Re: URGENT: T4.1.1 on Oracle OC4J 9.0.4, 10.1.2.xxx - Missing classpath resource '/dojo' issue

2007-05-30 Thread Jan Vissers
Checking the (Tapestry) code: public IAsset createAbsoluteAsset(String path, Locale locale, Location location) { Resource base = new ClasspathResource(_classResolver, path); Resource localized = _localizer.findLocalization(base, locale); if (localized == null)

Re: URGENT: T4.1.1 on Oracle OC4J 9.0.4, 10.1.2.xxx - Missing classpath resource '/dojo' issue

2007-05-30 Thread Jan Vissers
Digging deeper, and deeper... In DefaultClassResolver this method: public URL getResource(String name) { String stripped = removeLeadingSlash(name); URL result = _loader.getResource(stripped); return result; } returns null for 'dojo/' ... smells like a class

Anyone can answer this?

2007-05-30 Thread Joseph Kobe
Hi,I'm new to Tapestry and was making a search on google to find out some more about what people are saying about it but came across this post by Kent Tong- http://www.nabble.com/Problem-loading-dynamic-image-using-ajax-tf3805423.htmlHas this Tapestry book author, high profile user and commiter

Re: HTML tags....such as Publisher or Front page editor.....

2007-05-30 Thread erwin_br
Ex: This wokr fine html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; head titlemusiclib Start Page/title /head body table t:type=grid rowsPerPage=10 pagerPosition=both source=tracks t:parameter name=ratingCell

Re: HTML tags....such as Publisher or Front page editor.....

2007-05-30 Thread erwin_br
Ex: This wokr fine html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; head titlemusiclib Start Page/title /head body table t:type=grid rowsPerPage=10 pagerPosition=both source=tracks t:parameter name=ratingCell

Re: HTML tags....such as Publisher or Front page editor.....

2007-05-30 Thread #Cyrille37#
erwin_br a écrit : FRAME SRC=coluna1.html NORESIZE SCROLLING=YES * org.apache.tapestry.ioc.internal.util.TapestryException Failure parsing template context:WEB-INF/Start.html: Attribute name NORESIZE associated with an element type FRAME must be followed by the ' = ' character.

Re: Tables, Forms and Ajax

2007-05-30 Thread Jesse Kuhnert
Even if you were somehow able to make it work the way you wanted that particular application would never work in IE. IE won't allow you to update tr elements like that - you can update data within a td element but that's about it. On 5/30/07, Paulo Ramos [EMAIL PROTECTED] wrote: Hi, I

Re: T4.1.2 How to generate URL to the listener method

2007-05-30 Thread Jesse Kuhnert
You have to use the corresponding IEngineService service for the type of url you are generating.. That is how everything in the system (including form urls) are generated. Each service has different requirements on the object type passed in but it's all more or less like:

Re: Detecting Tapestry version

2007-05-30 Thread Jesse Kuhnert
Looking at the javascriptdoc (like javadoc for javascript) linked to from here: http://tapestry.apache.org/tapestry4.1/javascript/index.html http://tapestry.apache.org/tapestry4.1/jsdoc/index.html You can find that the tapestry.version property is a global javascript reference to the current

Re: 4.1.2 Cometd Implimentation

2007-05-30 Thread Jesse Kuhnert
Yes I'd love to get it going Craig. I'm sure Alex from Dojo and Greg from jetty would be happy to see it done as well. I can make myself available to resolve whatever hurdles need moving / etc in Tapestry to make this happen. On 5/30/07, Craig Spry [EMAIL PROTECTED] wrote: I'm looking at

Re: URGENT: T4.1.1 on Oracle OC4J 9.0.4, 10.1.2.xxx - Missing classpath resource '/dojo' issue

2007-05-30 Thread Jesse Kuhnert
Yep. Sounds like oracle is messing with your classloader. I love oracle java software. I love oracle java software. On 5/30/07, Jan Vissers [EMAIL PROTECTED] wrote: Digging deeper, and deeper... In DefaultClassResolver this method: public URL getResource(String name) { String

Re: Tables, Forms and Ajax

2007-05-30 Thread Paulo Ramos
Thanks, but i just want to update data within a td element. The tr update is just an example. I tried update data within a div inside a td element and it didn't work. Any ideas? Paulo Ramos Jesse Kuhnert escreveu: Even if you were somehow able to make it work the way you wanted that

Re: Tables, Forms and Ajax

2007-05-30 Thread Jesse Kuhnert
No I'm not sure based on the data given. I have an application running with almost the exact same setup and everything is working fine. I noticed that you are setting your rows property on each render - is it consistent ? Perhaps something is getting confused about changing state. I would

Re: Tapestry 3 and Valid XHTML Forms (generated Script tag)

2007-05-30 Thread Jonathan O'Connor
Andrew, sorry I can't help you on that. I guess get out and grep for script. Try putting a breakpoint on the rendering methods, and see what happens. Ciao, Jonathan O'Connor XCOM Dublin Andrew Ingram

Re: HTML tags....such as Publisher or Front page editor.....

2007-05-30 Thread erwin_br
cirile now i try this: html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; head titlemusiclib Start Page/title /head FRAMESET COLS=30%, 70%/ FRAME SRC=coluna1.html/ FRAMESET ROWS=20%, 80%/ FRAME SRC=linha1.html/ FRAME SRC=linha2.html/ body /body /html the

Re: Tables, Forms and Ajax

2007-05-30 Thread Paulo Ramos
My original code: --- Html : form jwcid=form table jwcid=Tabela td class=lineWithBorderNoWrap nowrap=nowrap jwcid=accaoColumnValue a href= jwcid=MoreInfoLinkMore Info/a div jwcid=MoreInfoAjax

Re: T4.1.1 - How to inject (dynamic) page into component?

2007-05-30 Thread Steve Shucker
I think you're going down the wrong path with page injection. Try using @Parameter to declare/inject a parameter to pass the page. You can either make your parameter a String and use cycle.getPage(pageName) like Andreas suggested or make it an IPage or ILoginPage to pass the page directly.

[ANN] Any Tapestry developers around Glasgow UK?

2007-05-30 Thread Kolesnikov, Alexander GNI
Sorry to bother, I will be brief. The location is Greenock, Scotland, the company is CIGNA International (current website, still an ASP one, cigna.co.uk). The project is expanding and we are looking for another Tapestry developer, plus to myself, to work on the front end. Cheers, Alexander

Re: URGENT: T4.1.1 on Oracle OC4J 9.0.4, 10.1.2.xxx - Missing classpath resource '/dojo' issue

2007-05-30 Thread Jan Vissers
Well - okay then... let me rephrase my question - is there any known record of people using T4.1.1 on OC4J 9.0.4 or OC4J 10.1.2.xxx Thx, -J. Jesse Kuhnert wrote: Yep. Sounds like oracle is messing with your classloader. I love oracle java software. I love oracle java software. On

Re: ComponentClassResolverImpl

2007-05-30 Thread Howard Lewis Ship
url() references in a stylesheet a relative to the stylesheet. url(images/bg.gif) will generate a proper URL to a real resource, and Tapestry won't attempt to interpret it as an action request URL. On 5/30/07, petros [EMAIL PROTECTED] wrote: I have the following error in my log file

Re: T5 I need to be able to dynamically render components

2007-05-30 Thread Howard Lewis Ship
Tapestry pages are static in structure: you don't just create components on the fly. This is necessary for Tapestry's view on scalability and clustering. What you can do is define th components you want and select which one renders at any give time. This is how the Grid and BeanEditForm

Re: Anyone can answer this?

2007-05-30 Thread Howard Lewis Ship
I'm not sure, Kent sort of dropped out of the project, but is still a committer. Kent had a very different view of what Tapestry 5 should be, and it really was more like Wicket. It was Tapestry without the concept of parameters and bindings ... really a lot more like Swing. A container, such

Re: T5: when is @Persist necessary and when not...

2007-05-30 Thread Howard Lewis Ship
@Persist isn't about database persistence; it is about a value persisting from one request to the next, or beyond. Tapestry uses a redirect-after-post for actions, including form submits. Thus if the data is stored persistently, usually in the HttpSession, it is gone on the second request, the

Re: ComponentClassResolverImpl

2007-05-30 Thread Daniel Jue
hint: assuming your css is in webapp/css, url(images/bg.gif) would point to webapp/css/images/bg.gif url(/images/bg.gif) would also point to webapp/css/images/bg.gif url(../images/bg.gif) would point to webapp/images/bg.gif I was just solving this issue with my code as well. BTW- I noticed

RE: T5 I need to be able to dynamically render components

2007-05-30 Thread Jonathan Glanz
Howard you read my mind, ideally dynamic components would be great, but I ended up just defining several blocks and then delegating which one to show, small price to pay for the flat out RAD of T5. -Jon -Original Message- From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] Sent:

Re: URGENT: T4.1.1 on Oracle OC4J 9.0.4, 10.1.2.xxx - Missing classpath resource '/dojo' issue

2007-05-30 Thread Jan Vissers
The ClassLoader held by org.apache.hivemind.impl.DefaultClassResolver has this: [ClassLoader: [[D:\ora\ocj10_1_2_0_2\j2ee\home\applications\eva\eva-web-1.0.0\WEB-INF\classes], [D:\ora\ocj10_1_2_0_2\j2ee\home\applications\eva\eva-web-1.0.0\WEB-INF\lib\backport-util-concurrent-4.1.1.jar

Re: ComponentClassResolverImpl

2007-05-30 Thread Jesse Kuhnert
That's a jetty configuration setting. I don't remember the exact place / config option but you can find it in the jetty confluence site somewhere. Something to do with windows file locking. On 5/30/07, Daniel Jue [EMAIL PROTECTED] wrote: hint: assuming your css is in webapp/css,

Re: URGENT: T4.1.1 on Oracle OC4J 9.0.4, 10.1.2.xxx - Missing classpath resource '/dojo' issue

2007-05-30 Thread Jesse Kuhnert
I'm not sure. Only the wonderful oracle java developers know for sure I'm guessing. You can try messing with that or searching oracle related things for configuring / changing the classloader settings. Tapestry will ultimately defer class (and class resource) resolution up to whatever class

Re: T5: when is @Persist necessary and when not...

2007-05-30 Thread Martin Dietze
On Wed, May 30, 2007, Howard Lewis Ship wrote: I have a page class which keeps form data like this: | // class MyForm | private Person _person; | private String _homepage; The class Person consists of several fields: | // class Person | private String _firstName | private String

Re: t5: Date input component

2007-05-30 Thread Juan Maya
Here is the DateInput component for t5: http://juanemaya.blogspot.com/2007/05/tapestry-5-date-input-component.html I am not sure if that's the best way to do it. I think that building the date in the year set is not the best way but well, i am learning slowly :) Thanks a lot for ur help! On

Re: dojo dialog to populate portion of form and submit

2007-05-30 Thread Miguel Angel Hernández
Hi Paul I've been in a very similar situation(but in tap4 with tacos) you're in. To solve it I decided to implement my own Dialog component which can be contained inside a form, and this worked fine for me. I've controlled the show and hide issue with Javascript and css. So the component its

T5: Works in Jetty but not in Tomcat

2007-05-30 Thread Joel Wiegman
My application is working fine in Jetty but not in Tomcat. I've already followed the deployment instructions found here ( http://tapestry.apache.org/tapestry5/tomcat.html ). I confirmed that my classes are being jarred up by Maven and put into the WEB-INF/lib directory. Using JDK 1.5.0_11, and

Re: URGENT: T4.1.1 on Oracle OC4J 9.0.4, 10.1.2.xxx - Missing classpath resource '/dojo' issue

2007-05-30 Thread Jan Vissers
Reading specification of getResource() ... http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ClassLoader.html#getResource(java.lang.String) Finds the resource with the given name. A resource is some data (images, audio, text, etc) that can be accessed by class code in a way that is

T5 Borders for components

2007-05-30 Thread Daniel Jue
Just a FYI, this seems to work well, although the code surrounding the component looks better when you replace these lines in your components' templates: html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; head /head body ...content here... /body /html with this:

Re: URGENT: T4.1.1 on Oracle OC4J 9.0.4, 10.1.2.xxx - Missing classpath resource '/dojo' issue

2007-05-30 Thread Jesse Kuhnert
I would say that oracle hasn't interpreted the specification strictly but incorrectly. Ie they are wrong and fuc#$ up - again. I've been doing this kind of resource loading for years - loading icons and such from swing applications as well as variety of others. I've managed to keep oracle out

Re: URGENT: T4.1.1 on Oracle OC4J 9.0.4, 10.1.2.xxx - Missing classpath resource '/dojo' issue

2007-05-30 Thread Jan Vissers
I've been doing this kind of resource loading for years - loading icons and such from swing applications as well as variety of others. Ok - but these are in fact examples of individual files, could it be that 'directories' have been interpreted differently by this implementation? And... is

Re: t5: Date input component

2007-05-30 Thread Marcus
Hi Juan, First, Good job. after, some questions: Where can i download? com.dodo.community.web.util.SelectModelUtil com.dodo.util.DateUtils What about ClientElement interface? Thanks Marcus

Re: t5: Date input component

2007-05-30 Thread Matt Kerr
Hey Juan - umm ... 2 cents.. if you have a minute, maybe let me know what i'm missing .. (thanks!) Here is the DateInput component for t5: http://juanemaya.blogspot.com/2007/05/tapestry-5-date-input-component.html I am not sure if that's the best way to do it. I think that building the date in

Re: t5: Date input component

2007-05-30 Thread Juan Maya
Hi Matt. Yes, i am already aware of this problem and reading how to do it in T5. If anybody has any suggestions i will appreciate it. On 5/30/07, Matt Kerr [EMAIL PROTECTED] wrote: Hey Juan - umm ... 2 cents.. if you have a minute, maybe let me know what i'm missing .. (thanks!) Here is the

Re: t5: Date input component

2007-05-30 Thread Juan Maya
sorry marcus. I just added the code to the blog. Anyway this is the link: http://www.geocities.com/jmayaalv/DateInput.zip ClientElement is T5 interface. On 5/30/07, Marcus [EMAIL PROTECTED] wrote: Hi Juan, First, Good job. after, some questions: Where can i download?

Re: URGENT: T4.1.1 on Oracle OC4J 9.0.4, 10.1.2.xxx - Missing classpath resource '/dojo' issue

2007-05-30 Thread Jan Vissers
10.1.3 returns code-source:/D:/ora/ocj10_1_3_2_0/j2ee/home/applications/KLPD-Eva/eva-web-1.0.0/WEB-INF/lib/tapestry-framework-4.1.1.jar!/dojo/ for '/dojo' - which in plain english means, it works ok. I notice that this version of OC4J uses a different classloader:

T5.0.5 delegate rendering before other components

2007-05-30 Thread Daniel Jue
Hi, not sure if this is a problem or intended behavior: I have a t:block at the bottom of my template, but still inside the body. If I have this in a table, tdt:selectsessionleveltype /t:delegate to=typeOfSesionLevel //td where typeOfSesionLevel returns a block, The block rendered by

Re: URGENT: T4.1.1 on Oracle OC4J 9.0.4, 10.1.2.xxx - Missing classpath resource '/dojo' issue

2007-05-30 Thread Jesse Kuhnert
Good luck. ;) p.s. You can always just switch to software not written by bad programmers - like jboss or something. It must work reasonably well if it's good enough for google. On 5/30/07, Jan Vissers [EMAIL PROTECTED] wrote: snipped/ I'm thinking about filing a service request/bug with

Re: T5: Works in Jetty but not in Tomcat

2007-05-30 Thread Marcus
Hi, For us T5 works fine with Tomcat or Jetty. mvn tomcat:run (inside app dir) or build war file and deploy: mvn war:war (inside app dir, war will be in appdir/target) Marcus

Re: scrolling window : dojo dialog vs thickbox

2007-05-30 Thread Jesse Kuhnert
I'd love to be able to support jquery / others as addition javascript handlers. ...Perhaps this is something we can address in the 4.1.3 dev cycle. On 5/29/07, Paul Stanton [EMAIL PROTECTED] wrote: (4.1.1) I'm using a dojo dialog to dynamically display a form. I've noticed that when I scroll

Re: T5: Works in Jetty but not in Tomcat

2007-05-30 Thread Marcus
Check this: in POM.XML, use tapestry-release-version5.0.5-SNAPSHOT/tapestry-release-version or tapestry-release-version5.0.4/tapestry-release-version the command mvn jetty:run works?

RE: T5: Works in Jetty but not in Tomcat

2007-05-30 Thread Joel Wiegman
Marcus, Thanks for the reply. I've been able to get it to work with mvn tomcat:run and mvn jetty:run, but not by deploying the war to a separate instance of Tomcat. I'll keep at it. It's not looking like it's a Tapestry bug... it appears to be a classloading issue involving JAXP/Xerces.

Re: t5: Date input component

2007-05-30 Thread Juan Maya
:) I created a Callback registered @afterRender inside DateInput.java and that did the trick! thanks a lot for your suggestions Mark! (the post and code in my blog already has all changes) On 5/30/07, Juan Maya [EMAIL PROTECTED] wrote: Hi Matt. Yes, i am already aware of this problem and

Re: t5: Date input component

2007-05-30 Thread Marcus
Juan, Don't forget to complete, in your blog: You can use the component like this: .

Re: t5: Date input component

2007-05-30 Thread Juan Maya
Done. Thanks. On 5/30/07, Marcus [EMAIL PROTECTED] wrote: Juan, Don't forget to complete, in your blog: You can use the component like this: .

RE: T5: Works in Jetty but not in Tomcat

2007-05-30 Thread Jonathan Glanz
A trick to make it all work is to explode the tapestry jars into WEB-INF/classes -It does workbut it can get messy -Jon -Original Message- From: Joel Wiegman [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 30, 2007 11:48 AM To: Tapestry users Subject: RE: T5: Works in Jetty but not

Re: URGENT: T4.1.1 on Oracle OC4J 9.0.4, 10.1.2.xxx - Missing classpath resource '/dojo' issue

2007-05-30 Thread Andreas Andreou
You can make the Shell use a custom AjaxShellDelegate, here's the default implementation http://svn.apache.org/viewvc/tapestry/tapestry4/tags/4.1.1/tapestry-framework/src/java/org/apache/tapestry/dojo/AjaxShellDelegate.java?view=markup btw, i'd go for the 4.1.2 version On 5/30/07, Jan Vissers

Re: URGENT: T4.1.1 on Oracle OC4J 9.0.4, 10.1.2.xxx - Missing classpath resource '/dojo' issue

2007-05-30 Thread Jan Vissers
Hi, Thanks for your suggestion. I am wondering whether a custom AjaxShellDelegate will effectively change the fact that the getResource() to dojoPath and tapestryPath are called - as this is what causing me problems at the moment. Or to put in other words - will this be sufficient to make the

Re: T5: when is @Persist necessary and when not...

2007-05-30 Thread Howard Lewis Ship
There should not be any difference; I'd have to see your code to determine what's going on. On 5/30/07, Martin Dietze [EMAIL PROTECTED] wrote: On Wed, May 30, 2007, Howard Lewis Ship wrote: I have a page class which keeps form data like this: | // class MyForm | private Person _person;

Re: T5: when is @Persist necessary and when not...

2007-05-30 Thread Howard Lewis Ship
Just noticed your constructor. Don't do that. The Person object that you create will become the default value for this property, rather than null. This is documented. On 5/30/07, Howard Lewis Ship [EMAIL PROTECTED] wrote: There should not be any difference; I'd have to see your code to

HTML Include? [T4]

2007-05-30 Thread Josh Joy
Hi, I would like to include reusable HTML snippets which contain Tapestry code (jwcid) tags rather than build an actual component. There have been several posts that I searched through and the answer was to build a component, though I'm not sure if that will help in my case as I would like

an inner component want to get an outer component

2007-05-30 Thread Heping Zhang
hi, I have a login pane which embeded in a dojo dialog. And when login successful, I want the dialog close. In my Login.java I wrote public void doLogin() { //... Dialog dlg = (Dialog)getComponent(loginDialog); dlg.hide(); } div jwcid=[EMAIL PROTECTED]

T5 Decoupling a Template From its Component Class

2007-05-30 Thread David Kendall
I am a Tapestry newbie getting up to speed on Tap 5. I am working on an application with extensive co-branding requirements. As I understand things, there is - by default - a tight coupling between a component class name and its template path. For example - if a component has a FQCN of...

Re: T5 Decoupling a Template From its Component Class

2007-05-30 Thread Howard Lewis Ship
There are internal services that can be overridden to handle those kinds of situations. The goal is to create something that works amazingly well for all the more typical cases, then start going after these others. Often it will involve moving a private interface out into the public space ...

Re: A feature or a bug

2007-05-30 Thread Howard Lewis Ship
A feature! On purpose, to remove redundancy from the URL. The goal is to allow you to select a longer class name but get a short URL. On 5/30/07, petros [EMAIL PROTECTED] wrote: I just noticed the following: My tapestry page com.glintech.jumpstart.tapestry.users.UsersList is translated in