well, its worth discussing - the question being should tapestry work
with cookies disabled.
i did notice that the jsessionid param was being appended to the form's
action however submitting said form had unexpected results.
its no longer holding me up, but i have worked on apps where cookies
On Fri, 28 May 2010 00:31:18 -0300, Paul Stanton
wrote:
Surely this is a bug in t5 ...
I disagree. HTTP is purely stateless. Session keeping is the container's
(server) responsibility, not Tapestry's. With cookies disabled, the only
way to find out what is the session is appending the ;
Sorry guys, I found the problem.
I had disabled cookies on the webapp.
Surely this is a bug in t5 ...
in that with cookies disabled, an ajax form submit acquires a new
session every time?
Regards, p.
Paul Stanton wrote:
Here is a concrete example which I've constructed separate to the rest
Here is a concrete example which I've constructed separate to the rest
of my app to exclude any quirks intruduced by it's complexity:
public class Start
{
private final static Logger LOG = Logger.getLogger(Start.class);
@Inject
private ComponentResources reso
Actually, the 2nd request (which clears the session) is not a manually
created Ajax.Request. Sorry for the confusion.
It's actually a async form submit, and to simplify the issue somewhat
every submit of this form prints a different sessionId:
@Inject
private Ht
Thiago,
I tried with @SessionState(create=false) and the same occurs (testing
the field for null).
I also tried (as a sanity check) to inject HttpRequest and manage the
session attribute manually. Interestingly, the session Id is changing!
This must be the cause - somehow my manual Ajax.Req
I'm with Thiago, what you are describing doesn't make sense. It
doesn't matter how you make the request the session stored attributes
should still be there. Since it doesn't make sense I'll ask all the
dumb question:
Are you setting the value somewhere? If you have a setter for it try
set
On Thu, 27 May 2010 23:26:13 -0300, Paul Stanton
wrote:
I've also tried with @SessionState with no luck.
Please post your code. Without it, it will be very hard to understand
what's happening.
I'm imagining it's because one request goes to componentA (where the
persistent field is) th
On Thu, 27 May 2010 23:32:38 -0300, Paul Stanton
wrote:
Hi Thiago,
Hi!
please bare with me... I'm not imagining it. I'm guessing it's something
to do with my manually created ajax request...
Tapestry's session handling works the same regardless how the request was
made.
I'm not ins
Hi Thiago,
please bare with me... I'm not imagining it. I'm guessing it's something
to do with my manually created ajax request...
I'm not inspecting via debugger, I'm testing the value of the field in
code, ie:
via @Persist("session")
if (persistentField == null) LOG.debug("state reset");
I've also tried with @SessionState with no luck.
I'm imagining it's because one request goes to componentA (where the
persistent field is) the other goes to componentB. The subsequent
request to componentA reveals that the persistent field is reset. ie:
1. Ajax.Request to componentA via actio
On Thu, 27 May 2010 23:08:37 -0300, Paul Stanton
wrote:
Hi all,
Hi!
I've noticed that the value for the apparently persistent field is reset
to null when the second type of ajax requests are made ... this may be
because the actions point to different components as listeners.
How you
Hi all,
I'm making a few different types of ajax requests on my page, and a
couple of fields on components and pages are annotated with
@Persist("session").
Some of the ajax requests are made via t:actionlink components, others
are via Ajax.Requests I've constructed myself (via
resources.cr
If you're happy to use Ant then the process here might help you:
http://jumpstart.doublenegative.com.au/jumpstart4.9/tips.html#OTHER_SERVERS
Cheers,
Geoff
On 28/05/2010, at 12:11 AM, Genís Pujol wrote:
> Hello,
>
> Does anybody have documentation regarding how to deploy a Tapestry5 p
Genis,
Check that your web.xml is directing requests to the Tapestry filter.
Also have a look at the maven tomcat plugin. If you set it up you can
deploy your application by:
mvn tomcat:deploy
Regards,
Greg
On 28/05/2010 1:24 AM, Genís Pujol wrote:
Al 27/05/2010 17:03, En/na Josh Canfield
Hi Genis
wtp plug-in can help you to setup your environnement.
have a look at
http://baptiste-meurant.developpez.com/tutoriaux/tapestry5-spring-hibernate/
it's in french but with lots of screenshot.
hope this will help you
françois
Thank you.
/M
Am 27/05/2010 20:28, schrieb Todd Orr:
I exported all the data access code into an independent DAO that is still
managed by Spring. Then I added a constructor to my UserDetailsService that
took the dao plus the salt and encoder:
private final static Logger LOG =
LoggerFactory.g
I exported all the data access code into an independent DAO that is still
managed by Spring. Then I added a constructor to my UserDetailsService that
took the dao plus the salt and encoder:
private final static Logger LOG =
LoggerFactory.getLogger(UserDetailsServiceImpl.class);
private final Da
Ulrich, Andreas, thanks I'm good now.
-Original Message-
From: Ulrich Stärk [mailto:u...@spielviel.de]
Sent: 27 May 2010 18:17
To: Tapestry users
Subject: Re: How often snapshot jar refreshed?
The snapshot gets refreshed with every build, i.e. once hudson has completed
a build it gets pu
Just for the records. What did you change now?
Am 27/05/2010 19:48, schrieb Todd Orr:
I changed the code so that these are injected and now it works. I cannot
describe how angry this makes me. Days wasted.
Thanks for you help though!!!
---
I changed the code so that these are injected and now it works. I cannot
describe how angry this makes me. Days wasted.
Thanks for you help though!!!
On Thu, May 27, 2010 at 1:37 PM, Todd Orr wrote:
> My UserDetailsService is managed by Spring and as such I can't inject the
> same exact instanc
Did you debug down to the point where the compare of the credential to
the stored pwd happens? Are they really the same?
Am 27/05/2010 19:37, schrieb Todd Orr:
My UserDetailsService is managed by Spring and as such I can't inject the
same exact instances that tapestry is using, but I do use the
My UserDetailsService is managed by Spring and as such I can't inject the
same exact instances that tapestry is using, but I do use the same types,
PlaintextPasswordEncoder and SaltSourceImpl.
UserDetailsService:
private final static Logger LOG =
LoggerFactory.getLogger(UserDetailsServiceImpl.cl
What about the salt. Did you change it? You have to 'save' password with
your PasswordEncoder prior to using it.
Which Am 27/05/2010 19:20, schrieb Todd Orr:
I've tried that way as well. It doesn't work either and I assume it's for
the same reason, though I cannot tell in that case because the
I've tried that way as well. It doesn't work either and I assume it's for
the same reason, though I cannot tell in that case because the exception
doesn't bubble out of Tapestry Spring Security.
Login code:
private final static Logger LOG = LoggerFactory.getLogger(Login.class);
@Inject
@Value("
A little background: I need to wire-up some custom JavaScript to be launched
when the Submit button of my form is clicked. I now believe that the best
way to do this with Tapestry5 is to use the Event.observer for this purpose.
Unfortunately my knowledge of client-side javascript, scriptaculous, e
The snapshot gets refreshed with every build, i.e. once hudson has completed a build it gets pushed
to the nexus repository at http://repository.apache.org/snapshots/
I guess you are trying to get snapshots from formos? Just switch to the apache repository and you
should be good.
HTH,
Uli
O
Why do you try to do the work of Spring Security? Please follow the
sample in [1]. There's no need to check the credentials on your own. You
just need to provide your implementation of UserDetails.
[1] http://www.localhost.nu/svn/public/tapestry-spring-security-sample/
Am 27/05/2010 16:53, sch
https://repository.apache.org/snapshots
it's updated almost daily
On Thu, May 27, 2010 at 18:29, Jim O'Callaghan
wrote:
> I just noticed an issue post upgrading to 5.2.0-SNAPSHOT that I know has
> been fixed in the trunk at ASF by
> https://issues.apache.org/jira/browse/TAP5-1088 but is not yet
thanks, i just wanted to know if there is any better approach.
for now i render the chart in beginRender and store image as Byte[] in field
with FLASH Strategy. seems to work :)
--
View this message in context:
http://old.nabble.com/Rendering-Chart-and-ImageMap-on-the-page-tp28693905p28696838.
Thanks Robin.
If say the BeanEditForm was last modified at ASF Mon May 3 23:05:07 2010
UTC, and the snapshot at
http://tapestry.formos.com/maven-snapshot-repository/org/apache/tapestry/tap
estry-core/5.2.0-SNAPSHOT/was last modified 20-Mar-2010 02:23 - what
triggers the ASF version being pushed to
Hi!
Just at the end of this page:
http://tapestry.apache.org/tapestry5.1/
On Thu, May 27, 2010 at 5:29 PM, Jim O'Callaghan
wrote:
> I just noticed an issue post upgrading to 5.2.0-SNAPSHOT that I know has
> been fixed in the trunk at ASF by
> https://issues.apache.org/jira/browse/TAP5-1088 but i
I meant that Tomcat does find the Index.tml but it doesn't pass
control to Tapestry so it renders the template as plain text...
What is the path to your .tml files located in your exploded folder?
-- Josh
On May 27, 2010, at 8:24 AM, Genís Pujol
wrote:
Al 27/05/2010 17:03, En/na Josh Ca
I just noticed an issue post upgrading to 5.2.0-SNAPSHOT that I know has
been fixed in the trunk at ASF by
https://issues.apache.org/jira/browse/TAP5-1088 but is not yet in the
5.2.0-SNAPSHOT jar I pulled in from
http://tapestry.formos.com/maven-snapshot-repository. Can someone involved
in the bui
Pierce, Howard,
Thanks for the responses. I back up and running (on this part!) - code is
more concise if a little less intuitive initially. Thanks.
Regards,
Jim.
-Original Message-
From: Pierce Wetter [mailto:pie...@paceap.com]
Sent: 27 May 2010 01:28
To: Tapestry users
Subject: Re:
Al 27/05/2010 17:03, En/na Josh Canfield ha escrit:
Tapestry is built using maven but your project doesn't need to care
about that. You can download all the dependencies yourself and deploy
your app as a WAR or an exploded webapp folder. In the end to the
container Tapestry is just a Servlet fi
Al 27/05/2010 17:03, En/na Josh Canfield ha escrit:
Tapestry is built using maven but your project doesn't need to care
about that. You can download all the dependencies yourself and deploy
your app as a WAR or an exploded webapp folder. In the end to the
container Tapestry is just a Servlet fi
Thank you so much Josh, your solution works great! It's also easy to
understand.
Thanks again,
Paul
Josh Canfield wrote:
>
> I whipped something up that will allow you to only submit the form
> when the link is clicked.
>
> Add this to your form containing the grid to keep track of the page
You've outlined the two approaches. Either you generate the chart
twice or store the image for later retrieval. You have to decide which
concerns you more, CPU to generate the chart or memory to store it.
I don't know how what backs the chart's image stream, but I'd probably
generate the im
Tapestry is built using maven but your project doesn't need to care
about that. You can download all the dependencies yourself and deploy
your app as a WAR or an exploded webapp folder. In the end to the
container Tapestry is just a Servlet filter.
-- Josh
On May 27, 2010, at 7:11 AM, Gení
Option 2.
On Thu, 27 May 2010 11:32:26 -0300, paha wrote:
Hi, i have a question:
what is the best approach to extend
http://wiki.apache.org/tapestry/Tapestry5HowToCreateGenericGraphComponent
GenericGraphComponent to output an image map along with the chart
itself.
for now i have only one
I am trying to integrate spring security into my Tapestry application and am
unable to get the TSS module to work correctly. I've created a login page
and am attempting to perform the authentication manually so that I can use
tap for the fields etc. I have a login page with the j_username, etc. als
Hi, i have a question:
what is the best approach to extend
http://wiki.apache.org/tapestry/Tapestry5HowToCreateGenericGraphComponent
GenericGraphComponent to output an image map along with the chart itself.
for now i have only one idea.
1) create and process chart in beginRender to obtain CharR
Hello,
Does anybody have documentation regarding how to deploy a Tapestry5
project into Tomcat? The official docs just say "it's the same as jetty"...
Does one have to use Maven? can I just drop the folders into webapps (if
so, how)?
Thanks,
Genis
Thanks Josh, that worked a treat and solved the issue.
Josh Canfield wrote:
>
> Try adding autocomplete="off" on your radio button element. I haven't
> tried it, but it works for input fields.
>
> On Wed, May 26, 2010 at 9:09 AM, Chris Darlaston
> wrote:
>>
>> Using cmd-R, I get the right pag
I have zone name and I could call linkZone but I don't have element
id of
anchor?
Can i catch it somehow?
How are you creating the that you want to link to the
zone. Please be specific, and if you can show the actual code that
would be helpful.
-- Josh
On May 27, 2010, at 4:25 AM, blue
Hi,
tnx for links,
ok so now I have js that create html for infoWindows at google map...
inside gmap infowindow I have html:
page:event/context link
page:event/context is generated with
componentResources.createEventLink(event, context).toAbsoluteURI()
I can generate this in afterRender but
Hi
After more investigation, it does not sound like a good idea to disable
client validation. Maybe you can remove observers on the
Tapestry.FOCUS_CHANGE_EVENT event in the document element to avoid field
validation on focus lost.
Regards
Christophe.
2010/5/27 Claude Dubois
>
> Hello Guys,
>
>
On 27.05.2010 11:49, Christophe Cordenier wrote:
The only solution i see is to disable default clientvalidation and implement
your own.
Is this possible for the select component, too? As far as I see it is
not possible to disable the validation which checks if the component has
the empty val
Hi Anton,
no, i was not able to fix , still on my todo-list ;-(
If you find a way, please let me know
Peter
Hello Peter!
I am running into the same problem! Were you able to fix it?
Thanks,
Anton
-
To unsubscribe, e-mai
Hi
The only solution i see is to disable default clientvalidation and implement
your own. I think tapestry will still trigger an event on validate so you
can implement your own strategy on submit only.
Regards,
Christophe Cordenier.
2010/5/27 Claude Dubois
>
> Hello Guys,
>
> I'm developping a
Hello Guys,
I'm developping a Tapestry5 app, and I need to validate some fields on form
submit.
I am using the @Validate annotation, which do what I want, except that the
field is validated on "blur", e.g. when the user focuses on another field.
I have many fields on my page, and it's quite unp
52 matches
Mail list logo