I would prefer a drop in module also. I use Bootstrap for new projects but I
have some old ones that do not. If the base components change their HTML
output this would be a backward compatibility problem for me.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Idea-for-5-4
I did upgrade from Tapestry's default template to Bootstrap 1 then 2 and it
caused me to rethink the whole way I was doing things.
When I built the Bootstrap 2 module I created one mixin called framework and
used a worker to add it to all components. Then I created a service to
handle the framewo
I'm all for (optionally) getting rid of boiler plate and I think there is a
way to get rid of even more here. i would suggest putting the mixin at the
form level and have it control all the contained elements. For example
or
This makes it easy to switch between form types and makes your code
If I understand your question correctly you are trying to figure out if it's
better to initialize the javascript elements on the client side by id or by
some other kind of selector.
I use both Bootstrap and the Facebook apis and they both use data elements
and then automatically initialize the var
I'd like to help with this effort and I submitted a CLA.
I don't really care how it's hosted but I do have one comment. Before
Tapestry I used ACS and it had some of the best documentation I've seen. I
think there were two reasons for this.
1. It was considered a priority
2. The documentation wa
> - Service Provider Interface?
> - Script Programming Interface?
> - Single Page Interface?
It does seem a definition would be nice. I would say #1 also because I think
the API spills over into the Java side. For example the current javascript
deals with initializing the client side of compone
I hope this is the goal also and I guess my question is what does make it
easy mean? If you wanted to use Ext JS components what would you want would
you want an abstraction layer to do? I would just grab the compressed
Javascript, put it on a server and write some Java component interfaces. I
woul
>On Fri, 26 Oct 2012 10:47:35 -0200, trsvax <[hidden email]> wrote:
>
>> 1. With things like mod_pagespeed now appearing it's not clear to me the
>> work of optimizing page load times belongs in the framework. Since there
>> is a common solution development t
I'm glad you asked this question. Here are my thoughts.
I was never really a big Javascript fan and I used Tapestry for many years
without writing a single line of Javascript. As time passed it became
obvious that this Javascript thing was here to stay and the current world
used jQuery so I starte
I made it thru the process with just a couple more comments
1. git format-patch origin/trunk should be git format-patch origin/master
2. I had a couple of problems with Eclipse not getting the project
dependencies right
3. All the @Overrides produced a compile error so I had to change my
compiler
Thanks,
Very useful for getting started. Whatever compiler problem I was having the
other day just went away and I can build now.
I'm going to attempt submitting a patch for TAP-2006.
I'm far from a git expert but should
git branch TAP5-123 origin/trunk
be
git branch TAP5-123 origin/master
I've got a bunch of random patches I'd like to contribute. My plan was to git
the Tapestry5 source, build it, then apply my changes so I can generate
patches. I looked for a build document but I could not find one. From what I
can tell
./gradlew build
should build the project. It runs for a whi
I try and stay current since upgrades have been mostly painless. In fact so
far it's been 3rd party library upgrades such as Hibernate that have caused
me the most problems. I guess the Hibernate one was necessary and now it
looks like Prototype might introduce issues so I'll throw on my 2 cents.
I don't think I currently can, but I don't mind doing it. Do I need to send
it a contributor agreement?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/FYI-Git-link-on-the-community-page-is-broken-tp5715937p5715952.html
Sent from the Tapestry - Dev mailing list archive at
The link on the page is
https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git%3Ba%3Dsummary
but should be
https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;a=summary
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/FYI-Git-link-on-the-community-page-is-broken
Maven seems to create a directory called maven in META-INF. Perhaps the
correct approach is to put a directory called tapestry in META-INF and put
assets in it. If the actual files should not be in META-INF it could contain
a file called assets that contains a pointer to the real asset.
--
View
I believe Rhino is built into 1.6 jvm. I'm guessing if you compile to byte
code >= 1.6 then you have Rhino and don't need a dependency.
But that might not help anything since things like yuicompressor seem to use
a modified version of Rhino.
--
View this message in context:
http://tapestry.10457
There are some useful features in 1.6. It has some new XML capabilities but
perhaps more interesting it has scripting support. I've never used it but
there have been discussions about supporting Less in 5.4 and it needs
Javascript.
It is a tough call
--
View this message in context:
http://tapes
Sometimes it's nice just to include some existing jQuery script and use
without having to write a module/component.
The problem on Ajax calls is you may want to call it if there are elements
in the zone that need to be initialized. Perhaps on the page update it's
$('.zoneLink').init();
and on t
I voted +1 even though I have a workstation that is stuck on a particular
Java major/minor version because I have a dependency on some mainframe Java
browser plugin that only works on one specific Java release.
I would say there is no reason to encourage this behavior and I suspect the
number of p
One thing that would be helpful along with using data- would be the ability
to run a script once. Perhaps something like:
javascriptsupport.runOnce("('.zoneLink').init()");
So no matter how many times you include the component you only get one init
call.
--
View this message in context:
http://
I'm not in the lots of scripts/css fan club. While I think you can construct
a benchmark that shows this to be faster the real world is much more
complicated when you take into account caching. I also think CDNs are cheap
enough that it does not make sense to load assets from the same web server
as
You are returning an object of type java.awt.Component from an onActivate
method. That's not supported.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/HeavyComponent-tp5602655p5607821.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.
--
I've been fighting this problem for a couple of months now and I thought I
had it solved until last Thursday when I started writing a lot of test
cases. I personally think the Tapestry's don't mind the man behind the
curtain is the correct approach and it almost always does exactly what I
would exp
First I'll say Tapestry 5 is the best most flexible framework I've ever used
but,
I've voiced my opinion about informal parameters in the past and I promise
this is the last time.
I understand the value of the ad hoc way parameters are passed to
components/mixins but it seems like there should be
I'm trying to use tapestry.execution-mode in a module and I get this if it's
not defined:
SEVERE: Symbol 'tapestry.execution-mode' is not defined.
SEVERE: Operations trace:
SEVERE: [ 1] Realizing service ExcludeVisitor
SEVERE: [ 2] Instantiating service ExcludeVisitor implementation via
com.trsvax
FYI: It's better to ask these kinds of questions on the user list.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-can-I-get-the-value-from-query-parameter-tp5472015p5472061.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.
-
Put the following in your page.
@ActivationRequestParameter
private String uniqueValue;
You can use types other than String.
@ActivationRequestParameter
private Integer uniqueNumber;
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-can-I-get-the-value-from-query-pa
I've been thinking about this a bit also. I think the simplest way to move
forward would be to add a namespace parm like this
@SupportsInformalParameters(namespace=true)
This would cause the marked component/mixin to only claim it's namespaced
parameters. The ones without a namespace would work t
I ran across this implementing a module that allows the Twitter Bootstrap
framework to be used with Tapestry. I created a mixin called FW (framework)
that supports informal parameters and used a worker to attach it to every
component. The mixin is simple. It just wraps the component in a new elemen
>From what I can tell if you have a mixin and a component that support
informal parameters the default namespace parameters will always go to the
mixin. This contradicts the documentation which seems to say they should go
to the component.
Things get more complicated when multiple mixins support
I also just run 4 and 5 in the same project and convert when I get the
chance. It's easy to share session data between the two. The only real
problem is I have 2 different templates I need to keep in sync.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Convert-Tapestry-4-t
The component reference link for 5.2.6 is broken on the documentation page.
The page is
http://tapestry.apache.org/documentation.html
The link is
http://tapestry.apache.org/current/tapestry-core/ref/
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/FYI-Component-Referenc
While http://tapestry.apache.org/service-status.html is useful for debugging
I don't think it's a good idea to use it as the list of services because
there are internal ones as well as public ones listed and that's where the
trouble starts.
I do agree about having lots of code completions but what
I was not envisioning anything very complicated just an Interface with all of
the non deprecated Interfaces in org.apache.tapestry5.services. I was not
looking for any new functionality.
To me code completion works much like reverse documentation. If I want a
ServletContext I would start typing
S
I tried to steer clear of calling this a documentation "issue" in my post
because I while this seems like a documentation problem I don't think more
documentation is the answer because an Interface is really tied to the
compiler and documentation is not. So it really does two things
documentation c
36 matches
Mail list logo