RE: Custom field, fckEditor, rendering order

2011-04-19 Thread Jim O'Callaghan
Thanks Thiago - working now - simple when you know how! Regards, Jim. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Custom field, fckEditor, rendering order

2011-04-19 Thread Jim O'Callaghan
I'm having some trouble with the rendering of a custom field - I'm hoping someone can give me a steer on the order of interpretation / execution during rendering. When I use the T5EasyFCKEditor in a .tml as follows: ... it works as expected and the textarea is decorated / enhanced. When I tr

RE: Possible error in Tapestry.js

2011-04-12 Thread Jim O'Callaghan
Thanks Richard – it doesn’t appear to be a million miles off – in my case the POST does get made also, but as you say, it’s not ideal. Any other suggestions for a fix / workaround welcome. The JS in tapestry.js looks pretty gritty. Regards, Jim. --

RE: Possible error in Tapestry.js

2011-04-12 Thread Jim O'Callaghan
Can any of the Tapestry committers vet this before I add a JIRA - thanks. Regards, Jim. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

RE: Possible error in Tapestry.js

2011-04-12 Thread Jim O'Callaghan
Thanks for the link Taha. Not sure if the fix for this is external, or if there should be some kind of try/catch in Tapestry JS that uses $(this.form) as a fallback. Regards, Jim. - To unsubscribe, e-mail: users-unsubscr...@tap

Possible error in Tapestry.js

2011-04-11 Thread Jim O'Callaghan
I'm getting an error using IE8 upon form submission - the error appears to be Tapestry.js (from T5.2.4) line 1545 - Error: Object doesn't support this property or method if (this.form.getInputs("hidden", "t:formdata").size() == 0) The only methods listed as available for this.form within the IE8

RE: Debugging variables

2011-04-11 Thread Jim O'Callaghan
Thiago, Josh, Thanks for the replies. I’ll push through on 5.3-SNAPSHOT when I have time for maven shenanigans(!) Regards, Jim. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail:

Debugging variables

2011-04-11 Thread Jim O'Callaghan
Can anyone in the know advise on the JREs that best suit Tap 5.2.4 for debugging?  I’m using jdk1.6.0_21_x64 and finding a lot of things I try to put watches on or inspect using Eclipse (3.4.1) resolve to null, and I have to log them to get the true value – thanks. Regards, Jim.

RE: Popup PDF

2011-04-08 Thread Jim O'Callaghan
window. Or maybe a mixin would work if you want to add your own js to an action or page link? Richard. On Fri, 2011-04-08 at 11:56 +0100, Jim O'Callaghan wrote: > I have a requirement to generate a PDF based on some submitted form data in > a 'detail' page, and then p

Popup PDF

2011-04-08 Thread Jim O'Callaghan
I have a requirement to generate a PDF based on some submitted form data in a 'detail' page, and then pop up the PDF in a new tab/window while at the same time returning from the 'detail' page to a 'summary' page. I don't want to pollute the summary page with any code related to opening the PDF in

RE: Logon notification

2011-03-31 Thread Jim O'Callaghan
a guess that indeed you would need to do some configuration through tapestry-ioc.  Can I assume that the events that you do see are from services that you have configured entirely in Spring? Regards, Jonathan On Wed, Mar 30, 2011 at 12:14 PM, Jim O'Callaghan wrote: > Hi David, > &

SPAM filter for mailing list

2011-03-30 Thread Jim O'Callaghan
Is anyone else having issues with the spam filter in use for the list - I'm finding I have to send emails two or three times before they stop bouncing back, and usually I end up just alternating between html, rich text, and finally plain text before it gets through, without changing the content or

RE: Logon notification

2011-03-30 Thread Jim O'Callaghan
Hi David, Is there something specific in the ApplicationListener approach you require?  I use TSS and have a login page that in its onSuccess method sends a redirect like so: @Inject private HttpServletResponse response; . . .      Object onSuccess() throws IOException      {

RE: Dateformat

2011-03-25 Thread Jim O'Callaghan
Please ignore - I changed this to use the tapx datepicker instead and found the problem wasn’t the locale setup – I have a locale switcher in place and when the locale is changes to ex. ‘es’ the date format is correct for both the standard date field / date picker return value. The locales I am

Dateformat

2011-03-25 Thread Jim O'Callaghan
Can anyone advise on whether there is a global format setting that can be applied for date fields throughout a tap application - I don't want to have to specify the format for every field - thanks. Regards, Jim.

RE: Modalbox Integration Example

2011-03-25 Thread Jim O'Callaghan
This looks very handy Taha thanks for sharing - I'm thinking of trying it in a page and was wondering if you had gotten around to posting the support for zone updates anywhere? Thanks. Regards, Jim. - To unsubscribe, e-mail: use

RE: [OT] encoding of properties files

2011-03-04 Thread Jim O'Callaghan
2nd try to get through spam filter... Perhaps the text editor you are using for editing your property files and templates is not character code aware, for instance old versions of Notepad. If you are using Eclipse for editing these files it may be set to auto-detect the character encoding, and

RE: T.5.2.x Possible page pooling removal impact query

2011-01-23 Thread Jim O'Callaghan
Thanks Josh. I think some of the fields I was concerned about ex. private final Pattern validatorPattern = Pattern.compile(VALIDATOR_PATTERN); would just be final, and not static - probably wasn't giving solid enough examples, but I have enough to go on now, and have identified a small number of

RE: T.5.2.x Possible page pooling removal impact query

2011-01-22 Thread Jim O'Callaghan
Thanks for the feedback Thiago. Regards, Jim. -Original Message- From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] Sent: 22 January 2011 02:47 To: Tapestry users Subject: Re: T.5.2.x Possible page pooling removal impact query > Anyone care to have a quick glance at the att

RE: T.5.2.x Possible page pooling removal impact query

2011-01-22 Thread Jim O'Callaghan
Thanks for the feedback Donny. The code excerpts are a few taken from various support classes (not page classes, though they are used throughout the app including within page classes) with static members / methods grouped under various contexts (date / number / string utils etc.) The logger is sl

T.5.2.x Possible page pooling removal impact query

2011-01-21 Thread Jim O'Callaghan
The spam filter has blocked this email up to the 4th attempt so I've put most of it into the attached text file. The query relates to thread safety, specifically the example in the T.5.2.0 release notes (http://tapestry.apache.org/release-notes-52.html#ReleaseNotes5.2-Tap5.2.0) Anyone care to hav

T.5.2.x Removal of page pooling impact

2011-01-21 Thread Jim O'Callaghan
The spam filter keeps blocking this email (4th attempt) so it is mostly in the attached txt file.

RE: Grid with Scroll synchronization + Customization

2010-12-28 Thread Jim O'Callaghan
Also, if your grid is displaying many entities and those entities contains many eager-loaded relations, you are retrieving a lot of data that may not be necessary. Perhaps you should consider a view-only entity that is restricted to the actual displayed columns, and retrieve those entities with so

RE: Grid with Scroll synchronization + Customization

2010-12-24 Thread Jim O'Callaghan
Can you wrap the grid in a div with fixed height / width and set its overflow css property to "both"? Specify a pager for both the top and bottom of the grid and use some custom css to make their positions absolute? I'm not sure there is a need to be altering the GridDataSource for this requiremen

RE: Strange behaviour of jetty

2010-12-22 Thread Jim O'Callaghan
There are also some previous posts related to file-locking under Jetty that may be relevant to this problem. There are config workarounds suggested in some previous posts if you search for file locking. Regards, Jim. -Original Message- From: Thiago H. de Paula Figueiredo [mailto:thiag.

RE: help with bug TAP5-587

2010-12-22 Thread Jim O'Callaghan
When you say at the end of your email that Tapestry rendered the loop even if the condition is false, how are you checking the condition? Have you tried using the question mark operator in your output loop / condition to stop output if an item is null? Ex.: ... where if any of the hierarchy is

RE: Image file upload with Easy FCKEditor

2010-12-12 Thread Jim O'Callaghan
Thanks for the response Ville. I'll try to get a test case / project up over the next few days. Out of interest, are you saying the php used within the core fckeditor to populate the dialog in Image Properties --> Browse Server is completely replaced by your tapestry integration layer? I've foun

RE: Image file upload with Easy FCKEditor

2010-12-11 Thread Jim O'Callaghan
share your settings - I can 't seem to get anything but the connector.php served as source from Jetty, rather than quercus compiling / interpreting it. Regards, Jim. -Original Message- From: Jim O'Callaghan [mailto:jc1000...@yahoo.co.uk] Sent: 10 December 2010 22:51 To: '

RE: Image file upload with Easy FCKEditor

2010-12-10 Thread Jim O'Callaghan
Hi, did you ever get a workaround for this? From looking around I can see there are various fixes involving .htacess files / mods to php config but was hoping there was something obvious within Easy FCKEditor itself ... Regards, Jim. -Original Message- From: Alex W. Croton [mailto:acro..

RE: Memory creep

2010-11-03 Thread Jim O'Callaghan
he heavy use of PermGen space, especially under development. Java is very reticent about GC'ing PermGen, even when you request a GC explicitly. On Wed, Nov 3, 2010 at 6:29 AM, Jim O'Callaghan wrote: > Thanks for the suggestions guys. Josh was right in that what I was seeing >

RE: Memory creep

2010-11-03 Thread Jim O'Callaghan
Thanks for the suggestions guys. Josh was right in that what I was seeing was not a problem, just what I thought was a problem. I reduced my heap from about 1.5GB down to 512MB and saw GC happening as expected and no OOMEs with a moderate consistent load on the app. I think I got the idea tha

RE: Memory creep

2010-10-29 Thread Jim O'Callaghan
ers Subject: Re: Memory creep Can you run it with a profiler? Something like Yourkit will tell you what is being used. Also, have you forced garbage collection? It doesn't sound like you're getting OOM so maybe you've got garbage laying around? On 29 Oct 2010 08:36, "Jim O

Memory creep

2010-10-29 Thread Jim O'Callaghan
I'm testing a Tapestry app running under Jetty on Windows using multiple Selenium IDE sessions and have noticed a creep of about 130MB RAM per hour on my java exe when running through a test loop that logs in to the app, runs through some expected user behaviour (some search screens, detail screens

RE: Objects session persistance and validation

2010-10-23 Thread Jim O'Callaghan
I'm not sure if this is relevant to your current problem, but to tell Tapestry which constructor to use for the bean editor, you should annotate the default (no args) constructor with @Inject - this will allow the BEF to create the relevant entity if none if present. Hope this helps. Regards, Jim

RE: write raw attributes

2010-10-19 Thread Jim O'Callaghan
Is something like: ... of any use? Do you mean in .tml? Regards, Jim. -Original Message- From: Arming, Sebastian [mailto:sebastian.arm...@oeaw.ac.at] Sent: 19 October 2010 16:12 To: us...@tapestry Subject: write raw attributes Hi, is there a convenient way to output unescaped attri

RE: T5 Customize Returned List.

2010-10-19 Thread Jim O'Callaghan
I'm surprised Tapestry didn't complain when you have an annotation @Property on the item and also a matching explicit getter. In the .tml I think you should use distinct naming for the source and value arguments as the behavior might not be what you expect otherwise (T5 is case insensitive in this

RE: [T5] Complexity for simple things, where is the documentation?

2010-10-17 Thread Jim O'Callaghan
For your specific use case, displaying the server time on the page, would you not be better off to initialize a value to the current server time upon initial page display, and then use a JS widget to increment/refresh the time field on the client side? This would save a lot of unnecessary network

RE: Component to format null values

2010-10-14 Thread Jim O'Callaghan
estry users Subject: Re: Component to format null values you opened my eyes. Thanks. On Thu, Oct 14, 2010 at 12:21 PM, Jim O'Callaghan wrote: > I think you can use the format: > > > > ... where if any of the hierarchy is null is will stop trying to evaluate > methods

RE: Component to format null values

2010-10-14 Thread Jim O'Callaghan
I think you can use the format: ... where if any of the hierarchy is null is will stop trying to evaluate methods / properties on subordinates, avoiding your NPE. Regards, Jim. -Original Message- From: Dmitriy Vsekhvalnov [mailto:dvsekhval...@gmail.com] Sent: 14 October 2010 09:01 To:

RE: [T5.2] Constructor issue

2010-10-05 Thread Jim O'Callaghan
I thought you should annotate the constructor you want the BEF to use with: @Inject ... to let Tap know which constructor to use. Regards, Jim. -Original Message- From: Michal Gruca [mailto:michalgr...@gmail.com] Sent: 05 October 2010 14:09 To: users@tapestry.apache.org Subject: [T5.2]

RE: TapX / YUI / Tap 5.2.0

2010-10-05 Thread Jim O'Callaghan
options, you have to customize it and add some config toolbar options : http://developer.yahoo.com/yui/editor/ Regards, Laurent GUÉRIN -Message d'origine- De : Jim O'Callaghan [mailto:jc1000...@yahoo.co.uk] Envoyé : mardi 5 octobre 2010 10:56 À : 'Tapestry users' Obje

RE: Creating Grid component at runtime

2010-09-26 Thread Jim O'Callaghan
properties for the include/exclude parameter of the grid by taking them from the query. Regards, Jim. -Original Message- From: Jim O'Callaghan [mailto:jc1000...@yahoo.co.uk] Sent: 26 September 2010 15:55 To: 'Tapestry users' Subject: RE: Creating Grid component at runtime Can y

RE: Creating Grid component at runtime

2010-09-26 Thread Jim O'Callaghan
Can you use a helper class that contains getters for all the possible fields you require, and them dynamically build a comman delimited "include" (or "exclude") string, that you pass to your grid using include/exclude via a page property? Regards, Jim. -Original Message- From: kamath_svk

RE: PropertyEditContext not available from Environment

2010-09-23 Thread Jim O'Callaghan
not so stretched for time. Thanks again. Regards, Jim. -Original Message- From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] Sent: 23 September 2010 17:27 To: Tapestry users Subject: Re: PropertyEditContext not available from Environment On Thu, 23 Sep 2010 12:50:47 -0300,

RE: PropertyEditContext not available from Environment

2010-09-23 Thread Jim O'Callaghan
[mailto:thiag...@gmail.com] Sent: 23 September 2010 14:11 To: Tapestry users Subject: Re: PropertyEditContext not available from Environment On Thu, 23 Sep 2010 09:25:14 -0300, Jim O'Callaghan wrote: > Thanks Thiago. I'll file a JIRA after I come up with a workaround. I >

RE: PropertyEditContext not available from Environment

2010-09-23 Thread Jim O'Callaghan
: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] Sent: 23 September 2010 13:03 To: Tapestry users Subject: Re: PropertyEditContext not available from Environment On Thu, 23 Sep 2010 07:22:43 -0300, Jim O'Callaghan wrote: > Thanks Thiago. Can you clarify one last thing for me

RE: PropertyEditContext not available from Environment

2010-09-23 Thread Jim O'Callaghan
19:48:08 -0300, Jim O'Callaghan wrote: > Thanks for the reply Thiago. Could you give me a pointer on where / how > in the cycle to push and then pop the PropertyEditContext into / out of > the Environment, or point to any resource I could work through as an > example? A

RE: PropertyEditContext not available from Environment

2010-09-22 Thread Jim O'Callaghan
: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] Sent: 22 September 2010 23:44 To: Tapestry users Subject: Re: PropertyEditContext not available from Environment On Wed, 22 Sep 2010 19:20:30 -0300, Jim O'Callaghan wrote: > No object of type org.apache.t

PropertyEditContext not available from Environment

2010-09-22 Thread Jim O'Callaghan
I have a custom data type that I am displaying / updating successfully in beanDisplays and beanEditForms, after making BeanBlockContributions for edit and display, and also using a CustomPropertyEditor that defers environment.pop(PropertyEditContext.class) until after rendering is complete. Recent

@Translate annotation

2010-09-19 Thread Jim O'Callaghan
I'm have a NumberFormatBinding service as outlined on this list previously ,to mask numeric fields for display with a format mask ex. I noticed in T5.2.0 there is an @Translate annotation - rather than using specifying the translator repeatedly in various tml files, is there some way I ca

RE: Enum mask

2010-09-13 Thread Jim O'Callaghan
Thanks Thiago - I'll give that a shot. Regards, Jim. -Original Message- From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] Sent: 13 September 2010 18:26 To: Tapestry users Subject: Re: Enum mask On Mon, 13 Sep 2010 14:03:05 -0300, Jim O'Callaghan wrote: >

RE: Enum mask

2010-09-13 Thread Jim O'Callaghan
ember 2010 17:43 To: Tapestry users Subject: Re: Enum mask No, in that case, you'd want to create your own SelectModel and populate it. You may inject and use the SelectModelFactory service to help with this. On Mon, Sep 13, 2010 at 9:15 AM, Jim O'Callaghan wrote: > Tapestry pro

Enum mask

2010-09-13 Thread Jim O'Callaghan
Tapestry provides a very handy facility for presenting enums as drop down lists for display - is there anything built-in that allows certain values for the enum to be hidden from the generated drop down list? Ex. where a status transition follows a strict order where A can be progressed to B and t

RE: [T5.2] Classloader problem with a service

2010-09-10 Thread Jim O'Callaghan
Andy, I haven't tried this but apparently: public static void bind(ServiceBinder binder) { binder.bind(MyInterface.class, MyImplementation.class).preventReloading(); } ... should work - referenced here: http://tapestry.markmail.org/message/honjlvrqljdjparp?q=service+reload+disab le Reg

RE: Invoke Web Service from T5

2010-09-06 Thread Jim O'Callaghan
Nevermind this query - I got something sufficient working using JS and XMLHttpRequest/Microsoft.XMLHTTP/Msxml2.XMLHTTP - no WS client needed. Regards, Jim. -Original Message- From: Jim O'Callaghan [mailto:j...@peritussolutions.com] Sent: 04 September 2010 22:15 To: 'Tape

Invoke Web Service from T5

2010-09-04 Thread Jim O'Callaghan
Has anyone an example of the following they could share? I have a need to take some xml (a WS message) from a textarea submitted from within a Tapestry page, forward the xml to an external public webservice, the url of which is known, take the response from the webservice invocation and return it

RE: [T5.2] No object of type ClientBehaviorSupport is available from the Environment

2010-09-03 Thread Jim O'Callaghan
clientBehaviorSupport, "after:JavaScriptSupport"); configuration.add("Heartbeat", heartbeat, "after:RenderSupport"); configuration.add("DefaultValidationDecorator", defaultValidationDecorator, "after:Heartbeat"); Why did this change

RE: General debugging query

2010-09-02 Thread Jim O'Callaghan
: General debugging query On Thu, 02 Sep 2010 11:53:53 -0300, Jim O'Callaghan wrote: > Does this debugging issue ring a bell with anyone? Any workarounds? Is > it down to using T5 annotations on methods and them being instrumented? Access to annotated fields in Tapestry 5 a

RE: [T5.2] No object of type ClientBehaviorSupport is available from the Environment

2010-09-02 Thread Jim O'Callaghan
Can't reproduce Andy and not a solution I'm afraid, but can you try to run the app through your non-Eclipse environment with debug mode set on the JVM and remote debug it using Eclipse on a socket / shared mem? Perhaps this would give you some more info. Regards, Jim. -Original Message-

General debugging query

2010-09-02 Thread Jim O'Callaghan
I'm using Eclipse 3.4.1 and debugging with a variety of JVMs from late 1.4s to 1.6+ -I'm finding that the mouseover popups or watch variables frequently evaluate variables as null in, say, some page method, but then if I follow the debugger through to the service / DAO layer I can get a correct val

RE: Submitting XML via a T5 form

2010-09-02 Thread Jim O'Callaghan
age or model, if you display/redisplay the form, it should render properly. I don't think you need anything special w/ CDATA in your case. Regards, Alex K On Wed, Sep 1, 2010 at 8:28 AM, Jim O'Callaghan wrote: > Can anyone advise on the best approach to submitting XML via a T5

Submitting XML via a T5 form

2010-09-01 Thread Jim O'Callaghan
Can anyone advise on the best approach to submitting XML via a T5 form? I have a requirement to allow the user to submit XML via a form field - this XML is then persisted in the database. What approach to CDATA etc. can I use to ensure the form is posted / redisplayed correctly? Is there any bui

RE: OT: Web Services

2010-08-30 Thread Jim O'Callaghan
legant approach, although I made a few inquiries on this list in the past. Cheers, Peter - Original Message - From: "Jim O'Callaghan" To: "Tapestry users" Sent: Monday, 30 August, 2010 10:52:44 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: RE: OT: Web

RE: OT: Web Services

2010-08-30 Thread Jim O'Callaghan
approach, although I made a few inquiries on this list in the past. Cheers, Peter - Original Message - From: "Jim O'Callaghan" To: "Tapestry users" Sent: Monday, 30 August, 2010 10:52:44 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: RE: OT: Web

RE: OT: Web Services

2010-08-30 Thread Jim O'Callaghan
know of many projects using CXF without complaints. I'd say that CXF > is > > probably a good way to go. > > > > On Sun, Aug 29, 2010 at 1:35 PM, Jim O'Callaghan > > wrote: > > > >> I'm aware this is off topic, but since there are

RE: OT: Web Services

2010-08-30 Thread Jim O'Callaghan
ervices Second that. CXF is the successor to XFire and its solid. Kalle On Sun, Aug 29, 2010 at 3:56 PM, Daniel Honig wrote: > I know of many projects using CXF without complaints.  I'd say that CXF is > probably a good way to go. > > On Sun, Aug 29, 2010 at 1:35 PM, Jim O

RE: OT: Web Services

2010-08-30 Thread Jim O'Callaghan
.s...@gmail.com] Sent: 29 August 2010 19:07 To: Tapestry users Subject: Re: OT: Web Services On Sun, 29 Aug 2010 19:35:11 +0200, Jim O'Callaghan wrote: > I'm aware this is off topic, but since there are so many people on the > list > with a broad skill set am hoping

OT: Web Services

2010-08-29 Thread Jim O'Callaghan
I'm aware this is off topic, but since there are so many people on the list with a broad skill set am hoping I can learn from their experiences / heartbreak. I am evaluating various WS stacks for interfacing with a system - currently I am using XFire as it requires very little configuration and pe

RE: [5.2.0] all our apps completly broken in IE8 (numerous javascript errors)

2010-08-28 Thread Jim O'Callaghan
Andy, Not posting a fix unfortunately but we too are using the X-UA-Compatible meta tag for IE 8 - the problems we were having were related to the pager on inplace grids not working without a manual refresh, though we don't have too much custom JS so no other show stoppers so far. We also have s

RE: Blog post about T5 exception handling on GAE

2010-08-27 Thread Jim O'Callaghan
Dmitry, >From an example in an earlier post on this list, I use the approach of having: configuration.add(SymbolConstants.PRODUCTION_MODE, "true"); in my AppModule, so that by default production mode is always set to true for deployments, and then for any run/debug configurations in the develop

RE: OT: Debugging Tapestry Apps using Eclipse

2010-08-24 Thread Jim O'Callaghan
head it sounds like you might have a method breakpoint set.. Have you tried clearing all of your breakpoints? -- Josh On Aug 24, 2010, at 10:19 AM, "Jim O'Callaghan" wrote: > I'm facing an issue with my Eclipse IDE (3.4.1) and thought I would check if > anyone has fa

OT: Debugging Tapestry Apps using Eclipse

2010-08-24 Thread Jim O'Callaghan
I'm facing an issue with my Eclipse IDE (3.4.1) and thought I would check if anyone has faced the same issue / has a possible solution. I'm not sure when this started (last few weeks) but I'm seeing a difference in performance of over 10x between 'Run' and 'Debug' targets under Eclipse - getting t

RE: Selct object which depends on other select object

2010-08-24 Thread Jim O'Callaghan
http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/ta pestry5/corelib/components/Select.html might help - see SelectZoneDemo - this may be T.5.2.0 and up. Regards, Jim. -Original Message- From: tas85 [mailto:tassada...@gmail.com] Sent: 23 August 2010 17:20 To: user

RE: for IE

2010-08-05 Thread Jim O'Callaghan
Thanks Michael. I've decided against using it also, and am sticking with submits and styled anchors. Regards, Jim. -Original Message- From: Michael Gentry [mailto:mgen...@masslight.net] Sent: 05 August 2010 14:54 To: Tapestry users Subject: Re: for IE I'm jumping into this quite late

RE: for IE

2010-08-04 Thread Jim O'Callaghan
e;" IE wouldn't navigate to the href indicated by the anchor. Regards, Jim. -Original Message- From: Kalle Korhonen [mailto:kalle.o.korho...@gmail.com] Sent: 04 August 2010 23:30 To: Tapestry users Subject: Re: for IE On Wed, Aug 4, 2010 at 2:32 PM, Jim O'Callaghan wrote: &g

RE: for IE

2010-08-04 Thread Jim O'Callaghan
59 To: Tapestry users Subject: Re: for IE ok, but i have to ask cause that's another new on for me... You're saying that if you have and you click on the button that both the form is submitted AND the browser is navigated to the href ?? On Wed, Aug 4, 2010 at 21:26, Jim O'Callagh

RE: for IE

2010-08-04 Thread Jim O'Callaghan
Wed, Aug 4, 2010 at 19:49, Jim O'Callaghan wrote: > Thanks Ville.  I will use the pageLink method where the context is created > within the java file - the page linked to may also be dynamic, so will also > need to be passed.  A shame IE treats differently. > > Regards, > Jim

RE: for IE

2010-08-04 Thread Jim O'Callaghan
, value2...} from the java method. () - Ville Jim O'Callaghan wrote: > > Can anyone advise on a good approach for IE's handling of the > tag? > I was using: > > > > ${returnPage} ${message:generic.continue-label} > > > > . in my t

RE: for IE

2010-08-04 Thread Jim O'Callaghan
Thanks Dragan but I need to make sure it works without JS - no choice. Regards, Jim. -Original Message- From: Dragan Sahpaski [mailto:dragan.sahpas...@gmail.com] Sent: 04 August 2010 15:35 To: Tapestry users Subject: Re: for IE I use, Cheers On Wed, Aug 4, 2010 at 4:09 PM, Jim

for IE

2010-08-04 Thread Jim O'Callaghan
Can anyone advise on a good approach for IE's handling of the tag? I was using: ${message:generic.continue-label} . in my tml with: Public Link getReturnPage(){.} . in my associated java class until I found IE doesn't behave the same way as Chrome / FF. I am trying to avoid having

RE: final version of Tapestry 5.2

2010-07-30 Thread Jim O'Callaghan
On Fri, Jul 30, 2010 at 1:57 AM, Jim O'Callaghan wrote: > Kalle, > > This is more a maven question than Tapestry, but you mentioned a 'frozen' > snapshot below - in my pom the only snapshot version I have is T5.2.0 - the > other dependencies are all release version

RE: JasperReports / Chenillekit-reports documentation

2010-07-30 Thread Jim O'Callaghan
You've probably already checked, but in case not - have you had a look at the JasperReports pom? Perhaps there are dependencies it references that need to be explicitly excluded in your pom to stop interfering with your other project dependencies? Regards, Jim. -Original Message- From

RE: final version of Tapestry 5.2

2010-07-30 Thread Jim O'Callaghan
Kalle, This is more a maven question than Tapestry, but you mentioned a 'frozen' snapshot below - in my pom the only snapshot version I have is T5.2.0 - the other dependencies are all release versions - I'm currently running with maven offline as I don't like surprises - how do you 'freeze' at a c

RE: blackbird.js and IE breaking fixed CSS background image

2010-07-22 Thread Jim O'Callaghan
anyone shed some light towards a reasonable way to decorate the ClientInfrastructure so I can swap the blackbird.js? I find it hard to believe decoration is this complicated. Thanks, Rich Jim O'Callaghan wrote: > Rich, > > I'm on T5.2.0 so the code has been updated ac

RE: non thread safe access to session

2010-07-22 Thread Jim O'Callaghan
38 AM, Jim O'Callaghan wrote: > I do get direct access to the session from the under a very specific > circumstance to allow me to commit a separate transaction unconditionally, > to facilitate keeping a pre-allocated batch of keys in memory - I can't have > this transaction r

RE: blackbird.js and IE breaking fixed CSS background image

2010-07-22 Thread Jim O'Callaghan
uly 2010 16:32 To: Tapestry users Subject: Re: blackbird.js and IE breaking fixed CSS background image Hi, attempt 6 at getting through spam blocker. I used the code mentioned but the "original" object from the decorate method is always null. I'm not sure what to do about that? -Rich

RE: non thread safe access to session

2010-07-22 Thread Jim O'Callaghan
ully that will do it. Thanks for the tips guys. I'm curious why you'd need to synchronize anything to do what you've described. You shouldn't be getting any cross-thread access to a single session. -- Josh On Jul 22, 2010, at 1:16 AM, "Jim O'Callaghan" wro

RE: non thread safe access to session

2010-07-22 Thread Jim O'Callaghan
about handling session-managed objects that get accessed from different threads. Can you detach your objects before allowing other threads to access them? Regards, Jonathan On Wed, Jul 21, 2010 at 1:29 PM, Jim O'Callaghan wrote: > Yep Thiago, it's Tapestry-Hibernate creating the

RE: non thread safe access to session

2010-07-21 Thread Jim O'Callaghan
eiredo [mailto:thiag...@gmail.com] Sent: 21 July 2010 18:22 To: Tapestry users Subject: Re: non thread safe access to session On Wed, 21 Jul 2010 13:58:15 -0300, Jim O'Callaghan wrote: > Hi Thiago, Hi, Jim! > I'm talking about the hibernate session - I'm injecting it into

RE: non thread safe access to session

2010-07-21 Thread Jim O'Callaghan
Hi Thiago, I'm talking about the hibernate session - I'm injecting it into the constructor of Service B at bind time. I thought Tapestry would treat the service as a thread safe singleton and control access to method calls on it accordingly? Am I getting confused on that? Regards, Jim.

non thread safe access to session

2010-07-21 Thread Jim O'Callaghan
I have a service (service A) that creates some sample data, consisting of a reasonably detailed object graph where all the relations are cascaded. This service makes use of another service (service B) which manages the save of the parent entity. Service B has the hibernate session injected at bin

RE: redirecting from an ajax event listener

2010-07-21 Thread Jim O'Callaghan
As an alternative I think you contribute your own access control dispatcher: AppModule.java . . . public void contributeMasterDispatcher( OrderedConfiguration configuration, @InjectService("AccessControlDispatcher") Dispatcher accessController)

RE: blackbird.js and IE breaking fixed CSS background image

2010-07-20 Thread Jim O'Callaghan
iptStack list, as a path like generic assets/package/name/asset.filetype ? I'm guessing you were the guy who mentioned the blackbird issue in the first place since your name is also Jim. Thanks for the help so far. Thanks, Rich Jim O'Callaghan wrote: > See this post for a possibl

RE: blackbird.js and IE breaking fixed CSS background image

2010-07-20 Thread Jim O'Callaghan
See this post for a possible workaround: http://markmail.org/message/fsu22hjz4bxvpczb?q=list:org%2Eapache%2Etapestry% 2Eusers+MyClientInfrastructure I don't know why this hasn't been raised more often as an issue with blackbird and IE. I think blackbird has been removed from T5.2.0 in favour of

RE: Best practise for bloated utility methods location

2010-07-19 Thread Jim O'Callaghan
...@gmail.com] Sent: 19 July 2010 15:59 To: Tapestry users Subject: Re: Best practise for bloated utility methods location On Mon, 19 Jul 2010 11:24:20 -0300, Jim O'Callaghan wrote: > I have a 'base' Page class that has behaviour used throughout a large > section of appl

RE: t:grid, inPlace and rowIndex

2010-07-18 Thread Jim O'Callaghan
- > From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] > Sent: 15 July 2010 22:49 > To: Tapestry users > Subject: Re: t:grid, inPlace and rowIndex > > On Thu, 15 Jul 2010 18:25:03 -0300, Jim O'Callaghan > wrote: > >> I'm using the grid t

RE: t:grid, inPlace and rowIndex

2010-07-16 Thread Jim O'Callaghan
g...@gmail.com] Sent: 15 July 2010 22:49 To: Tapestry users Subject: Re: t:grid, inPlace and rowIndex On Thu, 15 Jul 2010 18:25:03 -0300, Jim O'Callaghan wrote: > I'm using the grid to display a selection where one of the cells is an > ActionLink that currently passes the enti

RE: t:grid, inPlace and rowIndex

2010-07-15 Thread Jim O'Callaghan
g to accomplish, specifically? Ie, why do you need the row index when you're not rendering? Robert On Jul 15, 2010, at 7/154:07 PM , Jim O'Callaghan wrote: > Is there an in-built solution for a row index in the t:grid that survives > sorting and works with inPlace="tru

t:grid, inPlace and rowIndex

2010-07-15 Thread Jim O'Callaghan
Is there an in-built solution for a row index in the t:grid that survives sorting and works with inPlace="true" - I'm currently getting the error "Component X/Y/Zs is not rendering, so render variable 'rowIndex' may not be updated upon sorting". I'm trying to get something that tells me the curren

RE: [Tapestry Central] Everyone out of the Pool! Tapestry goes singleton!

2010-07-15 Thread Jim O'Callaghan
This looks very interesting Howard. Is this something that is going into T5.2.0 sometime soon or is it already present? Regards, Jim. -Original Message- From: Howard [mailto:hls...@gmail.com] Sent: 15 July 2010 00:31 To: users@tapestry.apache.org Subject: [Tapestry Central] Everyone out

  1   2   3   >