Re: T4: Newbie's questions

2008-01-10 Thread Marcus
Hi Zheng, Since you are newbie, I think you should try T5. I'm a Tapestry user since T3. T5 is more intuitive and easy to learn, in my opinion. Marcus

Re: Javascript error when moving from 5.0.6 to 5.0.7

2008-01-23 Thread Marcus
Hi Mahen, Try clean browser cache. Marcus

Re: T5: Formatting date inside loop on template

2008-01-25 Thread Marcus
Hi Joshua, try OutputLocale. http://wiki.apache.org/tapestry/Tapestry5OutputLocaleNumber Marcus

Re: What happend to org.apache.tapestry.annotations.Inject ?

2008-01-26 Thread Marcus
Hi spamglik, org.apache.tapestry.*ioc*.annotations.Inject http://www.nabble.com/T5%3A-Upgrade-to-5.0.6-SNAPSHOT-tf4515211.html#a12878469 Marcus

Re: What happend to org.apache.tapestry.annotations.Inject ?

2008-01-28 Thread Marcus
3A-Upgrade-to-5.0.6-SNAPSHOT-tf4515211.html#a12878469> Marcus

T5 - BeanEditForm and ASO

2008-01-29 Thread Marcus
Hi, All tests of BeanEditForm (in tapestry-core) are using an ASO (RegistrationData). ASO is not required for use BeanEditForm or BeanEditor, right? Using ASO is the best pratice? Thanks, Marcus

Re: T5: Email Validator

2008-02-12 Thread Marcus
Hi Renat, We can use validation inside properties, on the client side. But we still can use: void onValidateFromMyEmailField(String cliente) throws ValidationException on the server side. Marcus

Re: Tapestry is not working

2008-02-15 Thread Marcus
Hi Marie, I have used EWDT too, it's a great book, but i suggest you try Tapestry 5, it is easy to learn and more intuitive than older versions. Start with http://tapestry.apache.org/tapestry5/tutorial1/ Marcus

Re: T5: zone example

2008-02-15 Thread Marcus
Hi Angelo, Look at tapestry-core source, in src\test\java\org\apache\tapestry\integration\app1\pages , there are a lot of examples, including ZoneDemo.java Marcus

Re: Can a page do something before actions are invoked on it?

2008-02-15 Thread Marcus
Hi Ryanskow, Maybe this help: http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher2 We are using Dispatcher to control access to pages. Marcus

Re: T5.0.10: DateField on IE

2008-02-25 Thread Marcus
Hi Howard, Any news about 'format' parameter? Thanks Marcus

Re: form aware page and action links

2008-02-28 Thread Marcus
"validate", "success" (or "failure") and "submit" events*. Thus the best thing to do is to store in a temporary field what should be done inside the "success" event handler.) The use of multiples submit buttons appears to be the best option, instead of actionlinks. Marcus

Re: [FAQ] common design

2008-02-28 Thread Marcus
Hi Jesper, You can use: @IncludeStylesheet("context:style.css") public class Layout { instead of: @Inject @Path("context:/style.css") private Asset style; Marcus

Re: t5: BeanEditform and Timestamp

2008-03-02 Thread Marcus
Hi Angelo, Maybe this help: http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/beaneditform.html "Adding New Property Editors" Marcus

Re: T5: Grid's rowClass

2008-03-03 Thread Marcus
Hi Angelo, If we use boolean type for "cssClass", maybe we don't need a set method. private boolean cssClass = false; public String getRowClass() { cssClass = !cssClass; return (cssClass ? "" : "zebra"); } Marcus Angelo Chen wrote:

Re: beaneditform - java.lang.RuntimeException: No service implements the interface org.apache.tapestry.internal.InternalComponentResources.

2008-03-04 Thread Marcus
Hi Jack, Can you post the code of this class? http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> Login: maybe the problem is there. Marcus

Re: T5: beaneditor and remove

2008-03-06 Thread Marcus
remove" and "reorder". A comma separated list of fields that have to appear disabled in BeanEditForm. https://issues.apache.org/jira/browse/TAPESTRY-2153 Thanks, Marcus

Re: T5: Tomcat 6

2008-03-12 Thread Marcus
Hi Angelo, We are using T5 with Tomcat 6, no problems. Marcus

Re: t5: new features in 5.0.11

2008-03-13 Thread Marcus
Hi, @Property works for any class? or only for components and pages? thanks, Marcus On 3/13/08, Robert Zeigler <[EMAIL PROTECTED]> wrote: > > On Mar 13, 2008, at 3/139:07 AM , Angelo Chen wrote: > > > > > Hi, > > > > As usual I always like to look at new

Re: T5: obtaining a list of valid pages

2008-04-14 Thread Marcus
Hi Angelo, - get ContextClassLoader from current Thread - get path of your pages package (org.exemplo.teste.pages) from ClassLoader - get files on this path that ends with ".class", skiping inner classes. I think this topic already has been discussed here. Marcus.

Re: How to 'bypass' client side validation - when 'Cancel' is pressed.

2008-04-15 Thread Marcus
Hi Jan, maybe this help void onSubmitFromCancelForm() { ... } Marcus

Re: Dynamic list of strings in a form

2008-04-15 Thread Marcus
Hi Michael, Try Grid component instead a Loop. Marcus

Re: T5: Getting Request Info

2008-04-28 Thread Marcus
(); return "start"; } ... What's the best practice? Thanks, Marcus

Re: Encoding problem (UTF-8)

2008-04-30 Thread Marcus
Hi, We're using autocomplete mixin with no problem, maybe this help. http://wiki.apache.org/tapestry/Tapestry5Utf8Encoding Marcus

Re: tapestry web app , deployed in tomcat. Need to set as default web app

2008-05-06 Thread Marcus
Hi Mahen, Maybe this help, server.xml: ... ... ... ... Marcus

Re: Simple date format question

2008-05-09 Thread Marcus
Hi Leon, There is a JIRA about format parameter for DateField, vote! To format a date output you can use OutputLocale component ( http://wiki.apache.org/tapestry/Tapestry5OutputLocaleNumber) Marcus

Re: T5: select within table grid

2008-05-09 Thread Marcus
Hi Axel. Maybe this help, "Adding Columns Example" at http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Grid.html Marcus

Re: Simple date format question

2008-05-09 Thread Marcus
Leon, No, you can't, :) it's only for output. Don't forget to vote on JIRA! Marcus

Re: Instability in Tapestry 5.0.12-SNAPSHOT

2008-05-19 Thread Marcus
if T5 willBeCompatibleWith T(5+n) andT5 shouldWorkWith T(5-n) then rename T(5-n) annotations packages; else if T5 willBeNotCompatibleWith T(5+n) then rename all Tapestry packages; Marcus

Re: Tapestry users declined for the first time in 3 years, says this researh site ...

2008-05-20 Thread Marcus
"Rob", I'm sure that you are a very busy man, so, don't worry about the future of Tapestry, you have did your part, thanks. I think you have to move on, and forget about Tapestry.

Re: Autocomplete component

2008-05-21 Thread Marcus
Hi, Using autocomplete mixin, how do we know, if an option of the list provided was selected, or if user has entered another text? Would be great if some event was fired on server side when user select one of option provided by mixin. Thanks, Marcus

Re: T5: Grid in a zone

2008-05-25 Thread Marcus
Hi Stephane, I already have a zone including my grid and with the inPlace parameter, my > grid is no more refreshed. > You don't need any zone component, just the atribute inPlace. Marcus

Re: Contributing to the BeanModel

2008-05-27 Thread Marcus
/integration/app3/ Marcus

Re: Callback in a propery editor

2008-05-27 Thread Marcus
Hi José, Maybe you could use onValidateForm(), it's called before onSuccess(). Marcus

T5 Creating a Library of Custom Components

2008-05-28 Thread Marcus
837) - org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245) - org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) - org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) Thank in advance, Marcus

Re: T5 Creating a Library of Custom Components

2008-05-28 Thread Marcus
Hi Thiago, You are right, LibraryModule was not loaded. generated JAR: META-INF META-INF/MANIFEST.MF pub pub/t5lib pub/t5lib/LibraryModule.class pub/t5lib/components pub/t5lib/components/MyComponent.class any idea? Thanks, Marcus

Re: T5 Creating a Library of Custom Components

2008-05-29 Thread Marcus
Hi Thiago, - MANIFEST.MF was extracted from JAR and checked, file is ok - Try putting JAR in project build path. same error :( Marcus

Re: Equivalent of jwcid="$content$" in T5

2008-06-01 Thread Marcus
Hi Andrew, $content$ = ( http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/templates.html ) for $remove$ you can use t5components/remove or search on list for "public class Remove" Marcus

Re: Equivalent of jwcid="$content$" in T5

2008-06-01 Thread Marcus
Hi Andrew, Sorry about $content$, Robert is right about T5 and T3 RenderBody. Marcus

Re: T5 ajax zone changing

2008-06-02 Thread Marcus
Hi Janko, maybe this help http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/app1/ZoneDemo.tml?view=markup http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/ZoneDemo.java?view=markup Marcus

Re: ApplicationState not stored during onSuccess?

2008-06-03 Thread Marcus
Hi Martin, Maybe your problem is in the "LoginStatus" code, can you post it? Marcus

Re: T5 UTF encoding

2008-06-09 Thread Marcus
Hi Max, We deal with especial characters like this: - UTF8Filter on AppModule - equals() and hashCode() for beans used on Select component. Marcus

Re: T5: Using tapestry components in a JSP

2008-06-09 Thread Marcus
Hi lance, http://tapestry.apache.org/tapestry5/struts.html Marcus

Re: Ajax form question about Tapestry 4.1

2006-08-04 Thread Marcus
Hi, I've download Tapestry 4.1 and folowing jars, all in \shared\lib aspectj-1.5.2.jar easymock.jar jakarta-oro-2.0.8.jar ognl-2.6.9.jar commons-io-1.2.jar

Re: Ajax form question about Tapestry 4.1

2006-08-04 Thread Marcus
tDate; } public void formSubmit(){ return; } } And what i got is an empty page on Firefox and IE What did I wrong? :( Thank's for your time. Marcus *

Re: Fast testing of Tapestry Apps

2006-08-21 Thread Marcus
try http://www.sysdeo.com/sysdeo/eclipse/tomcatplugin install plugin and configure parameters in eclipse, after configure "your-project" properties and with 1 clique you will deploy app into tomcat.

Re: Trouble deploying T5 with maven

2007-07-09 Thread Marcus
Hi Moritz, Maybe this help: http://tapestry.apache.org/tapestry5/tomcat.html http://tapestry.apache.org/tapestry5/tutorial1/first.html Are you using archetype Artifact Id = quickstart ? To generate .war file we're using mvn war:war Marcus

Re: T5.0.5 How do I use a radio button in a form

2007-07-10 Thread Marcus
/tapestry-core/src/test/app1/WEB-INF/RadioDemo.html Marcus

Re: T4 - T5 Guide?

2007-07-12 Thread Marcus
Hi Josh, I agree with Ulrich, we're doing this right now. The Forum already have a lot of T5 code examples. http://tapestry.apache.org/tapestry5 (What's changed since Tapestry 4?) Marcus

Re: T5 - Authentication filter

2007-07-17 Thread Marcus
ogged()) return "Login";// Redireciona para a página de Login. return null;// Retornando null ou true permite o acesso a página. } } public class Portal extends ProtectedPage { } Marcus

Re: [T5] Set the text field size in BeanEditForm

2007-07-25 Thread Marcus
Olá Marcelo, (Informe o nome) Marcus

Re: [T5] are there samples available ?

2007-08-21 Thread Marcus
http://wiki.apache.org/tapestry/Tapestry5HowTos http://wiki.apache.org/tapestry

Re: [T5] How to add a extra column for delete/update action using Grid component.

2007-08-21 Thread Marcus
Hi Allen, To remove some properties you can use @NonVisual (see grid screencast). to add some extra columns you will need to explicit declare the model used by grid, search this forum and you will find how to do this. Marcus

Re: T5 is production ready ?

2007-08-24 Thread Marcus
Hi Cyrille, We're using 5.0.5 in production with no problems. Anyway, search for "AssetProtectorDispatcher" topic on this forum. Marcus

Re: [T5]How can I change session expired time?

2007-08-30 Thread Marcus
Hi, Use WEB-INF/web.xml: 15 This apply to any Servlet Container (not a Tapestry configuration). Marcus

Re: T5: Activation contexts

2007-08-31 Thread Marcus
Hi Joel, You can make, of course, three onActivate methods, with 2, 3 and 4 parameters, then the Tapestry with call one that matches. Marcus

Re: T5: Activation contexts

2007-08-31 Thread Marcus
Hi Nick, You're right. Using T-5.0.5 this is correct. Tapestry will call onActivate method with no parameter, and all others with at least X parameters, where X is the number of parameters you pass in URL. Marcus

Re: T5: xml file location

2007-09-01 Thread Marcus
Hi Angelo, try FileReader("context:images/info.xml") Marcus

Re: T5: xml file location

2007-09-01 Thread Marcus
with "images" under "youApp\src\main\webapp\"

Re: T5: xml file location

2007-09-01 Thread Marcus
Angelo, Look at Tapestry-Upload source code. There should be an example. Marcus

Re: T5: Activation contexts

2007-09-01 Thread Marcus
x27;t should change anything. Anyway, T5 should call only those methods that matches, and onActivate(), with no parameters, first. Marcus

Re: Antwort: [T5] Tomcat and source path

2007-09-11 Thread Marcus
Hi Hibowl, I think you have to modify pom.xml. If you post your pom.xml maybe we can help. Marcus

Re: T5: 5.0.5 is there a list of dependecies on the site?

2007-09-19 Thread Marcus
Hi Johan, If you create a new project, using tutorial, and import to Eclipse, under "Maven2 Dependencies". - commons-codec... - commons-logging... - javassist... - junit - log4j. - tapestry-core-5.0.5.jar - tapestry-ioc-5.0.5.jar - testng... Marcus

Re: T5: redirecting page under onActivate

2007-09-19 Thread Marcus
(!_visit.isLogged()) { return false;// Access denied. // return "Start";// Redirect to page Start. } return null;// Return null ou true allow access. } } Marcus

Re: T5: redirecting page under onActivate

2007-09-19 Thread Marcus
Angelo, Sorry, return false (or true) is not an option, you must known the page name. Returning null allow access. Marcus

Re: session state vs application state?

2007-09-25 Thread Marcus
) _lista=new ArrayList(0); return _lista; } public static void add(Usuario usuario) { getLista().add(usuario); } } Marcus

Re: session state vs application state?

2007-09-25 Thread Marcus
Hi Josh, I agree with your comment. Add synchronization to "add" method is a good practice. Marcus

Re: session state vs application state?

2007-09-25 Thread Marcus
Josh, Again, I agree, every method that change the _lista should be synchronized. Marcus

Re: T5: Upgrade to 5.0.6-SNAPSHOT

2007-09-27 Thread Marcus
ories= http://tapestry.formos.com/maven-snapshot-repository but... [ERROR] ResourceManager : unable to find resource 'archetype-resources/src/main/webapp/WEB-INF/Start.html' in any resource loader. thanks Marcus

Re: T5: Upgrade to 5.0.6-SNAPSHOT

2007-09-27 Thread Marcus
Hi Davor, I tried. in AppModule: ... import org.slf4j.Logger; ... public RequestFilter buildTimingFilter(final Logger log) pom.xml: ... log4j 1.2.14 ... 5.0.6-SNAPSHOT but... :( HTTP ERROR: 500 org.apache.log4j.Logger.isTraceEnabled()Z Marcus

Re: T5: Upgrade to 5.0.6-SNAPSHOT

2007-09-27 Thread Marcus
o org.mortbay.thread.BoundedThreadPool$PoolThread.run( BoundedThreadPool.java:475) :( Marcus

Re: [T5] Navigation Issue

2007-09-27 Thread Marcus
Hi Jean, Can you show the stacktrace? Your template have grid component inside a form? If yes, remove a form tag. I had some problems with grid inside a form when my source list is too big. Marcus

Re: T5: Upgrade to 5.0.6-SNAPSHOT

2007-09-28 Thread Marcus
Hi Borut, It works if i rename Start.html to Start.tml and put in webapp folder. But, it's correct? all my templates have to renamed to *.tml? Seems like a very strange behavior, at least for me. I think i will wait for oficial release 5.0.6. Thanks. Marcus

Re: T5: Upgrade to 5.0.6-SNAPSHOT

2007-09-28 Thread Marcus
oteRepositories= http://tapestry.formos.com/maven-snapshot-repository to create a new project. but still not working :) thanks. Marcus

Re: T5: Upgrade to 5.0.6-SNAPSHOT

2007-09-28 Thread Marcus
es/) takes precedence over a file in the web application context. Thank you Borut. Marcus

Re: T5: Newbie question - creating and accessible a new page

2007-10-05 Thread Marcus
HI Jacques, Maybe this help. T505 - templates .htmlin src/main/webapp/WEB-INF/ or src/main/resources//pages/ T506 - templates .tmlin src/main/webapp/or src/main/resources//pages/ http://www.nabble.com/T5%3A-Upgrade-to-5.0.6-SNAPSHOT-tf4515211.html#a12878469 Marcus

Re: t5: no root element has been defined

2007-10-05 Thread Marcus
Hi Bob, T505 - templates .htmlin src/main/webapp/WEB-INF/ or src/main/resources//pages/ T506 - templates .tmlin src/main/webapp/or src/main/resources//pages/ http://www.nabble.com/T5%3A-Upgrade-to-5.0.6-SNAPSHOT-tf4515211.html#a12878469 Marcus

Re: T5: any simple code for this select?

2007-10-16 Thread Marcus
; } public void setProfile(Profile profile) { this._profile= profile; } public void onSubmit() { String profile = this.getProfile().toString(); // Getting selected option. System.out.println(profile); } } Pagina.html: -- Marcus

Re: Templates and t:body

2007-10-18 Thread Marcus
Hi Bob, Header.tml: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> Hello.tml: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> Hello Word! Marcus

Re: T5 page without a class (only a template)

2007-10-30 Thread Marcus
Hi Kevin, It's not implemented yet. But your java class could be very simple. Marcus

Re: T5: Multiple onActivate?

2007-10-30 Thread Marcus
Hi Kevin, Maybe this help http://tapestryjava.blogspot.com/2007/08/handling-direct-urls-in-tapestry-5.html Marcus

Re: T5: How to upgrade from 5.0.5 to 5.0.6

2007-10-30 Thread Marcus
Some related links: http://tapestryjava.blogspot.com/2007/10/tapestry-506-is-available.html http://tapestryjava.blogspot.com/2007/10/big-improvement-to-quickstart-archetype.html

Re: T5: Multiple onActivate?

2007-10-30 Thread Marcus
Kevin, On this process, T3 ->T4 ->T5, just keep in mind that Tapestry 5 is much more simple. Marcus

Re: T5 : Localization of input validation

2007-10-31 Thread Marcus
Hi Stephane, search this forum for "*T5 How to Override the default banner message" * Marcus

T5 which button did you hit?

2007-10-31 Thread Marcus
hit? Console always display: Button2 Button1 Thanks, Marcus

Re: T5 which button did you hit?

2007-11-01 Thread Marcus
Hi Nick, Thanks, Marcus

Re: T5: passing values between layout component and page

2007-11-02 Thread Marcus
Hi Ronald, You can declare same ASO(ApplicationStateObject) in both java classes, passing any values between any components. Basic.java and UserProfile.java ... @ApplicationState private Visit _visit; ... getters and setters Basic.tml ... ${visit.username} Marcus

Re: T5.0.6 : How to format a number in a TextField

2007-11-03 Thread Marcus
Hi Shing, Try this http://wiki.apache.org/tapestry/Tapestry5OutputLocaleNumber Marcus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5.0.6 : How to format a number in a TextField

2007-11-03 Thread Marcus
Sorry, this is to output, not used in Textfield - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5 how to control login state

2007-11-03 Thread Marcus
HI lyifan, Your first code should work, as Start.java extends BasePage. just try: ... public Object onActivate() ... Marcus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5 how to control login state

2007-11-03 Thread Marcus
Add getters and setters ASO. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5 how to control login state

2007-11-03 Thread Marcus
s } /src/main/java//pages/AnyProtectedPage.java public class AnyProtectedPage extends ProtectedPage { ... } this should work. Marcus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: source code for Screencast #5

2007-11-05 Thread Marcus
Hi Cyrille, Try tapestry-core source code. Marcus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5 how to control login state

2007-11-05 Thread Marcus
Hi Massimo, Can you post some code about this RequestFilter solution ? Thanks, Marcus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5: Problem with Grid's pager

2007-11-09 Thread Marcus
Hi Marcelo, I have the same problem :( Marcus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5: Grid component, reorder and empty source

2007-11-16 Thread Marcus
Hi Arve, We're using an if to display grid only when it has data. Like this: test.java: ... On Nov 16, 2007 2:40 PM, adamh <[EMAIL PROTECTED]> wrote: > > Hi Arve, > > Yep, I got it to work as well - I should have been a bit more persistent > with my searching, still its little 'should be simp

Re: T5: Grid component, reorder and empty source

2007-11-16 Thread Marcus
Hi Arve, We're using an if, to display grid only when it has data. Like this: Test.java: ... public boolean getHasDataToGrid1() { return (_listGrd1.size() > 0); } ... Test.tml ...

T5 How to get all page names?

2007-11-19 Thread Marcus
Hi, How to get all page names at application statup ? Thanks, Marcus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5 How to get all page names?

2007-11-19 Thread Marcus
Hi Howard, I agree with you, maybe if ComponentClassResolver can have a method where we can get page names, just when we want? Thanks, Marcus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: T5: grid and columns display order

2007-11-20 Thread Marcus
Hi Angelo, Just use reorder="field1,field2.." in tml file. To use "remove" and "reorder" you don't need to explicit declare a model in java class. Marcus - To unsubscribe, e-mail: [EMAIL PR

  1   2   3   4   >