T4.1.5 - Hidden component's getExtendedId() returns incorrect path

2008-06-11 Thread Carlos F
i have an @EventListener attached to an JS method on a Hidden component. during the rendering of the page the ComponentEventConnectionWorker will contribute the results of the ComponentEvent.script for each component that has ajax events. as part of that rendering the component's extendedId is

Form - asyn submission with file upload

2008-05-19 Thread Carlos F
After trying to async submit a form with a file upload field for a few hours I trolled around the message board and JIRA and ran across this: http://issues.apache.org/jira/browse/TAPESTRY-1348 Is trying to async submit a form with a file upload field a DEAD END? We tried to add the IFrame

Re: Form - asyn submission with file upload

2008-05-19 Thread Carlos F
or (even better) investigate how to integrate one of those flash uploaders... On Mon, May 19, 2008 at 5:43 PM, Carlos F wrote: After trying to async submit a form with a file upload field for a few hours I trolled around the message board and JIRA and ran across this: http://issues.apache.org

dojo 0.4.3 documentation

2008-04-03 Thread Carlos F
has anyone been able to successfully build the dojo 0.4.3 docs? I am asking here because: 1- tap 4.1.x uses it (so I am hoping someone else has done this), 2 - the dojo site's copy doesn't work, and 3 - folks have been asking about it for 2+ weeks on the dojo forums and it is still not

image doesn't render id

2008-03-17 Thread carlos f
The value of getClientId() seems critical to the proper use of client side javascript. However, unless a component includes a call to renderIdAttribute() while rendering its open element tag, the component seems unable to display its id property. I ran across this when i tried to use an Image

image doesn't render id

2008-03-17 Thread Carlos F
The value of getClientId() seems critical to the proper use of clientside javascript. However, unless a component includes a call torenderIdAttribute() while rendering its open element tag, the componentseems unable to display its id property. I ran across this when itried to use an Image as

@EventListener - SubmitForm element

2008-03-17 Thread Carlos F
background I am displaying a tabular list of records inside of a form. Each row in the tabular list includes a checkbox, an up and down arrow image and info about the detail record in question. When the user clicks on the up and down arrow image the detailed record should be resorted in a

Re: T4: Using @EventListener to capture a javascript method call

2008-02-22 Thread carlos f
Chris, take everything i say with a grain a salt. I am having limited success getting this to work with tap 4.1.3. I can get the client side JS call to trigger . . . however i can't see to get it to execute the right server side listener method. Chris Norris-2 wrote: The first question is

T4: example of using @EventListener to capture a javascript method call

2008-02-21 Thread carlos f
using tap 4.1.3 I am trying to tie an arbitrary client side JS method call to a server side listener method as per Accessing intercepted functions' parameters on the server-side on the tap 4.1 event listener page (http://tapestry.apache.org/tapestry4.1/ajax/eventlistener.html) i can't get the

Re: How to initialize a session variable in a page render request?

2007-11-20 Thread carlos f
carlos f wrote: If you are using tap 4.x . . . Maybe if I looked at the subject of the original message I would have seen the T5 staring at me ;) Carlos -- View this message in context: http://www.nabble.com/T5%3A-How-to-initialize-a-session-variable-in-a-page-render-request--tf4839139

Re: Using Alfresco from within Tapestry

2007-11-20 Thread carlos f
hbf wrote: and everything works beautifully up to the load order of the webapps: As my module starts before Alfresco, I cannot reference the (yet non- existing) bean of Alfresco that represents the Alfresco Node Service! . . . Everything works fine up to the point when I change

Re: OGNL Expression evaluated 4 times on tap 4.1.2 release

2007-11-19 Thread carlos f
BUMP . . . just trying to make sure this didn't get lost in all the T5 messages over the weekend . Does anyone know what I can do to eliminate the duplicate calls? Thanks in advance. Carlos -- View this message in context:

Re: OGNL Expression evaluated 4 times on tap 4.1.2 release

2007-11-19 Thread carlos f
carlos f wrote: This occurs when i am executing tests as part of my selenium integration tests. . . . Is this a configuration/user error on my side, or is the framework still purposefully evaluating these OGNL expressions 4 times? I am still looking into this, but it appears

Re: How to initialize a session variable in a page render request?

2007-11-19 Thread carlos f
jeffrey ai wrote: I am looking for the best way to initialize a session variable(@Persist) in a page render request once, so I could access it in the next action request. Jeffrey, I am not sure about the particulars of your situation. If you are using tap 4.x, you might want to look

Re: OGNL Expression evaluated 4 times on tap 4.1.2 release

2007-11-19 Thread carlos f
andyhot wrote: On the meantime, maybe the @Cached annotation can help you. http://tacos.sourceforge.net/tacos4.1/tacos-annotations/index.html It's in the 4.1.1-SNAPSHOT and it annotates a normal non-abstract method, caching its result and returning it on further invocations. Thanks for

OGNL Expression evaluated 4 times on tap 4.1.2 release

2007-11-16 Thread carlos f
Tap 4.1.2 release tapestry-test 5.0.5 selenium 0.8.1 (with Jetty baked into Jar) win xp pro sp/2 java 1.5.0_05 This occurs when i am executing tests as part of my selenium integration tests. I have not looked into how this behaves in a more typical deployment environment. As far as I can tell

Re: @InjectPage in library -- Page 'XXX' not found in application namespace.

2007-09-18 Thread carlos f
Renat Zubairov wrote: Your assumptions are completely correct, you can address anything you want from the library (e.g. pages) inside the library namespace via namespace:BlahBlah format. Renat, thanks for the reply. Unfortunately I thought namespace handling would be a bit more

@InjectPage in library -- Page 'XXX' not found in application namespace.

2007-09-14 Thread carlos f
For a variety of reasons I am attempting to convert a large portion of a free standing tapestry web application into a library. A page in my library contains an @InjectPage annotation. This annotation use the name of a page specified in the library. I double checked the library specification

Re: @InjectPage in library -- Page 'XXX' not found in application namespace.

2007-09-14 Thread carlos f
carlos f wrote: I am working under the assumption that page/component resolution is scoped inside of a library. So that unqualified references (e.g. ComponentName versus myLibrary:ComponentName) are treated as local to the library. BTW - I am using tap 4.1.2. It looks like my

T4.1 - Override a configuration when no service is used

2007-09-14 Thread carlos f
I would like to override the InjectPageWorker used by the tapestry framework. However, the contribution for this worker uses the instance object provider: contribution configuration-id=InjectWorkers . . . worker type=page object=instance:InjectPageWorker / /contribution When I

Re: Integration testing Tapestry 4 applications

2007-08-22 Thread carlos f
Hugo, Have you run into any snags using this in the past month? Carlos -- View this message in context: http://www.nabble.com/Integration-testing-Tapestry-4-applications-tf3927683.html#a12283397 Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Using Hibernate detached objects in Tapestry (thread-safety question)

2007-06-19 Thread carlos f
Sorry, my questions have nothing to do with Tapestry - put a few things you mentioned piqued my interest. Norman Franke wrote: In my case, my DAO has an assertUnchanged method that throws an exception if the two objects differ, e.g. my detached object and the one read from the database.

Tapestry-Acegi - carmanconsulting.com not responding

2007-06-06 Thread carlos f
Not sure if there is an issue on my end, but the the tapestry-acegi URL is not responding -- http://www.carmanconsulting.com/tapestry-acegi/ Also I can't seem to get anonymous access working to the svn repo - http://svn.javaforge.com/svn/tapestry/tapestry-acegi/trunk I am also having general

Unit Testing EnhancementWorkers

2007-06-04 Thread carlos f
I have written an enhancement worker that adds some conditional logic to a component. The unit tests I have written rely on mock objects to verify the behavior under test is appropriate. This is similar to the design of the unit tests in the tapestry-framework project. look at testStandard()

Re: Unit Testing EnhancementWorkers

2007-06-04 Thread carlos f
Howard Lewis Ship wrote: But an integration test (either relatively contained, such as creating the EnhancementOperationImpl, or wider, such as firing up the app and testing with selenimum) is the only worthwhile way to ensure that generated code is correct. I would like to as tightly