Re: HTML Include? [T4]

2007-05-30 Thread Alejandro Scandroli
Hi Josh, I've never used it with pages, but for reusing html templates with components I use this: @Asset(value = "/org/trails/component/AssociationSelect.html") public abstract IAsset get$template(); or its xml version: Alejandro. On 5/31/07, Josh Joy <[EMAIL PROTECTED]> w

Re: T5: "full" Acegi integration

2007-05-30 Thread Robin Ericsson
On 5/31/07, Joshua Jackson <[EMAIL PROTECTED]> wrote: Shall we migrate the tapestry-acegi to T5? I haven't got time to start yet, I would use tapestry-acegi as a base for it thought. Maybe James have T5 plans for tapestry-acegi? -- regards, Robin ---

Re: dojo dialog to populate portion of form and submit

2007-05-30 Thread Miguel Angel Hernández
The trick is that the dialog its always inside the Form, as a hidden part of the dom i,e: visibility='hidden': Whenever I need such dialog to show(and render or populate its bindings) I update the @Any component, and change the visibility and position via javascript (it has to be done with

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

A feature or a bug

2007-05-30 Thread petros
I just noticed the following: My tapestry page com.glintech.jumpstart.tapestry.users.UsersList is translated in the following URL context/users/list instead of context/users/userslist that I was expecting. The "Users" is dropped from the name of the page. Is this done itentionally because the n

Re: Tapestry 5 and Acegi

2007-05-30 Thread petros
Ok... I don't have the tapestry-hibernate.jar in my classpath. Please send me an email to [EMAIL PROTECTED] and I will reply with my files that are relevant to your question. Petros Joshua Jackson-3 wrote: > > Hi Petros > > Here's my response: >> 1. Are you using a database? > Yes I will be

flash covers dojo dialog

2007-05-30 Thread Heping Zhang
hi, I have a login link which will trigger a dojo dialog appear to let people login and then I add a flash on Home page. Before adding, all things is ok. But after that, when I want login, I find that the flash's div is above the dialog's. The flash covers dojo dialog. Here is the code insert the

Re: Tapestry 5 and Acegi

2007-05-30 Thread Joshua Jackson
Hi Petros Here's my response: 1. Are you using a database? Yes I will be using a database for the user and role 2. Are you using an ORM framework -> Hibernate? Yes I will. But for the Injection to my Page I am using tapestry-hibernate module 3. What do you refer to when you say "not use sp

Re: Tapestry 5 and Acegi

2007-05-30 Thread petros
As a quick reply to your question, I'll say yes you do not have to use hibernate but in order to give you more helpful information can you please give me a bit more information about your environment? 1. Are you using a database? 2. Are you using an ORM framework -> Hibernate? 3. What do you refer

Re: Tapestry 5 and Acegi

2007-05-30 Thread Joshua Jackson
Hi Petros, Thanks for the quick reply. Darn :-D I was hoping that you didn't use Spring at all to configure acegi :)) If I use Spring, that means I will have two IoC container. Anywa, would it be possible just to use Spring to configure acegi and not use spring-hibernate for the data access? On

Re: T5 application wide message catalog

2007-05-30 Thread petros
I tried both app.properties and App.properties and it still doesn't work for me. I guess I just have to wait for the final T5.0.5 review release :) Thanks for the reply Petros Howard Lewis Ship wrote: > > The name exactly matches the filter name ... thus "app.properties" not " > App.properties"

Re: ComponentClassResolverImpl

2007-05-30 Thread petros
That solved my problem Thanks, Petros Howard Lewis Ship wrote: > > 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, petro

Re: Tapestry 5 and Acegi

2007-05-30 Thread petros
Joshua, I used Spring and the following two classes org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean org.springframework.transaction.interceptor.TransactionInterceptor and my UserManager bean extends the acegi org.acegisecurity.userdetails.UserDetailsService Please l

Re: T5: "full" Acegi integration

2007-05-30 Thread Joshua Jackson
Shall we migrate the tapestry-acegi to T5? On 5/17/07, Robin Ericsson <[EMAIL PROTECTED]> wrote: Hi, I saw the previous post about an integration of Acegi, however, what I'm looking for is a full integration much like "tapestry-acegi", most important that the @Secured annotation works. Is the

Re: Tapestry 5 and Acegi

2007-05-30 Thread Joshua Jackson
Hi Petros. Thanks for the contribution since I need this as well. But my question is, did you use Spring to configure Acegi? Or did you use tapestry-ioc to configure it? If you use tapestry-ioc, can I take a look at your module for configuring acegi? Thanks in advance On 5/17/07, petros <[EMAIL

RE: T5 Decoupling a Template From its Component Class

2007-05-30 Thread David Kendall
> From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 30, 2007 5:15 PM > 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 a

Re: an inner component want to get an outer component

2007-05-30 Thread Heping Zhang
Thank you very much! It works well.

Re: an inner component want to get an outer component

2007-05-30 Thread Jesse Kuhnert
There are other ways but the proper way would probably be to make the Dialog component a parameter to your login component so it can reference it as a contained child. On 5/30/07, Heping Zhang <[EMAIL PROTECTED]> wrote: hi, I have a login pane which embeded in a dojo dialog. And when login succ

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 ... bu

Re: dojo dialog to populate portion of form and submit

2007-05-30 Thread Paul Stanton
how did you handle population of the dialog form portion? Miguel Angel Hernández wrote: 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.

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... org.ex

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(); } Component [EMAIL PROTECTED]/$Bor

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 to

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 dete

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 _

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 pro

Re: T5.0.5 delegate rendering before other components

2007-05-30 Thread Howard Lewis Ship
That's really, highly unlikely. I'd sprinkle in some extra text around the various components to confirm their render order. I really think you have some kind of unsaved file making it look like the componens render differently than they do. On 5/30/07, Daniel Jue <[EMAIL PROTECTED]> wrote: H

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: 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 i

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
Yes you could. I have no idea what the best method is for you to do it but I'm assuming with enough hacking you'll get it going. On 5/30/07, Jan Vissers <[EMAIL PROTECTED]> wrote: When these assets are the only ones of their kind in the Tapestry framework, couldn't I create a custom Shell co

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: 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
:) 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

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
Okay - this might sound stupid... It looks like this problem occurs when getResource() needs to get 'directories' within a library. More specifically in the Shell component: http://svn.apache.org/viewvc/tapestry/tapestry4/tags/4.1.1/tapestry-framework/src/java/org/apache/tapestry/html/Shell.jwc?v

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. Cheers

Re: T5: Works in Jetty but not in Tomcat

2007-05-30 Thread Marcus
Check this: in POM.XML, use 5.0.5-SNAPSHOT or 5.0.4 the command mvn jetty:run works?

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 scrol

Re: T5: Works in Jetty but not in Tomcat

2007-05-30 Thread erwin_br
Marcus: or build war file and deploy: mvn war:war (inside app dir, war will be in appdir/target) i get a error.when a type mvn: war:war at my appdir.. Microsoft Windows XP [versão 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Projetos\musiclib>dir O volume na unidade C não tem no

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: 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: I'm thinking about filing a service request/bug with Oracle, bu

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 at the bottom of my template, but still inside the body. If I have this in a table, where typeOfSesionLevel returns a block, The block rendered by typeOfSesionLevel gets rendered before the component selectsessionleveltype. Of

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: oracle.classloader.PolicyClassL

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? com.dodo.community.web

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

2007-05-30 Thread Denis Burlaka
Thank you very much. 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: 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 t

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 i

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: 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... i

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 o

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: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> ...content here... with this: http://tapestry.apache.org/schema/tapestry_5_0_0

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 independen

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 T

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 alway

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 5/29

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 >

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 loa

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, url(images/

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 archive

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: Wednesday,

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 that

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 on

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 as

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 compone

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 java.la

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 5/30/0

[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: 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. I

Re: Tables, Forms and Ajax

2007-05-30 Thread Paulo Ramos
My original code: --- Html : jwcid="accaoColumnValue"> More Info --- Page :

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

2007-05-30 Thread erwin_br
cirile now i try this: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> musiclib Start Page the tapestry don´t complain but the web browser don´t show nothing, i created the coluna1.html and linha1.html and linha2.html with the same source: http://tapest

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: 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 sugg

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 parti

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) { Str

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 ad

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 ve

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: @InjectObject("service:

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 h

Re: Adding a parameter to the url for all pages

2007-05-30 Thread Denis McCarthy
Never mind - I just came across an example using the cookie source hivemind service to accomplish this. This is a much cleaner solution. Thanks Denis McCarthy wrote: That sounds like a good idea. However, I've been unable to find an explanation as to how to set a value explicitly in a cookie (I

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

2007-05-30 Thread Martin Dietze
Hi, 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 _lastName For all these I have getters and setters defin

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

2007-05-30 Thread #Cyrille37#
And tell your favorite html editor to use XHTML, no HTML. cyrille erwin_br a écrit : Ex: This wokr fine http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> musiclib Start Page

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

2007-05-30 Thread #Cyrille37#
erwin_br a écrit : * 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. The parser say that NORESIZE is not a

Re: Adding a parameter to the url for all pages

2007-05-30 Thread Denis McCarthy
That sounds like a good idea. However, I've been unable to find an explanation as to how to set a value explicitly in a cookie (I know that tapestry will implicitly set the session value in a cookie for you to synchronize the server state with the client using a session id) How do you get tapes

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

2007-05-30 Thread erwin_br
Ex: This wokr fine http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> musiclib Start Page But if i edit on publish or front page like this: http:

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

2007-05-30 Thread erwin_br
Ex: This wokr fine http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> musiclib Start Page But if i edit on publish or front page like thi

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: 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 loa

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: 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

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 Hivemind

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 again

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

2007-05-30 Thread Joshua Jackson
You should have this 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 like to c

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

2007-05-30 Thread erwin_br
I am from brazil... I am study tapestry and there is something that i could understand. 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 w

Unsubscribe From List

2007-05-30 Thread Stewart Robertson
Sorry to clog up the list with this request but I have tried everything else, including the users-help mailing list. It looks like the unsubscribe function is not working. I have been trying to unsubscribe from the list for a few weeks now without success. Can someone take a look at the unsu

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 X

Detecting Tapestry version

2007-05-30 Thread Geoff Callender
What's a simple way in javascript to tell if you're running with 4.0 vs 4.1? And how would you do it in Java? Geoff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: URGENT: Where are hivemind 1.1.1 sources

2007-05-30 Thread Jan Vissers
Thanks - it sure looks that way. -J. Robin Ericsson wrote: 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 d

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 clie

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 ---

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 a

Tables, Forms and Ajax

2007-05-30 Thread Paulo Ramos
Hi, I have a table with a DirectLink's that must get more information from the corresponding line and show them in that line. I am trying to do that with ajax but the response is rendered inside the corresponding tag and the id is incremented. Example: when i try to update the tag with id=2

  1   2   >