Re: Conditional validation

2006-04-30 Thread Nick Westgate
Hi Bianca. I'm working in T3, but T4 still uses a validation delegate, so perhaps this might be helpful to you. To make things easier, I extended ValidationDelegate to add: public boolean isComponentInError(String componentName) { List trackings = getAssociatedTrackings();

Re: How to get values of TextFields generated dynamically by a For component?

2006-04-23 Thread Nick Westgate
Hi Mat. Your problem here is that your value is one (String?) property. Try pointing to a cell in an array, or if you want to keep your iterator-based approach, wrap the String into an object where you can mutate the String. E.g. value="ognl:currentValue.value". Cheers, Nick. Mat Gessel wrote

Re: [Documentation]

2006-04-20 Thread Nick Westgate
Hi Marcus. A (T4) documentation-generation tool is nearly ready: http://www.erinors.com/product/tapdoc/ But help in this often lacking area would probably be much appreciated. The place to offer your assistance is the tapestry-dev list. Cheers, Nick. Schulte Marcus wrote: good point. If the

Re: to choose all the checkbox and get the value ??? (it did in JSP and how to implement it in Tapestry)

2006-03-28 Thread Nick Westgate
Sure, this is how I use it in Tapestry 3 ... You need a model somewhere, say in class SomeClass: public class SomeClass { public static final IPropertySelectionModel theModel = new StringPropertySelectionModel(new String[] {"a", "b", "c"}); } You need an array for the selected list,

Re: to choose all the checkbox and get the value ??? (it did in JSP and how to implement it in Tapestry)

2006-03-28 Thread Nick Westgate
Hi Dwi. You should have a look at contrib/MultiplePropertySelection: http://jakarta.apache.org/tapestry/tapestry-contrib/ComponentReference/MultiplePropertySelection.html The default renderer is what you want: CheckBoxMultiplePropertySelectionRenderer Cheers, Nick. Dwi Ardi Irawan wrote: > Hi.

Re: Once again OGNL in Tapestry *sigh*

2006-03-28 Thread Nick Westgate
Since Gaz is probably not from the US, this is likely a culture-gap: http://whatis.techtarget.com/definition/0,,sid9_gci212837,00.html Kids didn't wear 'beanies' where I came from either. ;-) Cheers, Nick. gaz jones wrote: > lol seriously lighten up... its a joke > im sure Howard Lewis Ship *pr

Re: html in PropertySelection Model

2006-03-27 Thread Nick Westgate
Hi Jason. Hate to see a first post go unanswered. ;-) Two paths lie before you. (That I see.) If you're using Tapestry 4, the first path is blocked off. T3's PropertySelection had a renderer parameter which has been deprecated and removed, sadly. With this you had control over the component's re

Re: Tapestry Support Network

2006-03-27 Thread Nick Westgate
Hi Steve. Like I said, seems the other guys jumped the gun on this. Cognition looks great, and I really appreciate the effort you guys are putting into the promotion of Tapestry. Cheers, Nick. Steve Motola wrote: ..and really, the last people we want to piss off is the Tapestry Community (es

Re: Tapestry Support Network

2006-03-27 Thread Nick Westgate
I'm sure this was done with good intentions - if you read Steve's post: Steve Motola wrote: > Honestly - none. I would surmise it was not very active. Spoke with Collin > from Spring (who was the only company I can remember being a part of the > Tapestry Support Network) and he didn't know. > >

Re: promoting Tapestry

2006-03-22 Thread Nick Westgate
Bug Fixes for 3.x *cough* okay... (may have proposed a patch or two on this recently ;-) ) For those not following the dev list, Brian (for 3.x in particular) and Jesse have been working their way through the JIRA issues, and closed - what - about a 100 or so? Many patches have been applied

Re: Tapestry component development tutorials

2006-03-16 Thread Nick Westgate
Annie, there are some listed on the wiki, but not many for T4. http://wiki.apache.org/jakarta-tapestry/TapestryTutorials My advice would be to go through Kent's free chapters 1-4, and then as Pedro says, creating components can be as easy as pages. Basically you rename your .page to .jwc, change

Re: "double-clicking" user - a possible problem?

2006-03-13 Thread Nick Westgate
Hi Christian. This may not be relevant - but just in case - there was an issue with Tapestry 3 to do with double clicking submits. I'm not using T4 yet and things may have changed, but read this: http://article.gmane.org/gmane.comp.java.tapestry.user/19128/match=locked+filter Cheers, Nick. Ch

Re: Is it possible to remove the trailing ** in the validation field?

2006-03-10 Thread Nick Westgate
Hi Vincent. Of course, this is completely customizable. http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/valid/ValidationDelegate.html #writeSuffix(org.apache.tapestry.IMarkupWriter,%20org.apache.tapestry.IRequestCycle,%20org.apache.tapestry.form.IFormComponent,%20org.apac

Re: submit a form from an external page?

2006-03-06 Thread Nick Westgate
arameters to be in any order. Am I missing something or will I have to ensure that every browser sends the query string in the same order? That strikes me as fragile. --sam On 3/6/06, Nick Westgate <[EMAIL PROTECTED]> wrote: Hi Sam. Check out IExternalPage: http://jakarta.apache.org/tape

Re: submit a form from an external page?

2006-03-06 Thread Nick Westgate
Hi Sam. Check out IExternalPage: http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/IExternalPage.html Cheers, Nick. Sam Gendler wrote: I have data in another application which isn't built on Tapestry. I need to put a form on a page which isn't delivered by Tapestry, and

Re: File upload with extension limit

2006-03-06 Thread Nick Westgate
his list: http://article.gmane.org/gmane.comp.java.tapestry.user/26835 http://article.gmane.org/gmane.comp.java.tapestry.user/26841 From Nick Westgate <[EMAIL PROTECTED]>: Hi Vincent. This has nothing to do with Tapestry. In general it is difficult or impossible because of browsers

Re: File upload with extension limit

2006-03-05 Thread Nick Westgate
Hi Vincent. This has nothing to do with Tapestry. In general it is difficult or impossible because of browsers. Google for it. E.g. http://www.cs.tut.fi/~jkorpela/forms/file.html#filter Cheers, Nick. Vincent wrote: Is there any news about this? On 2/28/06, Vincent <[EMAIL PROTECTED]> wrote

Re: "Token" approach to avoiding double submits

2006-03-03 Thread Nick Westgate
r me, the expression used in the tapestry commercials :) Maybe my code should use the visit object in every page anyway, I don't use any ASOs yet, partly because our application has been ported from struts, and is still partly struts-implemented, needing quite a few integration points.

Re: "Token" approach to avoiding double submits

2006-03-02 Thread Nick Westgate
Hi Inge. I use the FlowSynchronizer pattern that Sohail linked to, and here's how I avoid code duplication. In my T3 apps the FlowSyncronizer is stored in the Visit object. My border component includes the token in every page: In addition, I didn't like the exceptions, so instead: private

Re: StaleLink Exceptions- Help

2006-02-23 Thread Nick Westgate
Hi Jason. In your .application file, these pages can be defined: Cheers, Nick. Dimm, Jason wrote: Can someone pls respond? I've tried several things and nothing is working. Jason E. Dimm, Senior Analyst, Cingular Wireless IT eCommerce/Payments (Payment Processing) Cingular Ja

Re: problem with window.onload

2006-02-21 Thread Nick Westgate
Hi Brian. Add a script file to your project with an section. This gets added to the onload. Note that you need a Body component. e.g. in .html in .page in SetWindowName.script http://jakarta.apache.org/tapestry/dtd/Script_3_0.dtd";>

Re: [DISCUSS] JDK 1.5 for Tapestry 4.1? (retroweaver)

2005-12-20 Thread Nick Westgate
Anyone considering solving their problems with Retroweaver should read this: http://weblogs.java.net/blog/kirillcool/archive/2005/07/porting_small_l.html Still, Howard seems mainly interested in just using new language features such as annotations and generics, so it might be feasible if done car

Re: Preventing URL hacking in tapestry 3.0.2

2005-12-19 Thread Nick Westgate
Hi Craig. If you're worried about security, you might want to upgrade to 3.0.3. Anyway, as Paul points out one way to manage basic security is to have a base page that your non-home pages derive from. Something like this: public abstract class MyUserPage extends BasePage implements PageValidat

Re: Tapestry 3.0.3 contrib:PopupLink

2005-12-15 Thread Nick Westgate
Hi Vincent. Here's something I posted to the list ages ago. There are usually plenty of examples if you search the list archive. In your .page spec, use an ExternalLink and provide a PopupLinkRenderer. Cheers, Nick. Vincent wro

Re: 3.0.3: Double-checked locking on enhancement

2005-12-14 Thread Nick Westgate
Hi Michael. I've added an issue to JIRA for this: http://issues.apache.org/jira/browse/TAPESTRY-806 Please add new info there - especially any resolution! Cheers, Nick. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: 3.0.3: (BUG) Double-checked locking on enhancement

2005-12-14 Thread Nick Westgate
Crikey. It's a textbook case. The code in T4 is completely different because of Hivemind. The comparable code syncs on the given specification, and you should be able to do the same, namely patch it to: public Class getEnhancedClass(IComponentSpecification specification, String className

Re: Fundamental form submit problem?

2005-11-02 Thread Nick Westgate
Hi Aslak. This bug affects only LinkSubmit. (In Tapestry V3 - not sure about T4 yet.) A bug has already been logged: http://issues.apache.org/jira/browse/TAPESTRY-339 If you are using T3, have a look at LinkSubmitOrSpan, which fixes the bug: http://www.tapestrycomponents.org/Tassel/app?service=ex

Re: Need combination of PopupLink and ExternalLink

2005-09-01 Thread Nick Westgate
Hi Inge. In your .page spec, use an ExternalLink and provide a PopupLinkRenderer. Cheers, Nick. Inge Solvoll wrote: I need to implement a popup window called by javascript. It will be a dialog box in my application. In this win

Re: Form Submission on a Stale Session

2005-08-31 Thread Nick Westgate
Hi Douglas. I presume you are using -Dorg.apache.tapestry.disable-caching=true or similar for development. Try running your app without this, i.e. in production mode. I've seen exceptions in dev mode that don't happen in production. Cheers, Nick. LOCHART,DOUGLAS E wrote: Geoff, I changed ou

Re: External URL Help

2005-08-30 Thread Nick Westgate
Hi Douglas. Time to learn some of those Tapestry internals, or rather, APIs. ;-) Look at the source for some of the link components to see how they do it. In particular you need to use ILink - see page 333 of TIA, or do search for it if you have the eBook edition. Anyway, but here's a quick exam

Re: Preventing multiple form submission within Tapestry

2005-08-30 Thread Nick Westgate
Hi. Like Pat says, you need to synchronize/serialize your requests somehow. I use a modified RequestControlFilter, originally from: http://www.onjava.com/pub/a/onjava/2004/03/24/loadcontrol.html?page=1 You also need to prevent multiple submissions server-side. I use a variation on the FlowSynchr

Re: How do I create a mailto link?

2005-08-28 Thread Nick Westgate
Hi Richard. Robert probably should have also mentioned that there's a component in his Tassel repository called "EncodedMailLink" if you need to hide the email address from mail harvesters etc: http://equalitylearning.org/Tassel/app?service=external/ViewComponent&sp=SEncodedMailLink Cheers, Nick

Re: Initialization when called from PageService?

2005-08-19 Thread Nick Westgate
Hi Paul. No other replies yet, so I'm wondering why not PageRenderListener? (Or its T4 equivalent.) Cheers, Nick. Paul Cantrell wrote: Is there a good way for a page to initialize itself if it's being called from the page service? A different way of asking this might be: is there a way to

Re: LinkSubmit not passing in arguments

2005-08-19 Thread Nick Westgate
ble in my class and if I create a method without the "IRequestCycle > cycle", how do I get which was the selected item? > > thanks, > > Mark > > -Original Message- > From: Nick Westgate [mailto:[EMAIL PROTECTED] > Sent: Thu 8/18/2005 4:09 AM >

Re: LinkSubmit not passing in arguments

2005-08-18 Thread Nick Westgate
Hi Mark and Muhariz. Have you considered using the LinkSubmit selected and tab parameters? I'm using a string because I like to do naughty things: adding extra 'parameters' to the string and parsing it later. But the certified Tapestry Way would be to use an array

Re: Need custom DirectLink component

2005-08-10 Thread Nick Westgate
I think so. But his sample usage has a listener, so I'm not sure ... Cheers, Nick. The Chris Method wrote: Is he just looking for what getLink(...) in the DirectService class will provide? returns "/intaglioWebClient/app?service=direct/1/CWorkspace/folderList.$DirectLink&sp=S21adsdfasdf

Re: HOWTO: Form with an HTTPS action link?

2005-08-09 Thread Nick Westgate
And we learn something new every day. :-) Thanks, Nick. Darío Vasconcelos wrote: You might want to check out AbsoluteLinkRenderer, it subclasses DefaultLinkRenderer and you can change the protocol, server and port. - To unsu

Re: HOWTO: Form with an HTTPS action link?

2005-08-09 Thread Nick Westgate
Hi Jeremey. You're question is not very specific, but if you want to render a custom link, subclass DefaultLinkRenderer and pass it to the render parameter of a link component. Also, search the list archive for https. Cheers, Nick. Jeremy wrote: How do I render a form with an https action li

Re: PropertySelection question

2005-08-09 Thread Nick Westgate
Hi Ryan. In your case, yes, though I don't think there's a way to differentiate which of multiple PropertySelections was responsible for a submit. (Someone please shout out if there is.) You need some kind of target - for various reasons I prefer a string: For your submits do somethin

Re: Need custom DirectLink component

2005-08-08 Thread Nick Westgate
(e.g. DirectLink) to see how to get access to the URI for a link specific to a particular service. Cheers, Nick. Nick Westgate wrote: Hi Edward. You'll want to subclass org.apache.tapestry.link.DefaultLinkRenderer. Bend it to your will and pass a (static) instance to the renderer paramet

Re: Need custom DirectLink component

2005-08-08 Thread Nick Westgate
Hi Edward. You'll want to subclass org.apache.tapestry.link.DefaultLinkRenderer. Bend it to your will and pass a (static) instance to the renderer parameter of your chosen link component. Cheers, Nick. Edward Scanzano wrote: Hi all, I need a custom link component that will return only the h

Re: PropertySelection question

2005-08-08 Thread Nick Westgate
Hi Ryan. AFAIK you'll have to put a listener on the form (or modify the component somehow to take a listener).You can still keep your other listeners, but my preference is to use the tag and selected parameters to differentiate submits and handle everything in the one (form) listener. The submit

Re: MultiplePropertySelection generates empty names

2005-08-08 Thread Nick Westgate
Hi Paul. This seems to be a bug in MultiplePropertySelection. The reason it's not working for you is because the component is not named. You can fix this by changing I'm attempting to use MultiplePropertySelection like this: Categories: model="ognl:categoryOptions"

Re: Problem with persistent page property and concurrent access

2005-08-08 Thread Nick Westgate
Hi Greg. I'd really like to hear Howard's comments on this sometime, because like you say, the problem has been discussed before and the only solution given seems "outside the framework". You'll find more discussion if you search the archives for the "locked after a commit" error. The solution

Re: SQL Injection Attacks

2005-08-08 Thread Nick Westgate
Hi Geoff. I deal with these regularly, and have stepped through JDBC drivers from the client side java all the way through to a server's (buggy) C++ driver in assembler. Basically there are 2 reasons to use PreparedStatement. 1 - efficiency, since they're compiled, and the server can cache them

Re: Suggestion: renaming For to Foreach and If to Conditional

2005-08-07 Thread Nick Westgate
Hi Kent. It's not a bad idea. I'm sure all of us Tapestry users are aware (thanks to Google) that we can buy rugs online. ;-) Another upgrade problem would be if an application page is using both Conditional and If/Else, as the Else might be affected. For and If are much catchier names though,

Re: initial-value attribute in property-specification -- help

2005-08-06 Thread Nick Westgate
Hi Hari. I don't know the answers to all these questions - so I'd be interested in answers from others who do use initial-value. It seems to be used for resetting page properties when the page is _returned_ to the pool. My advice would be "don't use it". Initialise your page properties etc in pa

Re: Component Abuse

2005-08-06 Thread Nick Westgate
Hi Dario. It definitely doesn't _have_ to be a "killer component"! Firstly, I decided to publish AnySubmit and LinkSubmitOrSpan on Tassel because I figured these little 'corner' use cases would be common. I'm sure everyone has a little component like this, or a renderer or something that would s

Re: ExternalLink to HTTPS

2005-08-05 Thread Nick Westgate
Hi Fernando. You'll want to write an ILinkRenderer to pass to the ExternalLink. I've only got the Tapestry 3 source handy so I'm not sure about 4, but it should be similar. Grab framework\src\org\apache\tapestry\link\DefaultLinkRenderer.java and rename it to a new class in your project. I recomm

Re: How do I create a javascript link?

2005-07-25 Thread Nick Westgate
Hi Chris. Check out the contrib PopupLinkRenderer. You can supply one of these to GenericLink etc. Cheers, Nick. Chris Chiappone wrote: I basically need a GenericLink using a javascrip function: How do I get 'MyPageName' as

Re: component packaging

2005-07-25 Thread Nick Westgate
some suggestions to go beyond what Tapestry provides today, some of which would be useful to tools like Spindle and Palette, or even to distro communities like Tacos. On 7/25/05, Nick Westgate <[EMAIL PROTECTED]> wrote: Hi. Howard's book "Tapestry In Action" explains how to d

Re: component packaging

2005-07-25 Thread Nick Westgate
Hi. Howard's book "Tapestry In Action" explains how to do this in chapter 6.9 "Packaging components into libraries". Components are (1) packaged in a jar, (2) specified in a ".library" file, (3) included in the classpath and configured in the ".application" file, just like the contrib library (b

Re: Component 'MultiplePropertySelection' not found in application namespace.

2005-07-24 Thread Nick Westgate
Hi Muhariz. This component is in the contrib library, so you need to add: to your .application file. In your .page file, use: hey guys, im trying to figure out why im getting this error? i found this "MultiplePropertySelection" component on the Tap 3.0 API and tried to use it in my ap

Re: Accessing the Visit object in a component

2005-07-24 Thread Nick Westgate
Edward Scanzano yahoo.com> writes: > > Hi all, > > How can I access the Visit object from within a > component? getVisit() is not available for > BaseComponent. > > Thanks > > - > To unsubscribe, e-mail: tapestry-user-unsubs

Re: Is there a bug for dual Select components?Bug still exits!

2005-07-22 Thread Nick Westgate
Patrick Casey adelphia.net> writes: > The poor guy may very well not be up to that though. If we really > want tapestry to be useful to inexperienced or "new" developers, then asking > them to just "tweak" the components themselves isn't the way to go. Hi Pat. (Damn this gmane interface's

Re: Is there a bug for dual Select components?Bug still exits!

2005-07-22 Thread Nick Westgate
Patrick Casey adelphia.net> writes: > > > Probably because it's frustrating to find a bug (or at least think > you've found a bug) and have folks neither confirm, nor deny the bug, but > instead question why the hell you're doing things a particular way :). No excuse. Probably 99% of po

Re: Custom class persistent objects are not persistent

2005-07-22 Thread Nick Westgate
Richard V. hotmail.com> writes: > > Robert is correct for what I am trying to do and here is a simple example > that you can try and see if you get the same problem (my custom class > objects not being persistent) that I have. You can just copy and paste into > the respective files. I've nev

Re: Persistence of parameters in components part 1

2005-07-22 Thread Nick Westgate
Edward Scanzano yahoo.com> writes: > > Hi all, > > This topic is all the rage on the board right now so I > am hoping to finally get some resolution to it. I think Robert has already answered your question: From: Robert Zeigler scazdl.org> Date: 2005-07-20 19:58:16 GMT (1 day, 22 hours and 2

Re: Nested Any component Allowed?

2005-07-22 Thread Nick Westgate
Ben Wong matthiasgroup.com> writes: > > Okay, now I feel really stupid... Thanks Howard. > > Ben Spindle would have caught this for you at code-time. Cheers, Nick. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: Question on Form.RadioGroup

2005-07-22 Thread Nick Westgate
Hi Cedric. I can't test anything right now, but here are two possibilities: (1) wrap individual Radio components with AnySubmit http://equalitylearning.org/Tassel/app?service=external/ViewComponent&sp=SAnySubmit (2) use PropertySelection with RadioPropertySelectionRenderer, and customise this r

Re: Radio component indirectly wrapped inside a RadioGroup?

2005-07-21 Thread Nick Westgate
Hi Darío. Look at the source code. It only takes a minute to find out why. You're passing in a RadioPropertySelectionRenderer, right? If there is no renderer, PropertySelection puts onChange and informal parameters in the select tag: writer.begin("select"); ... if (getSubmitOnCha

Re: Tassel SubmitAny

2005-07-20 Thread Nick Westgate
Hi. Interesting usage. Without code, I'm not sure exactly what you're doing, but I just quickly tested the following which seems to work on Tapestry 3.0.3 and Firefox/IE6: .page: .html: TestCheck If you need more help, please post your code, and the Tapestry v

Re: Tapestry starting to look too steep (Tapestry Palette plugin)

2005-07-20 Thread Nick Westgate
Mike, Is this Eclipse 3.1 ready? The supported version number wasn't on the website. Cheers, Nick. Michael Henderson wrote: Well it isn't WYSIWYG but check out Tapestry Palette for Eclipse: http://tapestrypalette.sf.net It sits on top of Spindle and provides drag and drop of components onto

Re: Future of Tapestry in questionable

2005-07-14 Thread Nick Westgate
Francis's questions seem more naive than obnoxious. Lots of great work has been going on - and is still going on - driving Tapestry towards 4.0 release. Hardly signs of an "abandoned" project. At the same time development efforts like Trails and the new AJAX components available bring some of th

Re: Tapestry, Cayenne and Squeezer

2005-07-07 Thread Nick Westgate
Hi, Of course, he submitted it to his Tassel repository: http://equalitylearning.org/Tassel/app?service=external/ViewComponent&sp=SCayenneDataObjectSqueezeAdaptor Besides, his last post was from an internet cafe. You might be waiting a while to hear from him. Cheers, Nick. Todd O'Bryan wrote:

Re: About a bigger Tapestry components library!

2005-07-07 Thread Nick Westgate
Tassel is a great asset to the Tapestry community. It's a shame it's not listed as one of the "Related Projects" from the Tapestry homepage. It's also good that it contains components from other projects, showing that this is a good way to distribute in a centralized, non-exclusive way. Live comp

Re: proposal: central component repository workgroup

2005-07-07 Thread Nick Westgate
You mean ... like this? http://robin.sourceforge.net/ (I've seen others, but googling didn't help much.) We already have some great components for Tapestry. It would be good to see them brought together into the same stable, with standard docs, online demos and painless out-of-box usage. To prese

Re: DirectLink to popUp window

2005-07-07 Thread Nick Westgate
I haven't been following this thread, but check the docs. The feature param looks like a string, so give it one. Use ' ... ' inside the expression for an OGNL string: Note the extra ' characters. Cheers, Nick. - Original Message - From: "Jer Kah" <[EMAIL PROTECTED]> To: "Tapes

Re: About a bigger Tapestry components library!

2005-07-06 Thread Nick Westgate
Tassel is a great asset to the Tapestry community. It's a shame it's not listed as one of the "Related Projects" from the Tapestry homepage. It's also good that it contains components from other projects, showing that this is a good way to distribute in a centralized, non-exclusive way. Live com

Re: proposal: central component repository workgroup

2005-07-06 Thread Nick Westgate
How about this for a desktop: http://robin.sourceforge.net/ (I've seen others, but googling didn't help much.) We already have some great components for Tapestry. It would be good to see them brought together into the same stable, with standard docs, online demos and painless out-of-box usage. T

Re: Confirmation in LinkSubmit

2005-06-29 Thread Nick Westgate
Hi Pablo. I've been meaning to add this to my LinkSubmitOrSpan component for a while. So I did it just now. You can download it from Tassel. Example usage: Link 1 Cheers, Nick. Pablo Ruggia wrote: > Hi ! > > Sorry if this was asked before, but I can't find anything. > How can make

Re: Some Spindle news.

2005-06-23 Thread Nick Westgate
+1 for continuing to mail your announcements to this list. It's not annoying at all. Spindle is vital part of Tapestry. You should be presented with a "key to the list". ;-) Cheers, Nick. Geoff Longman wrote: Hey, is this getting annoying? In other words, is everyone I'm reaching in this way

Re: Question: l10n/i18n, html in .properties file

2005-06-23 Thread Nick Westgate
Hi. The docs say use raw="yes" http://jakarta.apache.org/tapestry/current/UsersGuide/template.html#template.directives.l10n Similar to @Insert with raw="ognl:true". Cheers, Nick. Chuck Coker at Tyrell Software wrote: Hi, I'm try to create web pages that are l10n/i18n ready. I've run into a

Re: problem with tapestry and javascript, need help!

2005-06-15 Thread Nick Westgate
component that submits its enclosing form via JavaScript onClick. * * @author Richard Lewis-Shell (original LinkSubmit code) * @author Nick Westgate (hacked into AnySubmit) * @version $Id: Submit.java,v 1.6 2003/04/21 13:15:41 glongman Exp $ * **/ public abstract class AnySubmit exte

Re: about tapestry and the return key

2005-06-13 Thread Nick Westgate
when the user hits the enter key. value="message:button-proceed" listener="ognl:listeners.submit" style="display:none;"/> ... Hope it helps, greetz -Original Message- From: Nick Westgate [mailto:[EMAIL PROTECTED] Sent: maandag 13 juni 2005 10:19

Re: about tapestry and the return key

2005-06-13 Thread Nick Westgate
Hi Domonic. Check my post in the thread that Johan linked to below. If you are using only Submit components, the ButtonSubmit component will help you ... BUT ... the price for this may be problems if users click the browser back button. LinkSubmit can cause similar problems if mixed with other

Re: Mail List Slow?

2005-05-17 Thread Nick Westgate
Yeah. I double posted because of this. Unusual ... Patrick Casey wrote: Is anyone else noticing a sudden severe decrease in performance of the Tapestry User mailing list? Historically, it was usually < 5 minutes between the time I sent a message to the list server and it pushed back

Re: 'renderElement' option for components

2005-05-17 Thread Nick Westgate
(Repost, as my first try didn't show on the list ...) This is also used in the standard "Any" component. ("element" defaults to "templateTag" ...) A quick google shows that Mind Bridge committed the templateTag change to CVS two years ago! This handy parameter should be prominent in the docs, but

Re: 'renderElement' option for components

2005-05-17 Thread Nick Westgate
This is also used in the standard "Any" component. ("element" defaults to "templateTag" ...) A quick google shows that Mind Bridge committed the templateTag change to CVS two years ago! This handy parameter should be in the docs, but I haven't seen it. I crossed "Any" with (Glen Stampoultzis's) "

Re: Persistent HashMap

2005-05-15 Thread Nick Westgate
Hi Kuon. Don't use initial-value. Instead, initialize your properties in pageBeginRender. I do this: public abstract class MyPage implements PageRenderListener { // called before page rendering and also on form submit (rewind) public void pageBeginRender(PageEvent event) { // in

Re: button mapped to the "enter" key

2005-04-25 Thread Nick Westgate
Hi David. I had to deal with this pretty early on in my Tapestry learning, and have stuck with pretty much the same strategy since then. There are two ways that I handle it. First here's the simple one: What you need is the very useful "ButtonSubmit" component written by Glen Stampoultzis (also t

Re: UTF-8 and the Form component

2005-04-07 Thread Nick Westgate
Hi. I've been developing Tapestry apps involving Japanese content using default settings (UTF-8), and have experienced no problems. (Well, except OSX IE5 not displaying Japanese UTF-8 in drop downs!) The apps so far have been for intranets - a good proving ground for me, and restricted to just a fe