Using ${object.enumValue} renders the enum in raw form ie ENUM1
How do I leverage "TapestryInternalUtils.getLabelForEnum" without having
to use a BeanDisplay or Grid etc?
Or is there super easy way to just render the Enum value formatted
without rendering any wrapping html etc?
"We can push a new 5.5 beta for early testers."
^-- is this available? if not, any eta?
On 11/09/2019 4:43 am, Thiago H. de Paula Figueiredo wrote:
On Tue, Sep 10, 2019 at 4:31 AM Chris Poulsen
wrote:
I did roll an "internal" 5.5-beta version based on the code from 12th July
as there are som
Hi all,
I have tables:
Parent
--
parent_id
child_id
Child
---
child_id
and ORM entity:
Parent
---
Long Id
Child child (oneToOne in this case, joinColumn child_id)
Child is another ORM entity. Child could be one of many options from the
database.
I wo
thanks thiago, i'll look into that solution if i find i run into this again
On 30/10/2015 10:39 PM, Thiago H de Paula Figueiredo wrote:
On Thu, 29 Oct 2015 20:40:29 -0200, Paul Stanton
wrote:
further, it is not the 'save' that javassistifies the object, it is
'session.lo
art in the link below in running under 5.4 beta. I have not
run 5.3 in a long time but I believe it requires @Persist in this case.
What version are you running?
On Thursday, October 29, 2015, Paul Stanton wrote:
Hi,
I've modelled a form using jumpstart's (7) ajax crud however in my ca
n you can manipulate
the BeanModel directly and do whatever you want from it.
On Thu, 29 Oct 2015 00:02:31 -0200, Paul Stanton
wrote:
Just further to this, I've decided not to use BeanEditForm because:
a) I can't set the context - I'd like to use the Id as context so
that
rid. using
'get' instead of 'load' seems to avoid this.
On 30/10/2015 9:13 AM, Paul Stanton wrote:
Hi Thiago,
Using 'merge' instead of 'save' does not resolve the issue. I still
have to evict.
On 29/10/2015 11:04 PM, Thiago H de Paula Figueiredo wrote:
O
Hi Thiago,
Using 'merge' instead of 'save' does not resolve the issue. I still have
to evict.
On 29/10/2015 11:04 PM, Thiago H de Paula Figueiredo wrote:
On Thu, 29 Oct 2015 07:23:07 -0200, Paul Stanton
wrote:
I have found an issue I believe with tapestery (grid com
Hi,
I've modelled a form using jumpstart's (7) ajax crud however in my case
I seem to have to @persist(flash) the equivalent of 'function'
http://jumpstart.doublenegative.com.au/jumpstart7/together/ajaxcomponentscrud/persons
I think this is because there are two page instances: one to handle
Yes, it is necessary to 'evict' after 'save' to avoid this problem.
I'm not sure that this is ideal since it increases db io and code but it
works.
On 29/10/2015 8:23 PM, Paul Stanton wrote:
I have found an issue I believe with tapestery (grid component in this
case
I have found an issue I believe with tapestery (grid component in this
case) where it cannot inspect details of hibernate 'enhanced' objects.
This happens when I save an object to the database and then query it out
again - the instance is returned from cache as a botched/modified
javassist vers
which is not suitable
I suggest these upgrades are considered
On 29/10/2015 12:47 PM, Paul Stanton wrote:
According to jumpstart (no mention in tapestry doc) beaneditform
auto-hides the id field:
http://jumpstart.doublenegative.com.au/jumpstart7/examples/input/edit1/1
*But where is Pe
According to jumpstart (no mention in tapestry doc) beaneditform
auto-hides the id field:
http://jumpstart.doublenegative.com.au/jumpstart7/examples/input/edit1/1
*But where is Person's |id| property?* BeanEditForm automatically hides
properties annotated with |@Id|.
From the 'view source' o
You can start with a fresh Tapestry 5.4 (beta) project which has JQuery
built in.
You will probably want to exclude the PrototypeJs/Scriptaculous support
and only use jquery:
@Contribute(SymbolProvider.class) @ApplicationDefaults
public static void setupEnvironment(MappedConfiguration
config
I find chrome debugger easier to use and faster than firebug. I used
firebug for years before finding chrome more efficient.
Once everything works in chrome I take it through firefox+firebug, and
then IE tester for multiple versions of ie (we support 8+).
I rarely find any issues in safari et
Hi Thiago,
My mistake, for some reason shift+refresh in chrome isn't doing a full
reload. Deleting cache is working correctly.
p.
On 20/11/2014 11:30 PM, Thiago H de Paula Figueiredo wrote:
On Wed, 19 Nov 2014 23:13:13 -0200, Paul Stanton
wrote:
Hi all,
Hi!
Creating my own modu
Hi all,
Creating my own module.js within META-INF/modules/xyz.js
If I change the content, it takes some time before the browser sees the
change (20-50 seconds).
Is this configurable?
Thanks, p.
-
To unsubscribe, e-mail: use
iredo wrote:
On Wed, 19 Nov 2014 16:10:53 -0200, Paul Stanton
wrote:
Thiago,
Tapestry is smart enough to not download JS twice.
I'm not sure you understood my example. It may not download the same
JS code twice in the same page, but, considering different pages in
the same site
Thiago,
Tapestry is smart enough to not download JS twice. Your 2nd paragraph
sounds more likely - someone took the approach that if a resource is in
a stack, then that resource must require the whole stack.
I think this logic is flawed, or at least could be optional, certainly
documented!
Chris, can you point me to an example of this?
thanks, p.
On 18/11/2014 10:53 AM, Chris Poulsen wrote:
I'm moving more of the initializer code over to get client id's etc. from
data attributes - the "scanner" pattern for initialization that can be seen
in some of tapestrys own components works
this degree before however I find
this alarming and am going to have to abandon my usage of stacks because
of this.
I am assuming there is no configuration switch to disable the
auto-inclusion of stacks unless specifically imported?
thanks, p.
On 19/11/2014 3:25 PM, Paul Stanton wrote:
Hi,
I
Hi,
I have PageA for which I have created StackA of all the the js it
includes by the virtue of its self and its components (for production
efficiency).
I have PageB for which I have not created a stack, and it does not
import StackA.
However when I request PageB, StackA is being included
tables").invoke("setCurrentElement")
.with(SELECTABLES_KEY,
selectableName);
}
};
}
In this case I get away with SELECTABLES_KEY being a constant but, as I said
above, sometimes you
javaScriptSupport.require("activate-selectables").invoke("setCurrentElement")
.with(SELECTABLES_KEY,
selectableName);
}
};
}
In this case I get away with SELECTABLES_KEY being a con
34 PM, Geoff Callender wrote:
Have you had a look at these two:
http://jumpstart.doublenegative.com.au/jumpstart7/examples/javascript/modal/1
http://jumpstart.doublenegative.com.au/jumpstart7/examples/javascript/reusablemodal/1
Do they fit your scenario?
On 13 Nov 2014, at 3:40 pm
great, and it works. thanks.
is this documented?
On 13/11/2014 10:31 PM, Thiago H de Paula Figueiredo wrote:
On Thu, 13 Nov 2014 04:05:11 -0200, Paul Stanton
wrote:
oh ok, so hard code the meta-inf/assets part -- but this won't use
the checksum cache key - which i suppose is ok sin
lah.css");
and in AppModule:
public static void
contributeJavaScriptStackSource(MappedConfiguration
configuration) {
configuration.addInstance("YourJavaScriptStack",
YourJavaScriptStack.class);
}
Geoff
On 13 Nov 2014, at 4:33 pm, Paul Stanton wr
Hi all,
I am trying to include some non-requirejs resources in the most
recommended way. In this case, a javascript package which requires some css.
From what I can tell the recommended approach is to 'shim' it in from
the location "META-INF/assets", which I've done
public static void
Hi Geoff,
I have found your examples invaluable in learning some of the basics of
this (and other) concepts. I can't thank you enough
.. the only thing I can see is missing currently is the example I
asked about in the previous mail:
Basically, how do I interact with a js module instance a
into
it at all if you don't want to. I like the syntax but I'm still not sure if
it's worth the additional complexity. Anyway for transcompiling on-the-fly,
tapestry-webresources is great and takes all the pain away when developing
your own web app.
Kalle
On Wed, Nov 12, 2014 at 3:
AM, Paul Stanton wrote:
Hi Thiago,
Firstly thanks for the reply.
Do you think you could put aside the dissection of my question and
defence of position and just answer the question to be helpful?
I am not trying to start an idealogical conversation or criticise
anyone or any way of thinking
to show me what the simple
recommended TAPESTRY RELATED usage is.
Thanks, p.
On 12/11/2014 11:44 PM, Thiago H de Paula Figueiredo wrote:
On Wed, 12 Nov 2014 09:13:43 -0200, Paul Stanton
wrote:
Hi,
Hi!
so like many developers (i'm guessing) I'm not quite up to speed with
all
Hi,
so like many developers (i'm guessing) I'm not quite up to speed with
all these new javascript frameworks: requirejs, closure, etc etc and to
be honest I really didn't see a problem with the namespace model of the
past. I'm not open to learning but it seems like a paradigm far removed
fro
ew approaches to work around this including:
1. Pass values from the request thread to the worker on the parallel thread
(via worker's constructor / anonymous inner class)
2. Return a result (eg an alert) to the request thread and invoke the
PerThread service on the request thread.
On 6 Nov
Hi, i'm not sure if this is worth logging as a Jira or if i've missed
the point.. please advise.
I'm adding an alert via alertManager in an inner thread.
void onSomething()
{
final AlertManager fAlerts = alerts;
new Thread()
{
public void run()
{
do
same fingerprint, and already be present in the
end-user's browser cache.
On Tue, Oct 21, 2014 at 6:57 PM, Paul Stanton wrote:
https://github.com/apache/tapestry-5/blob/master/54_
RELEASE_NOTES.md#asset-improvements
"Prior versions of Tapestry created cacheable URLs for Assets that
in
https://github.com/apache/tapestry-5/blob/master/54_RELEASE_NOTES.md#asset-improvements
"Prior versions of Tapestry created cacheable URLs for Assets that
incorporated the application version number. The Assets were served with
a far-future expires header: the client browser would not even need
https://github.com/apache/tapestry-5/blob/master/54_RELEASE_NOTES.md#logging-dependencies
On Tue, Oct 21, 2014 at 9:15 AM, Paul Stanton wrote:
I've created a simple test app with 5.4-beta-22:
the only dependency:
-
org.apache.tapestry
I've created a simple test app with 5.4-beta-22:
the only dependency:
-
org.apache.tapestry
tapestry-core
5.4-beta-22
My Start.java:
---
public class Start {
@Inject
private Logger log;
ive tought this woud be a cool feature, but it does not exist yet.
On Thursday, March 21, 2013, Paul Stanton wrote:
Hi all,
Is there a way to trigger an event in a container (Page) which notifies
embedded components?
I'm hoping to do something like this (pseudo code) :
Page
{
Hi all,
My component class has a method as such:
public MyEnum getMyEnum1()...
If I use the property binding for 'value' it is treated as its
'EnumType' which is compatible with the encoder...
...however using the 'evaluated' binding the 'value' is converted to a
String
I
s due to political issues it will not be fixed,
But the workaround in the issue should work for you.
I feel your pain because I had to implement a similar workaround as well.
On Oct 28, 2013, at 2:35 AM, Paul Stanton wrote:
Sorry for the thread revival, however I am coming up against the same pr
Sorry for the thread revival, however I am coming up against the same
problem.
I have a page needs to be served via https for some customers and http
for others.
If I request the page via https without the @Secure annotation, all ajax
event urls are incorrectly altered to:
http://domain:443
, format, args);
}
});
}
}
On 16/07/2012 8:11 AM, Paul Stanton wrote:
As Lance said, you need to use JavascriptSupport when preparing a
non-ajax response, and AjaxResponseRenderer when you are...
if (request.isXHR())
{
// use AjaxResponseRenderer
}
else
{
// use
Just noticed that @javax.inject.Inject does not work with
org.slf4j.Logger in a service implementation. tapestry's @Inject does.
I'm not sure if this is an oversight or a limitation.
p.
-
To unsubscribe, e-mail: users-unsubscr
n XHR
event handlers.
I imagine this has to do with the render phase somehow... would love to
hear some experts opinion...
thanks, p.
On 24/04/2013 2:40 PM, Paul Stanton wrote:
Turned out this was because I was adding the script via
"ajaxResponseRenderer.addCallback" which used to be
ack" should be deprecated now?
p.
On 22/04/2013 11:56 AM, Paul Stanton wrote:
Feel free to answer on StackOverflow and I will give you the rep points.
http://stackoverflow.com/questions/16138055/mixin-script-added-in-afterrender-not-fired-for-xhr-requests
On 21/04/2013 4:05 PM, Paul St
If it is your own server not responding quickly do a stack/thread dump.
It may however be an embedded script coming from another server? do you
use any third party javascript hosted externally? This has caused
similar issues for me before, if the remote server is unreachable.
Regards, Paul.
Feel free to answer on StackOverflow and I will give you the rep points.
http://stackoverflow.com/questions/16138055/mixin-script-added-in-afterrender-not-fired-for-xhr-requests
On 21/04/2013 4:05 PM, Paul Stanton wrote:
this is tapestry 5.3
On 19/04/2013 11:28 AM, Paul Stanton wrote:
Hi all
this is tapestry 5.3
On 19/04/2013 11:28 AM, Paul Stanton wrote:
Hi all,
Can someone familiar with the mixin lifecycle please advise me:
I have a mixin which triggers some javascript from 'afterRender'. I do
this in 'afterRender' because I need the field's clientId
Hi all,
Can someone familiar with the mixin lifecycle please advise me:
I have a mixin which triggers some javascript from 'afterRender'. I do
this in 'afterRender' because I need the field's clientId to be initialised.
It works great if the Field it attaches to is rendered when the page is
FYI
https://issues.apache.org/jira/browse/TAP5-2021
On 3/04/2013 1:32 AM, Tony Nelson wrote:
I thought maybe I could contribute a ValueEncoder but that only sees
individual parameters, not the whole request.
Even this might work:
JSONObject onButton1Press(JSONObject jsonObject) {
Should I jira?
On 23/03/2013 3:36 AM, Howard Lewis Ship wrote:
ive tought this woud be a cool feature, but it does not exist yet.
On Thursday, March 21, 2013, Paul Stanton wrote:
Hi all,
Is there a way to trigger an event in a container (Page) which notifies
embedded components?
I'm h
Hi all,
Is there a way to trigger an event in a container (Page) which notifies
embedded components?
I'm hoping to do something like this (pseudo code) :
Page
{
void onSomeEvent()
{
notifyListeners("SomethingHappened");
}
}
EmbeddedComponent
{
void setupRender()
{
each ajax request is still a new request and therefore properties in
your page class are lost from the previous render.
unless you mark them as @Persist.
but in your case, your `service` property is set by the loop component.
this is not going to be "emmulated" by the ajax request processing s
you are referring to:
http://commons.apache.org/fileupload/using.html#Watching_progress
?
On 23/11/2012 8:49 AM, dkeenan wrote:
Hi there. I would like to add a progress listener to UploadedFile to track
progress up the file being uploaded. I know that it's possible to do this
with apache commo
You can create the link in your java class, see
PageRenderLinkSource.createPageRenderLink - and expose it to your
javascript and do whatever you like with it.
p.
On 15/11/2012 6:11 PM, mateen wrote:
Hi,
My Grid displays a LINK to open a page. Currently i am using window.open, to
open the pag
I've since had a similar requirement and i found comparing
event.origionalTarget
to
event.currentTarget
solves the problem.
On 15/03/2012 8:29 AM, Paul Stanton wrote:
like i said, this could be a bug. why not log it in jira and see what
the big heads think?
On 15/03/2012 1:
You can write a method in your java class instead of trying to write a
parameter binding.
eg
getSomething(String key1, String key2)
{...}
On 12/11/2012 3:52 AM, Muhammad Gelbana wrote:
Here is a sample of what I'm trying to do:
ixlTest.parameterGroups{'testOptions'}{'serverIp'}
And the e
Thanks Thiago, I'm sure I'll get one of your ideas to work for me!
posting on the list for prosperity.
On 7/11/2012 1:02 PM, Thiago H de Paula Figueiredo wrote:
On Tue, 06 Nov 2012 23:26:25 -0200, Paul Stanton
wrote:
On 7/11/2012 11:49 AM, Thiago H de Paula Figueiredo wrote:
On T
On 7/11/2012 11:49 AM, Thiago H de Paula Figueiredo wrote:
On Tue, 06 Nov 2012 22:41:17 -0200, Paul Stanton
wrote:
.. and then if you have a combination of potential mixins, you end up
with n * blocks, with n * fields.
Why don't you have a single mixin implementation that has the log
.. and then if you have a combination of potential mixins, you end up
with n * blocks, with n * fields.
Thanks for the solution Robert, and I can appreciate that this is
bumping the limitations of the framework but the situation is not ideal.
I'm looking at a case now which is going to end up
http://tapestry.apache.org/beaneditform-guide.html
the above eg throws an exception in t5.3+ on usage of
The element has been deprecated in Tapestry 5.3 in favour of
'tapestry:parameter' namespace.
-
how my code looks, I think the code is easier to follow and
mantain. Brendan Eich thinks so too ... he's adapting idea from
CoffeeScript (and from Python, and elsewhere) into the next-generation
version of JavaScript.
On Thu, Nov 1, 2012 at 11:10 AM, Thiago H de Paula Figueiredo
wrote:
On T
On 2/11/2012 4:59 AM, Thiago H de Paula Figueiredo wrote:
On Thu, 01 Nov 2012 15:34:43 -0200, Paul Stanton
wrote:
On 1/11/2012 9:37 PM, Thiago H de Paula Figueiredo wrote:
On Thu, 01 Nov 2012 01:10:16 -0200, Paul Stanton
wrote:
I've had to do some pretty in-depth debugging and pat
On 1/11/2012 9:37 PM, Thiago H de Paula Figueiredo wrote:
On Thu, 01 Nov 2012 01:10:16 -0200, Paul Stanton
wrote:
I've had to do some pretty in-depth debugging and patching of
tapestry's javascript in the past (particularly around zones) and at
least I can understand the s
reading HLS's blog entry:
http://tapestryjava.blogspot.com.au/2012/10/zeroing-in-on-tapestry-54.html
I was wondering why i didn't understand the code snippets .. were they
pseudo code? no, pseudo code is far more legible...
Reading further, I notice it's CoffeeScript.
I'm keen to hear what t
.dateField = function(spec) {
$T(spec.field).dateField = new Tapestry.DateField(spec);
}
I'm not sure why this isn't the standard for all tapestry-created
javascript objects?
Probably the "they'll never need that" oversight?
cheers, p.
On 15/10/2012 3:26 PM, Paul Stanto
Hi all,
I always thought you could attain a reference to the associated
javascript object created by the 'Initializer' for tapestry components
via the HTML element somehow?
In this case I am looking for the "Tapestry.DateField" javascript object
for my field "selectedDateElem"
tml:
alert(Tapestry.currentFocusField.id);
});
Regards
François
2012/8/20, Paul Stanton :
Thanks brian, but i am assuming/hoping that the fix for issue 1844
allows me t
fix might be to
add an unload event on the form that checks whether any of the date values
changed," but I don't know if that still makes sense.
On Mon, Aug 20, 2012 at 6:34 AM, Paul Stanton wrote:
I've just tried that too howard,
$("selectedDate&qu
Howard Lewis Ship wrote:
Have you tried observing the change event? The onchange attr may get
overwritten by the date field JS.
On Sunday, August 19, 2012, Paul Stanton wrote:
Hi all,
I've found the bug report: https://issues.apache.org/**
jira/browse/TAP5-1844 <https://issues.apache.
Hi all,
I've found the bug report: https://issues.apache.org/jira/browse/TAP5-1844
.. and am using tapestry 5.3.3 so the fix has been applied, however I
still can't get tapestry to call my 'onchange' handler.
Is there some extra wiring required?
Thanks, Paul.
-
once you receive the event server side, you can add as many zone updates
as you want to AjaxResponseRenderer, you just need to get a handle to
them, either by injection or by walking the component/object model.
Have a look at ComponentResources.getEmbeddedComponent()
On 15/08/2012 10:47 AM, bo
great answer christian,
quote:
"brings another caveat: If the actionLink from my example would be
specified in the template before the zone this wouldn't work. The zone's
clientId would be "null" because the zone hasn't been rendered, yet… You
could add some more advanced tricks with Heartbeat
My take:
Because otherwise tapestry has trouble assigning client ids to zones at
different stages of the partial render. This makes it hard to control
the behaviour unless you set both.
p.
On 10/08/2012 8:34 AM, bhorvat wrote:
Well like it says in the subject, why should we specify both nor
AjaxResponseRenderer.addCallback(JavaScriptCallback callback);
On 3/02/2012 4:05 AM, hese wrote:
Hello,
I have a form within a zone. On for submit I do some validations, and if
there are errors, I want to remain on the same page, and run a javascript
method on the client side. How do I achie
This should give you an idea.
Pseudo code:
create a service ie YourImageService
Inject into it AssetSource and YourDao (or however you have implemented
data access)
implement your logic:
YourImageService
{
Asset getImageAsset(location, id)
{
return assetSource.getContextAsse
While I agree with both of you - accessor methods in java classes is
generally better than (minor) logic in templates, there are cases where
some logic in templates is preferable, ie when there are perhaps 10's or
more different numeric cases on the same property. having 10+ near
identical meth
hi all,
originally have an accessor method:
public int getNumericValue()
{
return myInteger; // auto-boxes to int
}
and wanted to use the following if:
however '==' doesn't work, but i know method calls work so i changed to:
public Integer getNumericValue()
{
As Lance said, you need to use JavascriptSupport when preparing a
non-ajax response, and AjaxResponseRenderer when you are...
if (request.isXHR())
{
// use AjaxResponseRenderer
}
else
{
// use JavascriptSupport
}
however if the bug (https://issues.apache.org/jira/browse/TAP5-1870 )
aff
i'm assuming this 'afterrender' is within a component which is within a
zone being updated via an ajax request/response?
if so, is this the same as the issue i logged?:
https://issues.apache.org/jira/browse/TAP5-1870
does your "set" method get called at all?
On 15/07/2012 10:33 AM, bhorvat wr
u use glassfish, you
can save session state across redeployment. Don't know if other containers
support this but they should.
On Jul 11, 2012, at 7:14 PM, Paul Stanton wrote:
is there a way to force the global messages catalog to be reloaded while
runnin
... and exploded war deployment - i've changed the content of
target/[project]/WEB-INF/app.properties and need these changes to take
effect without a re-deploy. possible?
On 12/07/2012 9:16 AM, Paul Stanton wrote:
running Tapestry 5.3.3
On 12/07/2012 9:14 AM, Paul Stanton wrote:
is th
running Tapestry 5.3.3
On 12/07/2012 9:14 AM, Paul Stanton wrote:
is there a way to force the global messages catalog to be reloaded
while running in production mode?
-
To unsubscribe, e-mail: users-unsubscr
is there a way to force the global messages catalog to be reloaded while
running in production mode?
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
The simplest way would be to save your form data into a bean, and use
the @Persist annotation on your bean so you can display it and then
subsequently save it 2 requests later. By default this will use your
session to store the bean.
Alternatively you can use the @SessionState annotation if yo
I've found an incompatibility with ie9 and tapestry exposed when an ajax
response renders a component(s) which include their own stylesheets.
https://issues.apache.org/jira/browse/TAP5-1907
If you use partial renders (ajax responses) and components which include
their own stylesheets (@Import)
Hi all,
I have a component with a parameter using a generic type eg:
public class MyComponent
{
@Parameter
private List collectionParameter;
}
However I can set the parameter with a List of any generic type:
public class MyPage
{
@Property
private List otherCollection;
}
...
Have you tried
javaScriptSupport.addScriptCall("fnStandingRedraw();");
instead? I'm not sure if fnStandingRedraw is in fact a simple javascript method
or a valid initializer.
p.
On 4/04/2012 2:39 AM, russellJB wrote:
Hello All!
I am using the CreateEventLink method of the ComponentResource
you need to change the timezone setting for the jvm via -Duser.timezone,
but even then you need to patch an outstanding bug with the DateField:
https://issues.apache.org/jira/browse/TAP5-841
On 25/03/2012 7:48 AM, bigcache1 wrote:
Hello, everybody.
I want to set the time in the application to
Hi all,
We recently ran into a problem with tapestry's GZIP compression and had
to disable it.
The problem was that a core group of our clients are stuck in ie6 land
from within a proxy and its default setting is to use http 1.0 in that
scenario.
When using http 1.0 the headers are incorre
0.4.3
I've worked around it by overriding SecurityExceptionHandlerAssistant to
use WebUtils.getRequestUri instead of WebUtils.getPathWithinApplication.
Cheers, p.
On 19/03/2012 9:38 PM, trsvax wrote:
Which version are you running? I had a context problem in 0.4.1 and upgrading
to 0.4.3 fixed
value via
org.apache.shiro.web.util.WebUtils.getPathWithinApplication(HttpServletRequest)
which strips the context-path from the URI.
Clearly there is an incompatibility between this and "contextRelative"
being false (in the receiving end - WebUtils.issueRedirect).
Hope this helps, paul.
On 19/03/2012 6:33 PM, Paul Stanton wrote:
I
I've just set up the most basic implementation of tapestry-security I
could to do some testing and have found a bit of an issue which should
be very easy to fix:
I've created a page which requires a permission. If, after logging in, I
use the loginlink on that page to log out, I am taken to th
I think you want to ...
public void
contributeTranslatorAlternatesSource(MappedConfigurationTranslator> configuration)
{
configuration.add("EditorTranslator", new
EditorTranslator("EditorTranslator"));
}
On 19/03/2012 3:55 PM, dick_hu wrote:
I write a string translator
Hi group,
Is it recommended to use a security module such as tynamo's
tapestry-security when all you require is username/password
authentication to a couple of pages?
Is there a simpler add-on module?
Is 'roll-your-own' a generally accepted practice for a simple
implementation?
Discuss...
What is the best way to execute some javascript as soon as tapestry is
finished all of its Tapestry.init() calls on initial page render?
Note, browsers that don't support DOMContentLoaded (ie6,7,8...) can fire
any window.load listener before Tapestry.onDOMLoaded.
-
In our application, many ajax requests are processed in the same
session, sometimes causing conflicts when they update shared session
information. I found synchronizing the logic within my event handlers to
be useless since many components access shared objects from property
bindings within the
like i said, this could be a bug. why not log it in jira and see what
the big heads think?
On 15/03/2012 1:44 AM, nquirynen wrote:
Found a solution for my problem (not sure if it's a good solution, but it
works):
In the update event of the parent zone (zone1 in my example) I added an if
state
1 - 100 of 561 matches
Mail list logo