I want to use the comet in my app.
Has Tapestry integrated any comet frame. such as pushlet
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/has-Tapestry-integrated-the-comet-tp4722353p4722353.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
I believe I tracked down the issue and have checked in a fix.
https://issues.apache.org/jira/browse/TAP5-1613
This will go into the 5.3 release.
I may have overlooked something obvious to someone else but I can't
see a workaround for a 5.2.6 build.
Josh
On Sun, Aug 21, 2011 at 4:07 PM, Josh Ca
That indeed worked!
What I needed to do is to add onAction that returned a text/javascript
TextStreamResponse and set the URL to "/js/gwtSupportValue:action?name=foo
Thanks for all your help guys!
On Aug 21, 2011, at 9:29 AM, Barry Books wrote:
> jsSupport.includeJavaScriptLibrary("/js/gwtSupp
Ok, I've replicated the issue.
Here is my update:
Your ComponentClassTransformWorker is putting the mixin onto the
AbstractField instead of the Select component. AbstractField is what
implements getClientId, so this makes sense. What doesn't make sense
is that when the model for the Select compon
use gridDatasource interface to prepare your data the way you want.
http://tapestry.apache.org/tapestry5.2-dev/apidocs/org/apache/tapestry5/grid/GridDataSource.html
http://www.packtpub.com/article/tapestry-5-advanced-components from
Alexander Kolesnikov
see also http://wiki.apache.org/tapestry/T
FYI: If you want to see what my code does it's all here
https://github.com/got5/tapestry5-jquery/blob/master/src/main/java/org/got5/tapestry5/jquery/services/RenderTrackerMixinWorker.java
https://github.com/got5/tapestry5-jquery/blob/master/src/main/java/org/got5/tapestry5/jquery/mixins/Selector.
In ComponentClassTransformerImpl.java there is this
// Force the creation of the parent class.
152
153 try
154 {
155 parentClassname = ctClass.getSuperclass().getName();
156 }
157 catch (No
https://github.com/apache/tapestry5/blob/trunk/tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/pages/TreeDemo.tml
https://github.com/apache/tapestry5/blob/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/TreeDemo.java
--
View this message in cont
More interesting output. I added this to the MixinWorker
public void transform(ClassTransformation transformation,
MutableComponentModel model) {
List methods = transformation.matchMethods( new
Predicate() {
@Override
public boolean
I tried a few more components and it appears if the component extends
Object it works as I would expect. If the component extends something
else like AbstractField it does not. I also tried just extending the
any component like this
public class MyAny extends Any {
}
and the behavior changes.
h
That's much easier than contributing markupRenderFilter. I will try that!
On Aug 21, 2011, at 10:29 AM, Barry Books wrote:
> jsSupport.includeJavaScriptLibrary("/js/gwtSupportValue?name=foo");
> jsSupport.includeJavaScriptLibrary("context:js/gwtSupport.js");
>
> Then build a Tapestry page calle
jsSupport.includeJavaScriptLibrary("/js/gwtSupportValue?name=foo");
jsSupport.includeJavaScriptLibrary("context:js/gwtSupport.js");
Then build a Tapestry page called js/gwtSupportValue that outputs
javascript that sets a variable called name to foo. This way you don't
need to write files to the fi
The selector mixen works with a selector binding I wrote. The goal is
for ${selector:id} to return the client id of the component with the
id passed to selector. The binding also supports 'this' for an id
which returns the client id of the containing component that supports
getClientId(). So to mak
I have managed to save the file into Blob (or at least I think I did). It
showed me an error that Blobstore api wont be available until bill has been
enabled. I was not aware of this restriction. Anyway is it possible to save
the file somewhere else and not into Blob?
For those who will look at th
14 matches
Mail list logo