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 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
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,
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;
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
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;
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:
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
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
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
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:
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
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:
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
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
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
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
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
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:
-
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:
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
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
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?
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]
p.s.:
public JSONArray getNodes() {
Request request = requestGlobals.getRequest();
JSONArray record = new JSONArray();
JSONObject jsObject = new JSONObject();
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();
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:
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
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,
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
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
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
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
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
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
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]
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
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
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,
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
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
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
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
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:
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
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
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
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
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...
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
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:
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:
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,
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
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
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
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
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
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
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
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?
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
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
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 -
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
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
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
..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]
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]
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:
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]
71 matches
Mail list logo