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 appl

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 p

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 > p

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 under

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

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 Exc

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, C

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-event

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. t

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

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.

[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

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. G

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

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 ex

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 i

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 > > -Orig

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 comp

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

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

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

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

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: 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 Co

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

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://ta

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 O

@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.

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 o

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 ?

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-Ta

回复: 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

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 oft

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 > t

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 hop