T5.1 drag-and-drop-folder tree component doesn't wook in T5.1

2009-05-24 Thread Weisu
Hi All, I have used www.dhtmgoodies.com drag-and-drop-folder tree component following the WIKI by Erik Vullings. After I upgade from T5.0.18 to T5.1.0.5, it stop working. Does anyone have any idea? Thanks in advance! Weisu -- View this message in context: http://www.nabble.com/T5.1-drag-and

Re: [T5] component for displaying tree like structure

2009-01-26 Thread Weisu
Hi Davor, I have tried to use it but don't know how to define the tree node object. So I follow the wiki's example http://wiki.apache.org/tapestry/Tapestry5TreeComponent. Could someone please shows how to use this? Thanks! Weisu. Davor Miku wrote: > > I haven't find any.

Re: t5 tree component

2008-12-08 Thread Weisu
I have followed the wiki and implemented the tree component. I am happy to help if you give more information about your problem. Weisu Yiqun Shi wrote: > > Is there a better implementation of tree component in T5? The one on wiki > is not finished, and it is not easy to have it down.

T 5.0.17: problem with grid inside a zone

2008-12-03 Thread Weisu
Hi All, I have a grid component inside a zone component. Every time when I click the sort or next page on the grid, the whole zone disappear, it looks it refresh the whole page instead of refreshing the zone only. Thanks in advance! Weisu -- View this message in context: http://www.nabble.com/T

Re: create a web organization chart in Tapestry 5

2008-10-22 Thread Weisu
You might use T5 Tree component. Please see the wiki link for detail. http://wiki.apache.org/tapestry/Tapestry5TreeComponent Weisu wesleywj2 wrote: > > hi all, > > is there any solution on implementing an interactive org chart that can > respond to events in T5? > > pl

Re: t5: force display of zone

2008-09-30 Thread Weisu
Hi Angelo, This is the way I do it. ${currentAdUser.firstName} The Zone is like ... Angelo Chen wrote: > > Hi, > > I have actionlinks in the grid, and a display zone at top of the page, > when act

Re: T5Component fieldset - How to turnoff the message

2008-09-24 Thread Weisu
This has been fixed in T5.0.15, [TAPESTRY-2623] - Remove excessive Tapestry.debug() messages on zone response . Weisu wrote: > > Hi All, I am using fieldset in t5component 0.5.14. And I get this message > on my page every time. Is there any way to turn it off. > Checking previ

T5Component fieldset - How to turnoff the message

2008-09-22 Thread Weisu
Hi All, I am using fieldset in t5component 0.5.14. And I get this message on my page every time. Is there any way to turn it off. Checking previously loaded for: http://localhost:8080/ellipse/assets/org/apache/tapestry/commons/jslibs/scripts/FieldSet.js Thanks in Advance! Weisu. -- View this

Re: [T5] Announce - TreeGrid component

2008-08-25 Thread Weisu
Hi Gabriel, I am trying to use your treegrid component in T5.0.14. Do you have a simple example how to use it in T5? Thanks in advance! Weisu. Gabriel Landais wrote: > > Hi, > I've just released an early version of a tree grid component. It is > available via SVN on Goog

Re: Access control with dispatchers and annotations - problem

2008-07-31 Thread Weisu
n privatePage = page.getClass().getAnnotation(Private.class) != null; Weisu photos-4 wrote: > > I too have been trying to implement what is on the wiki. > > This is really doing my head in (not helped by the fact the wiki > solution http://wiki.apache.org/tapestry/Tapestry

Re: T5: redirect page in a Dispatcher

2008-07-08 Thread Weisu
Thanks Francois! I will give it a go. Weisu Francois Armand wrote: > > Weisu wrote: >> Hi All, I am trying to do the same, but after Login page how do I go back >> to >> the original page. >> Thanks in advance! >> Weisu >> > You will have to stor

Re: T5: redirect page in a Dispatcher

2008-07-07 Thread Weisu
Hi All, I am trying to do the same, but after Login page how do I go back to the original page. Thanks in advance! Weisu Angelo Chen wrote: > > Thanks Peter and Marcelo, > your tip works, for the intended page, it is request.getPath(). > > A.C. > > >

Re: t5: Returning block works in Firefox but not in IE

2008-06-30 Thread Weisu
tapestry's javascript did not execute. >> I fixed my javascript bugs and everything started working. >> >> 2008/6/30 Weisu <[EMAIL PROTECTED]>: >> >> > >> > Hi Lance, I have the same error message. Could you kindly show the >> steps

Re: t5: Returning block works in Firefox but not in IE

2008-06-29 Thread Weisu
Hi Lance, I have the same error message. Could you kindly show the steps to make this work? Thanks in advance. Weisu. Lance Java wrote: > > Yep, that's what I meant > > 2008/6/25 9902468 <[EMAIL PROTECTED]>: > >> >> Better yet: >> >> Tapestr

Re: T5 5.0.13 has drop TapestryConstants package ?

2008-06-18 Thread Weisu
Hi CG, in T5.0.13, this has changed to 'SymbolConstants' and is under org.apache.tapestry5.* Weisu. CG-6 wrote: > > I am a newbie , my question may a bit weird because I do not have deep > knowledge in Tapestry. > > I am following this article in wiki to create own bi

Re: T5.0.13: form problem

2008-06-12 Thread Weisu
Thanks Harald! It works now. Wei. Harald Geritzer-2 wrote: > > >> java.lang.ClassNotFoundException: caught an exception while obtaining a >> class file for org.apache.tapestry5.corelib.components.Form. > > if its the slf4j logger, which isn't found and you're using jetty try to > put a file ca

T5.0.13: form problem

2008-06-11 Thread Weisu
Hi All, I have this problem with component form after I upgraded my app to 5.0.13. The error msg is: java.lang.ClassNotFoundException: caught an exception while obtaining a class file for org.apache.tapestry5.corelib.components.Form. The tml looks like:

Re: t5-components MultipleSelect use

2008-06-01 Thread Weisu
need it. Do you have a > snippet similar to what you gave for selectModel? Or further > documentation on initiating an instance of a select model > > Thanks, > Zack > > Weisu wrote: >> >> You need to define encoder in your tml file, this is my: >> >

Re: t5-components MultipleSelect use

2008-05-29 Thread Weisu
; I am also just using a set of strings as the value. What should I use for > labelField and idField? > > Thanks for your help, > Zack > > Weisu wrote: >> >> Hi Zack, I think you need to define your getSelectModel(), this is my >> getS

Re: t5-components MultipleSelect use

2008-05-28 Thread Weisu
Hi Zack, I think you need to define your getSelectModel(), this is my getSelectModel method. Hope this helps. public GenericMultipleSelectModel getSelectModel() { _districtList = _editService.getDistricts(); _selectModel = new GenericMultipleSelectModel(_districtList, EllipseD

Re: T5: 5.0.12-SNAPSHOT quickstart

2008-05-19 Thread Weisu
eems, > that current quickstart won't > include that > > Taavi > > Weisu wrote: >> Hi All, I am trying to use quickstart to create a 5.0.12-SNAPSHOT >> project, I >> follow the steps in T5 site, >> mvn archetype:create -DarchetypeGroupId=org.ap

T5: 5.0.12-SNAPSHOT quickstart

2008-05-19 Thread Weisu
Hi All, I am trying to use quickstart to create a 5.0.12-SNAPSHOT project, I follow the steps in T5 site, mvn archetype:create -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickstart -DgroupId=org.example -DartifactId=myapp -DpackageName=org.example.myapp -Dversion=1.0.0-SNAPSHOT a

Re: T5 and Eclipse 3.3.2 and Tomcat 5.5

2008-03-25 Thread Weisu
Hi Bruce, I am using Tomcat 5.5, Eclipse 3.2.2 and T5.0.11. I am not sure this is the prefer way but it works. 1) I create the project as a Java project, create seperate source and output folders to myApp/context/EB-INF/classes 2) In Java Build Path, add a user define library T5.0.11, and add all

Re: T5: Palette

2008-03-13 Thread Weisu
;} So how do I define the encoder? Thanks in advance! Weisu. -- View this message in context: http://www.nabble.com/T5%3A-Palette-tp15347141p16023549.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To

Re: T5 ajax zones example

2008-03-11 Thread Weisu
Hi Ted, I had tried your example, but I can not make the form part to work, it only displays "Content before update". I am using T5.0.10. Thanks! ws -- View this message in context: http://www.nabble.com/T5-ajax-zones-example-tp15991696p15995860.html Sent from the Tapestry - User mailing list

Re: T5-Can't find Ajax doco under tapestry-code

2007-12-18 Thread Weisu
Sorry, I can see it now. But if you go through the normal website, it is not there. Just in case someone is interest in this topic. it is under this link: http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/ajax.html Wei. -- View this message in context: http://www.nabble.com/T5-C

T5-Can't find Ajax doco under tapestry-code

2007-12-18 Thread Weisu
Hi, I am sure I read the Ajax and Zone doco in the tapestry site under Tapestry 5 Modules -> tapestry-code yesterday, but I can't see them today. Is there any chance to put them back, because it is very useful. Thanks in advance! Wei. -- View this message in context: http://www.nabble.com/T5-Can

Re: T5 - DataSource in Jetty5

2007-07-20 Thread Weisu
Thanks Thomas, Because Eclipse Jetty launch only works on Jetty5, that is why I am looking for Jetty5's example. Regards, Wei. Thomas Hackel wrote: > > Weisu schrieb: >> Hi, I am using Tomcat for my old app, now I am tring to use Jetty5. In >> How do I do this in Jett

T5 - DataSource in Jetty5

2007-07-19 Thread Weisu
Hi, I am using Tomcat for my old app, now I am tring to use Jetty5. In Tomcat, I put my datasource in xml file under tomact\conf\Catalina\localhost\xxx.xml as: How do I do this in Jetty5? And I would like to use Oracle 9. Thanks in advance!!! Wei. -- View this message in context: http://www.

Re: 5.0.5-SNAPSHOTS

2007-05-21 Thread Weisu
Hi Jun, Had you figured out this problem, I had same problem. Jun Tsai-2 wrote: > > 2007/5/17, Howard Lewis Ship <[EMAIL PROTECTED]>: >> I've been making a number of important T5 bug fixes; I've just uploaded >> the >> latest snapshots to http://people.apache.org/~hlship/tapestry-repository/ >

Re: T5 - Location of files

2007-05-09 Thread Weisu
If you use Tomcat, try put jdbc jar in tomcat\common\lib, see if it works. Marcus-11 wrote: > > Hi, > > Where, in T5, should i put others jars necessary to application, for > example, if i want to put my jdbc driver in file myApp.war. > I've try WEB-INF/lib, but don't work. > > Thank's > Marc

Re: T5: SelectModel vs T4 IPropertySelectionModel

2007-05-02 Thread Weisu
You can use List or TreeMap in T5.0.3. William Keller wrote: > > I briefly tried out T5 (5.0.3) yesterday and was impressed! One of the > areas > I couldn't convert my app easily though, was the Select boxes (that > required > IPropertySelectionModel). Currently, in T4 I use a global static hel

Re: Templating with Tapestry5

2007-04-30 Thread Weisu
Please look at this post "Templating with Tapestry 5 by bjornharvold". Hope it will help you. Joshua Jackson-3 wrote: > > Dear all, > > I'm really new with tapestry5 and tapestry. I've been figuring out > about templating with tapestry5 the same way as struts-tiles or > facelets. How do I do t

Re: AW: T5:Page navigation

2007-04-11 Thread Weisu
> > i like this statement: > if (!_user.isLogin()== true) > > very creative! > > -----Ursprüngliche Nachricht- > Von: Weisu [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 11. April 2007 08:42 > An: users@tapestry.apache.org > Betreff: T5:Page navig

T5:Page navigation

2007-04-10 Thread Weisu
Hi, I have a login page, when user logins, it navigates to next page. How can I hide the login page when I click the back button from IE. I am using onActive() in Login page likes: String onActivate() { if (!_user.isLogin()== true) { return null;

T5-How to inject ASO into a IoC Service

2007-04-01 Thread Weisu
Hi, I am trying to inject a ASO to a service, I use the code below but failed, not sure it the right way. public class AppModule { private final EllipseSession _ellipseSession; public AppModule( @InjectService("EllipseSession") EllipseSession session)

Re: T5 Select component

2007-03-15 Thread Weisu
In 5.0.3, you can use a List to display the dropdown. The html template looks like: And the component class looks like: public List getSupplierName() { //define your list List result = ..; return result; } public void setSupplierName(List

T5-PageValidateListener & ASO exists method @InjectStateFlag

2007-03-15 Thread Weisu
Hi, I cannot find this in T5, I am try to have a login page before other pages, I was doing this inT4: public void pageValidate(PageEvent event) { if (!getClientSessionExists()) { Login login = getLogin(); login.setNextPage("InvoiceApproval");

Re: T5.0.3-Ioc Service Module ID

2007-03-14 Thread Weisu
Sorry , my fault, I didn't delete 5.0.2 from lib directory. Weisu wrote: > > Hi, I had just downloaded the 5.0.3, and coz there is no more @Id, so i > had to comment out @Id("app"), but it produces this error msg: > java.lang.RuntimeException: Module 'app'

T5.0.3-Ioc Service Module ID

2007-03-14 Thread Weisu
Hi, I had just downloaded the 5.0.3, and coz there is no more @Id, so i had to comment out @Id("app"), but it produces this error msg: java.lang.RuntimeException: Module 'app' does not exist. Please ensure that the JAR file for the module is on the classpath. Thanks. -- View this message in cont

Re: [T5]Question on ASO configuration

2007-03-14 Thread Weisu
Thanks Howard, it now working. Howard Lewis Ship wrote: > > Sorry, just a typo; the name of the class should be > ApplicationStateContribution (not ApplicationStateConfiguration). > > On 3/13/07, Weisu <[EMAIL PROTECTED]> wrote: >> >> Hi, I am followi

[T5]Question on ASO configuration

2007-03-13 Thread Weisu
Hi, I am following the User Guide on ASO, what is "ApplicationStateConfiguration"? Do I have to create this interface, the online example code is: public void contributeApplicationStateManager(MappedConfiguration configuration) { ApplicationStateCreator creator = new ApplicationStateCreator(

Re: [WARNING] [T5]Ioc-Perthread service lifecycle

2007-03-12 Thread Weisu
Thanks Howard, that works. Howard Lewis Ship wrote: > > Sorry, that was SVN trunk code (i.e., 5.0.3-SNAPSHOT), for 5.0.2 the > service id is "tapestry.ioc.ThreadCleanupHub". > > On 3/12/07, Weisu <[EMAIL PROTECTED]> wrote: >> >> Thanks Howard, but I g

Re: [WARNING] [T5]Ioc-Perthread service lifecycle

2007-03-12 Thread Weisu
urn service; > } > > In this example, HibernateSessionManagerImpl implements > ThreadCleanupListener, in addition to HibernateSessionManager. > > ThreadCleanupHub is responsible for notifying its listeners at the end > of the request. > > With the "perthread"

[T5]Ioc-Perthread service lifecycle

2007-03-12 Thread Weisu
Hi, I am try to create a perthread service, the following lines are in the module builder class, how and where can I define cleanupThread() method? @Lifecycle("perthread") public static EllipseSession buildEllipseSession() { return new EllipseSessionImpl(); } Thanks. -- View this message in con

T5:Grid with Checkbox

2007-03-06 Thread Weisu
Hi, has anyone uses checkbox inside a grid, i just wonder how to do it in T5. Thanks -- View this message in context: http://www.nabble.com/T5%3AGrid-with-Checkbox-tf3360245.html#a9347153 Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: [WARNING] Latest Tapestry 5 Screencast

2007-03-01 Thread Weisu
Great work Howard, just wonder where can I find the source code of this Screencast and all the other Screencasts. Thanks! Massimo Lusetti wrote: > > On 3/1/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > >> This one shows off the new Grid component. > > Amazing work Howard i got just one qu

Re: [WARNING] T5:How to use Select component's model

2007-02-27 Thread Weisu
t as well. > > On 2/27/07, Ted Steen <[EMAIL PROTECTED]> wrote: >> >> In T5 you use SelectModel. >> see >> http://tapestry.apache.org/tapestry5/tapestry-core/apidocs/org/apache/tapestry/SelectModel.html >> >> 2007/2/27, Weisu <[EMAI

T5:How to use Select component's model

2007-02-26 Thread Weisu
Hi, I am converting my app to T5, in T4, I use IPropertySelectionModel to create the dropdown for select, what model can I use in T5. -- View this message in context: http://www.nabble.com/T5%3AHow-to-use-Select-component%27s-model-tf3298500.html#a9175667 Sent from the Tapestry - User mailing l

Re: [WARNING] How to call the service inside the page class - Tapestry 5 IoC

2007-02-20 Thread Weisu
Thank you for the quick respone. Howard Lewis Ship wrote: > > @Inject("service:com.example.EditCustomerService") > private EditCustomerService _editService; > > public EditCustomerService getEditService() { return _editService; } > > On 2/20/07, Weisu <[E

How to call the service inside the page class - Tapestry 5 IoC

2007-02-20 Thread Weisu
I am trying to use T5 IoC. IN T4, you can use @InjectObject("service:com.example.EditCustomerService") public abstract EditCustomerService getEditService(); What should I do in T5? Thanks -- View this message in context: http://www.nabble.com/How-to-call-the-service-inside-the-page-class---Tap