Re: T5 clientIds for elements in a block/zone

2009-10-06 Thread Julian Wood
Another option which avoids reliance on class name: $$('[id^=techFirstName]')[0] J

Re: T5:how to do initialization work when custom component was called?

2009-09-25 Thread Julian Wood
I also find this JumpStart page invaluable: http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/navigation/whatiscalledandwhen J On Fri, Sep 25, 2009 at 10:58 AM, Andreas Andreou wrote: > There's a nice diagram at > http://tapestry.apache.org/tapestry5/guide/rendering.html > > And th

Re: T5 - Configuration and .tml Files are Exposed By Tapestry.

2009-07-22 Thread Julian Wood
You can secure the directory listing too: public static void contributeMasterDispatcher(OrderedConfiguration configuration) { configuration.addInstance("DirectoryAsset", DirectoryAssetDispatcher.class, "before:Asset"); } public class DirectoryAssetDispatcher implements Dis

Re: T5 - Configuration and .tml Files are Exposed By Tapestry.

2009-07-21 Thread Julian Wood
We're seeing the same problem - in 5.0.18 as well. One solution: private static final HashSet protectedAssets = new HashSet(Arrays.asList("class", "tml", "properties", "sql", "xml")); public void contributeHttpServletRequestHandler (OrderedConfiguration configuration)

Re: Getting/Iterating through the information from the Grid

2009-07-06 Thread Julian Wood
Remember that bindings are just getters and setters. So take off the @Property annotation on your binding for your checkbox and replace with corresponding getter/setter. Now in getter/setter you can store/ query a map, usually of . ie your entity id and selected state. HTH, J On 6-Jul-09

Re: New module: tapx-plainmessage

2009-05-06 Thread Julian Wood
Is all of tapx designed to work with 5.0.18? Or did you just mean tapx- plainfield? http://tapestry.formos.com/nightly/tapx/tapx-datefield/ says it only works with 5.1 or higher. Thanks, J On May 4, 2009, at 6:13 PM, Howard Lewis Ship wrote: It's not something everyone needs. It was create

Re: automatic zone update

2009-05-05 Thread Julian Wood
I would check out Tapestry.activateZone (https://issues.apache.org/jira/browse/TAP5-569 ) and javascript's setInterval method (or prototype's PeriodicalExector). J On May 5, 2009, at 1:54 PM, Michael Dukaczewski wrote: I'm trying to create a zone which automatically updates itself after some

Re: T5: OutputLocaleNumber

2009-02-18 Thread Julian Wood
On our login page, we add some javascript to set a cookie which contains the timezone. @AfterRender public void setClientTimeZoneCookie() { StringBuilder sb = new StringBuilder(); sb.append("var expires = new Date();\n"); sb.append("expires.setTime(expires.getTim

Re: [T5]: query regarding streaming data

2008-12-15 Thread Julian Wood
It works fine. Try something like this: public class TestPage { public Object onPDF(Long id) { return new PDFStreamResponse(dao.getPDF(id)); } public Link getPDFLink() { return resources.createActionLink("pdf", false); } } public class PDFStreamResponse implemen

Re: [T5] Ajax request and expired session

2008-07-01 Thread Julian Wood
r. On Mon, Jun 30, 2008 at 11:08 AM, Julian Wood <[EMAIL PROTECTED]> wrote: I've been interested in a solution to this too. When I place a header in the response object in an AJAX handler, however, it is always there, regardless of whether the application has timed out or not. The

Re: [T5] Ajax request and expired session

2008-06-30 Thread Julian Wood
I've been interested in a solution to this too. When I place a header in the response object in an AJAX handler, however, it is always there, regardless of whether the application has timed out or not. The AJAX response content is still just {}. Is it possible to tell from within the app wh

Re: t5: better way using Intellj with T5?

2008-05-22 Thread Julian Wood
/tapestry.apache.org/tapestry5/quickstart/ J On 22-May-08, at 8:10 PM, Angelo Chen wrote: some more info on adding maven config in run's dialog? thanks. Julian Wood wrote: We use it with jetty and maven. Just a standard directory structure - nothing special. To run jetty, add a ne

Re: t5: better way using Intellj with T5?

2008-05-22 Thread Julian Wood
We use it with jetty and maven. Just a standard directory structure - nothing special. To run jetty, add a new maven config in idea's run dialog - specify your pom (which configures the jetty plugin) and you're good to go. Debug works fine too, as does class reloading with a cmd/ctrl-f9. J

Re: [T5] Colons in element ids?

2008-04-24 Thread Julian Wood
Of course, IE7 doesn't recognize that escape character - I would imagine IE6 is the same - and so totally ignores the css rule. :-( J On Apr 22, 2008, at 2:05 PM, Julian Wood wrote: Sweet! That is a good solution. J On Apr 22, 2008, at 1:57 PM, Jason Lea wrote: or you could try lo

Re: [T5] Colons in element ids?

2008-04-22 Thread Julian Wood
Sweet! That is a good solution. J On Apr 22, 2008, at 1:57 PM, Jason Lea wrote: or you could try looking at the css spec... http://www.w3.org/TR/CSS21/syndata.html#escaped-characters and use the escape character \ :) example: #foo\:bar { color: red;} fubar Julian Wood wrote

Re: [T5] Colons in element ids?

2008-04-22 Thread Julian Wood
taken on because colons are not valid component id characters, so there's no chance of conflict. We'll have to look into an alternative; perhaps "." will work, or "$". Please add an issue to JIRA. On Tue, Apr 22, 2008 at 10:31 AM, Julian Wood <[EMAIL PROTECTED]>

[T5] Colons in element ids?

2008-04-22 Thread Julian Wood
5.0.12-SNAP If I make a form and put a form label combo in it: maxlength="15"/> It is rendered out like this: Username: How can I target the the label id with a css rule? #username:label { color: red; } is illegal - well it is a pseudo-class, like a:hover. I realize the

Re: tapestry hibernate breakage in Apr 6 5.0.12-SNAPSHOT

2008-04-07 Thread Julian Wood
Thanks Angelo, that was exactly it. J On Apr 6, 2008, at 9:59 PM, Angelo Chen wrote: Hi Julian, I've seen https://issues.apache.org/jira/browse/TAPESTRY-2247 closed, is it the reason for ur code not to work? Julian Wood wrote: The latest snapshot changed something with tapestr

tapestry hibernate breakage in Apr 6 5.0.12-SNAPSHOT

2008-04-06 Thread Julian Wood
The latest snapshot changed something with tapestry-ioc or tapestry- hibernate. I had an ApplicationInitializer in my AppModule: public static void contributeApplicationInitializer (OrderedConfiguration configuration, org.hibernat

Re: Re : Re : T5: Layout question

2008-04-03 Thread Julian Wood
Hey that's pretty nice. Solves https://issues.apache.org/jira/browse/TAPESTRY-2309 for me, anyway. J On 2-Apr-08, at 10:59 AM, Peter Beshai wrote: What if you try making the element the border object? Like so: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtm

Re: [FAQ] common design

2008-04-01 Thread Julian Wood
No, it doesn't work with pages. Please see https://issues.apache.org/jira/browse/TAPESTRY-2309 J On Mar 14, 2008, at 1:38 PM, Jesper Zedlitz wrote: Christian Koeberl wrote: The replacement of $content$ is the t:container construct (see https://issues.apache.org/jira/browse/TAPESTRY-1469).

Re: [T5] Ajax validation

2008-03-27 Thread Julian Wood
I think you need to do this yourself, using the builtin AJAX facilities, rather than using any of the builtin validation facilities. Say you were looking to make sure a username was unique on signup. Place an actionlink beside the field ("check availability"). The actionlink would need con

Re: Select box and validation

2008-03-25 Thread Julian Wood
haviour should at least be allowed by the Select component, if not made the default, without having to resort to this solution. I've filed a JIRA: https://issues.apache.org/jira/browse/TAPESTRY-2295 J On 24-Mar-08, at 3:32 PM, Julian Wood wrote: The situation is this: I have a select

Re: [t5] Validator question

2008-03-25 Thread Julian Wood
al library. But I'm pretty happy overall with this solution. J On 25-Mar-08, at 2:13 PM, Julian Wood wrote: Ok no worries. On a related note, where do you put the messages file for a custom validator? In the example below, which looks for a key called 'confirm', I hav

Re: [t5] Validator question

2008-03-25 Thread Julian Wood
kind of JavaScript template object that will be used to generate some kinds of JavaScript. Things have slowed down on 5.0 for a moment, while I work on an urgent client project (in Tapestry 5). On Tue, Mar 25, 2008 at 11:08 AM, Julian Wood <[EMAIL PROTECTED]> wrote: Not possible? Someti

Re: [t5] Validator question

2008-03-25 Thread Julian Wood
o I? Thanks. J On Mar 24, 2008, at 5:17 PM, Julian Wood wrote: How can you get access to an arbitrary Field from inside a Validator, given its id? In t4 it was relatively easy to grab the form and from there grab a field. Thanks, J

[t5] Validator question

2008-03-24 Thread Julian Wood
How can you get access to an arbitrary Field from inside a Validator, given its id? In t4 it was relatively easy to grab the form and from there grab a field. Thanks, J - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Select box and validation

2008-03-24 Thread Julian Wood
The situation is this: I have a select box in a form, and I want to make it required. This is simple enough, but the blank option disappears when the required validation is applied, client-side validation is not performed, and is indeed not needed, because there are no blank values. As a c

JSONObject problem and Autocomplete

2008-03-19 Thread Julian Wood
I was just extending Autocomplete, and I wanted to add a callback to the config, so I override the config: protected void configure(JSONObject config) { config.put("callback", "myMethod"); } and in my javascript I have: function myMethod(element, entry) { console.info(elem

Re: T5: HibernateSessionManager

2008-03-19 Thread Julian Wood
append after the method has exited. Josh On Tue, Mar 18, 2008 at 10:54 AM, Julian Wood <[EMAIL PROTECTED]> wrote: I have a UserService: public class UserServiceImpl implements UserService { private Session session; public UserServiceImpl(@InjectService("Session")Session s

Re: T5: HibernateSessionManager

2008-03-18 Thread Julian Wood
I have a UserService: public class UserServiceImpl implements UserService { private Session session; public UserServiceImpl(@InjectService("Session")Session session) { this.session = session; } public void save(User user) { session.save(user); } } I bind thi

Re: tapestry-core dependency problem?

2008-03-13 Thread Julian Wood
ion in Maven to omit a version number, but you can set up a kind of default in a parent POM. I can't say what's going on in your environment that it's picking up the wrong version. On Thu, Mar 13, 2008 at 10:03 AM, Julian Wood <[EMAIL PROTECTED]> wrote: I noticed my unit tes

tapestry-core dependency problem?

2008-03-13 Thread Julian Wood
I noticed my unit tests failed when switching from 5.0.11-SNAPSHOT to 5.0.12-SNAPSHOT with a classnamelocator exception. I then noticed that I was using tapestry-ioc-5.0.10 rather than the 5.0.12-SNAPSHOT. Upgrading that to 5.0.12-SNAPSHOT fixed the problem. The bug seems to be in the tapes

Re: [FAQ] common design

2008-03-12 Thread Julian Wood
oublenegative.com.au/jumpstart/ On 06/03/2008, at 4:53 AM, Julian Wood wrote: On Mar 5, 2008, at 10:26 AM, Christian Koeberl wrote: will render the tags (outside the ) every time the component is used (in another component, in my case). I just tried this out with 5.0.10 - with my test

Re: JumpStart 3.3.1 now available - fixes 3.3.0 bugs

2008-03-10 Thread Julian Wood
to me that JumpStart's code organization is very similar. Was there anything in particular that caught your eye, esp. anything that was confusing about it? Cheers, Geoff On 26/02/2008, at 6:19 AM, Julian Wood wrote: Thanks Geoff for continuing to make this available. It is proving

Re: tapestry-acegi example app question (solved)

2008-03-10 Thread Julian Wood
/example/entities/ UserDetailsBean.java On 10-Mar-08, at 5:18 PM, Julian Wood wrote: In the provided example for tapestry-acegi, I have a question about the GrantedAuthorityBean table. That is, if I add more users which share roles, each role will create a new row in the GAB table. How can

tapestry-acegi example app question

2008-03-10 Thread Julian Wood
In the provided example for tapestry-acegi, I have a question about the GrantedAuthorityBean table. That is, if I add more users which share roles, each role will create a new row in the GAB table. How can this be avoided? I've tried making the authority unique: @Table(uniqueConstraints =

Re: [FAQ] common design

2008-03-05 Thread Julian Wood
On Mar 5, 2008, at 10:26 AM, Christian Koeberl wrote: will render the tags (outside the ) every time the component is used (in another component, in my case). I just tried this out with 5.0.10 - with my test it doesn't render the tags. I checked in jumpstart 3.3.3 as well, and it has the

Re: [FAQ] common design

2008-03-04 Thread Julian Wood
Does this actually work properly? I tried with 5.0.10 and 5.0.11- SNAPSHOT. A component like this: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd "> ${page} will render the tags (outside the ) every time the component is used (in another component, in my case). I checked in

Re: JumpStart 3.3.1 now available - fixes 3.3.0 bugs

2008-02-25 Thread Julian Wood
Thanks Geoff for continuing to make this available. It is proving to be an invaluable resource in getting up to speed on Tap 5. If I could make one suggestion, it would be to organize the code as Howard has done for the quickstart tutorial. Nevertheless, thanks again for all your efforts!

Re: T5: quickstart archetype problem and solution

2008-02-19 Thread Julian Wood
0-alpha-1, which will fail the quickstart. So another way to fix the problem is to change the maven-metadata- central.xml file so that 1.0-alpha-7 is used. J On 19-Feb-08, at 8:11 PM, Angelo Chen wrote: oic, but i have used 2.0.7, and now 2.0.8, it seems working fine? Maven version: 2.0.

Re: T5: quickstart archetype problem and solution

2008-02-19 Thread Julian Wood
-DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.10 -DgroupId=com.usti.app -DartifactId=test1 - DpackageName=com.usti.app.test1 cd test1 mvn compile mvn jetty:run Julian Wood wrote: Hi all, Just starting a new project, and have decided to do it in Tap5 (I have done many in Tap4). So

T5: quickstart archetype problem and solution

2008-02-19 Thread Julian Wood
Hi all, Just starting a new project, and have decided to do it in Tap5 (I have done many in Tap4). So, seeing the tutorial, and the quickstart archetype. I thought that would be a good way to start, but it was not working. mvn archetype:create -DarchetypeGroupId=org.apache.tapestry - Dar

Re: InlineEditBox questions

2007-07-19 Thread Julian Wood
https://issues.apache.org/jira/browse/TAPESTRY-1656 J On 18-Jul-07, at 7:15 PM, Jesse Kuhnert wrote: Good point. If you add a JIRA issue for it it should be super easy for to add a "listener" parameter. On 7/18/07, Julian Wood <[EMAIL PROTECTED]> wrote: I'

Re: [4.1.2] OGNL bug?

2007-07-19 Thread Julian Wood
any time though. (but please do file it if it happens there as well, now that the struts people are going to be using it I'm really crapping myself) On 7/18/07, Julian Wood <[EMAIL PROTECTED]> wrote: This is a very simple expression, but I always get an error in the log, even

[4.1.2] OGNL bug?

2007-07-18 Thread Julian Wood
ce.ClassFabImpl.addMethod (ClassFabImpl.java:272) ... 93 more Caused by: compile error: ) is missing at javassist.compiler.Parser.parsePrimaryExpr(Parser.java:1247) at javassist.compiler.Parser.parsePostfix(Parser.java:1029) at javassist.compiler.Parser.parseCast(Parser.java:920

InlineEditBox questions

2007-07-18 Thread Julian Wood
hat is the intended way to use InlineEditBox? With the eventlistener annotation? With a hook onto that first request? Some other way I'm not seeing? All I need is the id of the note and the note text to make my save. Thanks, J -- Julian Wood Web, E-Mail, and Middleware Services U

Re: [t4] EventListener question

2007-06-28 Thread Julian Wood
ready so just need to refactor it out into something more generic and consumable by eventlistener infrastructure. BTW, you can drop off "validateForm/async" from your EventListener parameters if you wanted to as those are the default values. (and when it works with doing a component target=&

Re: Congratulations on the release of 4.1.2

2007-06-27 Thread Julian Wood
mework ever. br, Igor -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching & Learning Centre University

Re: [t4] EventListener question

2007-06-27 Thread Julian Wood
x27;t figure it out yet. As for your problem right now, what happens if you do the same exact things without the Dialog being involved? Does it still happen then ? On 6/26/07, Julian Wood <[EMAIL PROTECTED]> wrote: I have a pretty straight forward paradigm: - two groups of 3 radio buttons

Re: [t4] EventListener question

2007-06-27 Thread Julian Wood
work. I'm using something very similar (checkbox instead of radiobutton). If you post some code, I can look for differences. 2007/6/27, Julian Wood <[EMAIL PROTECTED]>: I have a pretty straight forward paradigm: - two groups of 3 radio buttons followed by a property selection. -

[t4] EventListener question

2007-06-26 Thread Julian Wood
'm looking for that clean solution. Thanks, J -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca - To unsubscribe, e-mail: [EMAIL PRO

Re: ognl or tapestry problem?

2007-06-07 Thread Julian Wood
Ok it's http://jira.opensymphony.com/browse/OGNL-87 Thanks, J On 6-Jun-07, at 6:11 PM, Jesse Kuhnert wrote: Ok, if you file a jira issue I'll look at it. (in the ognl jira) On 6/6/07, Julian Wood <[EMAIL PROTECTED]> wrote: No I wasn't using that latest snapshot. For s

Re: async exceptions display

2007-06-07 Thread Julian Wood
Hey it's back! Thanks Jesse. J On 6-Jun-07, at 6:58 PM, Jesse Kuhnert wrote: Never mind I'm a liar.Guess I broke it the other day with a different change. Is fixed now and will be deployed whenever I run out of bug fixing steam. On 6/6/07, Julian Wood <[EMAIL PROT

Re: ognl or tapestry problem?

2007-06-06 Thread Julian Wood
be an ognl bug. I can't think of any reason why it shouldn't work. (and you are using the http://opencomponentry.com/repository/m2-snapshot-repo/ right? ) http://jira.opensymphony.com/browse/OGNL On 6/6/07, Julian Wood <[EMAIL PROTECTED]> wro

Re: async exceptions display

2007-06-06 Thread Julian Wood
ore. I'm assuming it is something related to the recent 0.4.3 dojo version upgrade but haven't tried to track down the root of the problem yet. On 6/6/07, Julian Wood <[EMAIL PROTECTED]> wrote: For a while any exception you got back from an async request would fade out the page,

ognl or tapestry problem?

2007-06-06 Thread Julian Wood
ervices.impl.ExpressionEvaluatorImpl.writeCompiled( ExpressionEvaluatorImpl.java:192) ... I also tried: with the same results. So is it me, or ognl, or tapestry that's at fault? Thanks, J -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca

async exceptions display

2007-06-06 Thread Julian Wood
I'm describing). I figured it would probably change again, but it hasn't. Am I the only one who gets this exception display? Or does everyone go roll their own straight away? This is FF2, btw. Thanks, J -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching &

Re: dojo's dialog which should hidden not hidden at first

2007-06-06 Thread Julian Wood
kes it not perfect. Could someone help me? -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca

Re: @Dialog form with validation errors broken

2007-06-06 Thread Julian Wood
'addPersonDialog').hide(); } }); </initialization> On 5-Jun-07, at 1:33 AM, Paul Stanton wrote: OK, I've changed my form declaration from to This stops the rendering issues and log messages, however how can I notify the user of their invalid entry? -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca

Re: EventListener problem

2007-05-29 Thread Julian Wood
f components. On 5/29/07, Julian Wood <[EMAIL PROTECTED]> wrote: The eventlistener is amazing and opens up all sorts of neat possibilities. For instance it becomes quite simple to roll your own ajax-enabled table component, with all the flexibility gained by building it from the ground

EventListener problem

2007-05-29 Thread Julian Wood
component=adminBillableItems&page=Admin&service=directevent&session=T", content); }; dojo.event.connect(dojo.byId("nameHeader"), "onclick", tapestry, "event1702620775");}); I suppose I could just do it myself, but shouldn't that bit of js just be included in the async response? Thanks, J -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca

Re: EventListener validateForm=false still submits form

2007-05-22 Thread Julian Wood
I've submitted a bug report for this issue: https://issues.apache.org/jira/browse/TAPESTRY-1495 Thanks, J On 18-May-07, at 5:21 PM, Julian Wood wrote: Hi Jesse, yes, it is a timesheets, billing, invoicing and reporting system. Quite fun actually. Your suggestion about not updatin

Re: EventListener validateForm=false still submits form

2007-05-18 Thread Julian Wood
ple of years ago only minus any ajax support. (sounds hospital / billing ish related ) I agree about the server side validation being annoying and am in the process of fixing it as it has just now annoyed me. The not updating your form async triggers I'm not as sure about. Technically the

EventListener validateForm=false still submits form

2007-05-16 Thread Julian Wood
s, and to submit that using the event listener. Thanks, J 4.1.2-snap from today -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca

Re: Re: dojo problem

2007-05-15 Thread Julian Wood
when I fix the translator) This seems like an obvious feature that should have been done since the beginning.. On 5/14/07, Julian Wood <[EMAIL PROTECTED]> wrote: Did something happen to dojo over the weekend? The latest tapestry 4.1.2-snapshot has suddenly started giving me do

[no subject]

2007-05-14 Thread Julian Wood
Item."]},"project":{"required":["You must enter a value for Project."]},"constraints":{"quantity": [[dojo.i18n.number.isReal,null,{places:0,decimal:"."}]],"cost": [[dojo.i18n.number.isReal,null,{places:1,decimal:"."}]]}

Re: dojo Dialog, forms, asynchronous submission and javascript

2007-05-10 Thread Julian Wood
function in here, it's the core function always called by tapestry whether the form is async or normal. http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry- framework/src/js/tapestry/form.js?view=markup On 5/9/07, Julian Wood <[EMAIL PROTECTED]> wrote: I'm experiment

Re: Dojo dialog is left aligned

2007-05-10 Thread Julian Wood
placement(it's right in the middle of the page) but the inner div that has the contents of the dialog shows up left aligned. This happens in both FF and IE. I'm using 4.1.2 SNASHOT. Is this a bug or am i missing something ? Thanks.... -- Julian Wood <[EMAIL PROTECTED]>

Re: dojo Dialog, forms, asynchronous submission and javascript

2007-05-10 Thread Julian Wood
is async or normal. http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry- framework/src/js/tapestry/form.js?view=markup On 5/9/07, Julian Wood <[EMAIL PROTECTED]> wrote: I'm experimenting with using a dojo Dialog for form input. I open up a dojo dialog, add some data

dojo Dialog, forms, asynchronous submission and javascript

2007-05-09 Thread Julian Wood
r way? Thanks, J -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca

Re: html entities conversion

2007-04-20 Thread Julian Wood
ditional commands, e-mail: [EMAIL PROTECTED] -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca

Re: EventListener on components within a @For loop

2007-04-05 Thread Julian Wood
https://issues.apache.org/jira/browse/TAPESTRY-1405 In the meantime I'll use Christian's approach. Thanks, J On 5-Apr-07, at 11:19 AM, Julian Wood wrote: Was this ever dealt with? Attaching an event listener to a radio group component still doesn't work for me in t

Re: EventListener on components within a @For loop

2007-04-05 Thread Julian Wood
gt; same programming model everywhere. It would be nice, for instance, to > > set an > > EvenListener on the @RadioGroup component, and have it propagate the > event > > on nested @Radio components. > > > > Thx > > Ch. > > -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca

Re: serve html from packaged component?

2007-03-12 Thread Julian Wood
nd this... Here's what tacos does to allow firebug-lite to work (and reference relatively its files and images, e.t.c.). Unprotect assets for firebug lite. Julian Wood wrote: Thanks Andreas, Remember that I'm dealing with some compressed, obfuscated javas

Re: serve html from packaged component?

2007-03-09 Thread Julian Wood
AM, Andreas Andreou wrote: http://tapestry.apache.org/tapestry4.1/components/link/pagelink.html See the namespace attribute On 3/8/07, Julian Wood <[EMAIL PROTECTED]> wrote: I've just finished wrapping this rich text component from Kevin Roth <http://www.kevinroth.com/rte/> a

serve html from packaged component?

2007-03-08 Thread Julian Wood
s an example. Thanks, J -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca

Re: Debugging dojo.js

2007-03-07 Thread Julian Wood
Ah okay - thanks. I misunderstood Andy's original statement. J On 7-Mar-07, at 1:28 PM, Martin Strand wrote: I think you'll have to define an asset and use that: Martin On Wed, 07 Mar 2007 21:08:41 +0100, Julian Wood <[EMAIL PROTECTED]> wrote: I tried adding

Re: Debugging dojo.js

2007-03-07 Thread Julian Wood
-mail: [EMAIL PROTECTED] -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca

Re: Tapestry 4.1.1 Hidden field truncates characters

2007-03-01 Thread Julian Wood
e = document.getElementById </tt><tt>('CopiedPortfolio').value; </tt><pre style="margin: 0em;"> document.forms[0].submit(); } -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca

Re: Problem with Number Translator in Tapestry 4.1.2 Snapshot

2007-02-21 Thread Julian Wood
behaviour, too and if yes is there a > workaround (except writing your own NumberTranslator)? Or is this > Problem maybe allready known and fixed...? > > I'm using this mornings (GMT+1) Tapestry 4.1.2 Snapshot from > mvn-snapshot. > > Regards, >Patrick -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca

Re: Best strategy?

2007-02-16 Thread Julian Wood
might render the page with the items already generated for a particular day. Alternatively, you could first render the day planner completely empty, then do an Ajax call to populate the day once the page is loaded. It really doesn't matter. Julian Wood wrote: The javascript has many e

Re: Best strategy?

2007-02-13 Thread Julian Wood
.com/turbowidgets/ Isn't that grid something? Beatifull... and it's dojo based! Regards, --- Pedro Viegas -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca

Re: AssetService problem

2007-02-13 Thread Julian Wood
Doh. Right you are. Thanks, J On 13-Feb-07, at 2:40 PM, andyhot wrote: I dont think i get any js errors when accessing that... perhaps it's your browser's cache... clear it and retry Julian Wood wrote: Ok this has got me banging my head against a wall. I've built a t

AssetService problem

2007-02-13 Thread Julian Wood
se of the javascript error (presumably because they override the loading of the good javascripts). Anyone have any idea why this might happen? It has only just started happening today, with the latest 4.1.2-SNAPSHOT, and I've done all the standard kick the server type actions. Tha

Re: Best strategy?

2007-02-11 Thread Julian Wood
any native (browser generated) javascript event or object function. On 2/9/07, Julian Wood <[EMAIL PROTECTED]> wrote: I'm working on taking this dhtml component here: http://www.dhtmlgoodies.com/scripts/dhtmlgoodies-week-planner/ dhtmlgoodies-week-planner.html and moving it into tap

Best strategy?

2007-02-09 Thread Julian Wood
to "the right way to do it". What is the right way? Thanks, J -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca

Re: ajax and popuplink error -- Bug?

2007-02-02 Thread Julian Wood
Bug is reported, if anyone is interested. https://issues.apache.org/jira/browse/TAPESTRY-1247 J On 1-Feb-07, at 5:25 PM, Julian Wood wrote: Okay I've posted a sample program to demonstrate the problem. http://jwoodchip.blogspot.com/2007/02/ajax-and-tapestry.html I'm still

Re: ajax and popuplink error -- Bug?

2007-02-01 Thread Julian Wood
Okay I've posted a sample program to demonstrate the problem. http://jwoodchip.blogspot.com/2007/02/ajax-and-tapestry.html I'm still hoping I'm missing something silly, but maybe this is a bug? Thanks, J On 31-Jan-07, at 8:46 PM, Julian Wood wrote: Actually this is not yet s

Re: ajax and popuplink error

2007-01-31 Thread Julian Wood
example that shows this, and will post it if necessary. On 30-Jan-07, at 3:01 PM, Julian Wood wrote: Turns out this was actually a problem with a Border component and a custom shell delegate - the Body component was not making it through properly - all working now! J On 29-Jan-07, at 3:2

Re: ajax and popuplink error

2007-01-30 Thread Julian Wood
Turns out this was actually a problem with a Border component and a custom shell delegate - the Body component was not making it through properly - all working now! J On 29-Jan-07, at 3:22 PM, Julian Wood wrote: I have a div that is updated in response to an EventListener. This is all

ajax and popuplink error

2007-01-29 Thread Julian Wood
no'); </tt><pre style="margin: 0em;"> newWindow.focus(); } //]]> but is it not made available to my page? Am I missing something? Tried with 4.1.2-SNAPSHOT and 4.1.1. Thanks. J -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca

Re: @EventListener question

2006-12-12 Thread Julian Wood
ntListener(elements = "fetchQuotes", events="onmouseover") > public void getQuotes(IRequestCycle cycle){ > ResponseBuilder builder = cycle.getResponseBuilder(); > setQuote(getQuotesFromDB()); > builder.update

RadioGroup error decoration

2006-10-18 Thread Julian Wood
With Tap 4.0.2, with a custom validation delegate set on a RadioGroup component, with a 'required' validator, only the label methods are called on validation failure (writeLabelSuffix, writeLabelPrefix, writeLabelAttributes), whereas another form component like a TextField will additionally

Re: Bean Validator Question

2006-10-06 Thread Julian Wood
Hmm, so am I off in left field here? Is it not possible to validate the contents of one field based on the contents of another, server- side? Is there a bug? Thanks, J On 1-Oct-06, at 8:31 PM, Julian Wood wrote: I'm using a bean for validation. In particular, I want to make sure tha

Bean Validator Question

2006-10-01 Thread Julian Wood
would be easy using js, by overriding renderContribution, but we need server-side too. -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca

Re: handling file downloads

2006-07-19 Thread Julian Wood
Yet another great page. I hope these pages make it into the tapestry contributed docs, in one form another, at some point. Thanks Shing. J On 19-Jul-06, at 4:08 PM, Shing Hing Man wrote: To access an aso in your service, it is easier to inject the ApplicationManager into your service. Then

Re: handling file downloads

2006-07-19 Thread Julian Wood
parameters (that are needed to construct the data set) in a session ASO. You can inject the above session ASO into your service. So that the data set can be constructed in your service when the service is called. Shing -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca

Re: handling file downloads

2006-07-18 Thread Julian Wood
to be to use a regular @DirectLink, which would create the file and then redirect to the csv service, which would then stream the file (instead of assembling it on the fly). It would be nicer though if it can be done without writing intermediate files. Any hints? Thanks, J On 10-Jul-06, at 4

Re: handling file downloads

2006-07-11 Thread Julian Wood
o return a plain text file. http://lombok.demon.co.uk/serviceHowTo/app Shing --- Julian Wood <[EMAIL PROTECTED]> wrote: How do you do it? I would like to click a link, have a listener assemble a CSV file, and send it back as a download (ie change a few headers behind the scenes lik

  1   2   >