Re: T5 Where to store CSS/JS files and images

2007-06-08 Thread Marcus
Hi Erik, what about (nl.tno.secureit2.data.PhysicalObject)? Thanks Marcus

Re: dojo dialog render issue

2007-06-08 Thread Jesse Kuhnert
http://tapestry.apache.org/issue-tracking.html On 6/8/07, Paul Stanton <[EMAIL PROTECTED]> wrote: How? Jesse Kuhnert wrote: > Possibly - but I might need more information (ie expected vs. actual ) to > get it set up correctly. > > p.s. Can you file a jira issue for it so I remember? ---

Re: dojo dialog render issue

2007-06-08 Thread Paul Stanton
How? Jesse Kuhnert wrote: Possibly - but I might need more information (ie expected vs. actual ) to get it set up correctly. p.s. Can you file a jira issue for it so I remember? - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Hackish(?) Workaround for Entities In Templates

2007-06-08 Thread Steven Coco
I just implemented a set of properties in WEB-INF/Application.properties. They look like this: # HTML entities: entity.copy: © entity.trade: ™ ... Now in templates I can "use" them like so: Such is life. Ciao. -Steven Coco. ---

Re: [T5] using the ioc and tapestry-hibernate in tests

2007-06-08 Thread Dan Adams
Also, If I do this: public void testTest() throws Exception { RegistryBuilder builder = new RegistryBuilder(); builder.add(TapestryModule.class); builder.add(HibernateModule.class); builder.add(AppModule.class); Registry registry = builder.build(); ... get the service and do s

Re: T5.0.5 build error due to expired tapestry-ioc-5.0.5-SNAPSHOT.jar

2007-06-08 Thread Steven Coco
(This is obviously a Maven issue and not a tapestry issue; but...) I'm not the Maven expert, but it might have been better to delete the entire artifact folder instead of just the jar. The only real issue with doing this is that some software (I honestly don't know which) might index the reposi

[T5] using the ioc and tapestry-hibernate in tests

2007-06-08 Thread Dan Adams
I have some dao services that i would like to test and for that i need a running hibernate session. I can't seem to get tapestry-hibernate to load in my tests however. What I have to load the ioc is basically: RegistryBuilder builder = new RegistryBuilder(); IOCUtilities.addDefaultModules(builder)

Re: T4.0.2 Problem with JPA/Hibernate Connection

2007-06-08 Thread Marcelo lotif
any thoughts? 2007/6/4, Marcelo lotif <[EMAIL PROTECTED]>: Hi all, I'm having problems with Tapestry and JPA together using Hibernate as the provider. When i try to make a connection, tapestry gives me this exception: org.apache.tapestry.BindingException Exception invoking listener method grav

About component 'loop' usage in T5.0.4

2007-06-08 Thread Allen Guo
Hi All, If I use loop component in html template like this ${_sort.name} I have to define the property in corresponding page class like this public class SortList { . private Sort sort; private List sorts; public Sort getSort() { return sort; } public void setSort(Sort sort) { this.sort =

T5.0.5 build error due to expired tapestry-ioc-5.0.5-SNAPSHOT.jar

2007-06-08 Thread Allen Guo
I updated tapestry-core5.0.5 from SVN to Eclipse today . But I got compilation error. The error occured at line 117 in org.apache.tapestry.internal.test.InternalBaseTestCase.java. The code at line 117 is _registry.eagerLoadServices(); The method eagerLoadServices is undefined for the type Registry.

Re: Suggest Component

2007-06-08 Thread Jesse Kuhnert
Sort of. Autcomplete is more like a regular drop down options list that lets you type in partial text phrases and have it dynamically filter the list to the available options.. Suggest is purely a simple field that has drop down rendering of suggestions. (so sort of like autocomplete - yes) O

Re: Suggest Component

2007-06-08 Thread Daniel Jue
Is this the same as the autocomplete component? On 6/8/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Sure, I'm glad other people like it. Though I guess technically we should thank http://www.widen.com/ as they were the ones who funded the development of it. On 6/8/07, Chris Chiappone <[EMAIL

Re: Suggest Component

2007-06-08 Thread Jesse Kuhnert
Sure, I'm glad other people like it. Though I guess technically we should thank http://www.widen.com/ as they were the ones who funded the development of it. On 6/8/07, Chris Chiappone <[EMAIL PROTECTED]> wrote: Jesse - Thanks for the new Suggest Component, just happened to see it today!! -

Re: [T5] usage of library components without a path

2007-06-08 Thread Ivan Dubrov
Dan Adams wrote: > So lets say I have a component in a component library called "FooBar" > and the name of the library is "example". So I could use the component > in my app like this: > > > > but it would be really nice if it could just be used like this just like > the core library components: >

Re: [T5] StackMapTable format error: bad class index

2007-06-08 Thread Howard Lewis Ship
That's an odd one! You've done the normal ... clean rebuild, fresh restart, etc? Are you using any inner classes in your page/component? I recently fixed a bug (in 5.0.5) related to those. If you can use 5.0.5 please do ... it produces much more comprehensive exception data when an error occur

Re: Tap4 and Jetty "Form Too Large"

2007-06-08 Thread Miguel Angel Hernández
Hi Dan, I've checked the source and I'm trying to define a IPrimaryKeyConverter, but it seems it could help a lot. Thanks, Miguel Hernández On 6/8/07, Dan Adams <[EMAIL PROTECTED]> wrote: I've only hit this problem once and in that situation I was looping over 5000 objects using @For in a fo

Re: [T5] usage of library components without a path

2007-06-08 Thread Howard Lewis Ship
In 5.0.4 and above you should be able to use: i.e., use a dot in the element name where you would use a slash in the component type. On 6/8/07, Dan Adams <[EMAIL PROTECTED]> wrote: So lets say I have a component in a component library called "FooBar" and the name of the library is "example".

Re: [T5] Avoiding an extra containing element

2007-06-08 Thread Howard Lewis Ship
There's an outstanding JIRA issue on this subject; I want to introduce a element for this particular situation. On 6/8/07, Dan Adams <[EMAIL PROTECTED]> wrote: So if you have a template that is just: this won't work because you need the "t" namespace obviously. So it becomes something like

Suggest Component

2007-06-08 Thread Chris Chiappone
Jesse - Thanks for the new Suggest Component, just happened to see it today!! -- ~chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[T5] usage of library components without a path

2007-06-08 Thread Dan Adams
So lets say I have a component in a component library called "FooBar" and the name of the library is "example". So I could use the component in my app like this: but it would be really nice if it could just be used like this just like the core library components: So the question is, is this p

[T5] Avoiding an extra containing element

2007-06-08 Thread Dan Adams
So if you have a template that is just: this won't work because you need the "t" namespace obviously. So it becomes something like this perhaps: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> which works fine but now you have an extra div your output just to put in the namespa

Re: Tap4 and Jetty "Form Too Large"

2007-06-08 Thread Dan Adams
I've only hit this problem once and in that situation I was looping over 5000 objects using @For in a form without using an IPrimaryKeyConverter so each of the 5000 objects would get serialized and put in the form. I ended up just taking it out of the form entirely but I perhaps also could have got

[T5] StackMapTable format error: bad class index

2007-06-08 Thread Siddhartha Argollo
Hi all, First of all: I'm using the 5.0.5 snapshot with JBoss 4.0.5-GA. I have a component named LoginView. It shows the login status of the user. The thing is, if I implement the beginRender method in this way: @Inject private SecurityService security; void beginRender(MarkupWriter writer) { i

Re: How To Get 5.0.5

2007-06-08 Thread Steven Coco
Sure. I use Maven, so these instructions would be relevant for using Maven with T5. I have Maven 2.0.6. I used the Tapestry archetype to create the basic project -- the exact command that's outlined here: http://tapestry.apache.org/tapestry5/quickstart/ And then I changed the tapestry-release

Tap4 and Jetty "Form Too Large"

2007-06-08 Thread Miguel Angel Hernández
Hi all, We have a little problem here, any help would be appreciated. We are using tap4 + tacos4 on a Geronimo server (jetty back-end). I have a @Form which contains a @For component, the problem is sometimes the form is too large and jetty cant handle it, throwing the following error: "java.lang

RE: Can I achieve this with T4.1.1 @Bean annotation?

2007-06-08 Thread Marcus.Schulte
> Let me rephrase my question - > > "/Lightweight intialization:/ A concept borrowed from > HiveMind where simple properties of the bean can be > configured in-line, as a comma-separated list of > property=value pairs." > > Does this mean that the value of the name-value pair cannot > be the

Re: Can I achieve this with T4.1.1 @Bean annotation?

2007-06-08 Thread Jesse Kuhnert
I don't know, have you tried it? On 6/8/07, Jan Vissers <[EMAIL PROTECTED]> wrote: Let me rephrase my question - "/Lightweight intialization:/ A concept borrowed from HiveMind where simple properties of the bean can be configured in-line, as a comma-separated list of property=value pairs." Do

Re: Can I achieve this with T4.1.1 @Bean annotation?

2007-06-08 Thread Jan Vissers
Let me rephrase my question - "/Lightweight intialization:/ A concept borrowed from HiveMind where simple properties of the bean can be configured in-line, as a comma-separated list of property=value pairs." Does this mean that the value of the name-value pair cannot be the result of an ognl

Fwd: How to load a image dynamically in tapestry5.0.4

2007-06-08 Thread Howard Lewis Ship
-- Forwarded message -- From: Howard Lewis Ship <[EMAIL PROTECTED]> Date: Jun 7, 2007 10:10 PM Subject: Re: How to load a image dynamically in tapestry5.0.4 To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Let me use 5.0.5 syntax since its a little cleared and will be totally relevant

Re: T5 Where to store CSS/JS files and images

2007-06-08 Thread Daniel Jue
Thanks Erik, Although things like this are buried either in Javadocs, Source code, T4 Intuition and the mailing list, I think it's good to have extra guide posts where ever we can. I hope more of us can contribute little snippets of code that show how something is done in T5. The PDF writer exa

Re: dojo dialog render issue

2007-06-08 Thread Jesse Kuhnert
Possibly - but I might need more information (ie expected vs. actual ) to get it set up correctly. p.s. Can you file a jira issue for it so I remember? On 6/8/07, Paul Stanton <[EMAIL PROTECTED]> wrote: Hi All, I have 2 dojo dialogs, hidden by default which have been working fine. dialog I'

Re: Can I achieve this with T4.1.1 @Bean annotation?

2007-06-08 Thread Jesse Kuhnert
Not sure - you can do whatever it says you can here http://tapestry.apache.org/tapestry4.1/tapestry-annotations/index.html . If there is something more that needs to be done a JIRA issue is probably needed. On 6/8/07, Jan Vissers <[EMAIL PROTECTED]> wrote: Can I create a @Bean annotation that

Re: T4.1.2: dojo wipe effects broken with IE7

2007-06-08 Thread Jesse Kuhnert
No idea what has changed but you might want to ask your question in the appropriate Dojo list / forum. On 6/7/07, Christian Dutaret <[EMAIL PROTECTED]> wrote: Hi all, I have a page with a js script that uses dojo wipe animation. Here is a fragment of the js: wi = dojo.lfx.html.wipeIn(n

Re: T4.1.2: very strange behavior using EventListener with form having only hidden fields

2007-06-08 Thread Jesse Kuhnert
Don't specify submitForm =. It's not needed anymore. On 6/7/07, Christian Dutaret <[EMAIL PROTECTED]> wrote: Hi all, My app has a page with a form having only hidden fields. I use this form to rewind some values on async events. This was working fine with T4.1.1. After I upgraded to 4.1.2, an

T5 Is there an AJAX Update DIV functionality?

2007-06-08 Thread Erik Vullings
Hi all, When using AJAX before, I've often used the Ajax.Updater("DIVNAME", "ActionURL", { method : "get", etc. function. In T5, we are using events, which I think is much neater (it also combines well with my C# experience). However, I'm not sure how I can implement this same functionality in T

Re: T5 Where to store CSS/JS files and images

2007-06-08 Thread Erik Vullings
Hii Daniel, Thanks for your reply - I still have to study where to store the required css/js and image files, but you got me looking in the right spot (see also my recent entry in the Wiki, ( http://wiki.apache.org/tapestry/Tapestry5HowToCreateYourOwnComponents). Also the exact location of the sc

T5: inherited @Paramet's in components

2007-06-08 Thread Martin Dietze
Hi, I tried to inherit some compoment classes from an abstract component base class which contains some propeties the above share. In the template I would then use these components like this: In the base class I have: @Parameter private String _myCommonParam; public String getMyCommo

[T5] PrimaryKeyEncoders factory class for implementations?

2007-06-08 Thread Dan Adams
It could be useful to have a PrimaryKeyEncoders factory class that could create various instances. The most used one for me in T4 was creating one based on a list were the key is the index. I was thinking it would look something like this: public final class PrimaryKeyEncoders { private PrimaryK

Re: How to use the third-party T5 Component in another T5 project

2007-06-08 Thread Thiago H de Paula Figueiredo
On Fri, 08 Jun 2007 07:47:21 -0300, Allen Guo <[EMAIL PROTECTED]> wrote: Nobody answer me ? :( Hi All, I use T5.0.4. I packaged some common components to common.jar. You know, in T3/4, we may add a configuration like contrib to .application file. But how can I use it in my another project base

Re: Refreshing a dojo Dialog on submit

2007-06-08 Thread Christian Dutaret
What version are you using? I had issues with refreshing the content of a Dialog through XHR requests. That's actually what motivated the move to 4.1.2 2007/6/8, Stephane Decleire <[EMAIL PROTECTED]>: My submit is async but nothing happens. I've tried to force the refresh with cycle.getResponse

Re: How to use the third-party T5 Component in another T5 project

2007-06-08 Thread 蝈蝈龙
I did it on your suggestion. It's working now :) Thank you 2007/6/8, Kristian Marinkovic <[EMAIL PROTECTED]>: try "opend/Radio" ... :) "蝈蝈龙" <[EMAIL PROTECTED]> 08.06.2007 13:56 Bitte antworten an "Tapestry users" < users@tapestry.apache.org> An "Tapestry users" Kopie Thema Re: How to us

Re: Refreshing a dojo Dialog on submit

2007-06-08 Thread Christian Dutaret
I had issues with refreshing the content of a Dialog through XHR requests I mean with 4.1.1 2007/6/8, Christian Dutaret <[EMAIL PROTECTED]>: What version are you using? I had issues with refreshing the content of a Dialog through XHR requests. That's actually what motivated the move to 4.1.2

Re: How to use the third-party T5 Component in another T5 project

2007-06-08 Thread Kristian Marinkovic
try "opend/Radio" ... :) "蝈蝈龙" <[EMAIL PROTECTED]> 08.06.2007 13:56 Bitte antworten an "Tapestry users" An "Tapestry users" Kopie Thema Re: How to use the third-party T5 Component in another T5 project I added the code to AppModule.class onfiguration.add(new LibraryMapping("opend"

Re: How to use the third-party T5 Component in another T5 project

2007-06-08 Thread 蝈蝈龙
I added the code to AppModule.class onfiguration.add(new LibraryMapping("opend","org.opend.corelib")); Then refer to the component in html template like this Am I right? It always throw the exception below Unable to resolve component type 'opend:Radio' to a component class name. Available com

Re: How to use the third-party T5 Component in another T5 project

2007-06-08 Thread Kristian Marinkovic
just forget what i said before you can use a LibraryMapping to add other component libraries. therefore you have to contribute your library (that contains a prefix and the root package) to a tapestry ioc service: in you AppModule class public static void contributeComponentClassResolver(Con

Re: How to use the third-party T5 Component in another T5 project

2007-06-08 Thread 蝈蝈龙
But I can only a tapestry.app-package in web.xml And another question is , if the component have the same name with the component in my project, what should I do? 2007/6/8, Kristian Marinkovic <[EMAIL PROTECTED]>: i think you have to deploy the jar (make it available in the classpath) and add t

Re: How to use the third-party T5 Component in another T5 project

2007-06-08 Thread Kristian Marinkovic
i think you have to deploy the jar (make it available in the classpath) and add the new package path to the tapestry.app-package parameter in web.xml g kris Allen Guo <[EMAIL PROTECTED]> 08.06.2007 12:47 Bitte antworten an "Tapestry users" An Tapestry users Kopie Thema Re: How to use th

Re: How to use the third-party T5 Component in another T5 project

2007-06-08 Thread Allen Guo
Nobody answer me ? :( > Hi All, > > I use T5.0.4. I packaged some common components to common.jar. > You know, in T3/4, we may add a configuration like contrib to > .application file. But how can I use it in my another project base on T5? > > > Thanks > Allen Guo > > >

Re: Refreshing a dojo Dialog on submit

2007-06-08 Thread Igor Drobiazko
Look here: this page contains 3 different dialogs http://bookie.googlecode.com/svn/trunk/bookie-web/src/main/java/org/bookie/web/pages/admin/CategoryAdmin.java http://bookie.googlecode.com/svn/trunk/bookie-web/src/main/webapp/WEB-INF/admin/CategoryAdmin.page http://bookie.googlecode.com/svn/trunk/

Can I achieve this with T4.1.1 @Bean annotation?

2007-06-08 Thread Jan Vissers
Can I create a @Bean annotation that achieves this: class="com.cumquatit.refapp.view.tapestry.pages.forms.DateCompareValidator" lifecycle="none"> value="ognl:@[EMAIL PROTECTED]" /> value="message:from-period-before-to" /> Thanks, -J. -- Cumquat Information Technology

Re: Refreshing a dojo Dialog on submit

2007-06-08 Thread Stephane Decleire
My submit is async but nothing happens. I've tried to force the refresh with cycle.getResponseBuilder().updateComponent(getClientId()); Same result ... The component is not refreshed. Any idea ? Stephane Christian Dutaret a écrit : If your submit is async, just specify your form component id (

dojo dialog render issue

2007-06-08 Thread Paul Stanton
Hi All, I have 2 dojo dialogs, hidden by default which have been working fine. dialog I've now added a component to the page which delays the load time for the page somewhat and in firefox causes a funny render issue for the dialogs. The dialog's content is momentarily displayed (inline) at