T5 Eventlink Query

2010-09-13 Thread ael
Hello Everyone I have two template. ex. template 1 & template 2. Then in template 2 i have an eventlink. My question is how can i link the eventlink from page 1? Example i will click a link from page 1 then it will trigger the eventlink on page 2. Any ideas :) ty... -- View this message in c

Re: T5 Eventlink Query

2010-09-13 Thread ael
Hi Thiago, In my template 2 i can display many pages ex. template 2 display test1 or test2 so on... using an eventlink then link parameters plus if else component. Then using link parameter i can make a link from template 1 pointing to template 2 that will display test1 or test2. But in actionli

T5 Active Context Query.

2010-09-15 Thread ael
Hello Everyone I have an active context which is a string value. --- page1 Object onActivate(String value1){ if(!value1.trim().equals("")){ return null; } else return page2; } My Query is how can i check if the active context value1 is

Re: T5 Active Context Query.

2010-09-15 Thread ael
Hello Thiago Wow... PERFECT ^_^... Thanks... -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Active-Context-Query-tp2841529p2841724.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-07 Thread ael
This is my code in Hibernate returning LIST... Hibernate DAO public class TbCommandDAO { protected Session session; protected Transaction tx = null; public TbCommandDAO() { SessionFactory factory = HibernateUtil.getSessionFactory(); this.session = factory.getCurrent

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-08 Thread ael
So what would be the difference? The important is you achieve what you want to do. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Early-steps-getting-Tapestry-and-Hibernate-working-via-DAO-tp3072498p3204134.html Sent from the Tapestry - User mailing list archive at Nabbl

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-10 Thread ael
Thanks i will try to use tapestry-hibernate integration & see what will be the difference of these ^_^... -- View this message in context: http://tapestry.1045711.n5.nabble.com/Early-steps-getting-Tapestry-and-Hibernate-working-via-DAO-tp3072498p3206907.html Sent from the Tapestry - User mailing

Re: T5.1.05 always runing slowly when it handle the page requests

2010-10-10 Thread ael
Try to change your Environment OS. Mine is Ubuntu 10/CentOS 5 + MySQL/PostgreSQl. No Problem So far... very fast loading speed ^_^. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-1-05-always-runing-slowly-when-it-handle-the-page-requests-tp2424600p3207048.html Sent f

Re: T5: How to use the Autocomplete component?

2010-10-13 Thread ael
Guys Check this out hehehe http://lombok.demon.co.uk/tapestry5Demo/test/autocomplete/onesource I hope Tapestry & Its developers make documents like this ^_^. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-How-to-use-the-Autocomplete-component-tp2413813p3210127.html

Re: Thanks for making my life hell!

2010-10-13 Thread ael
Really... We have different opinions... For me one of the best ^_^. The only problem with tapestry is it don't have proper documentation for beginners. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Thanks-for-making-my-life-hell-tp3211294p3211306.html Sent from the Ta

Re: [RELEASE] Tapestry version 5.2.1 (beta release)

2010-10-13 Thread ael
Wow... When will be the stable release :) Keep it up ... -- View this message in context: http://tapestry.1045711.n5.nabble.com/RELEASE-Tapestry-version-5-2-1-beta-release-tp3210812p3211308.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-13 Thread ael
Best Example http://lombok.demon.co.uk/folderTap5/ Good Luck... -- View this message in context: http://tapestry.1045711.n5.nabble.com/Early-steps-getting-Tapestry-and-Hibernate-working-via-DAO-tp3072498p3211319.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: Fetch Prototype library via Google DNS?

2010-10-14 Thread ael
You can configure the Tapestry Scriptaculous Path to get prototype library in google. I think that will do the trick. :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Fetch-Prototype-library-via-Google-DNS-tp3212754p3213027.html Sent from the Tapestry - User mailing lis

Re: how to create a loop of parameters?

2010-10-14 Thread ael
JQuery on the Go... http://www.stemkoski.com/stupid-simple-jquery-accordion-menu/ Simple Stupid JQuery Accordion :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/how-to-create-a-loop-of-parameters-tp3212860p3213031.html Sent from the Tapestry - User mailing list archiv

Re: Developing a Shopping Cart Component (T5.0.1.5)

2010-10-16 Thread ael
Yes i think SSO is the best for this But in my session class should i use list? How can i add some data in the cart? session Class List cart = new List(); Getter cart.get() Setter cart.set() -- View this message in context: http://tapestry.1045711.n5.nabble.com/Developing-a-Shopping-Cart

Re: login with stored procedure

2010-10-16 Thread ael
In Postgres you can create a function that will return a boolean data type. Then let tapestry decide ^_^. -- View this message in context: http://tapestry.1045711.n5.nabble.com/login-with-stored-procedure-tp3215112p3215941.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: how to create a loop of parameters?

2010-10-16 Thread ael
JQuery + Prototype is still the BEST buddies... If it is hard on tapestry use third parties ^_^... -- View this message in context: http://tapestry.1045711.n5.nabble.com/how-to-create-a-loop-of-parameters-tp3212860p3215942.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Should Tapestry phone home?

2010-10-16 Thread ael
I Agree a new site for Tapestry Products ^_^ +1. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Should-Tapestry-phone-home-tp3207776p3215946.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: Thanks for making my life hell!

2010-10-16 Thread ael
Yes you are right mohamed... I dont like to read documentation. I prefer to reverse engineer the source code because it is fun, In my part... Thats why tapestry is hard for me when you don't read docs :) hehehehe... -- View this message in context: http://tapestry.1045711.n5.nabble.com/Than

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

2010-10-17 Thread ael
JumpStart is the BEST Tapestry Documentation... http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/javascript/zonewithoutyellowfade http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/javascript/zonewithoutyellowfade Good Luck... -- View this message in context: http:/

T5 Session State Add Cart.

2010-10-17 Thread ael
Hello Everyone I just want to ask if this is the best practice for saving an add cart function. Using SSO. Need comments... My code Page Class private List item; @SessionState @Property private UserSession usersession; private boolean usersessionExists; Object onActivate

T5 Image Source not context.

2010-10-18 Thread ael
Hello Everyone I just want to know how to link img source using a file server & not using context?. Any idea... This is for intranet purpose only :) ty... -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Image-Source-not-context-tp3217063p3217063.html Sent from the T

Re: T5 Image Source not context.

2010-10-18 Thread ael
I tried src="file://servername/folder/image.jpg" It is ok in IE but not in firefox... -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Image-Source-not-context-tp3217063p3217077.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: T5 Image Source not context.

2010-10-18 Thread ael
Problem solved... http://kb.mozillazine.org/Links_to_local_pages_don%27t_work -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Image-Source-not-context-tp3217063p3217097.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-18 Thread ael
Wow, Tapestry Hibernate is much easier than my customize hibernate code... fascinating ^_^. http://code.google.com/p/tapestry5examples/downloads/detail?name=folderTap5_15.jar&can=2&q=&sort=filename http://code.google.com/p/tapestry5examples/downloads/detail?name=folderTap5_15.jar&can=2&q=&sort=fi

T5 Customize Returned List.

2010-10-18 Thread ael
Hello everyone i have a List which is returned from a Database. Then i want to customize its returned value. Is that possible? {$source.value} Ex. {$source.value} if value == 1 it will display OK if value == 2 it will display Cancel. -- View this message in context: h

Re: T5 Customize Returned List.

2010-10-19 Thread ael
Hello Hmm it is returned as a List. @Property private TableSource source; public List getSource(){ return List; } {$source.value} That is my problem... -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Customize-Returned-List-tp3218486p3218709

Re: AjaxCheckbox component

2010-10-19 Thread ael
Check this out... http://jumpstart.doublenegative.com.au:8080/jumpstart/ http://jumpstart.doublenegative.com.au:8080/jumpstart/ http://lombok.demon.co.uk/tapestry5Demo/ http://lombok.demon.co.uk/tapestry5Demo/ Good Luck :) -- View this message in context: http://tapestry.1045711.n5.nabble.c

RE: T5 Customize Returned List.

2010-10-19 Thread ael
Sorry i will made it clear. Page Class @Property private TableSource sourceA; public List getSource(){ return List; } Template {$sourceA.value} Something like this... tapestry will automatically loop the item based on List But i want to know if it is possible i can customize

Re: AjaxCheckbox component

2010-10-19 Thread ael
I mean the link that i posted are components therefore they are the same as checkbox... -- View this message in context: http://tapestry.1045711.n5.nabble.com/AjaxCheckbox-component-tp3218716p3218786.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: T5 Customize Returned List.

2010-10-19 Thread ael
Ahhh Now i understand i can access the source field using getter in the page class Therefore i don't need to use property anymore. I will try it. Thanks Everyone. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Customize-Returned-List-tp3218486p3218850.html Sent fro

T5 Working Tapestry Hibernate with DAO.

2010-10-20 Thread ael
Reference http://code.google.com/p/tapestry5examples/downloads/detail?name=folderTap5_1_0_2-src.jar&can=2&q= Tapestry Hibernate AppModule.java package com.dash.tapestryiocdao.services; import java.io.IOException; import org.apache.tapestry5.*; import org.apache.tapestry5.ioc.MappedConfigurat

Re: Which T5.2 to use?

2010-10-21 Thread ael
Wow, everything with tapestry is perfect... -- View this message in context: http://tapestry.1045711.n5.nabble.com/Which-T5-2-to-use-tp3229160p3230001.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To

Re: Fwd: [Announce] Tapestry 5.2 Demo application

2010-10-21 Thread ael
Yes... Fascinating... Its Reverse Engineering Time ^_^... Keep up the good work everyone :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Fwd-Announce-Tapestry-5-2-Demo-application-tp3230348p3231506.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Fwd: [Announce] Tapestry 5.2 Demo application

2010-10-21 Thread ael
What Security Framework this you use for this project? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Fwd-Announce-Tapestry-5-2-Demo-application-tp3230348p3231528.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

T5 Guide: Building Tapestry 5.1.0.5 using Netbeans 6.9.1

2010-10-21 Thread ael
1. File->New Project 2. Choose->Maven->Maven Project 3. Maven Archetype->Click Add 4. Specify Archetype Detail a. group id: org.apache.tapestry b. artifact id: quickstart c. version: 5.1.0.5 5. Select your created Archetype->Next 6. Project Name->Finish. 7. Wait for the Application to

T5 Guide: Working Shopping Cart. Feel Free to comment...

2010-10-22 Thread ael
This is my shopping cart using SSO. TbCart.Class /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.dash.ssocart.entities; /** * * @author alan */ public class TbCart implements java.io.Serializable { private String items;

Re: how to disable autoloading of additional javascripts when using got jquery

2010-10-28 Thread ael
http://docs.jquery.com/Using_jQuery_with_Other_Libraries http://docs.jquery.com/Using_jQuery_with_Other_Libraries Read Me -- View this message in context: http://tapestry.1045711.n5.nabble.com/how-to-disable-autoloading-of-additional-javascripts-when-using-got-jquery-tp3240347p3241519.html Sen

Re: Persistent data issue

2010-10-28 Thread ael
Use OnPassivate OnActivate... -- View this message in context: http://tapestry.1045711.n5.nabble.com/Persistent-data-issue-tp3241417p3241520.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscrib

Re: jQuery Integration for 5.2

2010-10-28 Thread ael
http://docs.jquery.com/Using_jQuery_with_Other_Libraries http://docs.jquery.com/Using_jQuery_with_Other_Libraries -- View this message in context: http://tapestry.1045711.n5.nabble.com/jQuery-Integration-for-5-2-tp2834002p3241521.html Sent from the Tapestry - User mailing list archive at Nabble

Re: Tapestry5 Got5-JQuery experiences

2010-10-28 Thread ael
http://docs.jquery.com/Using_jQuery_with_Other_Libraries http://docs.jquery.com/Using_jQuery_with_Other_Libraries -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry5-Got5-JQuery-experiences-tp3228056p3241523.html Sent from the Tapestry - User mailing list archive at

Re: [Tapestry Central] Tapestry 5.2.2

2010-11-02 Thread ael
Why i cannot get the Tapestry 5.2.2 in Netbeans? Any idea? WARNING: You are running embedded Maven builds, some build may fail due to incompatibilities with latest Maven release. To set Maven instance to use for building, click here. Scanning for projects... Setting property: classpath.r

Re: Regarding zone updates, and custom events.

2010-11-02 Thread ael
Ypu cannot mixed them... -- View this message in context: http://tapestry.1045711.n5.nabble.com/Regarding-zone-updates-and-custom-events-tp3245855p3248000.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: Access to a component through an URL

2010-11-02 Thread ael
You cloud also combine LINK & IF :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Access-to-a-component-through-an-URL-tp3247169p3248003.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: "Code less, deliver more", possible problem

2010-11-03 Thread ael
There are both opensource i think there's no problem about that :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Code-less-deliver-more-possible-problem-tp3245157p3249330.html Sent from the Tapestry - User mailing list archive at Nabble.com.

T5 Guide: Building T5.2.2 Application Using Netbeans 6.9.1

2010-11-05 Thread ael
1. File->New Project 2. Choose->Maven->Maven Project 3. Maven Archetype->Click Add 4. Specify Archetype Detail a. group id: org.apache.tapestry b. artifact id: quickstart c. version: 5.2.2 d. repository: http://repo1.maven.org/maven2 5. Select your created Archetype->Next 6. Projec

Re: HibernateDataProvider vs Using a Dao

2010-11-07 Thread ael
I think there are the same. but different in controlling the session. Also using DAO can have an advantage in using different or migrating database. -- View this message in context: http://tapestry.1045711.n5.nabble.com/HibernateDataProvider-vs-Using-a-Dao-tp3254210p3254368.html Sent from the Ta

Re: Does tapestry with hibernate

2010-11-07 Thread ael
I think this is due to license issue of hibernate. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Does-tapestry-with-hibernate-tp3252006p3254374.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: session is NULL

2010-11-10 Thread ael
Kindly visit my post. http://tapestry.1045711.n5.nabble.com/T5-Working-Tapestry-Hibernate-with-DAO-td3229905.html#a3229905 http://tapestry.1045711.n5.nabble.com/T5-Working-Tapestry-Hibernate-with-DAO-td3229905.html#a3229905 -- View this message in context: http://tapestry.1045711.n5.nabble.co

Re: a simple question

2010-11-10 Thread ael
YES... tml x needs boolean java boolean x; if(mystring.equals("tapestry")) x = true else x=false Hope you understand the logic. -- View this message in context: http://tapestry.1045711.n5.nabble.com/a-simple-t-if-question-tp3259452p3259618.html Sent from the Tapestry - User mailing lis

Re: Question about mixins

2010-11-11 Thread ael
Use Zone & Blocks -- View this message in context: http://tapestry.1045711.n5.nabble.com/Question-about-mixins-tp3255155p3259969.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: u

Re: Tapestry Web Site Updated

2010-11-21 Thread ael
Good Job Howard, Another Link Tapestry Tutorial http://tapestry.apache.org/community-contributions.html http://lombok.demon.co.uk/tapestry5Demo/ Also it can help -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Web-Site-Updated-tp3273033p3274771.html Sent f

Re: moving to the next page after form submit

2010-11-23 Thread ael
Hello Hese There are many ways to do this. 1. By using return page.class (without parameters) 2. By using Context Url (OnPassivate & OnActivate) (with parameters) 3. Using Link Parameters (with parameters) http://jumpstart.doublenegative.com.au/jumpstart/ http://jumpstart.doublenegative.com.a

Re: A Simple TabPanel

2010-11-26 Thread ael
Also http://lombok.demon.co.uk/tapestry5Demo/test/components/tabdemo from http://lombok.demon.co.uk/tapestry5Demo/ -- View this message in context: http://tapestry.1045711.n5.nabble.com/A-Simple-TabPanel-tp3281532p3282139.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Redirect to URL with params

2010-11-26 Thread ael
How about using onActivate & onPassivate. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Redirect-to-URL-with-params-tp3279834p3282143.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: Tapestry-Hibernate

2010-12-02 Thread ael
How about this? http://tapestry.1045711.n5.nabble.com/T5-Working-Tapestry-Hibernate-with-DAO-td3229905.html http://tapestry.1045711.n5.nabble.com/T5-Working-Tapestry-Hibernate-with-DAO-td3229905.html -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Hibernate-tp3

Re: T5: Hibernate

2010-12-02 Thread ael
How about this? http://tapestry.1045711.n5.nabble.com/T5-Working-Tapestry-Hibernate-with-DAO-td3229905.html http://tapestry.1045711.n5.nabble.com/T5-Working-Tapestry-Hibernate-with-DAO-td3229905.html -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Hibernate-tp2409789

Re: T5 capture keyboard events?

2010-12-05 Thread ael
You don't need tapestry to do this. You only need javascript then pass it to tapestry. http://unixpapa.com/js/key.html http://www.javascriptkit.com/jsref/eventkeyboardmouse.shtml -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-capture-keyboard-events-tp3293142p3293583

T5 Auto Generated Picture Gallery (Intranet)

2010-12-08 Thread ael
This code will get pictures from the file server then put it in the template automatically. .tml [img src="file:${imagepath1.filename}" /] .java /** * Start page of application TapestryAutoLoadPictures. */ public class Index { @Inject private AssetSource assetSource;

Re: Storing assets in database ...

2010-12-09 Thread ael
Do you really need to save the image to the database? Why not save the link then retrieve it. Just like that simple. See my example. http://tapestry.1045711.n5.nabble.com/T5-Auto-Generated-Picture-Gallery-Intranet-td3298328.html -- View this message in context: http://tapestry.1045711.n5.nabb

Re: Referencing and displaying image asset from Webapp

2010-12-14 Thread ael
Is this application to img? # Say Hello Instead a link you will use img then plus context image name? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Referencing-and-displaying-image-asset-from-Webapp-tp3303788p3305703.html Sent from the Tapestry - User mailing

T5 Guide: Building T5.2.4 Application Using Netbeans 6.9.1

2010-12-16 Thread ael
1. File->New Project 2. Choose->Maven->Maven Project 3. Maven Archetype->Click Add 4. Specify Archetype Detail a. group id: org.apache.tapestry b. artifact id: quickstart c. version: 5.2.4 d. repository: http://repo1.maven.org/maven2 5. Select your created Archetype->Next 6. Projec

Re: Need help upgrading JumpStart examples to Tapestry 5.2

2010-12-24 Thread ael
Yes that's a good idea so that everyone can add there own example per components. It can greatly help the documentation part of tapestry :). -- View this message in context: http://tapestry.1045711.n5.nabble.com/Need-help-upgrading-JumpStart-examples-to-Tapestry-5-2-tp3313299p3318182.html Sent f

Chenille Kit Demo Source Code.

2011-01-25 Thread ael
Hi Everyone, I tried to test http://www.chenillekit.org/demo/tapcom chenille kit demo application & i really like it. does anyone know how to view or download its source code on how to use it? Like jumpstart. Thank you very much. -- View this message in context: http://tapestry.1045711.n5.

Re: Chenille Kit Demo Source Code.

2011-01-25 Thread ael
Found it. Hehhehe Thanks... http://tapestry.formos.com/cgi-bin/viewvc.cgi/chenillekit/branches/1.0/chenillekit-demo/src/main/java/org/chenillekit/demo/pages/tapcomp/ chenille kit demo application source code -- View this message in context: http://tapestry.1045711.n5.nabble.com/Chenille-Kit-D

T5 Component Select ID Example.

2011-02-07 Thread ael
For Newbie Like me guide... Reference: http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/select/easyid Select ID Index.tml Person: You chose personId: ${personId} Index.java import com.dash.tapestrysel

T5 Community -- Apache Tapestry Query

2011-03-07 Thread ael
Hi I visit the http://tapestry.apache.org/community.html tapestry community site then if possible additional IDE Integration for Tapestry 5 which is my favorite Netbeans. Thanks :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Community-Apache-Tapestry-Query-tp3413

Re: T5 Community -- Apache Tapestry Query

2011-03-08 Thread ael
Can you add the another IDE Intergration which is Netbeans on Tapestry 5 Community Page? -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Community-Apache-Tapestry-Query-tp3413561p3414790.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Saving from an editable grid

2011-03-08 Thread ael
Using tapestry-Hibernate with DAO plus Grid is much easier to implement than JDBC. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Saving-from-an-editable-grid-tp3412259p3414800.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: JasperReports integration

2011-03-14 Thread ael
You can copy paste your jasper libraries to web server library folder. Or better alter your POM.xml -- View this message in context: http://tapestry.1045711.n5.nabble.com/JasperReports-integration-tp3415368p3635509.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: [Tapestry Central] Rethinking JavaScript in Tapestry 5.3

2011-03-20 Thread ael
Wow, This is the day I've waiting for. Nice :) Howard Lewis Ship wrote: > > > - Keep backwards compatibility to Tapestry 5.2 > What I'm proposing is a gradual transition, over Tapestry 5.3 and 5.4, > where new, documented, stable JavaScript APIs are introduced. and > Tapestry and 3rd party lib

Re: How to locate streamresponse of jasper in a page ?

2011-03-27 Thread ael
I have tried this in jsp but not in tapestry. path = application.getRealPath("/"); ouputStream = response.getOutputStream(); jasperPrint = JasperFillManager.fillReport(path + "reports/" + filename, parameter, con); This will generate a pdf report on reports folder in you

Re: New user and IDE issues

2011-04-04 Thread ael
Im Using Netbeans 6.9.1 on Tapestry with the help of built in maven. If you search this forum you can find how to create Tapestry 5 using Netbeans 6.9.1. It is very easy :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/New-user-and-IDE-issues-tp4282327p4282941.html Sent f

Re: AJAX ActionLink within ProgressiveDisplay

2011-04-17 Thread ael
Kindly Check this. http://lombok.demon.co.uk/tapestry5Demo/test/core/progressivedisplaydemo Progressivedisplaydemo -- View this message in context: http://tapestry.1045711.n5.nabble.com/AJAX-ActionLink-within-ProgressiveDisplay-tp4308800p4309620.html Sent from the Tapestry - User mailing list a

Re: Tapestry 5: @Property object is null when using in onActivate

2011-04-26 Thread ael
Why not ? If user is not login private Login login; use return login -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-Property-object-is-null-when-using-in-onActivate-tp4335791p4342352.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: back button when logged out

2011-05-01 Thread ael
Try SSO... http://jumpstart.doublenegative.com.au/jumpstart/examples/state/sharingacrossmultiplepages1 http://jumpstart.doublenegative.com.au/jumpstart/examples/state/sharingacrossmultiplepages1 -- View this message in context: http://tapestry.1045711.n5.nabble.com/back-button-when-logged-out-tp

Re: tapestry-security users: are you using shiro.ini?

2011-05-02 Thread ael
i cannot understand what is the use of shiro.ini when you can put all of your users in the database. For me shiro.ini is an old style. Just my opinion :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/tapestry-security-users-are-you-using-shiro-ini-tp4365590p4365908.html

Re: What would YOU like to see in a four day Tapestry training course?

2011-05-02 Thread ael
Me too i really don't understand what is services IOC & how to use it. That's why i prefer to use HibernateSessionManager its much easier. -- View this message in context: http://tapestry.1045711.n5.nabble.com/What-would-YOU-like-to-see-in-a-four-day-Tapestry-training-course-tp4365205p4365914.ht

Re: [ANN] JumpStart 5.2.1 released

2011-05-09 Thread ael
This is the one of the BEST documentation of Tapestry. Keep up the good work :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-JumpStart-5-2-1-released-tp4381838p4383118.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Auto Refresh Zone?

2011-05-12 Thread ael
Is it possible to create a page with a zone but the content of the zone will refresh automatically? I mean maybe every 10 seconds? Or should i create a button then a javascript will click that button every 10 seconds? What is the best options? -- View this message in context: http://tapestry.10

Re: Auto Refresh Zone?

2011-05-12 Thread ael
Good Job Taha Thanks :) Components /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.dash.tapestryprogressupdate.components; import org.apache.tapestry5.BindingConstants; import org.apache.tapestry5.ComponentResources; import org.apac

T5 Deletion of the uploaded file?

2011-05-17 Thread ael
Any guide on how to delete the uploaded file? Any best practice? Or I will just use the java io? Java Delete using io String fileName = "file.txt"; // A File object to represent the filename File f = new File(fileName); // Make sure the file or

T5.2.4 DateField will not show.

2011-05-25 Thread ael
Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.3; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Timestamp: Wed, 25 May 2011 07:48:38 UTC Message: 'style' is null or not an object Line: 2539 Char: 5 Code: 0 URI: http://lo

Re: T5.2.4 DateField will not show.

2011-05-25 Thread ael
This error will occur in IE 7 & 8. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-2-4-DateField-will-not-show-tp4424536p4426894.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: Actionlink + action

2011-05-25 Thread ael
Kindly check http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/navigation/eventlinks http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/navigation/eventlinks TML # Say Hi Dude # Say Hi DudA # Say Hi DudB CLASS // Use "flash" persistence to kee

T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-05-30 Thread ael
Can anyone explain this? An unexpected application exception has occurred. org.apache.tapestry5.runtime.ComponentEventException context eventType action location classpath:com/dash/t5wdb/pages/Maintenance.tml, line 133 128 129 130

Re: T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-05-30 Thread ael
Hi Taha, The error will occur if validate required is set in the template for uploading files. Maintenance Class /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.dash.t5wdb.pages; import com.dash.t5wdb.daoservices.*; import com.da

Re: tapestry-security users: are you using shiro.ini?

2011-05-31 Thread ael
Good Job Kalle I cant wait to try this out. :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/tapestry-security-users-are-you-using-shiro-ini-tp4365590p160.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: What to use for multiple select => (MultiplePropertySelect || Select with Multiple=true)

2011-06-02 Thread ael
I prefer you will use autocomplete for this. http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/autocompletemixin http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/autocompletemixin -- View this message in context: http://tapestry.1045711.n5.nabble.com/What

Re: java enterprise spesification with tapestry

2011-06-05 Thread ael
In order to understand more about Tapestry. You should first introduce yourself to Tapestry by reading what is tapestry is all about. http://tapestry.apache.org/ http://tapestry.apache.org/ -- View this message in context: http://tapestry.1045711.n5.nabble.com/java-enterprise-spesification-wit

Re: T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-06-06 Thread ael
Already found the problem. I don't understand why file variable is null? Any idea's? -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-5-2-4-NPE-org-apache-tapestry5-runtime-ComponentEventException-tp4438497p4458015.html Sent from the Tapestry - User mailing list archi

Re: T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-06-06 Thread ael
SIGH... This is a limitation of Tapestry you cannot use AJAX in Uploading Files. How SAD!!! http://tapestry.1045711.n5.nabble.com/tapestry-upload-and-zones-td3425668.html http://tapestry.1045711.n5.nabble.com/tapestry-upload-and-zones-td3425668.html Why? -- View this message in context: http

Re: T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-06-06 Thread ael
I will try this one... Thanks :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-5-2-4-NPE-org-apache-tapestry5-runtime-ComponentEventException-tp4438497p4460300.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: Clearing @SessionState

2011-06-06 Thread ael
Why not use TAPESTRY-SECURITY by Kalle :) this is more advanced... -- View this message in context: http://tapestry.1045711.n5.nabble.com/Clearing-SessionState-tp4458525p4460330.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

T5 Using DAO within a DAO causes NPE.

2011-06-07 Thread ael
Hi I don't understand why injecting a DAO within a DAO cause NPE. tbadminsdao.getUserInfo will result to NPE. Any idea why? class AuthenticationDAOHibernate public class AuthenticationDAOHibernate implements AuthenticationDAO{ private HibernateSessionManager sessionMananger;

Re: T5 Using DAO within a DAO causes NPE.

2011-06-07 Thread ael
Full Stack Strace java.lang.NullPointerException Hide uninteresting stack frames Stack trace com.dash.t5wdb.daoservices.AuthenticationDAOHibernate.getUserAuthentication(AuthenticationDAOHibernate.java:65) $AuthenticationDAO_1306dcf814f.getUserAuthentication($AuthenticationDAO_1306dcf814f.java)

Re: T5 Using DAO within a DAO causes NPE.

2011-06-07 Thread ael
No, i did not use javax. Its import org.apache.tapestry5.ioc.annotations.Inject; -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4467432.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: T5 Using DAO within a DAO causes NPE.

2011-06-08 Thread ael
Yes in the AppModule package com.dash.t5wdb.services; import java.io.IOException; import org.apache.tapestry5.*; import org.apache.tapestry5.ioc.MappedConfiguration; import org.apache.tapestry5.ioc.OrderedConfiguration; import org.apache.tapestry5.ioc.ServiceBinder; import org.apache.tapestry5

Re: T5 Using DAO within a DAO causes NPE.

2011-06-08 Thread ael
I always make life complicated. Well just inject the DAO within pages. problem solved. But still i want to make my page class neat though. Also contructor injection is another solution. Thanks :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-

Re: tapestry-security 0.4.0 released!

2011-06-09 Thread ael
Wow... Good job... I can wait for the stable version :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/tapestry-security-0-4-0-released-tp4459174p4474814.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

  1   2   >