Ok, here is my test, which is working in the latest generics code.
// class MyPageClass implements MyInterface {
public class GridGenericSourceDemo implements GenericGridPage {
@Component
private Grid grid;
@Inject
@Property
private GenericDatabase personDatabase;
public
Thanks for the response. It's good to know this issue is a valid use case!
I'll live without the interface for now.
Thanks again,
Dan
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Generics-problem-with-Grid-row-parameter-tp2835598p2835816.html
Sent from the Tapestry -
look here:
http://tynamo.org/tapestry-resteasy+guide
you can try tynamo resteasy component to implements restful.
or add on restlet api or any other JAX-RS implementation that can run as a
servlet :http://stackoverflow.com/questions/2765178/tapestry-rest
--
View this message in context:
http://
check source code from svn meeting your tapestry version,and look up
the inside of link.addParameter function.
ps: your search.getTitle() return value is correct?
On Fri, Sep 10, 2010 at 5:21 PM, Fanzhen wrote:
>
> hey,cleverpig.
> have tried all you guys said .
> I think it is not the problem o
The generics support in 5.1 is pretty limited. I've implemented a patch for 5.2
that should solve your problem which will be checked into the trunk soon. Since
you've provided a good use case I'll add it to the unit tests when I get to a
computer. I'm not sure that it will be back-ported to 5.1
Hi,
I am trying to standardise the way our developers code a page class that
uses a Grid component. Part of this process is defining an interface that
contains the get/set methods for the property used in the row parameter of
the Grid component.
Since the data used in any Grid in our project wi
On Fri, 10 Sep 2010 16:16:30 -0300, Everton Agner
wrote:
About the URI for the js ajax call, i just want to know if there is a
better way for doing it (passing the URI to the javascript)... i just
didn't like the hidden field approach.
Use RenderSupport.addScript() to add a line of JavaS
My first approach was by enclosing some hidden fields in a Form... I wanted
to avoid that, but it seems i'll have problems with context values, like
blank spaces etc.
About the URI for the js ajax call, i just want to know if there is a better
way for doing it (passing the URI to the javascript)..
On Fri, 10 Sep 2010 15:32:10 -0300, Everton Agner
wrote:
Yeah, it's easy! Thanks!
:)
1 - I figured it out that i don't need to write JSON as response for the
even handling... Just returning the Zone's Body to magically refresh it
is all i need (since the Grid knows how to build itself).
Yeah, it's easy! Thanks!
Well, there is some things i wanna know...
1 - I figured it out that i don't need to write JSON as response for the
even handling... Just returning the Zone's Body to magically refresh it is
all i need (since the Grid knows how to build itself). But this code isn't
worki
Hi Markus,
Did you have a look on
http://github.com/andyhot/tapestry5-jquery/tree/tap-5.2 ?
Regards
François
Vote for this and maybe we can get something into core.
https://issues.apache.org/jira/browse/TAP5-71
On Fri, Sep 10, 2010 at 3:08 AM, Elin wrote:
>
> Im making a component for rendering my categories tree but i have seen that i
> cant use recursive components (calling themselves not even indirec
Seems to me that your are on the right track.
In 5.2 there's an AssetDispatcher service that can be contributed to;
the built in contributions are for context assets, classpath assets,
and stack assets (i.e., aggregated JavaScript libraries). You can add
your own AssetRequestHandler.
You can loo
If you could send me the source code (even privately) of those two
classes, I'd be interested to see. I've been working on the code for
live service reloading, and though I don't think I can hit every case
perfectly, I'd like to hit all the likely ones, such as whatever
you've hit.
The class loade
Thank you Jim - that did the trick.
> -Original Message-
> From: Jim O'Callaghan [mailto:jc1000...@yahoo.co.uk]
> Sent: 10 September 2010 14:45
> To: 'Tapestry users'
> Subject: RE: [T5.2] Classloader problem with a service
>
> Andy,
>
> I haven't tried this but apparently:
>
> public sta
On Fri, 10 Sep 2010 08:47:03 -0300, Everton Agner
wrote:
Hi!
Hi, Everton!
- How can I make an Ajax call to some method on the Page? Is there any
component that could act like a bridge for it? And I need to write JSON
as response, and I don't wanna create a Servlet just for that purpose.
Andy,
I haven't tried this but apparently:
public static void bind(ServiceBinder binder) {
binder.bind(MyInterface.class,
MyImplementation.class).preventReloading();
}
... should work - referenced here:
http://tapestry.markmail.org/message/honjlvrqljdjparp?q=service+reload+disab
le
Reg
On Fri, 10 Sep 2010 07:10:59 -0300, Elin wrote:
Ok just found this
http://ars-machina.svn.sourceforge.net/viewvc/ars-machina/tapestry-crud/branches/1.1/src/main/java/br/com/arsmachina/tapestrycrud/components/TreeSelect.java?revision=595&view=markup
so i will take a look on it.
I wrote that. :
Unfortunately we've got another T5.2 migration issue that I can't figure out. I
wonder if this is to do with the service class reloading added in 5.2 - is
there a way of disabling it to check?
I've posted the error trace below, basically a service
(ScholarUniverseSearchEngine) is trying to crea
Hi!
I have to develop a very simple POI (points of interest) Manager App using
GMaps.
The thing is, I have only one Page - /Map/Poi - that needs to render the Map
(using the Google js thing for it) and capture js events like right click on
it to create new POIs (and saving them on a database), an
We tried to use recursive components for a menu-structure.
In the end we limited our self to a maximum depth for the menu and now
use 3 components which are nearly equal:
TopMenu
SubMenu
SubSubMenu
Not a clear solution but easy ;)
On 10.09.2010 12:08, Elin wrote:
Im making a component for
Another easy solution is to use the "Other Sources" Folder for your
component tmls. Those files will be included in the right way.
On 10.09.2010 02:51, Elin wrote:
Thx a lot howard. U are always the man making the things easier for the
people whos starting with tapestry. I have seen the 2 diff
Ok just found this
http://ars-machina.svn.sourceforge.net/viewvc/ars-machina/tapestry-crud/branches/1.1/src/main/java/br/com/arsmachina/tapestrycrud/components/TreeSelect.java?revision=595&view=markup
so i will take a look on it.
I will come back if i have some kind of problem with this. Just w
Im making a component for rendering my categories tree but i have seen that i
cant use recursive components (calling themselves not even indirectly) so,
any advice about how to do this (your own ideas or something u have read
around)?
Example:
Coffee
Tea
Black tea
Gre
hey,cleverpig.
have tried all you guys said .
I think it is not the problem of the UTF-8 encoding,because it is ok in
general form submit.
It is a exception for this page which using Link and URLParameterHelper
to handle parameters .
On 2010-9-10 16:55, cleverpig wrote:
sure,I'm agreed wi
sure,I'm agreed with ningdh.since your pages are all utf-8 encoding,so
remove your utf-8 filter and going to try again.
2010/9/10 ningdh :
> You should try removing your utf8 filter because it is unnecessary in T5.
> In my project, all the files are utf-8 and no problem at all.
>
> DH
>
> - Or
You should try removing your utf8 filter because it is unnecessary in T5.
In my project, all the files are utf-8 and no problem at all.
DH
- Original Message -
From: "Fanzhen"
To: "Tapestry users"
Sent: Friday, September 10, 2010 3:21 PM
Subject: Re: Tapestry5 Form submit Encoding (Chi
On 2010-9-10 13:59, Donyee wrote:
> T5, I don't use the UTF8 filter. and my tml page is GBK,eclipse project
> encoding is GBK,
> works fine!
> what is your page charset???
all files of my project are based in UTF8 encoding.
you meant it does matter with my page encoding,I have tried to change
28 matches
Mail list logo