Re: Accessing an application state object from a service

2006-10-11 Thread Patrick Moore
Inject the application state manager object. Then in the thread get the actual state object. and then : transPolSession = (TransPolSession) stateManager.get("USER_INFORMATION"

Re: Tapestry and OSGI

2006-10-11 Thread James Carman
What problems are you having with HiveMind? Are you running within Oracle's server? > Has anyone used Tapestry with OSGI? > > Could someone please give me some light!? A link or something > We had some problems with hivemind... > > Thanks! > > Mael > > > On 10/2/06, Mael Caldas <[EMAIL PROTEC

Re: Exceptions & Email

2006-10-11 Thread andyhot
I think I would consider the email capabilities of logging libraries. In log4j you can have this support with 3-4 lines in your configuration file [EMAIL PROTECTED] wrote: > Hey guys. > > I'm approaching a deployment of my Tap4.0 app in production. > > Whenever an exception occurs, I'd like to ha

Re: RE: Open new window on a form submit?

2006-10-11 Thread Sam Gendler
This looks to be exactly what you are looking for. At the very least, it is a good place to start. http://wiki.apache.org/tapestry/PopupLinkSubmit --sam On 10/11/06, Jim Steinberger <[EMAIL PROTECTED]> wrote: The Form component accepts informal parameters, so you can use the HTML "target" pa

Re: Tapestry and OSGI

2006-10-11 Thread Mael Caldas
Has anyone used Tapestry with OSGI? Could someone please give me some light!? A link or something We had some problems with hivemind... Thanks! Mael On 10/2/06, Mael Caldas <[EMAIL PROTECTED]> wrote: Hi everybody! Has anybody experienced using Tapestry with OSGI? We tried, but had some

RE: Open new window on a form submit?

2006-10-11 Thread Jim Steinberger
The Form component accepts informal parameters, so you can use the HTML "target" parameter to control which window the result of the form-submission will return to: ... Jim -Original Message- From: James Sherwood [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 11, 2006 12:09 PM To: T

Accessing an application state object from a service

2006-10-11 Thread Hajaansh
I have an application state object whos scope is "session" and I have a service object whos scope is threaded. Is it possible to inject the application state object into the service object via hivemind? If then how? Cheers, Hajaansh

Re: DirectLink in Abstract Component

2006-10-11 Thread Norbert Sándor
The DirectLink component is not that complex: it uses the "direct" service to create a link. When the user clicks on the link, the "direct" service handles almost everything. What you can do (for example) is to implement IDirect in your component (which extends AbstractComponent) and generate

RE: Exceptions & Email

2006-10-11 Thread Greg.L.Cormier
Thanks for the prompt Reply robert. I'm putting in the code to send off an email inside the renderComponent() body. This should work well each time an exception is displayed. I figure why not keep it simple rather then worry about hivemind services? Greg -Original Message- From: Robert

Re: Exceptions & Email

2006-10-11 Thread Martin Strand
I haven't tried but perhaps you can simply use an SMTP appender for the ExceptionReporter? On Wed, 11 Oct 2006 19:57:00 +0200, Robert Zeigler <[EMAIL PROTECTED]> wrote: I can think of a couple of different approaches. I'm doing this now in tap3 using a custom IMonitor implementation (tap3

Re: Exceptions & Email

2006-10-11 Thread Robert Zeigler
I can think of a couple of different approaches. I'm doing this now in tap3 using a custom IMonitor implementation (tap3 calls the IMonitor's serviceException(Throwable exception) method when it encounters an exception, before it loads the error page). But, IMonitor is, apparently, deprecated

Re: DirectLink in Abstract Component

2006-10-11 Thread jake123
Please, have anybody created a DirectLink in a Custom Component that extends from AbstractComponent? How do you do that? I could really need some pointers! Thanks in advance, Jacob -- View this message in context: http://www.nabble.com/DirectLink-in-Abstract-Component-tf2419541.html#a6761175 S

Exceptions & Email

2006-10-11 Thread Greg.L.Cormier
Hey guys. I'm approaching a deployment of my Tap4.0 app in production. Whenever an exception occurs, I'd like to have an email get sent to me with the information of the exception rather then relying on people sending them to me. Has anyone gone about doing this? Any suggestions? Thanks, Greg

Re: checkboxes problem

2006-10-11 Thread Mael Caldas
Where is the "delete" component?? I only found the jwcid="delete", but not the component on the page with "delete" id... [] 's Mael On 10/11/06, Andrés Nates <[EMAIL PROTECTED]> wrote: Hello I have the following problem I have a list of checkboxes, when i select a checkbox the page rech

checkboxes problem

2006-10-11 Thread Andrés Nates
Hello I have the following problem I have a list of checkboxes, when i select a checkbox the page recharges itself. But if i select the last of the checkboxes in the list, when the page recharges, all checkboxes appears selected. Anybody knows Why this happens?, and What can I do to solve t

Open new window on a form submit?

2006-10-11 Thread James Sherwood
Hello, Is it possible to use a component of type Form and have the form submit listner open the page in a new window? I am thinking it might have something to do with cycle.encodeURL() in the listener. Thanks in advance, James

Re: 4.1.1 performance issues

2006-10-11 Thread Jesse Kuhnert
It's an IE bug. I've filed a JIRA issue with a workaround to fix this..I'll probably do it in the next snapshot build. https://issues.apache.org/jira/browse/TAPESTRY-1115 On 10/11/06, Christian Dutaret <[EMAIL PROTECTED]> wrote: Hi all, I am facing some performance issues with my application

4.1.1 performance issues

2006-10-11 Thread Christian Dutaret
Hi all, I am facing some performance issues with my application using the latest 4.1.1 snapshot : - on page load, the browser freezes a few seconds (much better than the earlier 4.1 releases, but still slow) - some resources seem not to be cached by IE (it performs better with FF). For instance,

Master detail problem

2006-10-11 Thread pipothebit
hellow and sorry for my english, I am novice tapestry user and I have a problem with a master detail relation. I have a simple bean like this: ... public class Master imelements Serializable { private String name; private List detail = new ArrayList(); . . } ... I need to do all the

RE: Re: Escaping quotes in OGNL expressions in Tapestry templates

2006-10-11 Thread Jim Steinberger
Should research before sending: "Curling Quotes in HTML..." http://www.dwheeler.com/essays/quotes-in-html.html Okay, shutting up about quoting, now :) Jim -Original Message- From: Jim Steinberger [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 11, 2006 8:21 AM To: Tapestry users Sub

RE: Re: Escaping quotes in OGNL expressions in Tapestry templates

2006-10-11 Thread Jim Steinberger
I was going to if Unicode didn't fly -- but I should have anyway: it works perfectly, of course, and it's more portable (list of browsers that support Unicode: http://www.alanwood.net/unicode/browsers.html ). Though if you don't have to worry about browsers that don't support Unicode, Unicode /does

Re: Escaping quotes in OGNL expressions in Tapestry templates

2006-10-11 Thread Ron Piterman
have you tried: value="ognl:'Section: "' + section.name + '"'" ? Cheers, Ron Jim Steinberger wrote: > Hello, > > I ran into the situation where I needed to insert a double-quote in an OGNL > expression. I wanted to do: value="ognl:'Section: \"' + section.name + > '\"'", but the Tapestry pa

RE: DatePicker in IE: operation aborted

2006-10-11 Thread mos
where i can find zip file??? in site i can't find, send me [EMAIL PROTECTED] or write here where i find it and integate in project thank you Schabek Łukasz wrote: > > This is an IE bug only, reported here > http://issues.apache.org/jira/browse/TAPESTRY-788 > > Replace org.apache.tapestry.util