For everyone that stumbles over this conversation. Here is the code I use
to access the registry outside of jetty. Basically its just about getting
the ServletContext object. If you have two or more WebAppContext you need
to inspect those, since I have only one I can go with the first one.
Will keep that in mind, thanks!
Regards,
Lidija
On Thu, Oct 24, 2013 at 5:46 PM, Lance Java wrote:
> Note that @Import can also be placed on render methods (eg setupRender)
> instead of annotating at the class level. If used on a render method, the
> import will only happen when the component i
I'm wondering how to do a batch transaction with Tapestry-Hibernate. Should
I still be using @Inject Session session and @CommitAfter? or Should I be
using Transaction tx? I'm flushing and clearing my session every 200
iterations, but it appears to progressively get slower and slower until I
restar
Hi,
Check out stackoverflow.com.
Am 23.10.2013 22:30 schrieb "Ken in Nashua" :
> Hi Folks,
>
> I have a database.
>
> And I want all users to login...
>
> But I want all my code to cater to each user, regardless of how many are
> logged in SAME CODE BASE... UNLIMITED USERS... CONCURRENCY.
Hi,
Thanks for the input, I really appreciate it. Unfortunately I do think
the files need saving as local files, for now at least. The reason
being that at the moment the project is really a prototype rather than
a fully blown system, but we do want it to be secure whilst we work.
The files may ne
Hi Steve!
Why not simply use the session? If the user has to authenticate anyway?
In case you want avoid a session you can create onetime tokens. Unfortunately
checking token validity or detecting outdated tokens requires persistence
somehow...
Jens
Von meinem iPhone gesendet
> Am 24.10.2013
Can't you just check the user has permissions before serving the file?
Throwing exception if they're not authorised.
BTW using local files is usually a bad idea (portability, scalability,
transactions etc). Have you considered storing in the db or a blobstore?
Note that @Import can also be placed on render methods (eg setupRender)
instead of annotating at the class level. If used on a render method, the
import will only happen when the component is actually rendered. This might
be cleaner in this case.
On a side note, both of my options (using the User object and using a
persisted field) will result in only being able to show one
StreamResponse at a time (otherwise they would both show the same). I
could extend this by having some kind of data structure (hashmap?) in
the User object and passing a
Hi,
I think I am doing something very, very wrong. What I have currently
works - but I get a feeling that it's not the best way of doing it.
I'm hoping for a little bit of advice again (sorry to ask so many
questions recently, and sorry this is a long one).
This is the issue:
I have some dynamic
I tried importJavaScriptLibrary and it is really done dynamically.
I did what you proposed:
@Inject @Path("context:js/jquery-ui-1.8.19.custom.min.js")
protected Asset jqueryUi;
@Inject @Path("context:js/TableTools.js")
protected Asset tableTools;
@Inject @Path("context:js/dataTables.editor.min.
On Wed, 23 Oct 2013 18:30:05 -0200, Ken in Nashua
wrote:
Hi Folks,
Hi!
I am worried about database collisions amongst the tables since they
will all need all the tables... or rows for themselves.
As Jens said, this seems to be completely unrelated to Tapestry. I guess
you need to lea
Ok, I've started fresh project and all is good
I'll be offline for better part of the day, but I'll send the code when
possible.
Sorry for raising alarm
Regards,
Michal
Sent from my mobile
24 paź 2013 09:22 "Peter Hvass" napisał(a):
> Hi!
>
>
> It's been working fine for us in a number of pl
Hi!
It's been working fine for us in a number of places on sites now running 5.4.
Could you paste what you've got so far? A fresh set of eyes might be able to
point out the issue immediately.
Thanks,
Peter
- Original Message -
From: "Michał Gruca"
To: "Tapestry users"
Sent: Thursd
14 matches
Mail list logo