Hello everyone,
we are using tapestry in our ajax application, most web actions like creating,
editing etc. are implemented using modal dialogs, problem is that only easy way
how to store context is to put it in page link (on Activate approach).
Now, if you think about switching page navigatio
nent in my case.
> I've created an issue for this here
> https://issues.apache.org/jira/browse/TAP5-1339
>
> On Wed, Nov 10, 2010 at 10:20, Denis Stepanov wrote:
>
>> Ajax response uses PartialMarkupRenderer via
>> contributePartialMarkupRenderer.
>&g
Ajax response uses PartialMarkupRenderer via contributePartialMarkupRenderer.
Denis
On 9.11.2010, at 17:00, Hugo Palma wrote:
> I contributed a custom ValidationDecorator which in my case simply adds a
> "*" to the label of every required field.
>
> This works fine except when i update a zone w
Is there any way to use setter injection in Tapestry IOC?
I have found this article
http://blog.tapestry5.de/index.php/2011/01/17/javax-inject-inject-support-in-tapestry/
which tells that Tapestry supports setter injection by default but i can't
find any reference in documentation or source co
> Actually setter injection is supposed to work when autobuilding services.
>
> Отправлено с iPhone
>
> 25.04.2011, в 00:00, "Thiago H. de Paula Figueiredo"
> написал(а):
>
>> On Fri, 22 Apr 2011 08:18:24 -0300, Denis Stepanov
>> wrote:
>>
&
You can't persist UploadFile because it's content is deleted one the end od the
request.
After a file is uploaded read the data to the byte array.
Denis
Aug 18, 2011 v 11:31 AM, Taha Hafeez:
> Hi Dick
>
> I am not sure If I fully understand the question but here is my review
> of the code.
>
Hi,
try to implement you own version of
org.apache.commons.fileupload.FileItemFactory which will store files in a
memory.
Denis
On 20.8.2011, at 0:51, bhorvat wrote:
> Hi all,
>
> I am sure that some of you are aware that there is a problem with the
> tapestry-upload component and GAE. I am
Override FileItemFactory using IOC:
http://tapestry.apache.org/ioc-cookbook-overriding-ioc-services.html
your FileItemFactory implementation will need to return simple implemention of
FileItem, request is writing a file using outputstream, so you need a
ByteArrayOutputStream to write to.
http:
Someone already have implemented it using some kind of GAE api:
http://groups.google.com/group/gwtupload/browse_thread/thread/49857a006a7baa46
Denis
On 20.8.2011, at 12:15, Denis Stepanov wrote:
> Override FileItemFactory using IOC:
> http://tapestry.apache.org/ioc-cookbook-overridi
> From what I can see I will need to include this gwtupload library using mave
> and then use that to handle the file uploading and saving into Blob, right?
You only need to replace the FileItemFactory with an implementation which will
store files in memory or specific GAE place, try to use gwt
What kind of error breaks application?
Denis
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
Try to set a system property "java.io.tmpdir" to some value, it could be a null
in the GAE.
http://code.google.com/intl/cs/appengine/docs/java/runtime.html
Denis
> Now if I understand you correctly I can use tapestry-upload component like I
> would normally do, right?
Yes
> One thing that I don't understand is how to I save the file into Blob? In
> normal application I would create a t:form with t:upload inside it. Then in
> the java file I would create a
Because it can't determine a type from a collection of values.
Denis
Aug 23, 2011 v 12:16 PM, Bob Harner:
> Although I don't agree with the majority, I'll work on updating the
> javadocs to make the meaning of "required" clearer for the encoder
> parameter.
>
> For this, can anyone tell me why
If I understand it correctly, right now resources accesses with
ResourceTransformer will have same url as the source.
It would be nice to have somekind of transform resources mapping, lets say we
want to transform less file or files to css:
virtualTransformResource("/css/bootstrap.css", "/less/
Hello,
how many of you know Bootstrap http://twitter.github.com/bootstrap/, a css
toolkit designed to kickstart development of webapps and sites from Twitter?
I just had an idea that Tapestry could use bootstap as defaul css stylesheet.
It would be pretty impressive to have default components a
Hi everyone,
when using @Property anotation on a page with existing getter or setter
Tapestry will throw an exception, would it be better to just ignore adding a
new method rather than throwing an exception? I don't think it could lead to
unexpected behavior, there is not so many cases when the
at went wrong
> With live page reloading, surely the time taken to add (write=false)
> and click refresh is negligible, no?
our app reloads between 10-20seconds so it does matter right now, 5.3 should
improve it
Denis
Oct 18, 2011 v 1:26 PM, Steve Eynon:
>
> Steve.
>
> On 18
I have something like this implemented in our app for component events only, a
field with the special annotation will add its value as a request parameter to
all links inside rendering phase and on incoming event the special filter will
send restore event to restore field's previous value.
Work
Maybe the solution would be to use JarJar to repackage the Rhino, just like
Google Guice uses it for including libs like ASM, commons etc. see:
http://code.google.com/p/google-guice/source/browse/pom.xml#201
Denis
On 27.10.2011, at 2:16, Howard Lewis Ship wrote:
> The Liferay folks repackaged
If your hierarchy is:
> Page
> - MyComponent
> -
you should use onSuccessFromMyComponent, it is probably a bug if
onSuccessFromProductSizeForm works inside the Page.
Denis
On 6.11.2011, at 17:35, 9902468 wrote:
> Ok,
>
> I think I confirmed this as a bug: if I disable the checking using
Finally they have added test that actually tests web frameworks - "Fortunes
test" but no Tapestry yet. Does anyone is going to contribute the fortune test?
>> Performance can be black magic.
>>
>> On the one hand, I've heard some specific things about Node.js performance
>> that are very positiv
> Isn't scaling out using multiple instances is the way to go?
Yes, but I would better use more than one thread per process.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h
I have tried to push exactly same idea but wasn't successful.
https://issues.apache.org/jira/browse/TAP5-1842
Denis
May 31, 2013 v 4:16 PM, Eli Doran :
> There's already a @ServiceId annotation to specify the ID. This isn't a
> "service" exactly, it's close enough.
>
>
> On Fri, May 31, 2013
Would it be possible to include
https://issues.apache.org/jira/browse/TAP5-2112, small improvement to autoload
modules defined in war's meta-inf/manifest.
Denis
Jul 23, 2013 v 5:09 PM, Howard Lewis Ship :
> What issue?
>
>
> On Tue, Jul 23, 2013 at 3:49 AM, Muhammad Gelbana wrote:
>
>> Hope
I've created a new issue "Warn user or disallow zone with randomly generated
id" https://issues.apache.org/jira/browse/TAP5-1834
Denis
On 27.1.2012, at 6:22, Paul Stanton wrote:
> Just a side note, this has caught a few users over time (since t5.1).
>
> Boris' expected behaviour does not seem
It's probably the same issue as https://issues.apache.org/jira/browse/TAP5-1752
Denis
Feb 1, 2012 v 5:12 PM, Howard Lewis Ship:
> Going to need a lot more data, including the exact production platform
> (OS, JDK, app server, etc.) and maybe some code samples. If I can't
> reproduce it, I can't
If you have your service in the session it also means that there is the ioc
registry attached to it, it could be a problem when you have a cluster, best
practices is to store only serializable objects.
Denis
Feb 2, 2012 v 9:35 AM, Christian Köberl:
> 2012-02-02, John Bush:
>> I have a project
You can't, I have created an issue
https://issues.apache.org/jira/browse/TAP5-1624
and I have also suggested and improvement for the coercion to the SelectModel
https://issues.apache.org/jira/browse/TAP5-1446 with a patch almost a year ago,
but noone seems to care.
Denis
Feb 16, 2012 v 9:19
Coerce to
> TypeCoercer's contrubution :)
>
> 2012/2/16 Denis Stepanov
>
>> You can't, I have created an issue
>> https://issues.apache.org/jira/browse/TAP5-1624
>>
>> and I have also suggested and improvement for the coercion to the
>> SelectModel https:/
> The pattern that Paul and Thiago are suggesting works fine if that component
> occurs a single time on a page. However, if you use it multiple times, the
> client side zoneId (as well as the Tapestry JS initializers) are not unique
> any more, which causes the same zone to be updated all the
Where did you read about fields injection not being thread safe? It's
definitely not true. Some developers like to use constructor injection because
of better testing etc. personally I'm using mostly field injection.
Setter injection is just not implemented, IMHO IOC should support method
injec
Calling setAcessible on the same field from different threads is not
thread-safe, but it's a special case, don't be affraid to use field injection.
Denis
Mar 20, 2012 v 1:49 PM, fmaylinch:
>
> Denis Stepanov-2 wrote
>>
>> Where did you read about fields injection
https://issues.apache.org/jira/browse/TAP5-1873
There is a description what should you change to make it work, copy function
from tapestry.js, apply changes and replace it: Tapestry.ajaxRequest = ...
and for better loging: Tapestry.ajaxExceptionHandler = ...
Denis
Mar 26, 2012 v 1:14 PM, Beat
It makes sense to have "private" services, would be nice to have services which
will be only exposed to the services in the current module.
Denis
Mar 28, 2012 v 12:43 PM, Lance Java:
> I have never done this myself but see here for instantiating a Tapestry IOC
> registry yourself
> http://wiki.
Try to add ref="external", it has something to do with tapestry.js and
unloading.
Denis
Mar 29, 2012 v 11:57 AM, Lance Java:
> I just re-read your entire message (nabble messed up your code) and realise
> that I have answered an unrelated question.
>
> Sorry
-
On your ActionLink.
Thanks Denis,
>
> Could please tell me where I can add ref="external" in my code?
>
> Regards,
> Mahendra Athneria
>
>
> -Original Message-
> From: Denis Stepanov [mailto:denis.stepa...@gmail.com]
> Sent: Thursday, Mar
Would it be better to put synchronized block inside null check block like:
if (renderVariables == null) { synchronized(this) { ...
If I'm not mistaken resetParametersConduits doesn't need to be synchronized it
should only change per thread value.
Denis
May 11, 2012 v 6:06 PM, Howard Lewis Ship
OpenSessionInViewFilter has nothing to do with detached entities, it only keeps
session open till view is rendered otherwise lazy loading will no work. The
filter is trying to solve it by always opening session in every request and
closing it at the end. Tapestry hibernate opens session only whe
Could be https://issues.apache.org/jira/browse/TAP5-1873 fixed? There is a
missing parameter in a call and improved exception logging.
Thanks,
Denis
Jun 11, 2012 v 8:36 PM, Howard Lewis Ship:
> On Wed, Jun 6, 2012 at 5:37 PM, Cezary Biernacki wrote:
>> On Thu, Jun 7, 2012 at 1:27 AM, H
Concurrency topic:
Would it be possible to change the lazy init to check if write lock is already
locked? It will eliminate the posibility of locking the write lock by more then
one thread.
try {
readLock.lock();
if(is need to init)
{
boolean hasWriteLock = false;
try {
Its looked like resources are not injected when "javax.inject.Inject" is used.
Denis
Jun 14, 2012 v 2:31 AM, Howard Lewis Ship:
> I'm not seeing anything here. How about you put your source into a Gist (
> gist.github.com) and paste the URL here?
>
> On Wed, Jun 13, 2012 at 3:12 PM, Muhammad G
lt in
> the initialization code never being run.
>
> On Thu, Jun 14, 2012 at 2:36 AM, Denis Stepanov
> wrote:
>
>> Concurrency topic:
>>
>> Would it be possible to change the lazy init to check if write lock is
>> already locked? It will eliminate the posib
I have created dzone link
http://www.dzone.com/links/new_release_apache_tapestry_534.html vote it up!
Denis
On 25.7.2012, at 2:12, Howard Lewis Ship wrote:
> Just a reminder; I'd still like to see a show of support on the
> JavaLobby announcement page.
>
> On Wed, Jul 18, 2012 at 2:45 PM, Howa
YUICompressor generates invalid JavaScript for me, maybe because of the Rhino
conflict I don't know. I have switched to the Google Closure compiler it has
better compression rate, better api and can even detect some IE only errors,
from the svn repo it looks like it is an active project. For CSS
45 matches
Mail list logo