HTTP Streaming (Ajax) / Comet Integration

2009-04-26 Thread superoverdrive
What about supporting Comet (http://en.wikipedia.org/wiki/Comet_(programming)) in Tapestry5 ? If you use lots of Ajax on a website, this can slow down everything tremendously...therefore a Comet HTTP Streaming Server that does not disconnect will support lots of simulataneous connections on a

How to get current page class inside Layout?

2009-02-20 Thread superoverdrive
How can you find out what page is currently being used inside of the Layout class ? I need to include additional files in the header on specific pages...but I only want to use a single layout class. html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; head // some additional css

Re: How to get current page class inside Layout?

2009-02-20 Thread superoverdrive
Ok, thanks! Original-Nachricht Datum: Fri, 20 Feb 2009 14:18:22 -0300 Von: Thiago H. de Paula Figueiredo thiag...@gmail.com An: Tapestry users users@tapestry.apache.org Betreff: Re: How to get current page class inside Layout? Em Fri, 20 Feb 2009 13:59:43 -0300,

Construction of service 'Alias' has failed due to recursion

2009-02-09 Thread superoverdrive
hi there! what's wrong with the following service? AppModule.java public static void bind(ServiceBinder binder) { binder.bind(DBService.class).scope(singleton); } DBService.java public class DBService { private Session session;

span jwcid=@Insert value=ognl:something raw=true/ in T5?

2009-02-07 Thread superoverdrive
How do you do: span jwcid=@Insert value=ognl:something raw=true/ in T5? Thanks! Toby - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Singleton Service behaves like a Per-Thread service

2009-02-04 Thread superoverdrive
Hello everyone! I am a bit confused. I thought the default service binding is a singleton? But why do I see a database query every time I load the same page? public class DomainPropertyService { private Session session; private ListDomain domains = null;

Re: Singleton Service behaves like a Per-Thread service

2009-02-04 Thread superoverdrive
p.s.: it does work like this: binder.bind(DomainPropertyService.class).scope(singleton); BUT it says: The default service scope is singleton in the documentation Original-Nachricht Datum: Wed, 04 Feb 2009 22:32:52 +0100 Von: superoverdr...@gmx.de An:

Re: Singleton Service behaves like a Per-Thread service

2009-02-04 Thread superoverdrive
I am not storing state, I am storing configuration data. So the idea is on Application startup, config data is read from the database and stored in a HashMap of a singleton service. Original-Nachricht Datum: Wed, 4 Feb 2009 16:40:47 -0500 Von: Christian Edward Gruber

Re: Singleton Service behaves like a Per-Thread service

2009-02-04 Thread superoverdrive
Sorry, this was a typoi only tried to simplify the example..the real code is different of course. But still, the strange thing is that without specifying the scope further it was not a singleton, but a per-thread scope? Original-Nachricht Datum: Wed, 04 Feb 2009

Template syntax: ${someMethod('someKey')}

2009-02-04 Thread superoverdrive
How do you add constant values (e.g. keys) inside of a template method? Template syntax: ${someMethod('someKey')} does not work unfortunately Thanks! Toby - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

Re: Template syntax: ${someMethod('someKey')}

2009-02-04 Thread superoverdrive
OK, it is: ${ognl:getDomainProperty('subtitle')} and NOT: ${ognl:domainProperty('subtitle')} Original-Nachricht Datum: Wed, 04 Feb 2009 23:42:55 +0100 Von: superoverdr...@gmx.de An: Tapestry users users@tapestry.apache.org Betreff: Template syntax:

Weird bug

2009-01-24 Thread superoverdrive
The following code: public Object onActivate(int domainID) { domain = (Domain)sessionManager.getSession().load(Domain.class, new Integer(domainID)); return this; } leads to: HTTP ERROR: 500 Render queue error in BeginRender[core/ExceptionReport:renderobject_0]: could not

Re: Weird bug

2009-01-24 Thread superoverdrive
Not quite...ideally it would at least not crash completely and manage to display a Tapestry error message Eager fetches are not an option for me in this case... Original-Nachricht Datum: Sun, 25 Jan 2009 00:34:05 +0100 Von: Andy Pahne andy.pa...@googlemail.com An:

Re: Weird bug

2009-01-24 Thread superoverdrive
The same (if you mean the hibernate session). With get it works instead of load...but Strange that getDomainName() which is in the same table cause it to load associated tables Original-Nachricht Datum: Sun, 25 Jan 2009 01:11:54 +0100 Von: Tomas Kolda ko...@web2net.cz

BeanModel

2009-01-23 Thread superoverdrive
A question about BeanModel again http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/PropertyConduit.html It looks like PropertyConduit is the only way to modify a BeanModel - but this relies on Annotation...so adding fields that do no exist as metadata through Annotations in

Re: [T5] improve documentation

2009-01-21 Thread superoverdrive
Be sure it is well written. Sometimes there are some messages so badly written or so vague that people just don't take the time to even understand them. I think this should be clearly written: http://wiki.apache.org/tapestry/WishList?highlight=(wishlist) I have put it on the Wish List

Re: [T5] improve documentation

2009-01-21 Thread superoverdrive
It is 1:1 the text from the mailing list as far as I remember..just with a formatted table on the Wiki. So you mean it could work by extending BeanEdit Form? Anyway, so I think, considering the time to do this, it was a good decision to use Wicket for this part and T5 for the frontend

Re: RE: [T5] improve documentation

2009-01-14 Thread superoverdrive
Jumpstart would also be a good idea Original-Nachricht Datum: Wed, 14 Jan 2009 10:22:13 - Von: Newham, Cameron cameron.new...@bl.uk An: Tapestry users users@tapestry.apache.org Betreff: RE: [T5] improve documentation I second this. I much prefer the cookbook

Re: [T5] improve documentation

2009-01-13 Thread superoverdrive
An good old pet-shop application...with lots of Ajax would be nice...or something similiar. It could coves common questions on the Tapestry mailing list from the past by providing an example implementation. Would be good if it also contained one or the other things of the following list: -

Tapestry and GridComputing

2009-01-07 Thread superoverdrive
Has anyone ever tried to use Tapestry5 and GridGain? http://www.gridgain.com/product.html#gridgain Toby - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail:

Accessing form data inside AddRowLink

2008-12-22 Thread superoverdrive
Is it possible to access form data inside AddRowLink? I am trying to get hold of the category value which is defined as: @Persist @Property private Category category; form t:type=form t:id=valuesedit t:errors/ table

Re: Loop dynamic input field: How to read data after submission?

2008-12-21 Thread superoverdrive
This was my own subject...so this is a new thread.? Original-Nachricht Datum: Sat, 20 Dec 2008 23:51:41 +0100 Von: Ulrich Stärk u...@spielviel.de An: Tapestry users users@tapestry.apache.org Betreff: Re: Loop dynamic input field: How to read data after submission? You

Loop dynamic input field: How to read data after submission?

2008-12-20 Thread superoverdrive
On: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Loop.html there is an example how to render dynamic input fields using a Loop component. But how do you process the data after form submission? How can you get a list of all objects back?

JSONStreamResponse. How to return an array?

2008-12-18 Thread superoverdrive
I am trying to return a JSON Array from a Page: Array ( [0] = Array ( [text] = adapter [id] = /adapter [cls] = folder ) [1] = Array ( [text] = air [id] = /air [cls] = folder ) [2]

Re: JSONStreamResponse. How to return an array?

2008-12-18 Thread superoverdrive
p.s.: public JSONArray getNodes() { Request request = requestGlobals.getRequest(); JSONArray record = new JSONArray(); JSONObject jsObject = new JSONObject();

Re: JSONStreamResponse. How to return an array?

2008-12-18 Thread superoverdrive
Where is this autocomple mixin example? I have looked everywhere, but can't find it. Also read about this on the Tapestry website... So you mean something like: @OnEvent(component = getnodes) public JSONArray getNodes() { Request request = requestGlobals.getRequest();

http://code.google.com/p/extjs-tapestry/

2008-12-17 Thread superoverdrive
Unfortunately there is no code (yet?). http://code.google.com/p/extjs-tapestry/ but are there many any other projects that tried to integrate extjs with Tapestry5? Thanks! Toby - To unsubscribe, e-mail:

ExtJS configuration for T5 / interference with scriptaculous

2008-12-17 Thread superoverdrive
In the following page you can define your own ExtJS library: http://extjs.com/products/extjs/build/index.php?ver=2.2lib=Prototype What do you need to select/deselect in order to avoid interference with the scriptaculous components that are built into the latest Tapestry5? Thanks! Toby

T5 Ajax Tree control?

2008-12-17 Thread superoverdrive
I am looking for a T5 ajax tree control, such as this one here: http://www.mathertel.de/AjaxEngine/S03_AJAXControls/TreeView.aspx or this one: http://samples.gaiaware.net/TreeView.aspx however with right-mouse-click context menus Does something like this already exist for T5 ? If not,

Adding additional Textinput fields during runtime

2008-12-14 Thread superoverdrive
Hi there! Is there a way to add additional Textinput fields during runtime without having specified them all before in Tapestry? I am working on an Admin interface that allows to add configuration values to an object. E.g. you would see a dropdown box with parameters that are available. You

Weird T5 behaviour with forms

2008-12-10 Thread superoverdrive
I have placed a form with a text-input and submit button on a page and it all worked. Then I have added a second form with another text-input and a submit button on the same page. When I click on the second textfield to enter a value, the form is submitted on the onfocus event. The methods

Beaneditform example with ManyToMany ManyToOne

2008-12-07 Thread superoverdrive
Is there an example of using the Beaneditform for ManyToMany and ManyToOne associations? Is there a more simple solution with less code then what is described in Adding New Property Editors ? In theory there could be a Beaneditform that would automatically add all associated entities? Or what

Cyclic relationships in Beaneditform

2008-12-07 Thread superoverdrive
Would Beaneditform in combination with AppPropertyEditBlocks support cyclic relationships such as this one here: public class Category { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer id; private String name; private

Re: Global (application state) data

2008-11-24 Thread superoverdrive
What about an IOC singleton service? Would that work? Original-Nachricht Datum: Mon, 24 Nov 2008 13:59:24 -0300 Von: Marcus Veloso [EMAIL PROTECTED] An: Tapestry users users@tapestry.apache.org Betreff: Re: Global (application state) data Hi Toby, from

Re: IoC Question with Alias

2008-11-23 Thread superoverdrive
This happens to me in one Tapestry5 project when I start it using the Jetty plugin and eclipse. If I start it up using mvn jetty:run, this does not occur - so it might be something with Maven or the classpath as well. Sun, 21 Sep 2008 23:41:37 -0700 hi michael, happened to me several

Global (application state) data

2008-11-23 Thread superoverdrive
How do you define and use data that is shared across all users (read-only data) in Tapestry5 ? Thanks! Toby - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: @InjectService(RequestGlobals)

2008-11-22 Thread superoverdrive
Ok, let me summarize how I understood the IOC documentation: 1. Inside AppModule, every public method that exists is called when the webapplication is loaded for the first time. 2. every method that starts with build. will generate an IOC service with the name followed by the keyword

Re: @InjectService(RequestGlobals)

2008-11-22 Thread superoverdrive
If I am on the right track now, this should work: 1. An own ThreadLocale implementation that returns the Locale depending on the domain. 2. The RequestGlobals is injected inside of this ThreadLocale implementation 3. The new ThreadLocale implementation is linked to the DomainDepThreadLocale

@InjectService(RequestGlobals)

2008-11-21 Thread superoverdrive
How do you inject RequestGlobals inside of AppModule ? I have tried: public RequestFilter buildTimingFilter(final Logger log) { return new RequestFilter() { public boolean service(Request request, Response response,

[T5] How to overwrite the Locale (domain specific)

2008-10-27 Thread superoverdrive
I have already asked before, but maybe nobody has read it ;-) I still have not found a solotion how to set the Locale in Tapestry5 depending on the domain name/subdomain. In Tapestry4 using Hivemind, the ThreadLocale could be injected into a service etc... In Tapestry5 + Spring I don't know

Re: [T5] How to overwrite the Locale (domain specific)

2008-10-27 Thread superoverdrive
Thanks a lot! Original-Nachricht Datum: Mon, 27 Oct 2008 13:33:54 +0100 Von: Christian Gorbach [EMAIL PROTECTED] An: Tapestry users users@tapestry.apache.org Betreff: Re: [T5] How to overwrite the Locale (domain specific) implement a filter like: public class

AppModule Setting the Locale

2008-10-24 Thread superoverdrive
How can the Locale be overwritten/set inside of AppModule? Is there a list of services that can be overwritten/set/accessed inside of AppModule ? Thanks! Tobias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: AppModule Setting the Locale

2008-10-24 Thread superoverdrive
This code does not workunfortunately: public RequestFilter buildTimingFilter(final Logger log) { return new RequestFilter() { @Inject private PersistentLocale persistentLocale; public boolean service(Request request, Response response, RequestHandler

Session bleedings in Tapestry5

2008-10-20 Thread superoverdrive
I have heard there are some issues with Session bleedings in Tapestry5. Will those issues be fixed by November? I would like to go live with a T5 application by November/December Thanks! Tobias - To unsubscribe, e-mail:

Re: Session bleedings in Tapestry5

2008-10-20 Thread superoverdrive
I quote from a chat protocol with a developer: Take for eg, if there are 10 users at present using our website, then first user clicks on 1st page, and 5th user clicks on 2nd page, and 3 rd person clicks on 3 page and using it. And if the user 1 is clcked on 8 page at that time user 3 want to

Re: Session bleedings in Tapestry5

2008-10-20 Thread superoverdrive
Tapestyr5 or 4 ? Here, this developer means Tapestry5 Original-Nachricht Datum: Mon, 20 Oct 2008 08:46:15 -0400 Von: Daniel Jue [EMAIL PROTECTED] An: Tapestry users users@tapestry.apache.org Betreff: Re: Session bleedings in Tapestry5 I've also never come across this

Re: Session bleedings in Tapestry5

2008-10-20 Thread superoverdrive
Thanks for the quick reply. Good to hear that this is not an issue in T5. Original-Nachricht Datum: Mon, 20 Oct 2008 06:52:54 -0700 Von: Howard Lewis Ship [EMAIL PROTECTED] An: Tapestry users users@tapestry.apache.org Betreff: Re: Session bleedings in Tapestry5 This might

Re: How to return .tml content as a String from a Java class?

2008-10-13 Thread superoverdrive
Where is this? This is from the Tapestry5 accordion - and it only takes Strings - no other components can be put inside the Accordion. Original-Nachricht Datum: Mon, 13 Oct 2008 13:27:00 +0200 Von: Joachim Van der Auwera [EMAIL PROTECTED] An: Tapestry users

T5: SlidingPanel

2008-10-09 Thread superoverdrive
I am looking for a SlidingPanel (Accordion) component. I found one on: http://code.google.com/p/tapestry5-component but unfortunately it is only useful for pure text inside of the SlidingPanel. I am looking for one that uses CSS class names instead so that you can also put other components...

Weird T5 error page versus component templates

2008-10-02 Thread superoverdrive
When I put the following code into a page template it works, if I put it inside of a component template embedded within a page, it comes up with the error: The prefix t for attribute t:type is not bound. The code: div t:type=t5components/SlidingPanel subject=literal:panel subject

Re: Weird T5 error page versus component templates

2008-10-02 Thread superoverdrive
Sorry, my mistake: t:container xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; was missing around the component template ;-) Original-Nachricht Datum: Thu, 02 Oct 2008 11:57:39 +0200 Von: [EMAIL PROTECTED] An: Tapestry users users@tapestry.apache.org Betreff:

[T5] Tabl

2008-09-24 Thread superoverdrive
Original-Nachricht Datum: Wed, 24 Sep 2008 17:04:54 +0200 Von: Andy Pahne [EMAIL PROTECTED] An: Tapestry users users@tapestry.apache.org Betreff: Re: [T5] adding javascript with symbol expansion Forget about the question. It's so easy, see:

[T5] Table component with database paging

2008-09-24 Thread superoverdrive
Is there already a T5 component that shows a paged table that will not read all data at once, but one that uses database paging queries for every page? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Tapestry Code base

2008-09-18 Thread superoverdrive
I would like to suggest introducing something like that: http://bakery.cakephp.org/categories/view/3 on the tapestry homepage - as an official code pool. Maybe this way, more code samples and re-usable code would become available to the community! Thanks! Toby

http://tapestry.apache.org/tapestry5/tutorial1/

2008-09-12 Thread superoverdrive
Which servers do I need to add so that maven runs through? Missing: -- 1) org.apache.tapestry:tapestry-upload:jar:5.0.15-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file

Re: http://tapestry.apache.org/tapestry5/tutorial1/

2008-09-12 Thread superoverdrive
mvn install and mvn clean mvn install mvn eclipse:eclipse works, but somehow Eclipse does not recognize is when I want to import it...athough there is a project file: projectDescription nametapestry/name commentA Component Approach to WEB development/comment projects/ buildSpec

Re: http://tapestry.apache.org/tapestry5/tutorial1/

2008-09-12 Thread superoverdrive
but mvn install from the command line should work Original-Nachricht Datum: Fri, 12 Sep 2008 14:34:36 +0200 Von: Sven Homburg [EMAIL PROTECTED] An: Tapestry users users@tapestry.apache.org Betreff: Re: http://tapestry.apache.org/tapestry5/tutorial1/ sorry, but i dont

Re: http://tapestry.apache.org/tapestry5/tutorial1/

2008-09-12 Thread superoverdrive
Thanks, now I am only stuck here: Downloading: http://repo1.maven.org/maven2/org/openqa/selenium/server/selenium-s erver-coreless/1.0-beta-1/selenium-server-coreless-1.0-beta-1.pom [INFO] [compiler:compile] [INFO] Compiling 17 source files to H:\java\t5\tutorials\tapestry5-training-shar

Re: http://tapestry.apache.org/tapestry5/tutorial1/

2008-09-12 Thread superoverdrive
Ok, it worked now... However the WebContent Folder is only contained in the zip file I have copied it to the maven project - and when I start it using the WebContent as the webapps Folder, then I only see a directory Whats the webapp directory it is supposed to use? richt

Re: Tapestry5.0.7 versus 5.0.14

2008-09-11 Thread superoverdrive
I thought after the changes from T4 to T5, T5 was supposed to be upwards/downwards compatible... Such dramatic changes within a 5.0.* version should be avoided in my opinion. If it is necessary, maybe jump to T6 should be done.? Original-Nachricht Datum: Wed, 10 Sep 2008

Tapestry5.0.7 versus 5.0.14

2008-09-10 Thread superoverdrive
I really can't believe that the code has changed so much that the tutorial on: http://wiki.apache.org/tapestry/Tapestry5Training does not work with the latest Tapestry5. Why were the package names changes to tapestry5 ? Has anyone a working version of this tutorial?

Tapestry5 body problem

2008-09-07 Thread superoverdrive
Hi there! I was following this example to get used to the new Tapestry5 way to do stuff: http://tapestry.apache.org/tapestry5/guide/layout.html The Layout.tml looks like that: html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; head titleMy Nifty Web

Tapestry 4.1 Secure streaming of video files

2008-05-08 Thread superoverdrive
I am trying to stream flash video files in a protected way using this Media Service It works fine, but once 2 people access the same file one of the streams sooner or later just stops and the connection is closed Has anyone tried something similiar and tested the parallel acces on the

Re: Tapestry 4.1 Secure streaming of video files

2008-05-08 Thread superoverdrive
Here is the stack trace: 2008-05-07 18:14:13,375 [http-8080-Processor24] INFO com.company.services.MediaAsset - Loading video file from: 2008-05-07 18:14:13,375 [http-8080-Processor24] INFO com.company.services.MediaAsset -

Re: @Cached and caching in general

2008-03-25 Thread superoverdrive
Yes, you are right. But loops are usually inside of components and pages contain those componentsbut all methods in the page itself could be @Cache methods in my opinion if you do a component based approach and always package logical widgets into a component. Original-Nachricht

Firefox/Eclipse plugin for Tapestry

2008-02-18 Thread superoverdrive
I have just had the idea of combining Firefox plugins with Eclipse plugins in order to increase the speed of developing Tapestry applications. E.g. you could edit properties directly on the website and the Firefox plugin would then communicate with Eclipse and replace the properties in the

How to access component properties inside of a page

2007-12-03 Thread superoverdrive
Hi there! I want to access the property selectedBlockID of a component called GraphicalTabPanel inside of a page that includes this component. The method getComponent() returns an IComponent. GraphicalTabPanel panel = this.getComponent(GraphicalTabPanel ); and I can not cast it to

Re: How to access component properties inside of a page

2007-12-03 Thread superoverdrive
..sorry, just ignore this message GraphicalTabPanel panel = (GraphicalTabPanel)this.getComponent(tabPanel); lol - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

ExtJs and Tapestry

2007-11-14 Thread superoverdrive
Are there an ExtJS components for Tapestry yet? http://extjs.com/what-ext-javascript-library-all-about - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Maven servers for tapestry-javaforge

2007-11-08 Thread superoverdrive
Are there any mirrors of this server? repository idCodehaus Snapshots/id urlhttp://snapshots.repository.codehaus.org//url snapshots enabledtrue/enabled /snapshots releases enabledfalse/enabled /releases /repository Maven can not download: GroupId:

Expanding Table rows with Ajax

2007-10-24 Thread superoverdrive
Has anyone ever tried to expand table rows to show more details with Tapestry Ajax ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]