Hi Howard,
Thanks for you soon reply. I have a doubt with repesct to you reply. If in
tapestry 5.2 it works with only one instance (like in a servlet) then it is
imposible to make the maching in a POJO/tml because this elements always is
going to be a mutable objects (in the same way that a servle
Yes, this is a subtle offshoot of the 5.2 changes. What you've done
is identify that single instance of LoginVO as the default value for
the loginVo field.
In 5.1, your bug was that different clients who accessed the same page
instance sequentially would see data bleed from one request to the
nex
Hi,
I am developing in tapestry 5.2. I have including pages and component but i
noticed one problem:
@Property
Private LoginVo loginVo;
@Log
@PageLoaded
void pageLoaded()
{
loginVo =new LoginVo();
}
if we include this v
I'd be happy to put changes back into it if I can figure out how to
get git to work. This is my first attempt at it.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapes
On Tue, Mar 1, 2011 at 9:59 AM, robnangle wrote:
>
> Richard Hill-7 wrote:
>>
>> I haven't used the @SessionState annotation, I use the
>> ApplicationStateManager directly to store SSOs but a quick look at the
>> docs suggest it's doing the same thing.
>>
>> Firstly, I don't understand your User c
Excellent Barry, Thank you!
I'm working with facebook and having the code packaged as a library is great.
I'm already using it. If you don't mind I will send you a couple of
pull requests (I see some room for improvements).
Thanks!
Alejandro.
On Mon, Feb 28, 2011 at 1:50 PM, Barry Books wrote:
Hi Sandeep,
Have a look at http://jumpstart.doublenegative.com.au/jumpstart/
It 's a good entry point to see tapestry in action.
if you need multi part in your form perhaps you will need formfragments.
for that see
http://jumpstart.doublenegative.com.au/jumpstart/examples/wizard/usingformfragment
Hi all,
Well I am a novice and pardon me if I sound dumb.
As per my understanding Tapestry is Component oriented architecture.
But what exactly does component mean? is it just collection of basic
elements in a form on a single page?
Because I developed few components which are basically some sectio
On Tue, 01 Mar 2011 14:55:52 -0300, Rich M wrote:
Oh, I see. Perhaps then it's reasonable to say I was mislead by this
Tapestry wiki page
http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher ? This
is pretty much exactly what I adapted to my application half a year ago,
'Acc
I have taken the sample/tutorial application and have extended it with an
ajaxformloop (see main.tml below). Also see Main.java snippet below. I am
very new to tapestry and I am happy to admit this is a "bodge" to get
something working or a "quick win" based on a couple of ajaxformloop
examples I f
Richard Hill-7 wrote:
>
> I haven't used the @SessionState annotation, I use the
> ApplicationStateManager directly to store SSOs but a quick look at the
> docs suggest it's doing the same thing.
>
> Firstly, I don't understand your User class - it seems to also contain a
> User field? Sounds li
On 03/01/2011 11:26 AM, Thiago H. de Paula Figueiredo wrote:
On Tue, 01 Mar 2011 13:03:34 -0300, Rich M wrote:
Hi,
Hi!
I currently have a Dispatcher implementation to handle page and asset
requests in order to process authentication and security logic as
necessary. However, it appears to
I haven't used the @SessionState annotation, I use the
ApplicationStateManager directly to store SSOs but a quick look at the
docs suggest it's doing the same thing.
Firstly, I don't understand your User class - it seems to also contain a
User field? Sounds like a stackoverflow in the making
On Tue, 01 Mar 2011 13:03:34 -0300, Rich M wrote:
Hi,
Hi!
I currently have a Dispatcher implementation to handle page and asset
requests in order to process authentication and security logic as
necessary. However, it appears to me that (at least in 5.1) the
Dispatcher does not intercep
If you want it to return a String, do something like this. Also,
@SessionState would not be necessary in a class like this. The
@SessionState in your page class(es) will maintain the object for you.
public class User {
private String user_id;
public User getUser_id() { return user_id;
Hi,
I currently have a Dispatcher implementation to handle page and asset
requests in order to process authentication and security logic as
necessary. However, it appears to me that (at least in 5.1) the
Dispatcher does not intercept any ActionLinks, EventLinks, form events,
or otherwise rela
Richard Hill-7 wrote:
>
>
> Getting the user id depends on what public methods your user object has.
> Presumably it has something like .getId() ?
>
>
>
> On Tue, 2011-03-01 at 06:44 -0800, robnangle wrote:
>> Im probably wording the question wrong but that returns something like a
>> memory
override the toString() implementation of your user entity... you can use
apache-commons ToStringBuilder.
Von:robnangle
An: users@tapestry.apache.org
Datum: 01.03.2011 15:44
Betreff:RE: org.apache.tapestry5.runtime.ComponentEventException
Im probably wording the question wr
Getting the user id depends on what public methods your user object has.
Presumably it has something like .getId() ?
On Tue, 2011-03-01 at 06:44 -0800, robnangle wrote:
> Im probably wording the question wrong but that returns something like a
> memory address: Entities.User@12e7cb6
>
> I want
Im probably wording the question wrong but that returns something like a
memory address: Entities.User@12e7cb6
I want to find the user_id of that user?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/org-apache-tapestry5-runtime-ComponentEventException-tp3404853p3405030.h
>>> Hi,
>>>Is there any way to convert the @Sessionstate user value to a string
or a
>>>readable value?
Yes
user.toString() !
Atos Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Hi,
Is there any way to convert the @Sessionstate user value to a string or a
readable value?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/org-apache-tapestry5-runtime-ComponentEventException-tp3404853p3405008.html
Sent from the Tapestry - User mailing list archive at N
Hi ye the craeateDb() set's all of that. Got it sorted anyway, thanks people.
I didn'y fully understand the @Property annotation, that was my problem. All
the elements were null.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/org-apache-tapestry5-runtime-ComponentEventExc
where is your connection (field conn) set?
Von:robnangle
An: users@tapestry.apache.org
Datum: 01.03.2011 13:53
Betreff:Re: org.apache.tapestry5.runtime.ComponentEventException
Yes stupidly I forgot to set the connection but the errors remain. The
onSuccess():
public String
Yes stupidly I forgot to set the connection but the errors remain. The
onSuccess():
public String onSuccess() throws Exception {
createDb();
String statement = "INSERT INTO teams(user_id, team_name,
keeper,
fullBack1, fullBack2, fullBack3, halfBack1, halfBack2, hal
On Tue, 01 Mar 2011 09:35:00 -0300, robnangle wrote:
Ye I noticed that but cant see what could be wrong with that line:
Line 245:
String statement = "INSERT INTO teams(user_id, team_name, keeper,
fullBack1,
fullBack2, fullBack3, halfBack1, halfBack2, halfBack3, midfield1,
midfield2,
halfF
Ye I noticed that but cant see what could be wrong with that line:
Line 245:
String statement = "INSERT INTO teams(user_id, team_name, keeper, fullBack1,
fullBack2, fullBack3, halfBack1, halfBack2, halfBack3, midfield1, midfield2,
halfForward1, halfForward2, halfForward3, fullForward1, fullForward
The stack trace says you have an NPE in your onSuccess method, at
SelectPlayers.java:246. The ComponentEventException has little to do with
it... it's only saying the exception occurred during the 'success' event.
On Tue, Mar 1, 2011 at 7:18 AM, robnangle wrote:
> I have seen a couple thru the
I have seen a couple thru the forum but I dont think they apply to the error
im getting.
org.apache.tapestry5.runtime.ComponentEventException
context
eventType:
action
location:
context:SelectPlayers.tml, line 10
5
6 Select Player
7
8
9
On Tue, 01 Mar 2011 02:03:03 -0300, jqzone wrote:
pushlets is an Free and Open Source (LGPL) HTTP-based publish/subscribe
framework http://www.pushlets.com/
I've never heard of that. It looks a little like Comet(d). If it's a
servlet, I'd write a Dispatcher wrapping it. If it's a servlet fi
30 matches
Mail list logo