Re: Missing cookie when calling URL outside browser

2011-09-23 Thread Taha Hafeez
This trick might help

http://www.vc2go.com/2009/11/cookie-based-authentication-does-not-work-with-excel.html


On Fri, Sep 23, 2011 at 11:38 PM, MP3HiFi  wrote:
> Hello Taha,
>
> that a cookie is only available within the same the same domain is ok.
>
> I have an application server running my application. I am calling the
> application from within Firefox and the cookie is found by the application
> server. No probs here. When calling the same url via hyperlink in Excel,
> Firefox is started with the url, but the cookie ins't found. When entering
> the manually in Firefox URL now , the cookie is found.
>
> In my opinion the ony difference is that Firefox is started by Excel and not
> by myself, but there must be a difference. The same behaviour when using IE
> or Chrome.
>
> Regards
> Martin
>
>
>
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Missing-cookie-when-calling-URL-outside-browser-tp4833233p4834601.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Regards

Taha Hafeez Siddiqi (tawus)
http://tawus.wordpress.com

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: debugging jumpstart in Eclipse (missing line numbers)

2011-09-23 Thread Geoff Callender
The fix is to replace the parameter declarations in NavBar.java with these:

@Parameter
private String tab = "";

@Parameter
private String subTab = "";

and in Layout.java with these:

@Parameter
private String tab = "";

@Parameter
private String subTab = "";

@Parameter
private String title = "";

I'll release 5.4.15 with the fix shortly.

BTW, I've learnt something. By my reading of the Parameter javadoc 
(http://tapestry.apache.org/tapestry5.2-dev/apidocs/org/apache/tapestry5/annotations/Parameter.html),
 I thought these 3 declarations should be equivalent:

@Parameter
private String tab;

@Parameter(value = "")
private String tab;

@Parameter
private String tab = "";

but they are not: if the parameter is not bound, then in the first two its 
value will be null, and in the third one it will be "".

I've raised https://issues.apache.org/jira/browse/TAP5-1668 .

I'll have a look at your debugging questions soon.


On 24/09/2011, at 7:52 AM, George Ludwig wrote:

> Geoff,
> 
> One more thing, I changed NavBar.java to add a check if the tab is null:
> 
> public boolean isSecurityTabActive() {
>   if(tab==null)
>   return false;
>   return tab.equals("Security");
>   }
> 
> Now the app appears to work, but I sure wish I understood better how
> the tab param should have been passed in the first place!
> 
> -George
> 
> On Fri, Sep 23, 2011 at 2:21 PM, George Ludwig  wrote:
>> Geoff,
>> 
>> I'm running jumpstart 5.4.14 in Eclipse 3.7 on OSX 10.5.8.
>> 
>> However, as Jonathan mentioned if I ignore the error, the debugger
>> takes me to the correct line in NavBar.java  But all I can see is that
>> the tab parameter is null. :)
>> 
>> I can't see the source in any of the tapestry jars, so that's about as
>> far as I can go in the debugger. Is there a way to use ant to download
>> the sources and make Eclipse aware of them? Is it even worth the
>> trouble?
>> 
>> It's been a long time since I used Ant...
>> 
>> It just occurred to me to try this on my machine at home, which is a
>> Vista box. Will let you know if it changes anything.
>> 
>> Best,
>> 
>> George
>> 
>> 
>> 
>> On Fri, Sep 23, 2011 at 2:02 AM, Geoff Callender
>>  wrote:
>>> What version of JumpStart are you running and what OS are you on? I'll try 
>>> to have a look in the next 24 hours at what's gone awry.
>>> 
>>> On 23/09/2011, at 12:31 PM, Jonathan Barker wrote:
>>> 
 I hit this as well today.
 
 Strangely, I said to ignore it, and after the usual prompting for a 
 location
 to find source files, debugging worked just fine.
 
 
 
 On Thu, Sep 22, 2011 at 6:37 PM, georgeludwig 
 wrote:
 
> I have jumpstart running in Eclipse as a java app, and it works with the
> exception of the login. When I log in as admin, I get a null pointer
> exception:
> jumpstart.web.components.theapp.NavBar.isSecurityTabActive(NavBar.java:18)
> 
> I set a break point in eclipse on line 18 in NavBar.java, and when I run 
> it
> in Eclipse, Eclipse tells me that it cannot install a a break point 
> because
> the class files were compiled without line numbers.
> 
> So I enabled the line numbers in the Eclipse environment, but that didn't
> help.
> 
> I'm unfamiliar with many of the tools used in this project, and can't
> figure
> out how the collapser gets invoked during app launch, much less how to
> ensure line numbers are included!
> 
> Any idea how can I enable this?
> 
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/debugging-jumpstart-in-Eclipse-missing-line-numbers-tp4831779p4831779.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 
 
 
 --
 Jonathan Barker
 ITStrategic
>>> 
>>> 
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>> 
>>> 
>> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 



Re: [t5.2.6] Non compatible component declaration in tml and java class not firing an exception

2011-09-23 Thread Muhammad Gelbana
I opened a jira issue as Thiago suggested:
https://issues.apache.org/jira/browse/TAP5-1667

On Fri, Sep 23, 2011 at 5:52 PM, Muhammad Gelbana wrote:

> I tried to have the most descriptive subject..that was my best shot
>
> Here is what happened. I by mistake, declared a select input field in a
> page template and tied it to a component declared in the page's java file
> using the component type TextField. And so the input field showed up as a
> text field which drove me crazy for around 20 mins not knowing whats wrong
> (I really needed to sleep then !)
>
> Here is in example of what I mean:
>
> *Index.tml*
> 
>
> *Index.page*
> @Property
> private String select;
>
> @Component(id="select")
> private *TextField* select
>
>
> Again, it's obviously a tapestry user mistake, but should this raise an
> exception to point out what's wrong ?
> If this is a feature offered, I just can't see how I use it !
>
> Thank you all :)
>
> --
> Regards,
> Muhammad Gelbana
> Java Developer
>
>


-- 
*Regards,*
*Muhammad Gelbana
Java Developer*


T5.2 and CXF / SOAP

2011-09-23 Thread Norman Franke
So, since CXF appears to be way, way better documented, I'll ask. Has  
anyone integrated Tapestry 5's IoC with CXF?


Norman Franke
Answering Service for Directors, Inc.
www.myasd.com



Re: debugging jumpstart in Eclipse (missing line numbers)

2011-09-23 Thread George Ludwig
Geoff,

One more thing, I changed NavBar.java to add a check if the tab is null:

public boolean isSecurityTabActive() {
if(tab==null)
return false;
return tab.equals("Security");
}

Now the app appears to work, but I sure wish I understood better how
the tab param should have been passed in the first place!

-George

On Fri, Sep 23, 2011 at 2:21 PM, George Ludwig  wrote:
> Geoff,
>
> I'm running jumpstart 5.4.14 in Eclipse 3.7 on OSX 10.5.8.
>
> However, as Jonathan mentioned if I ignore the error, the debugger
> takes me to the correct line in NavBar.java  But all I can see is that
> the tab parameter is null. :)
>
> I can't see the source in any of the tapestry jars, so that's about as
> far as I can go in the debugger. Is there a way to use ant to download
> the sources and make Eclipse aware of them? Is it even worth the
> trouble?
>
> It's been a long time since I used Ant...
>
> It just occurred to me to try this on my machine at home, which is a
> Vista box. Will let you know if it changes anything.
>
> Best,
>
> George
>
>
>
> On Fri, Sep 23, 2011 at 2:02 AM, Geoff Callender
>  wrote:
>> What version of JumpStart are you running and what OS are you on? I'll try 
>> to have a look in the next 24 hours at what's gone awry.
>>
>> On 23/09/2011, at 12:31 PM, Jonathan Barker wrote:
>>
>>> I hit this as well today.
>>>
>>> Strangely, I said to ignore it, and after the usual prompting for a location
>>> to find source files, debugging worked just fine.
>>>
>>>
>>>
>>> On Thu, Sep 22, 2011 at 6:37 PM, georgeludwig wrote:
>>>
 I have jumpstart running in Eclipse as a java app, and it works with the
 exception of the login. When I log in as admin, I get a null pointer
 exception:
 jumpstart.web.components.theapp.NavBar.isSecurityTabActive(NavBar.java:18)

 I set a break point in eclipse on line 18 in NavBar.java, and when I run it
 in Eclipse, Eclipse tells me that it cannot install a a break point because
 the class files were compiled without line numbers.

 So I enabled the line numbers in the Eclipse environment, but that didn't
 help.

 I'm unfamiliar with many of the tools used in this project, and can't
 figure
 out how the collapser gets invoked during app launch, much less how to
 ensure line numbers are included!

 Any idea how can I enable this?

 --
 View this message in context:
 http://tapestry.1045711.n5.nabble.com/debugging-jumpstart-in-Eclipse-missing-line-numbers-tp4831779p4831779.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org


>>>
>>>
>>> --
>>> Jonathan Barker
>>> ITStrategic
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: debugging jumpstart in Eclipse (missing line numbers)

2011-09-23 Thread George Ludwig
Geoff,

I'm running jumpstart 5.4.14 in Eclipse 3.7 on OSX 10.5.8.

However, as Jonathan mentioned if I ignore the error, the debugger
takes me to the correct line in NavBar.java  But all I can see is that
the tab parameter is null. :)

I can't see the source in any of the tapestry jars, so that's about as
far as I can go in the debugger. Is there a way to use ant to download
the sources and make Eclipse aware of them? Is it even worth the
trouble?

It's been a long time since I used Ant...

It just occurred to me to try this on my machine at home, which is a
Vista box. Will let you know if it changes anything.

Best,

George



On Fri, Sep 23, 2011 at 2:02 AM, Geoff Callender
 wrote:
> What version of JumpStart are you running and what OS are you on? I'll try to 
> have a look in the next 24 hours at what's gone awry.
>
> On 23/09/2011, at 12:31 PM, Jonathan Barker wrote:
>
>> I hit this as well today.
>>
>> Strangely, I said to ignore it, and after the usual prompting for a location
>> to find source files, debugging worked just fine.
>>
>>
>>
>> On Thu, Sep 22, 2011 at 6:37 PM, georgeludwig wrote:
>>
>>> I have jumpstart running in Eclipse as a java app, and it works with the
>>> exception of the login. When I log in as admin, I get a null pointer
>>> exception:
>>> jumpstart.web.components.theapp.NavBar.isSecurityTabActive(NavBar.java:18)
>>>
>>> I set a break point in eclipse on line 18 in NavBar.java, and when I run it
>>> in Eclipse, Eclipse tells me that it cannot install a a break point because
>>> the class files were compiled without line numbers.
>>>
>>> So I enabled the line numbers in the Eclipse environment, but that didn't
>>> help.
>>>
>>> I'm unfamiliar with many of the tools used in this project, and can't
>>> figure
>>> out how the collapser gets invoked during app launch, much less how to
>>> ensure line numbers are included!
>>>
>>> Any idea how can I enable this?
>>>
>>> --
>>> View this message in context:
>>> http://tapestry.1045711.n5.nabble.com/debugging-jumpstart-in-Eclipse-missing-line-numbers-tp4831779p4831779.html
>>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>
>>>
>>
>>
>> --
>> Jonathan Barker
>> ITStrategic
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Missing cookie when calling URL outside browser

2011-09-23 Thread MP3HiFi
Hello Taha,

that a cookie is only available within the same the same domain is ok.

I have an application server running my application. I am calling the
application from within Firefox and the cookie is found by the application
server. No probs here. When calling the same url via hyperlink in Excel,
Firefox is started with the url, but the cookie ins't found. When entering
the manually in Firefox URL now , the cookie is found.

In my opinion the ony difference is that Firefox is started by Excel and not
by myself, but there must be a difference. The same behaviour when using IE
or Chrome.

Regards
Martin



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Missing-cookie-when-calling-URL-outside-browser-tp4833233p4834601.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Handling components event in the page that includes the component

2011-09-23 Thread Chris Poulsen
Yeah I think that part should be mentioned - its a really neat feature! I'll
dig into it and see if I can get around to whipping up a suggestion for
JIRA.

-- 
Chris

On Fri, Sep 23, 2011 at 6:56 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:

> On Fri, 23 Sep 2011 13:11:25 -0300, Chris Poulsen 
> wrote:
>
>  Nice to know you got it working!
>>
>> I'm still interested in the docs mentioning the custom component events.
>> If they are missing, it should definitely be added. (I was expecting to find
>> it on 
>> http://tapestry.apache.org/**component-events.html
>> )
>>
>
> Yep, that page is missing the event triggering part. Could you file a JIRA
> for that so the committers don't forget it? :)
>
> Basically, @Inject ComponentResources and use the triggerEvent(String
> eventType, Object[] contextValues, ComponentEventCallback callback) method.
> You'll only need to implement a ComponentEventCallback if you want to get
> the return value of the handler method. The return value of triggerEvent()
> says if the event was handled or not. Very simple after you implement your
> first one. :)
>
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>


Re: Handling components event in the page that includes the component

2011-09-23 Thread Thiago H. de Paula Figueiredo
On Fri, 23 Sep 2011 13:11:25 -0300, Chris Poulsen   
wrote:



Nice to know you got it working!

I'm still interested in the docs mentioning the custom component events.  
If they are missing, it should definitely be added. (I was expecting to  
find it on http://tapestry.apache.org/component-events.html)


Yep, that page is missing the event triggering part. Could you file a JIRA  
for that so the committers don't forget it? :)


Basically, @Inject ComponentResources and use the triggerEvent(String  
eventType, Object[] contextValues, ComponentEventCallback callback)  
method. You'll only need to implement a ComponentEventCallback if you want  
to get the return value of the handler method. The return value of  
triggerEvent() says if the event was handled or not. Very simple after you  
implement your first one. :)


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Grid, generating conduit, unable to add method java.lang.Object get() to class

2011-09-23 Thread Lenny Primak
Yes indeed.  The relationships between JPA, tap-JPA, and entities themselves 
isn't clearly documented.
It took me a while to figure out what the relationship was.

tap-jpa and EJB packaging can coexist and must coexist peacefully.
The key to understanding this is how annotation processing works.
tapestry-jpa implements annotations via tapestry-ioc, while glassfish does this 
via JEE annotation processing methods.

For example, @PersistenceContext and @EntityManager annotations are processed 
by tapestyr-jpa in tapestry packages only,
while they are processed by JEE/EJB code in glassfish in @Stateless/@Stateful 
EJBs only.

If you put @Stateless session bean, for example inside a tapestry package 
(xxx.components, for example)
and declare a @PersistenceContext there, 
then you will have a clash because both tapestry and glassfish will both try to 
process the annotation.

Hoep this helps

On Sep 23, 2011, at 9:24 AM, Chris Mylonas wrote:

> This is my lack of having not tested tapestry-jpa at all!!!
> If tap-jpa reads the same persistence.xml as my ejb-jar  omg `kin rad!!
> 
> otherwise - don't worry - this takes it to [OT]   off topic.
> 
> i don't understand the j2ee packaging that well - so take my knowledge with a 
> grain of salt for now re: java packaging and how that works.  i'm into 
> protocol analysis on network stuff cos I like to connect things together 
> (like most of us).
> 
> i do not understand the relationship betweeen:
> 1.. persistence.xml in an ejb-jar; and,
> 2... persistence.xml in tapestry-jpa jar
> and whether the two can co-exist in the same ear project (i.e. how an entity 
> manager works in both cases)
> 
> which is beyond this mailing lists purpose.
> 
> 
> This is stuff I'll hammer out with some testing in due course :)
> 
> 
> Tapestry enables me to do web stuff "IN JAVA" much easier than mangling bits 
> of non-UI java database stuff (e.g. EJB) than with php (ie. drupal cos it's 
> easily hackable in the spaghetti code sense because that's the nature of the 
> language IMO)
> 
> which for me enables me to be a more productive/better progammer  which 
> I've been waiting for, for years!!!
> Hope that makes sense, both in my lack of understanding of java stuff - and 
> where I expect tapestry to take things for me :)
> 
> The rate at which stuff happens in this tapestry community is incredible to 
> say the least, I just hope I can catch up - economically, socially, 
> engineer-ily, glue-ily, technically etc..
> 
> 
> Cheers
> Chris
> 
> 
> On 23/09/2011, at 4:22 PM, Lenny Primak wrote:
> 
>> I don't understand this last message.
>> Tapestry-jpa module reads the same persistense.xml file as the JPA in 
>> glassfish.
>> The only thing that's different is that glassfish does annotation processing 
>> inside JEE-annotated classes (session beans)
>> and the tapestry-jpa module does the same within tapestry-ioc packages.
>> 
>> On Sep 23, 2011, at 2:18 AM, Chris Mylonas wrote:
>> 
>>> Good to know - my understanding of entity managers is low, so I was 
>>> thinking the two lots of persistence.xml files would mean 2 entity 
>>> managers, one for tapestry-jpa and one for EJB, unless tapestry-jpa can get 
>>> the EJB's persistence.xml through java packaging magic.
>>> 
>>> Stuff for me to learn unless someone can give a definitive "this is how it 
>>> works"
>>> 
>>> Have a good weekend,
>>> Chris
>>> 
>>> 
>>> On 23/09/2011, at 4:14 PM, Lenny Primak wrote:
>>> 
 I am using JPA module from 5.3 no problems, not sure about 5.2, but I 
 don't think that it should be an issue
 I don't see any issues of mixing JPA module with EJB3 because I  use it 
 myself
 On Sep 22, 2011, at 6:12 PM, Chris Mylonas wrote:
 
> Thanks Lenny
> I'm on GF 3.1.1 + tapestry 5.2.5 no JPA module, just using the jumpstart 
> stuff from the EJB3 sample.
> 
> 
> Can I mix tapestry-jpa with EJB3 stuff without causing problems for 
> entity manager?  Or would the web stuff be safer to be read-only?
> 
> 
> 
> On 22/09/2011, at 11:55 PM, Lenny Primak wrote:
> 
>> Just to let you know, I am using GF 3.1.1 and tapestry 5.3 beta 5 with 
>> built in JPA module and I have no such issue. 
>> 
>> 
>> 
>> On Sep 22, 2011, at 6:12 AM, Chris Mylonas  wrote:
>> 
>>> OMG!! - That did the trick!!
>>> 
>>> The magic is in persistence.xml
>>> 
>>> 
>>> 
>>> Thank you Geoff you champion
>>> 
>>> 
>>> I wonder what it will do to  "performance, caching and change tracking" 
>>>  because according to that page, that's what weaving is for.
>>> 
>>> PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND  
>>>   
>>> 7484 root  20   0  827m 372m  13m S 93.3 18.4  38:09.77 java
>>> 
>>> 2258 mysq

Re: Handling components event in the page that includes the component

2011-09-23 Thread Chris Poulsen
Nice to know you got it working!

I'm still interested in the docs mentioning the custom component events. If
they are missing, it should definitely be added. (I was expecting to find it
on http://tapestry.apache.org/component-events.html)

-- 
Chris

On Fri, Sep 23, 2011 at 6:02 PM, bhorvat  wrote:

> Yap, that solved all my problems.
>
> Thank you both so much
>
> Cheers
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Handling-components-event-in-the-page-that-includes-the-component-tp4833388p4834135.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


Re: Handling components event in the page that includes the component

2011-09-23 Thread bhorvat
Yap, that solved all my problems.

Thank you both so much

Cheers

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Handling-components-event-in-the-page-that-includes-the-component-tp4833388p4834135.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



[t5.2.6] Non compatible component declaration in tml and java class not firing an exception

2011-09-23 Thread Muhammad Gelbana
I tried to have the most descriptive subject..that was my best shot

Here is what happened. I by mistake, declared a select input field in a page
template and tied it to a component declared in the page's java file using
the component type TextField. And so the input field showed up as a text
field which drove me crazy for around 20 mins not knowing whats wrong (I
really needed to sleep then !)

Here is in example of what I mean:

*Index.tml*


*Index.page*
@Property
private String select;

@Component(id="select")
private *TextField* select


Again, it's obviously a tapestry user mistake, but should this raise an
exception to point out what's wrong ?
If this is a feature offered, I just can't see how I use it !

Thank you all :)

-- 
Regards,
Muhammad Gelbana
Java Developer


Re: Handling components event in the page that includes the component

2011-09-23 Thread Chris Poulsen
Inject ComponentResources and poke around?

-- 
Chris

On Fri, Sep 23, 2011 at 5:45 PM, bhorvat  wrote:

> Perfect. This works. Thank you so much for your assistance.
>
> So I can't access the link's id from the page since it is local to the
> component but I can trigger an event and handle that. Great. :D
>
> Can I ask for one more thing if it is not to much of a trouble.
>
> Is it possible and how do I access the component's id from the inside of a
> component?
>
> Index.tml
>
> 
>
> Popup.java - this is my component
>
>@Parameter(required = true, defaultPrefix = "literal")
>@Property
>private String id;
>
> I pass this id as a parameter. But is it possible to access the components
> id. To avoid something like this
>
>  t:source="sectionsForwardMessage"/>
>
> So what I want is just to pass
>
> 
>
> and then in class Popup.java I access it. But I can't do it like this
>
>  @Parameter(required = true, defaultPrefix = "literal")
>@Property
>private String id;
>
> So any ideas?
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Handling-components-event-in-the-page-that-includes-the-component-tp4833388p4834084.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


Re: Handling components event in the page that includes the component

2011-09-23 Thread bhorvat
Perfect. This works. Thank you so much for your assistance. 

So I can't access the link's id from the page since it is local to the
component but I can trigger an event and handle that. Great. :D

Can I ask for one more thing if it is not to much of a trouble. 

Is it possible and how do I access the component's id from the inside of a
component?

Index.tml



Popup.java - this is my component

@Parameter(required = true, defaultPrefix = "literal")
@Property
private String id;

I pass this id as a parameter. But is it possible to access the components
id. To avoid something like this



So what I want is just to pass



and then in class Popup.java I access it. But I can't do it like this

 @Parameter(required = true, defaultPrefix = "literal")
@Property
private String id;

So any ideas?

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Handling-components-event-in-the-page-that-includes-the-component-tp4833388p4834084.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Handling components event in the page that includes the component

2011-09-23 Thread Chris Poulsen
Wow Thiago, that is pretty cool. I haven't found (/noticed) this in the docs
yet, can you provide a pointer?

-- 
Chris

On Fri, Sep 23, 2011 at 5:27 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:

> On Fri, 23 Sep 2011 10:23:50 -0300, Boris Horvat 
> wrote:
>
>  I probably din't explain it very well.
>>
>
> I disagree. :) I guess I haven't explained my suggestion well.
>
>  I have component with two submit links in it. I also have a page that
>> includes those two links. I need to write in that page that includes the
>>
>> components the event handling for those two links but I am not sure how.
>> If I write handler in the Component.java it is handled but if I write it in
>> the Page.java class it is not handled.
>>
>
> This happens because you're specifying the component id in your event
> handler method, which is local to the component or page at which it was
> declared.
>
>
>  Is there a way to push the event from the component up to the page?
>>
>
> Non-render events in components are bubbled to the page unless someone
> handles them in between. Just use event name instead of component id in your
> handler method, as I've suggested before. ;)
>
> 
> 
>
> In your page:
>
> void onEvent1() { ... } or void @OnEvent("event1") anyName() { ... }
>
> void onEvent2() { ... } or void @OnEvent("event2") anyOtherName() { ... }
>
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
>
> --**--**-
> To unsubscribe, e-mail: 
> users-unsubscribe@tapestry.**apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


Re: Handling components event in the page that includes the component

2011-09-23 Thread Thiago H. de Paula Figueiredo
On Fri, 23 Sep 2011 10:23:50 -0300, Boris Horvat  
 wrote:



I probably din't explain it very well.


I disagree. :) I guess I haven't explained my suggestion well.


I have component with two submit links in it. I also have a page that
includes those two links. I need to write in that page that includes the
components the event handling for those two links but I am not sure how.  
If I write handler in the Component.java it is handled but if I write it  
in the Page.java class it is not handled.


This happens because you're specifying the component id in your event  
handler method, which is local to the component or page at which it was  
declared.



Is there a way to push the event from the component up to the page?


Non-render events in components are bubbled to the page unless someone  
handles them in between. Just use event name instead of component id in  
your handler method, as I've suggested before. ;)





In your page:

void onEvent1() { ... } or void @OnEvent("event1") anyName() { ... }

void onEvent2() { ... } or void @OnEvent("event2") anyOtherName() { ... }


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Deadlock issue in 5.3-beta-5 ?

2011-09-23 Thread Howard Lewis Ship
I'm not certain I've shaken all the deadlocks out of T5.3, but I think
the one you are hitting is fixed in beta-9.

2011/9/23 Dávið Klein Sundsskarð :
> No particular reason. I will upgrade to newest beta and keep an eye on 
> TAP5-1650.
>
> Thank you for the fast reply :-)
>
> /david
>
> -Original Message-
> From: Chris Poulsen [mailto:mailingl...@nesluop.dk]
> Sent: 23. september 2011 11:08
> To: Tapestry users
> Subject: Re: Deadlock issue in 5.3-beta-5 ?
>
> There have been some work related to synchronization in more recent betas.
> Why are you still on beta-5?
>
> --
> Chris
>
> 2011/9/23 Dávið Klein Sundsskarð 
>
>> Hi,
>>
>> I am experiencing deadlock issues in Tap 5.3-beta-5. I don't know if
>> it only is related to live class reloading, but it happens very often
>> while developing.
>> The page is making ajax calls to eventhandlers every second and when
>> editing and saving a class some of the requests deadlock.
>>
>> I'm hoping it will go away in production mode. Maybe someone else is
>> experiencing the same or am I doing something wrong?
>> See stacktraces below.
>>
>> /David
>>
>> -- Thread 1 ---
>> Name: http-8030-33 - /main.layout.refreshinfopanelinecount.
>> State: BLOCKED on
>> org.apache.tapestry5.internal.plastic.PlasticClassLoader@2cec33 owned by:
>> http-8030-34 - /main.layout.refreshinfopanelinecount
>> Total blocked: 78  Total waited: 4
>>
>> Stack trace:
>>  java.lang.Class.forName0(Native Method)
>> java.lang.Class.forName(Class.java:247)
>>
>> org.apache.tapestry5.internal.plastic.PlasticInternalUtils.toClass(Pla
>> sticInternalUtils.java:318)
>>
>> org.apache.tapestry5.internal.services.ComponentClassCacheImpl.lookupC
>> lassForType(ComponentClassCacheImpl.java:78)
>>
>> org.apache.tapestry5.internal.services.ComponentClassCacheImpl.forName
>> (ComponentClassCacheImpl.java:65)
>> $ComponentClassCache_c639cd1eb0ed.forName(Unknown Source)
>>
>> org.apache.tapestry5.internal.services.DefaultInjectionProvider.provid
>> eInjection(DefaultInjectionProvider.java:65)
>> $InjectionProvider2_c639cd1eb179.provideInjection(Unknown Source)
>> $InjectionProvider2_c639cd1eb165.provideInjection(Unknown Source)
>>
>> org.apache.tapestry5.internal.transform.InjectWorker$2.run(InjectWorke
>> r.java:73)
>>
>> org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(Operat
>> ionTrackerImpl.java:51)
>>
>> org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(Operat
>> ionTrackerImpl.java:48)
>>
>> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(Operatio
>> nTrackerImpl.java:74)
>>
>> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.run(OperationTr
>> ackerImpl.java:47)
>>
>> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.run(PerThr
>> eadOperationTracker.java:56)
>> org.apache.tapestry5.ioc.internal.RegistryImpl.run(RegistryImpl.java:1
>> 077)
>>
>> org.apache.tapestry5.internal.transform.InjectWorker.transform(InjectW
>> orker.java:67)
>> $ComponentClassTransformWorker2_c639cd1eb169.transform(Unknown Source)
>> $ComponentClassTransformWorker2_c639cd1eb15f.transform(Unknown Source)
>>
>> org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl
>> $3.run(ComponentInstantiatorSourceImpl.java:320)
>>
>> -- Thread 2 ---
>> Name: http-8030-34 - /main.layout.refreshinfopanelinecount
>> State: BLOCKED on
>> org.apache.tapestry5.internal.plastic.PlasticClassLoader@6e4109 owned by:
>> http-8030-33 - /main.layout.refreshinfopanelinecount
>> Total blocked: 163  Total waited: 5
>>
>> Stack trace:
>>
>>
>> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(Pla
>> sticClassLoader.java:31)
>> java.lang.ClassLoader.loadClass(ClassLoader.java:295)
>>   - locked
>> org.apache.tapestry5.internal.plastic.PlasticClassLoader@2cec33
>>
>> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:47)
>>   - locked
>> org.apache.tapestry5.internal.plastic.PlasticClassLoader@2cec33
>> java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>>
>> org.apache.tapestry5.internal.plastic.PlasticClassPool.createAnnotatio
>> nAccess(PlasticClassPool.java:191)
>>
>> org.apache.tapestry5.internal.plastic.PlasticClassImpl.(PlasticC
>> lassImpl.java:191)
>>
>> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransform
>> ation(PlasticClassPool.java:371)
>>
>> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransform
>> ation(PlasticClassPool.java:408)
>>
>> org.apache.tapestry5.plastic.PlasticManager.createProxyTransformation(
>> PlasticManager.java:260)
>>
>> org.apache.tapestry5.plastic.PlasticManager.createProxy(PlasticManager
>> .java:233)
>>
>> org.apache.tapestry5.ioc.internal.services.PlasticProxyFactoryImpl.cre
>> ateProxy(PlasticProxyFactoryImpl.java:57)
>> $PlasticProxyFactory_c639cd1eb16b.createProxy(Unknown Source)
>> $PlasticProxyFactory_c639cd1eb16a.createProxy(Unknown Source)
>>
>> org.apache.tapestry5.internal.services.Pro

Re: Handling components event in the page that includes the component

2011-09-23 Thread bhorvat
Ok let try explaining everything from the top :D

I have a page called Index and in that page I have included a component
called Popup. Now this component is basically a html popup with two tapestry
links. Then I surround this component in a form and when I click the link
(the link is from the component) it submits a form. The form is then handled
in the page Index and everything is great. 

What I now need is a way to tell those two links apart.Now if I put in the
page Index method

void onSelected(){

}

it is triggered for both links. What I want is to separate and to create
this method for both links. Something like

void onSelectedFromFirstLinkID(){

}

void onSelectedFromSecondLinkID(){

}

However this doesn't work. I thing that problem is that I need like the full
ID of the link. If I just use the id of the link the method is not
triggered, if I put those two methods in the component Popup then that those
methods are called. However I need those methods to be outside of component
Popup and inside page Index (so that every page can have different behaviour
for those links)

I have also tried 

@OnEvent(value=EventConstants.SELECTED, component="popup.firstLinkId")
void test(){
}

@OnEvent(value=EventConstants.SELECTED, component="popup/firstLinkId")
void test(){
}

@OnEvent(value=EventConstants.SELECTED, component="firstLinkId")
void test(){
}

but non work. So what I need is to know what is the full name of the element
inside a component that is included in a page?

I hope I have explained it better :D












--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Handling-components-event-in-the-page-that-includes-the-component-tp4833388p4833808.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Handling components event in the page that includes the component

2011-09-23 Thread Chris Poulsen
Hi,

I'm still not clear on what you are doing and where - did your mail client
strip out your source code example? ;)

http://tapestry.apache.org/component-events.html should explain how the
handler stuff works.

-- 
Chris

On Fri, Sep 23, 2011 at 3:53 PM, bhorvat  wrote:

> Yea I come to the same conclusion by trying to insert a method
>
> void onSelected{
> }
>
> This method is activated, but I need to activate it with a ID so that I can
> have two methods
>
> void onSelectedFromFirst{
> }
>
> void onSelectedFromSecond{
> }
>
> However this doesn't work. So any ideas how should I call the ID of the
> element inside a component included in the page?
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Handling-components-event-in-the-page-that-includes-the-component-tp4833388p4833597.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


modifying the List of error messages in ValidationTracker

2011-09-23 Thread Ray Nicholus
I'm trying to figure out a way to clear the list of error messages in
ValidationTracker without also clearing the state of the field tracker.  I
am attempting to create an aggregate of error messages for fields with the
same name in the ValidationTracker.  So far, I'm not seeing a way to
accomplish this since I am only able to call clear() on the
ValidationTracker which clears the state entirely.  As a result, I lose all
of the validation decorators around the fields in error.  Any ideas?


Re: Handling components event in the page that includes the component

2011-09-23 Thread bhorvat
Yea I come to the same conclusion by trying to insert a method 

void onSelected{
}

This method is activated, but I need to activate it with a ID so that I can
have two methods

void onSelectedFromFirst{
}

void onSelectedFromSecond{
}

However this doesn't work. So any ideas how should I call the ID of the
element inside a component included in the page?

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Handling-components-event-in-the-page-that-includes-the-component-tp4833388p4833597.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Handling components event in the page that includes the component

2011-09-23 Thread Chris Poulsen
Events bubble up in the page hierarchy afaik. So you could try to postfix
your handlers with "From"

something like: onActionFromMyComponentId(...) ?

-- 
Chris

On Fri, Sep 23, 2011 at 3:24 PM, bhorvat  wrote:

> I probably din't explain it very well.
>
> I have component with two submit links in it. I also have a page that
> includes that component those two links. I need to write in that page that
> includes the components the event handling for those two links but I am not
> sure how. If I write handler in the Component.java it is handled but if I
> write it in the Page.java class it is not handled. Is there a way to push
> the event from the component up to the page?
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Handling-components-event-in-the-page-that-includes-the-component-tp4833388p4833462.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


Re: Grid, generating conduit, unable to add method java.lang.Object get() to class

2011-09-23 Thread Chris Mylonas
This is my lack of having not tested tapestry-jpa at all!!!
If tap-jpa reads the same persistence.xml as my ejb-jar  omg `kin rad!!

otherwise - don't worry - this takes it to [OT]   off topic.

i don't understand the j2ee packaging that well - so take my knowledge with a 
grain of salt for now re: java packaging and how that works.  i'm into protocol 
analysis on network stuff cos I like to connect things together (like most of 
us).

i do not understand the relationship betweeen:
1.. persistence.xml in an ejb-jar; and,
2... persistence.xml in tapestry-jpa jar
and whether the two can co-exist in the same ear project (i.e. how an entity 
manager works in both cases)

which is beyond this mailing lists purpose.


This is stuff I'll hammer out with some testing in due course :)


Tapestry enables me to do web stuff "IN JAVA" much easier than mangling bits of 
non-UI java database stuff (e.g. EJB) than with php (ie. drupal cos it's easily 
hackable in the spaghetti code sense because that's the nature of the language 
IMO)

which for me enables me to be a more productive/better progammer  which 
I've been waiting for, for years!!!
Hope that makes sense, both in my lack of understanding of java stuff - and 
where I expect tapestry to take things for me :)

The rate at which stuff happens in this tapestry community is incredible to say 
the least, I just hope I can catch up - economically, socially, engineer-ily, 
glue-ily, technically etc..


Cheers
Chris


On 23/09/2011, at 4:22 PM, Lenny Primak wrote:

> I don't understand this last message.
> Tapestry-jpa module reads the same persistense.xml file as the JPA in 
> glassfish.
> The only thing that's different is that glassfish does annotation processing 
> inside JEE-annotated classes (session beans)
> and the tapestry-jpa module does the same within tapestry-ioc packages.
> 
> On Sep 23, 2011, at 2:18 AM, Chris Mylonas wrote:
> 
>> Good to know - my understanding of entity managers is low, so I was thinking 
>> the two lots of persistence.xml files would mean 2 entity managers, one for 
>> tapestry-jpa and one for EJB, unless tapestry-jpa can get the EJB's 
>> persistence.xml through java packaging magic.
>> 
>> Stuff for me to learn unless someone can give a definitive "this is how it 
>> works"
>> 
>> Have a good weekend,
>> Chris
>> 
>> 
>> On 23/09/2011, at 4:14 PM, Lenny Primak wrote:
>> 
>>> I am using JPA module from 5.3 no problems, not sure about 5.2, but I don't 
>>> think that it should be an issue
>>> I don't see any issues of mixing JPA module with EJB3 because I  use it 
>>> myself
>>> On Sep 22, 2011, at 6:12 PM, Chris Mylonas wrote:
>>> 
 Thanks Lenny
 I'm on GF 3.1.1 + tapestry 5.2.5 no JPA module, just using the jumpstart 
 stuff from the EJB3 sample.
 
 
 Can I mix tapestry-jpa with EJB3 stuff without causing problems for entity 
 manager?  Or would the web stuff be safer to be read-only?
 
 
 
 On 22/09/2011, at 11:55 PM, Lenny Primak wrote:
 
> Just to let you know, I am using GF 3.1.1 and tapestry 5.3 beta 5 with 
> built in JPA module and I have no such issue. 
> 
> 
> 
> On Sep 22, 2011, at 6:12 AM, Chris Mylonas  wrote:
> 
>> OMG!! - That did the trick!!
>> 
>> The magic is in persistence.xml
>> 
>> 
>> 
>> Thank you Geoff you champion
>> 
>> 
>> I wonder what it will do to  "performance, caching and change tracking"  
>> because according to that page, that's what weaving is for.
>> 
>> PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND   
>>  
>> 7484 root  20   0  827m 372m  13m S 93.3 18.4  38:09.77 java 
>>
>> 2258 mysql 15   0  140m  30m 5000 S 34.9  1.5  13:07.30 mysqld   
>>
>> 8168 root  15   0 10436 6304 2336 S  0.3  0.3   0:09.03 ssh  
>>
>> 8497 chrismyl  15   0  2416 1084  820 R  0.3  0.1   0:01.69 top  
>>
>> 1 root  15   0  2160  680  584 S  0.0  0.0   0:00.60 init 
>> 
>> Load average is at 0.7, but I'm monitoring systems during off-peak time.
>> I'll definitely have to check JBoss out against Glassfish for this type 
>> of work I think.
>> 
>> Anyway - I'm off to play with some Grid components :D
>> 
>> Cheers
>> Chris
>> 
>> 
>> On 22/09/2011, at 7:45 PM, Geoff Callender wrote:
>> 
>>> According to the following thread _persistence_shouldRefreshFetchGroup 
>>> was removed in Sep 2009, and a workaround for now might be to partially 
>>> disable "weaving".
>>> 

Re: Handling components event in the page that includes the component

2011-09-23 Thread bhorvat
I probably din't explain it very well.

I have component with two submit links in it. I also have a page that
includes that component those two links. I need to write in that page that
includes the components the event handling for those two links but I am not
sure how. If I write handler in the Component.java it is handled but if I
write it in the Page.java class it is not handled. Is there a way to push
the event from the component up to the page?

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Handling-components-event-in-the-page-that-includes-the-component-tp4833388p4833462.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: @BindParameter misses inherited parameters

2011-09-23 Thread Taha Hafeez Siddiqi
Hi Dragan

It definitely deserves a JIRA!

regards
Taha

On Sep 23, 2011, at 6:13 PM, Dragan Sahpaski wrote:

> Hi,
> Currently the @BindParameter annotation (that binds a parameter of a mixin
> to a parameter in the component the mixin is applied to),
> can be applied only to formal parameters of the containing component and not
> to parameters that are inherited by the containing component by embedded
> components.
> I think it is natural that inherited parameters are included in the search
> for parameters to bind to with the @BindParameter annotation.
> Here is a motivating example:
> 
> public class MyComponent{
> @Component(parameters =
> "blankOption=inherit:blankOption", publishParameters="blankOption")
> private Select select;
> }
> 
> public class MyMixin{
> @BindParameter
> private BlankOption blankOption;
> }
> 
> And we get:
> 
> org.apache.tapestry5.ioc.util.UnknownValueException
> Containing component MyComponent does not contain a formal parameter
> matching any of (blank), blankOption.
> 
> I'll be grateful if someone supports this and than I would be happy to
> create a JIRA and possibly a patch for it.
> 
> Cheers,
> Dragan Sahpaski


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Handling components event in the page that includes the component

2011-09-23 Thread bhorvat
Is it possible to handle the components event in the page that includes the
component.

Say I have a component and in that component I have two submit links with
their own id's. How do I see which link was clicked in the page that
includes the component?

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Handling-components-event-in-the-page-that-includes-the-component-tp4833388p4833388.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Missing cookie when calling URL outside browser

2011-09-23 Thread Taha Hafeez Siddiqi
Hi Martin

Cookies can only be accessed from the same domain. Also if two applications are 
trying to access a url e.g. a web browser and microsoft excel, cookie as to be 
set for both. You can't save a cookie on a browser and expect the excel 
application to read from the cookie.

regards
Taha
 
On Sep 23, 2011, at 5:31 PM, MP3HiFi wrote:

> Hello,
> 
> I have a curious handling within my tapestry application. My application has
> a login, which is saved in a cookie. When calling the protected page within
> the browser using the complete url everything is working fine. The cookie is
> found and the user is logged in.
> 
> When calling the same URL outside the browser, i.e. Excel with hyperlink,
> the cookie is not found, the login is, as a result of the missing cookie,
> not executed manually.
> 
> Is there a workaround for that problem.
> 
> Thanks in advance.
> Martin
> 
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Missing-cookie-when-calling-URL-outside-browser-tp4833233p4833233.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



@BindParameter misses inherited parameters

2011-09-23 Thread Dragan Sahpaski
Hi,
Currently the @BindParameter annotation (that binds a parameter of a mixin
to a parameter in the component the mixin is applied to),
can be applied only to formal parameters of the containing component and not
to parameters that are inherited by the containing component by embedded
components.
I think it is natural that inherited parameters are included in the search
for parameters to bind to with the @BindParameter annotation.
Here is a motivating example:

public class MyComponent{
@Component(parameters =
"blankOption=inherit:blankOption", publishParameters="blankOption")
private Select select;
}

public class MyMixin{
@BindParameter
private BlankOption blankOption;
}

And we get:

org.apache.tapestry5.ioc.util.UnknownValueException
Containing component MyComponent does not contain a formal parameter
matching any of (blank), blankOption.

I'll be grateful if someone supports this and than I would be happy to
create a JIRA and possibly a patch for it.

Cheers,
Dragan Sahpaski


Missing cookie when calling URL outside browser

2011-09-23 Thread MP3HiFi
Hello,

I have a curious handling within my tapestry application. My application has
a login, which is saved in a cookie. When calling the protected page within
the browser using the complete url everything is working fine. The cookie is
found and the user is logged in.

When calling the same URL outside the browser, i.e. Excel with hyperlink,
the cookie is not found, the login is, as a result of the missing cookie,
not executed manually.

Is there a workaround for that problem.

Thanks in advance.
Martin

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Missing-cookie-when-calling-URL-outside-browser-tp4833233p4833233.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



RE: Deadlock issue in 5.3-beta-5 ?

2011-09-23 Thread Dávið Klein Sundsskarð
No particular reason. I will upgrade to newest beta and keep an eye on 
TAP5-1650.

Thank you for the fast reply :-)

/david

-Original Message-
From: Chris Poulsen [mailto:mailingl...@nesluop.dk] 
Sent: 23. september 2011 11:08
To: Tapestry users
Subject: Re: Deadlock issue in 5.3-beta-5 ?

There have been some work related to synchronization in more recent betas.
Why are you still on beta-5?

--
Chris

2011/9/23 Dávið Klein Sundsskarð 

> Hi,
>
> I am experiencing deadlock issues in Tap 5.3-beta-5. I don't know if 
> it only is related to live class reloading, but it happens very often 
> while developing.
> The page is making ajax calls to eventhandlers every second and when 
> editing and saving a class some of the requests deadlock.
>
> I'm hoping it will go away in production mode. Maybe someone else is 
> experiencing the same or am I doing something wrong?
> See stacktraces below.
>
> /David
>
> -- Thread 1 ---
> Name: http-8030-33 - /main.layout.refreshinfopanelinecount.
> State: BLOCKED on
> org.apache.tapestry5.internal.plastic.PlasticClassLoader@2cec33 owned by:
> http-8030-34 - /main.layout.refreshinfopanelinecount
> Total blocked: 78  Total waited: 4
>
> Stack trace:
>  java.lang.Class.forName0(Native Method)
> java.lang.Class.forName(Class.java:247)
>
> org.apache.tapestry5.internal.plastic.PlasticInternalUtils.toClass(Pla
> sticInternalUtils.java:318)
>
> org.apache.tapestry5.internal.services.ComponentClassCacheImpl.lookupC
> lassForType(ComponentClassCacheImpl.java:78)
>
> org.apache.tapestry5.internal.services.ComponentClassCacheImpl.forName
> (ComponentClassCacheImpl.java:65) 
> $ComponentClassCache_c639cd1eb0ed.forName(Unknown Source)
>
> org.apache.tapestry5.internal.services.DefaultInjectionProvider.provid
> eInjection(DefaultInjectionProvider.java:65)
> $InjectionProvider2_c639cd1eb179.provideInjection(Unknown Source) 
> $InjectionProvider2_c639cd1eb165.provideInjection(Unknown Source)
>
> org.apache.tapestry5.internal.transform.InjectWorker$2.run(InjectWorke
> r.java:73)
>
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(Operat
> ionTrackerImpl.java:51)
>
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(Operat
> ionTrackerImpl.java:48)
>
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(Operatio
> nTrackerImpl.java:74)
>
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.run(OperationTr
> ackerImpl.java:47)
>
> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.run(PerThr
> eadOperationTracker.java:56)
> org.apache.tapestry5.ioc.internal.RegistryImpl.run(RegistryImpl.java:1
> 077)
>
> org.apache.tapestry5.internal.transform.InjectWorker.transform(InjectW
> orker.java:67) 
> $ComponentClassTransformWorker2_c639cd1eb169.transform(Unknown Source) 
> $ComponentClassTransformWorker2_c639cd1eb15f.transform(Unknown Source)
>
> org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl
> $3.run(ComponentInstantiatorSourceImpl.java:320)
>
> -- Thread 2 ---
> Name: http-8030-34 - /main.layout.refreshinfopanelinecount
> State: BLOCKED on
> org.apache.tapestry5.internal.plastic.PlasticClassLoader@6e4109 owned by:
> http-8030-33 - /main.layout.refreshinfopanelinecount
> Total blocked: 163  Total waited: 5
>
> Stack trace:
>
>  
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(Pla
> sticClassLoader.java:31)
> java.lang.ClassLoader.loadClass(ClassLoader.java:295)
>   - locked 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader@2cec33
>
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:47)
>   - locked 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader@2cec33
> java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createAnnotatio
> nAccess(PlasticClassPool.java:191)
>
> org.apache.tapestry5.internal.plastic.PlasticClassImpl.(PlasticC
> lassImpl.java:191)
>
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransform
> ation(PlasticClassPool.java:371)
>
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransform
> ation(PlasticClassPool.java:408)
>
> org.apache.tapestry5.plastic.PlasticManager.createProxyTransformation(
> PlasticManager.java:260)
>
> org.apache.tapestry5.plastic.PlasticManager.createProxy(PlasticManager
> .java:233)
>
> org.apache.tapestry5.ioc.internal.services.PlasticProxyFactoryImpl.cre
> ateProxy(PlasticProxyFactoryImpl.java:57)
> $PlasticProxyFactory_c639cd1eb16b.createProxy(Unknown Source) 
> $PlasticProxyFactory_c639cd1eb16a.createProxy(Unknown Source)
>
> org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.build
> (PropertyConduitSourceImpl.java:1372)
>
> org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.creat
> e(PropertyConduitSourceImpl.java:1274)
> $PropertyConduitSource_c639cd1eb1be.create(Unknown Source)
>
> org.apache.tapestry5.internal.bindi

Re: Console app with Tapestry IoC configuration

2011-09-23 Thread nquirynen

Steve Eynon wrote:
> 
> I believe the @Inject is working just fine - you just have to access
> the service *after* the class has been constructed!
> 

Yep that was my problem.

Thanks for the explanation!


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Console-app-with-Tapestry-IoC-configuration-tp4822836p4832923.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



回复: Re: Deadlock issue in 5.3-beta-5 ?

2011-09-23 Thread DH
I think it is not fixed yet.

https://issues.apache.org/jira/browse/TAP5-1650

2011-09-23



DH



发件人: Chris Poulsen 
发送时间: 2011-09-23 17:08
主 题: Re: Deadlock issue in 5.3-beta-5 ?
收件人: Tapestry users 



There have been some work related to synchronization in more recent betas. 
Why are you still on beta-5? 

--  
Chris 

2011/9/23 Dávið Klein Sundsskarð  

> Hi, 
> 
> I am experiencing deadlock issues in Tap 5.3-beta-5. I don't know if it 
> only is related to live class reloading, but it happens very often while 
> developing. 
> The page is making ajax calls to eventhandlers every second and when 
> editing and saving a class some of the requests deadlock. 
> 
> I'm hoping it will go away in production mode. Maybe someone else is 
> experiencing the same or am I doing something wrong? 
> See stacktraces below. 
> 
> /David 
> 
> -- Thread 1 --- 
> Name: http-8030-33 - /main.layout.refreshinfopanelinecount. 
> State: BLOCKED on 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader@2cec33 owned by: 
> http-8030-34 - /main.layout.refreshinfopanelinecount 
> Total blocked: 78  Total waited: 4 
> 
> Stack trace: 
>  java.lang.Class.forName0(Native Method) 
> java.lang.Class.forName(Class.java:247) 
> 
> org.apache.tapestry5.internal.plastic.PlasticInternalUtils.toClass(PlasticInternalUtils.java:318)
>  
> 
> org.apache.tapestry5.internal.services.ComponentClassCacheImpl.lookupClassForType(ComponentClassCacheImpl.java:78)
>  
> 
> org.apache.tapestry5.internal.services.ComponentClassCacheImpl.forName(ComponentClassCacheImpl.java:65)
>  
> $ComponentClassCache_c639cd1eb0ed.forName(Unknown Source) 
> 
> org.apache.tapestry5.internal.services.DefaultInjectionProvider.provideInjection(DefaultInjectionProvider.java:65)
>  
> $InjectionProvider2_c639cd1eb179.provideInjection(Unknown Source) 
> $InjectionProvider2_c639cd1eb165.provideInjection(Unknown Source) 
> 
> org.apache.tapestry5.internal.transform.InjectWorker$2.run(InjectWorker.java:73)
>  
> 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:51)
>  
> 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:48)
>  
> 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74)
>  
> 
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.run(OperationTrackerImpl.java:47)
>  
> 
> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.run(PerThreadOperationTracker.java:56)
>  
> org.apache.tapestry5.ioc.internal.RegistryImpl.run(RegistryImpl.java:1077) 
> 
> org.apache.tapestry5.internal.transform.InjectWorker.transform(InjectWorker.java:67)
>  
> $ComponentClassTransformWorker2_c639cd1eb169.transform(Unknown Source) 
> $ComponentClassTransformWorker2_c639cd1eb15f.transform(Unknown Source) 
> 
> org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl$3.run(ComponentInstantiatorSourceImpl.java:320)
>  
> 
> -- Thread 2 --- 
> Name: http-8030-34 - /main.layout.refreshinfopanelinecount 
> State: BLOCKED on 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader@6e4109 owned by: 
> http-8030-33 - /main.layout.refreshinfopanelinecount 
> Total blocked: 163  Total waited: 5 
> 
> Stack trace: 
> 
>  
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:31)
>  
> java.lang.ClassLoader.loadClass(ClassLoader.java:295) 
>   - locked org.apache.tapestry5.internal.plastic.PlasticClassLoader@2cec33 
> 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:47)
>  
>   - locked org.apache.tapestry5.internal.plastic.PlasticClassLoader@2cec33 
> java.lang.ClassLoader.loadClass(ClassLoader.java:247) 
> 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createAnnotationAccess(PlasticClassPool.java:191)
>  
> 
> org.apache.tapestry5.internal.plastic.PlasticClassImpl.(PlasticClassImpl.java:191)
>  
> 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:371)
>  
> 
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:408)
>  
> 
> org.apache.tapestry5.plastic.PlasticManager.createProxyTransformation(PlasticManager.java:260)
>  
> 
> org.apache.tapestry5.plastic.PlasticManager.createProxy(PlasticManager.java:233)
>  
> 
> org.apache.tapestry5.ioc.internal.services.PlasticProxyFactoryImpl.createProxy(PlasticProxyFactoryImpl.java:57)
>  
> $PlasticProxyFactory_c639cd1eb16b.createProxy(Unknown Source) 
> $PlasticProxyFactory_c639cd1eb16a.createProxy(Unknown Source) 
> 
> org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.build(PropertyConduitSourceImpl.java:1372)
>  
> 
> org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.create(PropertyConduitSourceImpl.java:1274)
>  
> $PropertyConduitSource_c639cd1eb1be.create(Unknown Source) 
> 
> org.apache.tapestry5.internal.bindings.PropBin

Re: Deadlock issue in 5.3-beta-5 ?

2011-09-23 Thread Chris Poulsen
There have been some work related to synchronization in more recent betas.
Why are you still on beta-5?

-- 
Chris

2011/9/23 Dávið Klein Sundsskarð 

> Hi,
>
> I am experiencing deadlock issues in Tap 5.3-beta-5. I don't know if it
> only is related to live class reloading, but it happens very often while
> developing.
> The page is making ajax calls to eventhandlers every second and when
> editing and saving a class some of the requests deadlock.
>
> I'm hoping it will go away in production mode. Maybe someone else is
> experiencing the same or am I doing something wrong?
> See stacktraces below.
>
> /David
>
> -- Thread 1 ---
> Name: http-8030-33 - /main.layout.refreshinfopanelinecount.
> State: BLOCKED on
> org.apache.tapestry5.internal.plastic.PlasticClassLoader@2cec33 owned by:
> http-8030-34 - /main.layout.refreshinfopanelinecount
> Total blocked: 78  Total waited: 4
>
> Stack trace:
>  java.lang.Class.forName0(Native Method)
> java.lang.Class.forName(Class.java:247)
>
> org.apache.tapestry5.internal.plastic.PlasticInternalUtils.toClass(PlasticInternalUtils.java:318)
>
> org.apache.tapestry5.internal.services.ComponentClassCacheImpl.lookupClassForType(ComponentClassCacheImpl.java:78)
>
> org.apache.tapestry5.internal.services.ComponentClassCacheImpl.forName(ComponentClassCacheImpl.java:65)
> $ComponentClassCache_c639cd1eb0ed.forName(Unknown Source)
>
> org.apache.tapestry5.internal.services.DefaultInjectionProvider.provideInjection(DefaultInjectionProvider.java:65)
> $InjectionProvider2_c639cd1eb179.provideInjection(Unknown Source)
> $InjectionProvider2_c639cd1eb165.provideInjection(Unknown Source)
>
> org.apache.tapestry5.internal.transform.InjectWorker$2.run(InjectWorker.java:73)
>
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:51)
>
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:48)
>
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74)
>
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.run(OperationTrackerImpl.java:47)
>
> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.run(PerThreadOperationTracker.java:56)
> org.apache.tapestry5.ioc.internal.RegistryImpl.run(RegistryImpl.java:1077)
>
> org.apache.tapestry5.internal.transform.InjectWorker.transform(InjectWorker.java:67)
> $ComponentClassTransformWorker2_c639cd1eb169.transform(Unknown Source)
> $ComponentClassTransformWorker2_c639cd1eb15f.transform(Unknown Source)
>
> org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl$3.run(ComponentInstantiatorSourceImpl.java:320)
>
> -- Thread 2 ---
> Name: http-8030-34 - /main.layout.refreshinfopanelinecount
> State: BLOCKED on
> org.apache.tapestry5.internal.plastic.PlasticClassLoader@6e4109 owned by:
> http-8030-33 - /main.layout.refreshinfopanelinecount
> Total blocked: 163  Total waited: 5
>
> Stack trace:
>
>  
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:31)
> java.lang.ClassLoader.loadClass(ClassLoader.java:295)
>   - locked org.apache.tapestry5.internal.plastic.PlasticClassLoader@2cec33
>
> org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:47)
>   - locked org.apache.tapestry5.internal.plastic.PlasticClassLoader@2cec33
> java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createAnnotationAccess(PlasticClassPool.java:191)
>
> org.apache.tapestry5.internal.plastic.PlasticClassImpl.(PlasticClassImpl.java:191)
>
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:371)
>
> org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:408)
>
> org.apache.tapestry5.plastic.PlasticManager.createProxyTransformation(PlasticManager.java:260)
>
> org.apache.tapestry5.plastic.PlasticManager.createProxy(PlasticManager.java:233)
>
> org.apache.tapestry5.ioc.internal.services.PlasticProxyFactoryImpl.createProxy(PlasticProxyFactoryImpl.java:57)
> $PlasticProxyFactory_c639cd1eb16b.createProxy(Unknown Source)
> $PlasticProxyFactory_c639cd1eb16a.createProxy(Unknown Source)
>
> org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.build(PropertyConduitSourceImpl.java:1372)
>
> org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.create(PropertyConduitSourceImpl.java:1274)
> $PropertyConduitSource_c639cd1eb1be.create(Unknown Source)
>
> org.apache.tapestry5.internal.bindings.PropBindingFactory.newBinding(PropBindingFactory.java:49)
> $BindingFactory_c639cd1eb1bf.newBinding(Unknown Source)
> $BindingFactory_c639cd1eb1b0.newBinding(Unknown Source)
>
> org.apache.tapestry5.internal.services.BindingSourceImpl.newBinding(BindingSourceImpl.java:78)
> $BindingSource_c639cd1eb162.newBinding(Unknown Source)
>
> org.apache.tapestry5.internal.services.PageEle

Re: debugging jumpstart in Eclipse (missing line numbers)

2011-09-23 Thread Geoff Callender
What version of JumpStart are you running and what OS are you on? I'll try to 
have a look in the next 24 hours at what's gone awry.

On 23/09/2011, at 12:31 PM, Jonathan Barker wrote:

> I hit this as well today.
> 
> Strangely, I said to ignore it, and after the usual prompting for a location
> to find source files, debugging worked just fine.
> 
> 
> 
> On Thu, Sep 22, 2011 at 6:37 PM, georgeludwig wrote:
> 
>> I have jumpstart running in Eclipse as a java app, and it works with the
>> exception of the login. When I log in as admin, I get a null pointer
>> exception:
>> jumpstart.web.components.theapp.NavBar.isSecurityTabActive(NavBar.java:18)
>> 
>> I set a break point in eclipse on line 18 in NavBar.java, and when I run it
>> in Eclipse, Eclipse tells me that it cannot install a a break point because
>> the class files were compiled without line numbers.
>> 
>> So I enabled the line numbers in the Eclipse environment, but that didn't
>> help.
>> 
>> I'm unfamiliar with many of the tools used in this project, and can't
>> figure
>> out how the collapser gets invoked during app launch, much less how to
>> ensure line numbers are included!
>> 
>> Any idea how can I enable this?
>> 
>> --
>> View this message in context:
>> http://tapestry.1045711.n5.nabble.com/debugging-jumpstart-in-Eclipse-missing-line-numbers-tp4831779p4831779.html
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>> 
>> 
> 
> 
> -- 
> Jonathan Barker
> ITStrategic


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Deadlock issue in 5.3-beta-5 ?

2011-09-23 Thread Dávið Klein Sundsskarð
Hi,

I am experiencing deadlock issues in Tap 5.3-beta-5. I don't know if it only is 
related to live class reloading, but it happens very often while developing.
The page is making ajax calls to eventhandlers every second and when editing 
and saving a class some of the requests deadlock.

I'm hoping it will go away in production mode. Maybe someone else is 
experiencing the same or am I doing something wrong?
See stacktraces below.

/David

-- Thread 1 ---
Name: http-8030-33 - /main.layout.refreshinfopanelinecount.
State: BLOCKED on 
org.apache.tapestry5.internal.plastic.PlasticClassLoader@2cec33 owned by: 
http-8030-34 - /main.layout.refreshinfopanelinecount
Total blocked: 78  Total waited: 4

Stack trace: 
 java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:247)
org.apache.tapestry5.internal.plastic.PlasticInternalUtils.toClass(PlasticInternalUtils.java:318)
org.apache.tapestry5.internal.services.ComponentClassCacheImpl.lookupClassForType(ComponentClassCacheImpl.java:78)
org.apache.tapestry5.internal.services.ComponentClassCacheImpl.forName(ComponentClassCacheImpl.java:65)
$ComponentClassCache_c639cd1eb0ed.forName(Unknown Source)
org.apache.tapestry5.internal.services.DefaultInjectionProvider.provideInjection(DefaultInjectionProvider.java:65)
$InjectionProvider2_c639cd1eb179.provideInjection(Unknown Source)
$InjectionProvider2_c639cd1eb165.provideInjection(Unknown Source)
org.apache.tapestry5.internal.transform.InjectWorker$2.run(InjectWorker.java:73)
org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:51)
org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:48)
org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74)
org.apache.tapestry5.ioc.internal.OperationTrackerImpl.run(OperationTrackerImpl.java:47)
org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.run(PerThreadOperationTracker.java:56)
org.apache.tapestry5.ioc.internal.RegistryImpl.run(RegistryImpl.java:1077)
org.apache.tapestry5.internal.transform.InjectWorker.transform(InjectWorker.java:67)
$ComponentClassTransformWorker2_c639cd1eb169.transform(Unknown Source)
$ComponentClassTransformWorker2_c639cd1eb15f.transform(Unknown Source)
org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl$3.run(ComponentInstantiatorSourceImpl.java:320)

-- Thread 2 ---
Name: http-8030-34 - /main.layout.refreshinfopanelinecount
State: BLOCKED on 
org.apache.tapestry5.internal.plastic.PlasticClassLoader@6e4109 owned by: 
http-8030-33 - /main.layout.refreshinfopanelinecount
Total blocked: 163  Total waited: 5

Stack trace: 
 
org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:31)
java.lang.ClassLoader.loadClass(ClassLoader.java:295)
   - locked org.apache.tapestry5.internal.plastic.PlasticClassLoader@2cec33
org.apache.tapestry5.internal.plastic.PlasticClassLoader.loadClass(PlasticClassLoader.java:47)
   - locked org.apache.tapestry5.internal.plastic.PlasticClassLoader@2cec33
java.lang.ClassLoader.loadClass(ClassLoader.java:247)
org.apache.tapestry5.internal.plastic.PlasticClassPool.createAnnotationAccess(PlasticClassPool.java:191)
org.apache.tapestry5.internal.plastic.PlasticClassImpl.(PlasticClassImpl.java:191)
org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:371)
org.apache.tapestry5.internal.plastic.PlasticClassPool.createTransformation(PlasticClassPool.java:408)
org.apache.tapestry5.plastic.PlasticManager.createProxyTransformation(PlasticManager.java:260)
org.apache.tapestry5.plastic.PlasticManager.createProxy(PlasticManager.java:233)
org.apache.tapestry5.ioc.internal.services.PlasticProxyFactoryImpl.createProxy(PlasticProxyFactoryImpl.java:57)
$PlasticProxyFactory_c639cd1eb16b.createProxy(Unknown Source)
$PlasticProxyFactory_c639cd1eb16a.createProxy(Unknown Source)
org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.build(PropertyConduitSourceImpl.java:1372)
org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.create(PropertyConduitSourceImpl.java:1274)
$PropertyConduitSource_c639cd1eb1be.create(Unknown Source)
org.apache.tapestry5.internal.bindings.PropBindingFactory.newBinding(PropBindingFactory.java:49)
$BindingFactory_c639cd1eb1bf.newBinding(Unknown Source)
$BindingFactory_c639cd1eb1b0.newBinding(Unknown Source)
org.apache.tapestry5.internal.services.BindingSourceImpl.newBinding(BindingSourceImpl.java:78)
$BindingSource_c639cd1eb162.newBinding(Unknown Source)
org.apache.tapestry5.internal.services.PageElementFactoryImpl.parseAttributeExpansionExpression(PageElementFactoryImpl.java:117)
org.apache.tapestry5.internal.services.PageElementFactoryImpl.newBinding(PageElementFactoryImpl.java:178)
$PageElementFactory_c639cd1eb15b.newBinding(Unknown Source)
org.apache.tapestry5.internal.pageload.PageLoaderImpl$12.execute(PageLoaderImpl.java:795