> Of course, we always are more productive with the tools we already are used
> to them. But this doesn't mean you couldn't be more productive if you learn
> a better tool.
Oh - its not that I did not learn Tapestry ;-)
> You don't need to create components to use JavaScript at all. If you don't
>> It's my choice in projects where tapestry would be overkill.
> For example ?
Projects where the component model does not pay off the increased complexity.
Maybe its just because I am doing webapps for so long that action
based is more natural to me.. but my feeling is that its much easier
to u
> Play! team - and people around who believe on the project - are very good on
> marketing and buzz.
I've tried it before and beside being good in marketing and buzz,
they created an excellent action based web framework.
It's my choice in projects where tapestry would be overkill.
Pi
2010/11/19 Andreas Andreou :
> So, i think it makes sense to brainstorm some ideas on how to
> reverse that perception. The new website+documentation will
> surely help, but what other actions can significantly affect the
> average developer?
For the average developer it helps a lot if he knows th
Very nice effort!
Is the captcha a tapestry core component? Just because on the first
page it reads:
"This version of the application uses only Tapestry's core components,
thus you will find here a *realistic* demonstration of Tapestry's
power."
Piero
--
> Well that's definetely not a bug. Andreas talked right, he said
> "ideally", but tapestry-hibernate is a library around (very near) the
> core framework so if it choose to depend on an "internal"
> implementation it's a library's owner choice. What has not to be done
> is to public (in any way)
I've done something like this some time ago with help from this list.
It was needed to integrate the YAML [1] form css framework, which
shows errors below the input fields.
The plan was to refactor the functionality into a yaml-module, but
this was never finnished and I am not sure if it works.
Bu
Great news! Thanks for all the hard work!
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
maybe PDFBox could be used?
-> http://pdfbox.apache.org/
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
Hello Andreas.
> AGEF (www.agef.net) is a german non-profit organisation, who is working
> in the field of international development cooperation. For one of our
> projects (www.alumniportal-deutschland.org) we are looking for a part
> time tapetry5 (Java Web) developer. The work will mostly invol
Is it possible to use custom annotations to inject services?
background: I am building some support libraries for JPA that should
work inside tapestry as well as EJB projects.
What I want to make happen is to somehow enable @PersistenceContext
inside the tapestry-jpa module.
I don't want to suppo
I want to create a module which consists of several parts:
- a JS which overrides tapestry's client side validation
- a collection of css files forming a CSS Framework
Now I am facing a problem:
1. How to make all the css assets available through the module?
2. How to automatically include the JS
2010/3/26 Ulrich Stärk :
> I can't tell since I didn't have a look. One of the tasks for a student
> would be to assess existing third-party code and work with the author
> towards an integration...
You should have a look, there really is not much work left for a
student to do. I would propose to
> Of course we have come up with some Tapestry-specific tasks as well which
> can be found at [3]. They include JPA and EJB3 integration and more nifty
> components. Thiago and I will be mentoring students that whish to carry out
> those tasks.
What do you miss from the existing JPA integration [1
> So a community-driven documentation effort is out of the question unless we
> come up with a system or procedure that complies with ASF rules.
We could just require to sign a CLA for people that want to help out
with documentation. This would mean to give rights to modifiy/create
only to people
> Has anyone done any work on doing better EJB3.1 integration with Tapestry? I
> know that the Jumpstart does it by using a context lookup, and I'm copying
> that pattern right now (though without the service) but I thought I'd ask if
> anyone has gone one better.
I tried to integrate tapestry
>> One other thing that stopped working is this:
>> http://wiki.apache.org/tapestry/Tapestry5AnotherSelectWithObjects
>
> The approach used in that wiki page (using a list even when handling a form
> submission) is far from recommended. I advise anyone to not use it.
Why? I am using it in some pro
> The class transformation API was changed in Tapestry 5.2-SNAPSHOT.
Is it planned to provide the old API work in 5.2 as well? (and not
break backward compatibility)
One other thing that stopped working is this:
http://wiki.apache.org/tapestry/Tapestry5AnotherSelectWithObjects
Piero
+1 for Josh's suggestion as well.
Backward compatibility is a must. If both modules are present, the old
behaviour (Module) should take precedence.
Piero
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.
> I'd rather leave the home of Tapestry at Apache.
+1. Leave Tapestry at Apache - everything else would just create
problems about licensing and maybe even hold back contributors.
-
To unsubscribe, e-mail: users-unsubscr...@tapes
> There is one in Nabble (new version at
> http://n2.nabble.com/Tapestry-Users-f832.html, old one at
> http://old.nabble.com/Tapestry-f302.html), OSDir, MarkMail, etc.
Yep - now the question is how to nicely integrate them into
http://tapestry.apache.org
>From a user's perspective, SSO would be gr
> I think Tapestry has a very healthy community around it. I guess you're
> talking about the size of it. The mailing list has many messages per day,
> people contribute packages, etc.
You are propably right - but it does not 'feel' / look that healthy.
Maybe the problem again is visibility.
We ha
> I've just spent whole January, four hours a week, teaching Tapestry in a
> large company with lots of people working in large projects, including one
> that will be used nationwide in Brazil. The standard argument doesn't
> convince me: JSF is a mess and it is a standard. It suffers from the
> ev
> Yeah, I understand the limitation. But how should I access a property which
> is defined in my base class in one of the subclasses with these limitations?
Just don't use @Property - provide getXXX and setXXX methods.
> As far as I understand, I cannot make my base classes property protected,
>
> .tml changes work fine, is the java changes that never get reloaded even
> after compiling. When running from maven from the console it works fine, but
> when running from intellij from a running config it can only pick up regular
> hot swapable changes that are in packages not watched by tapestr
> That would be for RESTful web services only. Did you ever have to expose a
> service via SOAP?
You are right, this is useful for RESTful services only. Never had to
expose a SOAP service within a pure tapestry application, but a few
where I am doing this from an EJB backend. But that's overkill
> Which solution are you using and why? Are there others I haven't thought of?
I am using tapestry-resteasy if I need to make a service available.
Piero
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
Fo
> Why not an specific page in the Tapestry wiki and link it from the site?
This is what I've thought about - Struts2 does it within a wiki as
well. However, they are using confluence.
I am pretty sure we are able to accomplish something similar with
MoinMoin... but I am getting Internal Server err
Hello list,
I've thought about creating some kind of plugin list for tapestry5. My
feeling is that its hard to find integrations or functionality or know
what kind of modules are available - especially for new users.
What do you all think about creating a place where these plugins can
be easily fo
> This sounds very promising, thanks for the link!
>
> The demo does not work without JavaScript, I hope it is not a general
> problem with the project.
This is because zones are used to refresh the page. It has nothing to
do with the conversation stuff.
Piero
--
>> Why don't you want to use @Persist?
>
> It breaks tabbed browsing. The user would not be able to open two tabs and
> edit separate lists before submitting them. Therefore I banned the use of
> @Persist in my application.
You may want to have a look at tynamo's tapestry-conversation:
http://tyna
Just a short note: the GA stuff seems to be loaded twice. In the
header as well as in the footer.
Piero
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry
I am proud to announce the first release of tapestry-jpa which is now
part of the tynamo[1] project. It features full JPA2 integration and
provides you with all the functionalities known from tapestry's
hibernate support. To get started, you may want to take a look at our
Tapestry JPA Guide[2].
Ma
Hi Peter,
nice to hear people are trying out tapesry-jpa.
You may want to have a look at the new documentation wiki as well:
http://docs.codehaus.org/display/TYNAMO/Tapestry+JPA
> After i followed the quickstart infos on
> http://kenai.com/projects/tapestry-jpa/pages/Quickstart (which says, in
>
Forget about what I said. Just needed to do the same thing, and the
packaging is:
InjectSelectionModel outside of any controlled package, for example:
your.app.package.annotations
GenericSelectionModel inside a controlled package, ie your.app.package.base
InjectSelectionModelWorker inside your.app
> but the article you sent me is exactly the same article I used before!!!
>
> I just dont get why tapestry complaints about its own class
> AbstractSelectModel...
Because you extended it. I assume your GenericSelectionModel sits in a
controlled package: base, components, or one of the others. Thi
>> [ERROR] TapestryModule.RequestExceptionHandler Processing of request
>> failed with uncaught exception: java.lang.ExceptionInInitializerError
>> java.lang.ExceptionInInitializerError
>> at
>> de.pierosartini.tynamo.services.impl.TynamoComponentClassResolverImpl$6.invoke(TynamoComponentCla
>> It would be great to just override ComponentClassResolver - but this
>> does not seem to work?!
>
> What exactly do you mean by "does not seem to work"?
binder.bind(ComponentClassResolver.class,
TynamoComponentClassResolverImpl.class).withId("Override");
For now, TynamoComponentClassResolverIm
>>> - if not, make tapestry think there is a page which is in fact located
>>> somewhere else
>>
>> You could advice ComponentSource to change the getPage(String name) method
>> parameter value before its invoked.
>
> I will try this, thanks!
I think it could work if I advise to
ComponentClassReso
> This seems to me more of a Tynamo issue than a Tapestry one itself, so I
> guess you'll have a better answer from the Tynamo team. ;)
I don't think so. This issue is about implementing a specific
functionality missing in tynamo right now ;)
We are discussing the issue within
http://jira.codehaus
>> The usecase is for tynamo's crud functionality.
>> We want to provide generic Add/List/Edit pages inside our library.
>
> The normal, unchanged URL for your pages can still be used, so you shouldn't
> worry about them. URL rewriting is aliasing, not overriding.
Of course we could use "/tynamo/a
>> I want to use UrlRewriter in order to make a page appear in two locations.
>> Now my problem is that I am not able to link to both destinations
>> (with t:pagelink for example).
>
> Why would you want/like that in first place?
The usecase is for tynamo's crud functionality.
We want to provide g
I want to use UrlRewriter in order to make a page appear in two locations.
Now my problem is that I am not able to link to both destinations
(with t:pagelink for example).
Is there any way for me to make a page appear under two locations and
be able to use it as it is available in both locations?
After trying to override ComponentClassResolver (which did not work),
I played with UrlRewriter infrastructure. I think most of what I need could
be done by just using it.
Thanks!
-
To unsubscribe, e-mail: users-unsubscr...@tapes
> Thanks Piero, for the quick response yes i do have that method like
> onActionFromShowDetails(long id){}
> where i can set a property to boolean true /false. But my problem is as i
> mentioned my application list is dynamic in that case if i have N
> applications then i would need N such proper
> encoder="applicationEncoder">
>
> conntext="currentApplication.id">${currentApplication.applicationName}
>
>
>
> Note: Values for the loop is loaded dynamically from database, so i cannot
> have one property to check for If condition like . Please
> suggest.
In your page class y
omp.mylib.pages and I
contribute a new LibraryMapping("mylib", "org.comp.mylib") to the
ComponentClassResolver, they would be available in the root path. (eg.
/MyPage ).
But what I want is to dynamically place my pages at a given location,
configured by the user.
Hello list.
I want to implement a library which provides standard pages for the
users application.
There are two requirements:
1. The user should configure the path where these pages will be available.
2. The user should be able to override them
I think there are 2 things needed to accomplish th
> Differently from JPA, it also allows one to use OODBMSs, Excel, Google
> BigTable, Amazon EC2 and so on in addition to relational databases.
>
> By selecting JPA you cut of the possibility to use e.g., db4o as persistence
> engine.
I agree that JDO is a great technology. But I don't think it is
> As far as I understand, javax.persistence.EntityManager is an interface, so,
> there should be any mechanism to determine which impl will be used at
> runtime, right?
Right. This is part of the JPA specification. You define the
implementation inside your persistence.xml:
...
org.eclipse.persiste
> My only question now, is "what about tapestry-jpa?" isn't it an abstraction
> for my scenario?
> It hasn't documentation yet, but Piero, correct me if I am wrong, if I use
> the tapestry-jpa interfaces into my DAO implementation, I would be
> de-coupled from the JPA implementation that I will be
> I would need some mechanism, which knows about the current data layer
> implementation I want to use (i.e. hibernate or any ohter else), then my DAO
> impl will not need to be re-written for multiples technologies.
> Anyway, that mechanism should know about the "supported" technologies and
> how
> So, do you think that the most flexible approach should be to have some
> module like tapestry-jpa to interact with into the pages, and, the real
> "data access layer" implementation could be inter-changable between
> hibernate, db4o, and anyone which implements the JPA specification?
If you use
Hi Matias,
you may be interested in tapestry-jpa which can be found at
http://kenai.com/projects/tapestry-jpa
The JPA1 version should work fine, I am using it in all of my projects.
I am currently working on the JPA2 version - expect it to be working
until the end of the week. I'll try to come up
Very nice work, congratulations!
Piero
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
> 2. If No, help me with the following scenario in my project.
> I need to show a page a page to the user, only when it has a context with
> it! Else i need to redirect the user to another page. Though i link the
> page, only with the t:context, i just need to confirm no one has ever
> b
> I'm also a bit surprised at how eager people are to make use of
> cumbersome solutions like Spring Security to accomplish simple tasks
> such
> as protecting pages. The Spring Security logic is path-based,
> requiring an awkward mapping from paths to Tapestry pages. When I
> need to implement t
Thanks Thiago, that helped me a lot.
Unfortunately it seems that it does not help against these error-bubbles.
Piero
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h.
> Agreed. Don't forget to check the third-party packages in the Tapestry home
> page.
Talking about these..
It would be great to tag them defining what they are about:
* projects using tapestry (like InterLDAP)
* projects providing extensions
* showcase / tutorial projects
Outdated:
* Godcode Co
> Wicket itself doesn't. Nor does JSF. (all this as far as I know and I google
> it)
JSF does not qualify as framework IMHO. Seam brings security.
Agreed on chenillekit.
By the way, it would be nice to have something like wicketstuff.org :-)
> Regarding JDO, its implementations need for class en
> More freedom, more control, more complex. Quite hard to avoid that.
Agreed. The challange is to define what parts need to be customized
often, and should be easy to change. For me, these bubbles should be
easy to change.. but as always, others may have a different oppinion.
> I cannot speak fo
> I wrote that because of the @PersistenceContext. That's the only thing,
> AFAIK, that would be different from tapestry-hibernate.
>From a users perspective, its a matter of injecting EntityManager
instead of hibernate's Session.
In the module itself there are more changes.
> You can do this in
> Select models out of beans could be improved. My Tapestry CRUD package has a
> solution for that.
I know... but your CRUD package is not tapestry.
> You're talking about a snapshot. This behaviour was changed and now
> everything in the context is allowed.
Hey.. this was no complain, you asked
> There's also JavaConfig and use of annotations instead of XML, but
> Tapestry-IoC still looks better to me. And Spring doesn't have distributed
> configuration.
At the time I had a look at Spring it didn't have this ;-)
> What I meant is that it is hard to find your
>> way around the IoC concep
>> I've also thought about this, and my only conclusion is that Tapestry is
>> too difficult to master. Especially when it comes to tapestry-ioc and
>> getting productive with it.
>
> What exactly is difficult to master? I think Tapestry-IoC is easier to learn
> than Spring.
> Maybe there's a sensa
> Having seen some discussions in the past about the history of Tapestry, I'm
> wondering what the status of Tapestry with CDI support will be. In other
> words, is it again going to result a new major release incompatible with
> previous versions? I think CDI in it's current form, if should be sup
> The only reason I still use it is the transaction management. Having time to
> implement something similar in Tapestry-IoC is in my wishlist
> (tapestry-hibernate and @CommitAfter are not enough, as they're tied to
> Hibernate), but I don't know when Santa will give me that . . .
Yes.. transacti
> I would say that Tapestry-IoC is not able to handle JPA fully
> (@PersistenceContext) now, but someone can step up and implement this. :)
That's what I meant with re-inventing the wheel ;-)
One time we will have a working tapestry-jpa2 module. But then the
next step is to support more than one p
> For both JPA/Hibernate, you have two ways to go:
>
> 1. Container-Managed EntityManagers and transactions.
>
> By this I mean that you're using @PersistenceContext and such in your classes
> so that your web application container (i.e. GlassFish) manages the
> EntityManagers and the transact
Ups. Just realized that is not what Howard said: Two seperate webapps that
access one common module. My approach is only one webapp with 2 modules for
the different app-pages/components.
Sorry for the confusion.
Piero
> Do I then create multiple filters in the web.xml for each sub-app? Or
> just one for /*? Seems to require multiple filter definitions, but
> then other stuff fails.
Only one filter!
> Further, it's claiming I have multiple IoCs. Removing the extra
> filters from the web.xml eliminates the multi
> You would need to implement your own ValidationDecorator. I just thought
> of it yet. It would be a better solution to your specific problem. There
> were some messages in this mailing list about it. The Tapestry sources are
> other nice places to see some examples about it.
ValidationDecorator
Hi Thiago,
> I can think of two ways: using your own component to get the validation
> errors from the ValidationTracker or write a mixin that rewrites the
> generated DOM.
Thanks for the hint. I've thought in this direction as well but was not sure
if it would be possible at all. I like the mi
Hello,
I want to overwrite the markup that is generated from tapestry for client side
validation. To be more detailed, I need to integrate the forms.css of the YAML
css framework:
http://www.yaml.de/en/dokumentation/css-bausteine/formularbaukasten.html
To use it the right way, it is not enough
> �...@commitafter("unit1")
>
> JPA already defines something like this does anyone have an opinion on using
> @Inject vs. @PersistenceContext("unit1")?
Hard to say, but I would prefer @Inject. I like to know that I am
working with the tapestry stuff, not in the JavaEE context. Could be
confusin
> I checked and is the line is being executed, but the process keep going to
> the onSubmitRegistrationForm() and the new page "successPage" is
> rendered...
onSubmit() is called whenever the form is submitted.
What you want to use is onSuccess(), this method is only called if the
validation wa
Isn't it possible to "shut down" these channels? This will prevent people from
landing there while searching for tapestry components. I remember my early
days with t5 when this was very confusing.
If you don't use the google project any more - why not delete it?
If you don't use the formos infra
> So the question is: do I wait and see if time opens up in Q1 to
> actually start on a T5 book ... or do I jump into 5.2 coding and leave
> books to others?
+1 for coding, as there already is a very good book available (written by
Igor). Why do it twice - what's lacking is just an english transl
I need to create a GAE based application and wonder if someone has already
done some work to integrate JDO with tap5.
Piero
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail:
> Maybe you can explain why you have a static initialiser that needs the
> registry? It sounds very 'un-tapestry' ;-)
I had the same problem some time ago. My requirement was to access
services from my entity beans. I think to put the registry into a
static context would be a great addition..
Pie
+1 for single-click navigation!
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
> Oh well, diving in to see how far I can get by just taking
> tapestry-hibernate and making a JPA version.
I did the same some time ago. It works for me, but is far from being complete:
http://bitbucket.org/psartini/tapestry-jpa/
There is a lot of stuff missing, especially the more advanced
> Is @Property so hard or awful?
No, it isn't. But for me these kind of objects have temporary character. I
really don't like them to pollute my page classes.
Maybe its just me, but if I need a property just to iterate over a list it
feels like it could be optimized tapestry is reducing nee
Iterating over objects with loop and var: can be handy. But I discovered (and
it is mentioned in the docs) that it is not possible to access the properties
of these objects.
Why is this? Is it too complicated to support? (I can't see at which point it
is so different to "normal" property expres
> I expect the T5 IOC to live well beyond the web framework portion.
T5 IoC is very powerful.
But at this point I am not so sure if Tapestry IoC is the best answer to
flexibility. Take a look at Struts2 - they are able to switch their DI
implementation by configuration.
This brings them a lot
Hi Hugo!
This is very useful! Just gave it a try and found a bug:
${currentSessionAttribute.size} seems to be empty or NULL for SSOs.
This leads to a NullPointerException within formatBytes().
Piero
Am Donnerstag, 25. Juni 2009 11:04:09 schrieb Hugo Palma:
> I've created an application
> protected Class getValueClass()
> {
> return (Class) ((ParameterizedType)
> getClass().getGenericSuperclass()).getActualTypeArguments()[0]; }
>
> I use something similar in DAOs, idea came from here:
> https://www.hibernate.org/328.html
Thanks!! Had an abstract getEntityClass() method for
onents (and pages).
Piero
>
> Piero Sartini-3 wrote:
> >> >> secondly i have a component Info with a variable say "private String
> >> >> description"
> >> >> and function
> >> >> public String getDesc
> >> secondly i have a component Info with a variable say "private String
> >> description"
> >> and function
> >> public String getDescription() {
> >>return description;
> >> }
> >>
> >> how can i use it in template ??
> >> ${component:Info.description} doesnt work !
Just use ${descr
Right now, my URLs look like this:
domain.tld/module/ for the indexpage
then my subpages use
domain.tld/module/subpage//
I would love to use something like
domain.tld/module//subpage/
I think the new URL rewriting support can help but I am a bit lost with it.
Anyone has already done this?
Am Samstag, 20. Juni 2009 05:07:54 schrieb donf yang:
> And when we need it ?
I am using it. It replaces the simpler layout component pattern I used before.
The advantage is that I am able to define events and zones that need to be
available in each page.
Using this for a dialog/popup solution
> My solution cover everything you needed without the need for
> subclasses to call initialize(). About some pages needing two
> parameters, other two, this isn't a problem: just use EventContext as
> the parameter of your onActivate(). Regardless of how many parameters
> were used, it will be call
> You don't have access to the RenderSupport environmental until the page is
> actually rendering. So it's available between the setupRender and
> cleanupRender phases, but outside of that (i.e in your
> pageAttached/pageDetached phases) it has not been placed in the environment
> yet.
This clears
> What Tapestry version are you using?
5.1.0.5
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
Am Freitag, 19. Juni 2009 13:12:02 schrieb DH:
> I am sure that exception comes out in ajax request, right? RenderSupport is
> not available in ajax request.
Nope.. as soon as I try to access the RenderSupport in pageAttached or
pageLoaded. It is an abstract class - but that shouldn't matter?
Th
Am Freitag, 19. Juni 2009 12:43:23 schrieb DH:
> sure, you can use directly in page.
>
> @Environmental
> private RenderSupport renderSupport;
>
> Why to extend page from component, page itself is the top root component.
Ups - that was too early. It does not work:
"No object of type org.apache.ta
Am Freitag, 19. Juni 2009 12:43:23 schrieb DH:
> @Environmental
> private RenderSupport renderSupport;
I tried it using @Inject like in the components. @Environmental works :-)
Thanks!
Piero
-
To unsubscribe, e-mail: us
Is it possible to get the RenderSupport in pages? I need to add some
stylesheet...
What works is to extend my Page from some Component... but I am not sure that
is the way to go?!
Piero
-
To unsubscribe, e-mail: users-
Am Freitag, 19. Juni 2009 02:30:45 schrieb Thiago H. de Paula Figueiredo:
> As far as I can see, this is not a matter of Tapestry events, but of
> implementing a Template design pattern. ;)
>
> final Object onActivate(EventContext context) {
> initialize(context);
> }
>
>
> Each class can have as many onActivate() methods as you want. But I would
> have a single onActivate(EventContext context) method and let the
> subclasses override it. Or define a method like process(EventContext
> context) and call it from a final onActivate(EventContext) method.
If I overwrite
1 - 100 of 125 matches
Mail list logo