Stephan,
Is there a little snippet of code you can post giving the sense of how
to integrate Tap. 5 and Acegi? Do you put the security.xml in the app
resources and then get the shared components as IoC services?
Bill
On 5/1/07, Stephan Schwab [EMAIL PROTECTED] wrote:
Joshua Jackson-3
Would moving to T5.0.3 solve this ?
On 5/2/07, William Keller [EMAIL PROTECTED] wrote:
thanks for the prompt replies! I'm wondering if this is something related
to DOJO? If so, and I know this is a very simplistic view of things, I
wonder if updating DOJO could yield a working version?
On
Hi All,
I'm using the table component in a client based state storage
application. It seems to work fine, however I encounter some issues as
the client state parameter is too big to work with IE. It sometimes also
break in firefox. To overcome this issue we isually use a
FormLinkRenderer,
I use @EventListener annotations to populate select boxes on T4.1.1 without
any problems on FF, IE6, IE7 and Opera (but not on Konqueror or Safari, but
this is another discussion).
IE has some known issues with ajax though. Maybe your problem is one of
those:
- with IE, if you update the select
Hmmm, just checked my own @If components, I have about 40% relying on the
default value to true.
I understand the logic behind this change, but this forces me to upgrade
quite a bunch of pages.
so: +0.5
2007/5/2, Patrick Moore [EMAIL PROTECTED]:
+1 default to false for @If/@Else
+1 default to
+1 for both to false, adding a default behaviour into engine settings via
hivemind contribution
On 5/2/07, Christian Dutaret [EMAIL PROTECTED] wrote:
Hmmm, just checked my own @If components, I have about 40% relying on the
default value to true.
I understand the logic behind this change, but
Christian,
Genius. Wrapped it around a div (via an @Any component) and it worked. You
just saved me half a head of hair.
Thank you big time.
Will
On 5/2/07, Christian Dutaret [EMAIL PROTECTED] wrote:
I use @EventListener annotations to populate select boxes on T4.1.1without
any problems on
Ah...That is fixed in 4.1.2 as well, but I'm glad you have a solution.
On 5/2/07, William Keller [EMAIL PROTECTED] wrote:
Christian,
Genius. Wrapped it around a div (via an @Any component) and it worked.
You
just saved me half a head of hair.
Thank you big time.
Will
On 5/2/07, Christian
Dear all,
I wanted to try the guide on assets located here:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/assets.html
But the problem is I can not find @Path anywhere in my tapestry library.
Currently I am using the latest tapestry5 (5.0.3) that is downloaded from
maven repo.
But then
Hi everyone,
I am kind of stuck and would like to have some different perspectives on this
problem/solutions. Using t4.
I have a a list of items that I am displaying.
For each order, I display an EditItemLink component.
The ItemEditLink takes a parameter of an Item.
The ItemEditLink contains
+1 for false
The problem with a hivemind contribution is that it can break behavior of
framework components which is worse and more subtle than the bugs cause by
changing the default value (in an alpha stage of the framework).
On 5/2/07, Andrea Chiumenti [EMAIL PROTECTED] wrote:
+1 for both
I personally don't care which way you default, but I do think that all
tags should have the same default. It's much easier to remember to turn
it on/off if I don't have to try and remember which tags have which default.
I added:
meta key=org.apache.tapestry.renderTags value=true /
to my
Hi *,
for my application, which just migrated to Tap 4.1 I need an AJAX
request to be made every 60 seconds to refresh some of my components
with new data. In Tap 4.0 I used XTile for this, but I wonder if this
can be made simpler with Tap 4.1's EventListener. Is it possible to call
an event
Hi All,
I'm still having issues with OGNL with the latest OGNL / TAP ( out of
SVN) combination. This simple invocation for example:
ognl:getCell(column,row).fareType.name()+'_icone'
always fails with the following exception
nable to read OGNL _expression_ 'parsed OGNL _expression_' of
+1 default both to false, and to make changing the default apply at the app or
library level rather than globally as indicated in the JIRA issue.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
A fix can probably be made later tonight if you file an issue here:
http://jira.opensymphony.com/browse/OGNL
On 5/2/07, Lionel Touati [EMAIL PROTECTED] wrote:
Hi All,
I'm still having issues with OGNL with the latest OGNL / TAP ( out of SVN)
combination. This simple invocation for example:
P.S. You're much more likely to get a working fix if you provide enough
information in your report for me to re-produce exactly the same method
calls /object structure. Doesn't have to be a component per say, just need
to know method signatures / types on everything.
On 5/2/07, Jesse Kuhnert
I didn't get what you meant by jsonrpc bridge.
The way i do it and it works fine is implementing an onAction method that
returns StreamResponse :
StreamResponse onActionFromYourComp() {}
The method returns a json object wrapped by the StreamResponse.
Mixins are useful when you want to add
I decided to look at javaforge because of the post-redirect-get solution
with @Persist(flash)
A small snippet was offered for the solution but I bargained for dragging in
alot more.
Help is appreciated abouot it's usability.
owhat is the status of this project? Is it usable?
owhy
You can download it from http://howardlewisship.com/repository/ .
I'm using it in a project right now and it seems to work fine for me.
On 5/2/07, Ken nashua [EMAIL PROTECTED] wrote:
I decided to look at javaforge because of the post-redirect-get solution
with @Persist(flash)
A small snippet
It looks like the newest snapshot does fix my EventListener and Script
problems. However now I am seeing the problem Andreas mentioned, where a
component isn't being found where it used to get found.
We are specless and our page/component templates are stored in
WEB-INF/app. There was a change
Thanks Jesse (had a dog named jesse once... no offense ... good dog too)
:)
... could you validate my usage?
I folded in the dependency and built.
I cannot seem to get to my target page though on submit.
Code follows below. All I did was change my listener to return an ILink and
left the
Hi All,
When runnning tapestry 4.1.2, I see lots of non application / tomcat
threads being created. It seems they're tiggered by
GenericKeyedObjectPool. Any idea of the consequence in a production
environment ? i.e, is there a way to control the number of created threads ?
Thanks for the
Those are all coming from http://jakarta.apache.org/commons/pool/ .
I probably should make all of these instances completely configurable
though. If you create a tapestry jira issue I'll give it higher priority.
On 5/2/07, Lionel Touati [EMAIL PROTECTED] wrote:
Hi All,
When runnning tapestry
oh...and incidentally they actually end up increasing the throughput of your
application - not the other way around. ...Either way it needs to be
configurable to handle the scale of all the variously sized tapestry apps.
On 5/2/07, Jesse Kuhnert [EMAIL PROTECTED] wrote:
Those are all coming
Sounds interesting. I looked at component events. Are you saying that you can
invoke a component action based on a javascript event such as mouseDown?
To me it seems that you can only invoke based on a submit action. I want the
UI, through AJAX, to talk to some service and get JSON data back. The
Yes , you could do like this :
template:
span id=test onclick=rpcFunction();/
script
rpcFunction() {
var yourUrl=${urlFromClass}
.
}
/script
component class :
@Inject
private ComponentResources resources;
public String getUrlFromClass() {
return
Yes I think my intention/want now is to have everything just work whether
you stick things in context or classpath (if possible, some things aren't
because of restricted filesystem access ).
I'll look in to this later today, but to be sure I'm not mis-interpreting
A good example would be
Thanks. A good example that replicates our setup would be to have a
component (not page) template with no spec directly under WEB-INF/app.
It would probably also work to just put it directly into WEB-INF.
-Original Message-
From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
A note: Jesse has a 2.4-SNAPSHOT of the maven-surefire-plugin over at the
apache snapshots. This works with testng 5.5
repository
idapache.snapshots/id
urlhttp://people.apache.org/repo/m2-snapshot-repository//url
/repository
On 5/2/07, Ken nashua [EMAIL
That's great but is this asynchronous?
Alexandru Dragomir wrote:
Yes , you could do like this :
template:
script
rpcFunction() {
var yourUrl=${urlFromClass}
.
}
/script
component class :
@Inject
private ComponentResources resources;
public
Ok, looks like Marcus ran into the same problem:
https://issues.apache.org/jira/browse/TAPESTRY-1396
On a separate note I see OGNL Jira is sending out e-mails now.. awesome.
-Original Message-
From: Ben Dotte [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 02, 2007 1:55 PM
To: Tapestry
Also, what do you do with yourUrl once you have it? In addition, the
JSONRpcClient constructor expects to be talking to a servlet. T5 is a
ServletFilter.
Bill
On 5/2/07, bjornharvold [EMAIL PROTECTED] wrote:
That's great but is this asynchronous?
Alexandru Dragomir wrote:
Yes , you
I'm not sure I understood anything from either email.
Could you give an example that is more generic ? Tapestry doesn't limit the
number of persistent properties that anything can have.
On 5/2/07, Phillip Rhodes [EMAIL PROTECTED] wrote:
Just wanted to add a significant point to email below.
The function rpcFunction() is the async part.
I'm using dojo , so the function looks like :
function rpcFunction() {
var kw = {
url:${urlFromClass},
load:function(type, data, evt) {
// do what you want with data retrieved from server
side
I don't think tapestry limits the number of persistent properties for declared
components, it's just the components that are defined in a For loop.
Since tapestry probably reuses the component instance as it iterates through
the for loop, each bind/unbind of the component is going to be bound
Hi all,
I've been asked to do some work on a Tapestry 3 application
(unfortunately I can't upgrade it!) and I'm struggling with a
DirectLink/session issue. I would like to allow our users to
access certain pages without session, yet still be able to return to
pages that require a session, without
If you use the keyExpression / converter / default of the For component - it
will in most instances automatically detect that you are in a form and also
smartly store each rendered loop iteration persistent state in a hidden form
field for you.
I briefly tried out T5 (5.0.3) yesterday and was impressed! One of the areas
I couldn't convert my app easily though, was the Select boxes (that required
IPropertySelectionModel). Currently, in T4 I use a global static helper that
automatically prepares my lists as per code:
code
public class
I briefly tried out T5 (5.0.3) yesterday and was impressed! One of the areas
I couldn't convert my app easily though, was the Select boxes (that required
IPropertySelectionModel). Currently, in T4 I use a global static helper that
automatically prepares my lists as per code:
code
public class
http://tapestry.apache.org/tapestry4.1/components/form/form.html
in html:
form jwcid=@Form success=listener:doSubmit
in java:
public IPage doSubmit()
{}
Don Heninger wrote:
I am a noob when it comes to tapestry but I am looking for some basic
instruction on Form handling (not the
You can use List or TreeMap in T5.0.3.
William Keller wrote:
I briefly tried out T5 (5.0.3) yesterday and was impressed! One of the
areas
I couldn't convert my app easily though, was the Select boxes (that
required
IPropertySelectionModel). Currently, in T4 I use a global static helper
not, that's not correct... session is not invalidated when clicking on a
DirectLink having the stateful flag set to false
What exactly is the problem you're facing?
On 5/3/07, Mike Davis [EMAIL PROTECTED] wrote:
Hi all,
I've been asked to do some work on a Tapestry 3 application
Unless they are using client persistence? In which case yes, you'd lose all
of it. (of course you could do something fancy like mixing it up somehow or
using cookies but that's something different..)
On 5/2/07, Andreas Andreou [EMAIL PROTECTED] wrote:
not, that's not correct... session is not
hey, was there client persistence in Tap 3 ???
On 5/3/07, Jesse Kuhnert [EMAIL PROTECTED] wrote:
Unless they are using client persistence? In which case yes, you'd lose
all
of it. (of course you could do something fancy like mixing it up somehow
or
using cookies but that's something
Thanks for the prompt response. Do you know of an implementation that does
similar to what I'm doing? I've been playing with the SelectModel and
OptionGroupModel and OptionModel and their underlying implementations I
don't think I'm doing this the right way. Care to share your code for this ?
On
46 matches
Mail list logo