Hi Uli et al,
Is there a neater way to tidier way to extract the activation context
parameters from the Request than the way I'm doing it below? It assumes I've
already extracted the pageName from the Request path.
String path = request.getPath();
String[]
Sorry, I missed the point, my solution only works for labels used in
grids etc
On 06.02.2010 13:51, Nuno Ferreira wrote:
I'll definitely try that. And using a cache I could give my users the
functionality to change at runtime the label translations, which I'm
planning anyway since google
There are several ways, depending on what you are doing.
If inside a ComponentRequestHandler's handlePageRender() method, you can
ask the PageRenderRequestParameters for getActivationContext(). If you
are handling a component event in handleComponentEvent(), just ask the
Yes I had already tought of a solution like taht but I was hoping for a
clean tapestry solution like the you suggested me with the link.
Thanks anyway.
Would instead be possible with T5?
Martin Strand ha scritto:
For POST requests, your initial idea is the way to go:
Of course I can return to
This has nothing to do with Tapestry, it's how the HTTP protocol works.
There's just no response you can send which tells the client to POST data to
another URL. Instead you send a short program which performs the POST and hope
your client executes that program - that's the script solution.
On
I know, but a was hoping for some kind of forward to external web site
mechanism.
It shouldn't be impossible to build something like that using HttpClient
or some similar package
Martin Strand ha scritto:
This has nothing to do with Tapestry, it's how the HTTP protocol works.
There's just no
Thanks, I'll give that a try. BTW, the code I posted earlier doesn't work, but
this seems to:
String path = request.getPath();
String[] activationContextParams = path.substring(pageName.length() +
2).split(\\/);
Link pageAfterLoginLink =
Hello List,
i'm trying to update an Hibernate-Object but alway get an a different object
with the same identifier value was already associated with the session:
Exception.
My Form-Code looks like:
@Inject
private ConfigurationDAO configDAO;
@Persist
@Property