Re: Tapestry 5 Hotel Booking

2013-07-01 Thread Shing Hing Man
Hi,  I have checked out  Tapestr5-hotel-booking from github and tried it. The maven repository at tapestry.formos.com seems to be down.  In the pom.xml, I have commented out all repositories at http://tapestry.formos.com/ . Then it works. (The Tapestry dependencies  are  available on  http://

Re: Unable to locate asset (the file does not exist).

2013-06-08 Thread Shing Hing Man
It is not possible to do what you wanted directly.  A work around is to use AssetSource.  Please see : http://tapestry-users.832.n2.nabble.com/Simple-question-tt6537210.html#a6537398 Shing From: Anbazhagan.G To: users@tapestry.apache.org Sent: Saturday,

Re: failing form validation without a recordError

2013-05-24 Thread Shing Hing Man
Have you tried the following ?     public Object onFailureFromForm() {                   // clears validation              getForm().clearErrors();                 // set your error message elsewhere            return this;     } From: John T

Re: InjectComponent Field in component and validate field in page class

2013-03-21 Thread Shing Hing Man
The following example might be useful. http://lombok.demon.co.uk/tapestry5Demo/test/crossvalidation2   Shing - Original Message - From: George Christman To: users@tapestry.apache.org Cc: Sent: Thursday, March 21, 2013 3:33 PM Subject: InjectComponent Field in component and validat

Re: Maven Archetype

2013-03-19 Thread Shing Hing Man
mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org I have just tried the above  from  http://tapestry.apache.org/getting-started.html It works for me. Shing - Original Message - From: Everton Agner To: Tapestry Users Cc: Sent: Tuesday, March 19, 2013 4:40 PM

Re: Page components are not loaded in JBoss

2013-03-10 Thread Shing Hing Man
  [WARN] TapestryFilter Application Module class com.rakesh.demotapestry.web.services.TapestryModule not found The above appears in both the Jetty and Jboss log. I would expect your app will not work in Jetty nor in Jboss. It looks as though the tapestry  filter name in web.xml does not match

Re: How to get a lot of data in to highcharts?

2013-03-09 Thread Shing Hing Man
I have an example that builds the entire  JSONObject in Java. http://lombok.demon.co.uk/tapestry5Demo/test/highcharts/hcdemotwosource Th following specifies  part of the chart in Javascript and part of the charts in Java. http://lombok.demon.co.uk/tapestry5Demo/test/highcharts/hcdemothree

Re: Has anyone gotten the tapestry 5 highcharts demo webapp to run?

2013-03-09 Thread Shing Hing Man
I had the same problem a few weeks ago. I was using the following Jetty Eclipse plugin. http://wiki.eclipse.org/Jetty_WTP_Plugin In the console, I got the following message : Excluded entry=/home/matmsh/Downloads/tapestry/highChart/tapestry5-highcharts/target/test-classes To fix above

Re: grid data column overrides/instrumentation

2013-02-25 Thread Shing Hing Man
 One quick way (probably not the best) is to use mixin ZoneRefresh http://tapestry.apache.org/component-reference.html Below is an example: http://lombok.demon.co.uk/tapestry5Demo/test/core/mixin/zonerefreshdemoone Shing - Original Message - From: Ken in Nashua To: "users@tap

Re: PlasticClassImp locked error in Tapestry Spring Security

2013-02-21 Thread Shing Hing Man
Thanks ! Shing - Original Message - From: antalk To: users@tapestry.apache.org Cc: Sent: Thursday, February 21, 2013 3:11 PM Subject: Re: PlasticClassImp locked error in Tapestry Spring Security And fixed, also added a testcase for this issue -- View this message in context: htt

Re: Form fields based on List

2013-02-15 Thread Shing Hing Man
There is another solution in  chapter 6 of Igor's book (Listing 6.38). http://www.tapestry5book.com/ Shing   Home page : http://www.lombok.demon.co.uk/ - Original Message - From: Shing Hing Man To: Tapestry users Cc: Sent: Friday, February 15, 2013 11:11 AM Subject: Re:

Re: Form fields based on List

2013-02-15 Thread Shing Hing Man
Below is a possible solution. Instead of @Property private CoordinateDto coordinate; implements your own setter getter method for CordinateDto public  CoordinateDto  getCordinateDto(){    ... } public void setCoordinate(CoordinateDto dto){    } The getter and setter methods will be cal

Re: how to recordError against a form field in a loop

2013-02-07 Thread Shing Hing Man
/tapestry5Demo/test/crossvalidation2 Shing - Original Message ----- From: John To: Shing Hing Man ; Tapestry users Cc: Sent: Thursday, February 7, 2013 8:12 AM Subject: Re: how to recordError against a form field in a loop That was useful although my implementation is like this:  

Re: how to recordError against a form field in a loop

2013-02-06 Thread Shing Hing Man
The following example might be useful. http://lombok.demon.co.uk/tapestry5Demo/test/crossvalidation Shing From: John To: users@tapestry.apache.org Sent: Wednesday, February 6, 2013 9:28 PM Subject: how to recordError against a form field in a loop How do I

Re: parameter in tml page?

2013-01-27 Thread Shing Hing Man
I think you meant ${getDescriptionForTag(user1)} where user1 is a page property of type String. I think the above should work. Shing From: sommeralex To: users@tapestry.apache.org Sent: Sunday, January 27, 2013 10:54 AM Subject: parameter in tml page?

Re: Login page problems

2012-10-23 Thread Shing Hing Man
Instead of   @Component     private Form form; pleases try @InjectComponent(value="loginForm") private Form form; The difference bewteen @Component and @InjectComponent is explained on the following page. http://tapestry.apache.org/injection-faq.html Shing

Re: cannot output table tags in outputraw compnnent

2012-09-29 Thread Shing Hing Man
The following works. In .tml:     ${myTag} In .java : public String getMyTag(){         return "";     } Alternatively, you could put your tag in the .properties file : ${message:myTag} .properties: myTag= Shing - Original Message - From: Ken in Nashua To: users@tapestry.a

Re: No service implements the interface org.springframework.context.ApplicationContext.

2012-09-04 Thread Shing Hing Man
In your web.xml, please check you are using TapestrySpringFilter (instead of TapestryFilter):               app         org.apache.tapestry5.spring.TapestrySpringFilter     Shing From: Borko Djurovic To: users@tapestry.apache.org Sent: Tuesday, September

Re: How to make datefield input box readonly

2012-08-23 Thread Shing Hing Man
How about adding    onfocus="blur();" in  your DateField component as an informal parameter ? Shing Home page : http://www.lombok.demon.co.uk/ From: karthi To: users@tapestry.apache.org Sent: Thursday, August 23, 2012 11:44 AM Subject: How to m

Re: Setting element value from an attribute

2012-08-20 Thread Shing Hing Man
I am making a meal of this. The existing  Output component  should do the job : f...@yahoo.com Shing   - Original Message - From: dkeenan To: users@tapestry.apache.org Cc: Sent: Monday, August 20, 2012 3:25 PM Subject: Re: Setting element value from an attribute Could I extend

Re: Setting element value from an attribute

2012-08-20 Thread Shing Hing Man
A not so elegant solution is to create a RemoveElt component so that the associated  html tag is not generated.  public class RemoveElt {         protected boolean beginRender(){         return false;     }      } Example : testu...@test.com The above will not appear in the generated

Re: Problem building Tapestry 5.3.4 using Gradle

2012-08-09 Thread Shing Hing Man
The following works ! sh gradlew eclipse Thanks ! Shing From: Ray Nicholus To: Tapestry users ; Shing Hing Man Sent: Thursday, August 9, 2012 3:24 PM Subject: Re: Problem building Tapestry 5.3.4 using Gradle You are using gradlew, correct?  If not

Problem building Tapestry 5.3.4 using Gradle

2012-08-09 Thread Shing Hing Man
 Hi,   I have checked out Tapestry 5.3.4 using   git clone https://git-wip-us.apache.org/repos/asf/tapestry-5.git I tried to generate the corresponding Eclipse projects by issuing "gradle eclipse", but got the following error. matmsh@cauchy:~/Downloads/tapestry/tmp/tapestry-5> grad

Re: Hibernate not downloading in tutorial

2012-04-04 Thread Shing Hing Man
The following works for me with Tapestry 5.3                     org.apache.tapestry             tapestry-hibernate             ${tapestry-release-version}                         org.hibernate             hibernate-core             3.6.0.Final                             org.hibernate  

Re: How to display special characters in tml page

2012-03-01 Thread Shing Hing Man
Please check your web.xml. In mine :     app   org.apache.tapestry5.TapestryFilter My global properties file is  called app.properties (from filter name) , and it is in the same folder as web.xml. Also note that  each page/component  could have its own properties file.  The valu

Re: How to display special characters in tml page

2012-03-01 Thread Shing Hing Man
One solution is to use the outputraw component. In .properties file  :  erdos=Erdö In .tml : Shing From: karthi To: users@tapestry.apache.org Sent: Thursday, March 1, 2012 8:56 AM Subject: How to display special characters in tml page How to show the

Re: Percent sign in message properties file

2012-02-28 Thread Shing Hing Man
It is rather strange. It works for me with encoding UTF-8. I am using Tapestry 5.3.  Shing     From: nquirynen To: users@tapestry.apache.org Sent: Tuesday, February 28, 2012 10:40 AM Subject: Percent sign in message properties file Hi all, In a .properties

Re: Tap 5.3 : A port of Ajax StockWatcher example from GWT

2011-12-13 Thread Shing Hing Man
 I am glad you find my examples  useful. Shing From: Bob Harner To: Tapestry users ; Shing Hing Man Sent: Monday, December 12, 2011 11:35 AM Subject: Re: Tap 5.3 : A port of Ajax StockWatcher example from GWT Very nice! I've often referred t

Tap 5.3 : A port of Ajax StockWatcher example from GWT

2011-12-10 Thread Shing Hing Man
In case anyone is interested, I have ported the Stock watcher Ajax example from GWT to Tapestry 5.3   http://code.google.com/webtoolkit/tools/gwtdesigner/tutorials/stockwatcher.html The Tap 5.3 version is at http://lombok.demon.co.uk/tapestry5Demo/test/core/mixin/stockwatcher The Tapestry

Re: Tap 5.3 : AjaxResponseRenderer error when updating two zones with chaining

2011-12-10 Thread Shing Hing Man
For now,  I can live with the other two work around. Shing    - Original Message - From: Thiago H. de Paula Figueiredo To: tapestry Tapestry ; Shing Hing Man Cc: Sent: Saturday, December 10, 2011 6:47 PM Subject: Re: Tap 5.3 : AjaxResponseRenderer error when updating two zones

Re: Tap 5.3 : AjaxResponseRenderer error when updating two zones with chaining

2011-12-10 Thread Shing Hing Man
ion with the server failed: undefined Shing - Original Message - From: Thiago H. de Paula Figueiredo To: tapestry Tapestry ; Shing Hing Man Cc: Sent: Saturday, December 10, 2011 5:28 PM Subject: Re: Tap 5.3 : AjaxResponseRenderer error when updating two zones with chaining H

Tap 5.3 : AjaxResponseRenderer error when updating two zones with chaining

2011-12-10 Thread Shing Hing Man
I am using the mixin zoneRefresh and AjaxResponseRenderer to update zone pricesZone and zone currentTimeZone. ( I have read the excellent blog by Taha on AjaxResponseRenderer.) But I get the following error.  Ajax failure: Status 200 for http://localhost:8080/tapestry5Demo/test/core/mixin

Re: Tap 5.3 : Jboss 5.0.1 tmp/vfs-nested.tmp fill up fast

2011-11-29 Thread Shing Hing Man
From: Howard Lewis Ship To: Tapestry users ; Shing Hing Man Sent: Monday, November 28, 2011 9:01 PM Subject: Re: Tap 5.3 : Jboss 5.0.1 tmp/vfs-nested.tmp fill up fast A quick google search turned this up: http://community.jboss.org/message/614729 On Mon, Nov 28, 2011 at 12

Tap 5.3 : Jboss 5.0.1 tmp/vfs-nested.tmp fill up fast

2011-11-28 Thread Shing Hing Man
My  Tapestry applications have been running in Jboss 5.0.1 without any problem before I upgraded to Tapestry 5.3. I have noticed, in Jboss 5.0.1,  the directory    tmp/vfs-nested.tmp grows very quickly (about 20G a day), after I  upgraded to Tapestry 5.3. I wonder if it is caused 

Re: Tapx -yui richtexteditor : yahoo-dom-event-min.js (the file does not exist).

2011-11-26 Thread Shing Hing Man
} }; I would have thought  "-min.js" should be used  in production mode. After changing the above            if(!productionMode)     to  if(productionMode) and do a gradle install, the error gone away.   Shing ________ From: Shing Hing Man To: T

Re: Tapx -yui richtexteditor : yahoo-dom-event-min.js (the file does not exist).

2011-11-26 Thread Shing Hing Man
id you try gradle jettyRun ? ( in case of Gradle) or mvn jetty:run (in case of maven) regards Taha On Nov 26, 2011, at 5:05 AM, Shing Hing Man wrote: > When using the component richtexteditor in  tapx-yui-1.2-SNAPSHOT.jar from > > > http://howardlewisship.com/snapshot-repos

Tapx -yui richtexteditor : yahoo-dom-event-min.js (the file does not exist).

2011-11-25 Thread Shing Hing Man
When using the component richtexteditor in   tapx-yui-1.2-SNAPSHOT.jar from http://howardlewisship.com/snapshot-repository., I get the following error. Unable to locate asset 'classpath:com/howardlewisship/tapx/yui_2_8_0r4/build/yahoo-dom-event/yahoo-dom-event-min.js' (the file does not exis

Re: Tap 5.3.0: How to generate PropertyExpressionLexer and PropertyExpressionParser

2011-08-27 Thread Shing Hing Man
In fact, PropertyExpressionLexer.java and PropertyExpressionParser.java were generated. They  are in   tapestry-core/build/generated-sources/ Shing From: Shing Hing Man To: Tapestry users Sent: Saturday, 27 August 2011, 20:25 Subject: Tap 5.3.0: How to

Tap 5.3.0: How to generate PropertyExpressionLexer and PropertyExpressionParser

2011-08-27 Thread Shing Hing Man
 Hi,    I have checked out the tapestry 5 trunk and and try to set  up  tapestry-core in Eclipse.  The class PropertyConduitSourceImpl.java  has the  following   imports  : import org.apache.tapestry5.internal.antlr.PropertyExpressionLexer; import org.apache.tapestry5.internal.antlr.PropertyExp

Re: Help with pagelink popup window (lombok component)

2011-08-18 Thread Shing Hing Man
Please put a break point at  the line configuration.add(new LibraryMapping("lombok", "net.sf.lombok")); and see if the break point is reached  in debug mode. Please check  lombok-5.2.5.1.jar is in the classpath. Note that if  in  your web.xml,  the filter-name is foo instead of app,  then  

Tap 5.3.0 and TapX-core 1.2-SNAPSHOT

2011-06-25 Thread Shing Hing Man
Hi, I have the following runtime exception when I launch Tap 5.3.0 in Jetty. java.lang.RuntimeException: Service id 'DynamicTemplateParser' has already been defined by com.howardlewisship.tapx.core.services.CoreModule.buildDynamicTemplateParser(DynamicTemplateParserImpl, UpdateListenerHub) (a

Re: simple int selection model

2011-05-09 Thread Shing Hing Man
Have you tried model="'0..5'" ? There are singe quotes. Shing --- On Tue, 10/5/11, Paul Stanton wrote: > From: Paul Stanton > Subject: simple int selection model > To: "Tapestry users" > Date: Tuesday, 10 May, 2011, 7:53 > Hi all, > > I need to make a select consisting of the options >

Re: Tapestry 5.2.5 and jboss6

2011-05-08 Thread Shing Hing Man
Your solution works for me. Thanks! Shing --- On Sat, 7/5/11, Geoff Callender wrote: > From: Geoff Callender > Subject: Re: Tapestry 5.2.5 and jboss6 > To: "Tapestry users" > Date: Saturday, 7 May, 2011, 16:39 > This works.  In > ClasspathURLConverter replace this, which worked in JBoss

Re: Q: Java Script Check All The CheckBox?

2011-01-18 Thread Shing Hing Man
Hi, I have a written a component and a mixin to form a 'checkbox group'. If you are interested, there is online demo at http://lombok.demon.co.uk/tapestry5Demo/test/components/checkboxgroupdemo Source code download instruction is on http://lombok.demon.co.uk/tapestry5Demo/ Shing --- On We

Re: Confirm Mixin

2011-01-13 Thread Shing Hing Man
Have you tried the confirm Mixin in Tapx ? https://github.com/hlship/tapx/ Shing --- On Fri, 14/1/11, mwilliam...@kcp.com wrote: > From: mwilliam...@kcp.com > Subject: Confirm Mixin > To: "Tapestry users" > Date: Friday, 14 January, 2011, 2:01 > I have a confirm mixin that I > use.  I can

Re: JIRA TAP5_103 provide access to component parameters from within mixins

2010-08-19 Thread Shing Hing Man
e to use @BindParameter annotation described here: > http://tapestry.apache.org/tapestry5.2-dev/guide/mixins.html > > Regards, > Darek > > On Thu, Aug 19, 2010 at 10:31 PM, Shing Hing Man > wrote: > > > JIRA TAP5_103 is marked as fixed in Tap 5.2.0. > > https://i

JIRA TAP5_103 provide access to component parameters from within mixins

2010-08-19 Thread Shing Hing Man
JIRA TAP5_103 is marked as fixed in Tap 5.2.0. https://issues.apache.org/jira/browse/TAP5-103 Does anyone know where I can find an example on reading a component parameters from within a mixin ? Does it work by simply inject the component for which the mixin is attached, in the mixin Java class

Re: inherit binding broken after upgrade from Tap 5.1 to 5.2 snapshot

2010-08-08 Thread Shing Hing Man
It is only broken (in Tap 5.2.0 Snapshot) if EnumSelectModel is passed to component FunctionInputWithSelect. It works if I use SelectModelImpl whith String key/value pairs. Shing --- On Sun, 8/8/10, Shing Hing Man wrote: > From: Shing Hing Man > Subject: inherit binding broken

Re: Embedded Form component becomes null in Tap 5.2.0-Snapshot

2010-08-08 Thread Shing Hing Man
ker() returns null if > there is a validation > > error, and returns a non-null validation tracker when > there is a validation > > error. > > > > Should be  ' returns null if there is no validation > error ' I expect? > > Adam > > On 8 Augus

inherit binding broken after upgrade from Tap 5.1 to 5.2 snapshot

2010-08-08 Thread Shing Hing Man
Hi, My component below is broken after I upgrade from Tap 5.1 to Tap 5.2 snapshot. In the component template FunctionInputWithSelect.tml, there is Select component which gets all its parameters using inherit binding. In FunctionInputWithSelect.java, public c

Re: Embedded Form component becomes null in Tap 5.2.0-Snapshot

2010-08-08 Thread Shing Hing Man
. Shing --- On Sun, 8/8/10, Shing Hing Man wrote: > From: Shing Hing Man > Subject: Re: Embedded Form component becomes null in Tap 5.2.0-Snapshot > To: "Tapestry users" > Date: Sunday, 8 August, 2010, 4:21 > Hi, >   In fact, in >     >   V

Re: Embedded Form component becomes null in Tap 5.2.0-Snapshot

2010-08-07 Thread Shing Hing Man
://tapestry.apache.org/tapestry5.2-dev/guide/validation.html to use form.getHasErrors, form.recordError. My code is working in Tap 5.2 snapshot. Shing --- On Sun, 8/8/10, Shing Hing Man wrote: > From: Shing Hing Man > Subject: Embedded Form component becomes null in Tap 5.2.0-Snapsho

Embedded Form component becomes null in Tap 5.2.0-Snapshot

2010-08-07 Thread Shing Hing Man
Hi, I have an embedded form component that is null inside a onSubmit method. It was not the case in Tap 5.1. In .tml : In Java page @Component(id = "myForm") private Form form; @OnEvent(component = "myForm", value = "submit") public void submit() { // form is null below !

Re: Problems with @InjectService

2010-05-24 Thread Shing Hing Man
I think you need the Marker annotations. Please check it out at the link below. http://tapestry.apache.org/tapestry5.1/tapestry-ioc/service.html Shing --- On Tue, 25/5/10, Erick Erickson wrote: > From: Erick Erickson > Subject: Problems with @InjectService > To: "Tapestry users" > Date: Tu

Re: Sample Tapestry 5 GWT project in wiki

2010-05-18 Thread Shing Hing Man
source code t5gwt is available at http://code.google.com/p/tapestry5examples/downloads/list Shing --- On Sun, 9/5/10, Shing Hing Man wrote: > From: Shing Hing Man > Subject: Sample Tapestry 5 GWT project in wiki > To: "tapestry Tapestry" > Date: Sunday, 9 May, 2010, 1

Sample Tapestry 5 GWT project in wiki

2010-05-09 Thread Shing Hing Man
I am trying out GWT with Tapestry. In the wiki http://wiki.apache.org/tapestry/Tapestry5GWTIntegration at the top, the link to the sample GWT Tapestry Eclipse project is broken. Does anyone know where it has moved to ? Thanks in advance for any assistance ! Shing

Re: service shutdown hook in tapestry-ioc

2010-04-21 Thread Shing Hing Man
Have you tried registering service with the RegistryShutdownHub ? Below is an example. @ServiceId("connectionManager") public static SageConnectionManager buildSageConnectionManager(RegistryShutdownHub hub) { PooledSageConnectionManager connManager= new PooledSageConn

Embedded Tapestry DateField is rendered when Tapx DataField component is used in template

2010-04-18 Thread Shing Hing Man
Originally, I have a Tapestry5 DateField component in a page tml and it is also specified in the corresponding page Java class. tml file : Java class: @Component private DateField startDate; // DateField from tapestry 5 corelib package When I switch to using the

Re: sql update of existing table

2010-02-20 Thread Shing Hing Man
After the update, try calling commit. If you are using HibernateSessionManager from http://tapestry.apache.org/tapestry5.1/tapestry-hibernate/ call HibernateSessionManager.commit(). Shing Home page : http://www.lombok.demon.co.uk/ --- On Sun, 21/2/10, toejoe wrote: > From: toejoe >

Re: Dynamicly Created Checkboxes

2010-01-23 Thread Shing Hing Man
I have a running example as described by Josh below. http://lombok.demon.co.uk/tapestry5Demo/test/components/checkboxgroupdemo Shing --- On Sat, 23/1/10, Josh Canfield wrote: > From: Josh Canfield > Subject: Re: Dynamicly Created Checkboxes > To: "Tapestry users" > Date: Saturday, 23 Januar

Re: Submit(with context) in Loop In Form

2009-11-22 Thread Shing Hing Man
Hi, Have you tried to set the defer parameter to false in the submit component ? http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/components/Submit.html The following is a demo on how to use submit with context. http://lombok.demon.co.uk/tapestry5Demo/test/

Re: T5 : Pop up with grid

2009-10-29 Thread Shing Hing Man
I have a simple parent-child page demo at http://lombok.demon.co.uk/tapestry5Demo/test/parentwindow The parent page displays number 1,2,..., n. The child page is a pop up to change n. The entered n from the pop up is returned to the parent page and the parent page is redisplay with the n

Re: ControlcheckBox in Tapestry5

2009-10-14 Thread Shing Hing Man
Have you tried the following ? http://lombok.demon.co.uk/tapestry5Demo/test/components/checkboxgroupdemo Please go to http://lombok.demon.co.uk/tapestry5Demo/ for source code. The following thread might be useful. http://www.nabble.com/Have-a-Master-Checkbox-For-T5-Grid-Component-td24752416.ht

Re: [T5] Acces to current object in tab

2009-08-31 Thread Shing Hing Man
Oops! Forgotten the slash at the end. http://lombok.demon.co.uk/tapestry5Demo/ --- On Mon, 31/8/09, Shing Hing Man wrote: > From: Shing Hing Man > Subject: Re: [T5] Acces to current object in tab > To: "Tapestry users" > Date: Monday, 31 August, 2009, 6:06 PM >

Re: [T5] Acces to current object in tab

2009-08-31 Thread Shing Hing Man
There is a PageLinkPopup component at http://lombok.demon.co.uk/tapestry5Demo If I remember correctly, a few months ago, someone posted a mixin for a popup. Shing --- On Mon, 31/8/09, bdumeny wrote: > From: bdumeny > Subject: Re: [T5] Acces to current object in tab > To: "Tapestry user

Re: Have a Master Checkbox For T5 Grid Component

2009-07-31 Thread Shing Hing Man
In case you have not tried the following. I have a ControlCB component and a mixin ControlledCheckbox which turns a standard Checkbox component to be a controlled checkbox. There is an online demo (with source code of the demo) at http://lombok.demon.co.uk/tapestry5Demo/test/components/checkbox

Re: matriz

2009-06-27 Thread Shing Hing Man
component. Where have you > been when I had my math lectures? :) > Do you have more? > > On Thu, Jun 25, 2009 at 10:19 PM, Shing Hing Man > wrote: > > > > > I have written a component to input a matrix. > > The following page has an example to input a square

Re: matriz

2009-06-25 Thread Shing Hing Man
I have written a component to input a matrix. The following page has an example to input a square matrix. (The component can input a non-square matrix as well.) http://lombok.demon.co.uk/mathToolkit/algebra/linear/eigenvalue If you like, I can email you the component source files. Shing -

Re: [Tapestry 4.1] how to get ServletContext inside a service

2009-05-28 Thread Shing Hing Man
d my service inside > hivemind.xml > > I don't have an application file: the suggestion here > says I have to use > > the application file. > > Is there an hivemind service I can use ? > > > > Shing Hing Man ha scritto: > >> You might like to t

Re: [Tapestry 4.1] how to get ServletContext inside a service

2009-05-28 Thread Shing Hing Man
You might like to try the suggestion on the following page. http://lombok.demon.co.uk/tapestry4Demo/Inject.html Shing Home page : http://www.lombok.demon.co.uk/ --- On Thu, 28/5/09, Ivano Luberti wrote: > From: Ivano Luberti > Subject: Re: [Tapestry 4.1] how to get ServletContext inside a

Re: Checkboxes within a loop in a form

2009-05-18 Thread Shing Hing Man
You might like to check out the example at http://lombok.demon.co.uk/tapestry5Demo/test/components/checkboxgroupdemo Shing --- On Tue, 19/5/09, mark99 wrote: > From: mark99 > Subject: Checkboxes within a loop in a form > To: users@tapestry.apache.org > Date: Tuesday, 19 May, 2009, 1:1

Re: [Tapestry 5.1]Loop with checkboxes

2009-05-13 Thread Shing Hing Man
Have you added the following to AppModule.java ? public static void contributeComponentClassResolver(Configuration configuration) { // Creates a virtual root pacakge for pages,components. configuration.add(new LibraryMapping("man", "net.sf.lombok")); } Shing --- On W

Re: Problem running Tap 5.1.0.4 on Jboss 5.0.1.GA

2009-05-11 Thread Shing Hing Man
ct: Re: Problem running Tap 5.1.0.4 on Jboss 5.0.1.GA > To: "Tapestry users" > Date: Monday, 11 May, 2009, 7:19 AM > Em Sat, 09 May 2009 11:03:39 -0300, Shing Hing Man > escreveu: > > > Thanks for the reply! > > I have discovered that the following

Re: Problem running Tap 5.1.0.4 on Jboss 5.0.1.GA

2009-05-09 Thread Shing Hing Man
0.1.GA > To: "Tapestry users" > Date: Saturday, 9 May, 2009, 5:49 AM > Em Fri, 08 May 2009 18:33:28 -0300, Shing Hing Man > escreveu: > > > After some debugging, I am not convinced that > > ClassNameLocatorImpl.scanURL(String, > Collectio

Re: Problem running Tap 5.1.0.4 on Jboss 5.0.1.GA

2009-05-08 Thread Shing Hing Man
pache.org > Date: Friday, 8 May, 2009, 5:37 AM > Shing Hing Man wrote: > > > > When I deploy a simple Tap 5.1.0.4 application on > JBoss 5.0.1.GA and > > access the index page, I get the following error. > > java.lang.IllegalArgumentException: Unable to resolve &g

Problem running Tap 5.1.0.4 on Jboss 5.0.1.GA

2009-05-04 Thread Shing Hing Man
When I deploy a simple Tap 5.1.0.4 application on JBoss 5.0.1.GA and access the index page, I get the following error. java.lang.IllegalArgumentException: Unable to resolve 'ExceptionReport' to a known page name. Available page names: (blank), About, Contact, Index. org.apache.tapest

Re: tutorial fails with maven

2009-04-12 Thread Shing Hing Man
Have you look at http://tapestry.apache.org/tapestry5.1/quickstart/ ? The following works for me and I am using maven 2.1.0. mvn archetype:generate -DarchetypeCatalog=http://tapestry.formos.com/maven-repository Note that when you run the above command, you will be prompted for archetypeGr

Fw: Re: Fw: Re: String to Double Type Coercion problem in 5.1.0.2 snapshot

2009-03-28 Thread Shing Hing Man
--- On Sun, 29/3/09, Shing Hing Man wrote: > From: Shing Hing Man > Subject: Re: Fw: Re: String to Double Type Coercion problem in 5.1.0.2 > snapshot > To: "Howard Lewis Ship" > Date: Sunday, 29 March, 2009, 4:18 AM > I have created an JIRA with an atta

Fw: Re: String to Double Type Coercion problem in 5.1.0.2 snapshot

2009-03-28 Thread Shing Hing Man
--- On Sun, 29/3/09, Shing Hing Man wrote: > From: Shing Hing Man > Subject: Re: String to Double Type Coercion problem in 5.1.0.2 snapshot > To: "Howard Lewis Ship" > Date: Sunday, 29 March, 2009, 12:00 AM > Earlier, I have not given the full picture. > In fact

String to Double Type Coercion problem in 5.1.0.2 snapshot

2009-03-28 Thread Shing Hing Man
I have a TextField component to input a Double. @Component(id = "MatrixEntry", parameters ={ "validate=prop:fieldValidator"}) private TextField entry; It works fine in 5.0.18. But in 5.1.0.2 snapshot, I get the following error when I submit the form containin

Re: generate input fileds dynamically

2009-01-05 Thread Shing Hing Man
Have you check out the FormInjector component. There is an example in the Tapestry 5 source code repository that does something similar to what you are asking. Shing Home page : http://www.lombok.demon.co.uk/ --- On Tue, 6/1/09, tapestry5 wrote: > From: tapestry5 > Subject: generate inp

Re: About "RadioButton" and "CheckBox"...

2009-01-05 Thread Shing Hing Man
There are examples on RadioButton and Checkbox in the Tapestry 5 source code repository. I have an example on them at http://lombok.demon.co.uk/tapestry5Demo/ Shing Home page : http://www.lombok.demon.co.uk/ --- On Tue, 6/1/09, Gutemberg A. Da Silva wrote: > From: Gutemberg A. Da Silva

Re: Loop & dynamic input field: How to read data after submission?

2008-12-21 Thread Shing Hing Man
Have you checkout the replies of the following post ? http://www.nabble.com/-T5--How-to-handle-a-variable-number-of-input-fields-in-a-form-to21038549.html Shing Home page : http://www.lombok.demon.co.uk/ --- On Sun, 21/12/08, superoverdr...@gmx.de wrote: > From: superoverdr...@gmx.de > S

Re: Loop object question.

2008-12-21 Thread Shing Hing Man
Instead of having a loop within a loop, just have a loop and output and manually. In .tml, ${value}

Re: [T5] How to handle a variable number of input fields in a form

2008-12-16 Thread Shing Hing Man
You might like to take a look at the following example on allowing users to input up to 5 numbers. http://lombok.demon.co.uk/tapestry5Demo/test/sum The source code is available on the same page. Shing --- On Wed, 17/12/08, Eric Ma wrote: > From: Eric Ma > Subject: [T5] How to handle a var

Re: Tap 5.0.18 : OnActivate method no longer get called from PageLink.

2008-12-16 Thread Shing Hing Man
gt; wrote: > > I'm running into the same issue while trying to > upgrade to 5.0.18 from > > 5.0.15 and using PageTester > > > > On Tue, Dec 16, 2008 at 7:41 AM, Shing Hing Man > wrote: > >> I have a pageLink component in update.tml > >>

Tap 5.0.18 : OnActivate method no longer get called from PageLink.

2008-12-16 Thread Shing Hing Man
I have a pageLink component in update.tml Update and contextParams is an int [2]. In Tap 5.0.15, when I click the above page link in update.tml, the following onActivate method in UpdateFile.java is called as expected. public Object onActivate(int folderId, int fileId) {

Tap 5.0.17: Take a long time to create a strategy service in debug mode

2008-11-30 Thread Shing Hing Man
I have a strategy service ComputeWorker. In the normal run mode, the start page loads up in a few seconds. But in debug mode, the start page takes more than two miniutes to load. >From the console, it looks as though it spent a long time to create the strategy service computeWorker (in debug m

Re: Tap 5.0.16 : How to pass in a validator to an embedded TextField componet.

2008-11-27 Thread Shing Hing Man
to implement the Field interface. Shing --- On Sun, 23/11/08, Shing Hing Man <[EMAIL PROTECTED]> wrote: > From: Shing Hing Man <[EMAIL PROTECTED]> > Subject: Tap 5.0.16 : How to pass in a validator to an embedded TextField > componet. > To: "tapestry Tapestry"

Re: Get instance of page

2008-11-24 Thread Shing Hing Man
Have you tried ComponentSource ? @Inject private ComponentSource compSource; MyPage comp = (MyPage) compSource.getPage(pageName); Shing Home page : http://www.lombok.demon.co.uk/ --- On Tue, 25/11/08, Henrik Schlanbusch <[EMAIL PROTECTED]> wrote: > From: Henrik Schlanbusc

Tap 5.0.16 : How to pass in a validator to an embedded TextField componet.

2008-11-23 Thread Shing Hing Man
I have created a component, SingleInputRowTable, which is just a loop over a TextField component for inputting a list of numbers. The validation on the input numbers varies from case to case. So, I would like to pass in a validator to SingleInputRowTable for the embedded TextField component.

Re: [T5]I want find a component like t4's Insert with attribute raw="true" in T5!?

2008-11-13 Thread Shing Hing Man
Have you tried OutputRaw component ? http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/OutputRaw.html Shing --- On Thu, 13/11/08, oliverlee000 <[EMAIL PROTECTED]> wrote: > From: oliverlee000 <[EMAIL PROTECTED]> > Subject: [T5]I want find a compon

Re: t5: DAO and hibernate integration

2008-08-23 Thread Shing Hing Man
I have an example for Tap 5.0.13 and Tapetsry-Hibernate-5.0.13. An online demo and source code are at http://lombok.demon.co.uk/folderTap5/ Shing --- On Sun, 24/8/08, Raul Rosenzvaig <[EMAIL PROTECTED]> wrote: > From: Raul Rosenzvaig <[EMAIL PROTECTED]> > Subject: t5: DAO and hibernate in

Re: T5: pagelink

2008-08-03 Thread Shing Hing Man
Have you tried @secure annotation ? http://tapestry.apache.org/tapestry5/tapestry-core/guide/secure.html Shing Home page : http://www.lombok.demon.co.uk/ --- On Sun, 3/8/08, Argo Vilberg <[EMAIL PROTECTED]> wrote: > From: Argo Vilberg <[EMAIL PROTECTED]> > Subject: T5: pagelink > To: "Tapes

Re: t5 how to write response to file

2008-08-03 Thread Shing Hing Man
Have you checked out the following jira ? https://issues.apache.org/jira/browse/TAPESTRY-2217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel --- On Sun, 3/8/08, luna_guo <[EMAIL PROTECTED]> wrote: > From: luna_guo <[EMAIL PROTECTED]> > Subject: Re: t5 how to write response t

Re: [T5] getting current page in layout component

2008-07-26 Thread Shing Hing Man
Have you tried the adding the following to your layout component java class ? @InjectContainer private BasePage conatinerPage; (assuming all your pages java class are a subclass of BasePage.) Shing Home page : http://www.lombok.demon.co.uk/ --- On Sun, 27/7/08, Markus Joschko <[EMAIL PROT

Re: T4: how to access the web session from a page ?

2008-07-22 Thread Shing Hing Man
Have you tried injecting HttpServletRequest into your page, then use HttpServeltRequest.getSession() ? @InjectObject("service:tapestry.globals.HttpServletRequest") public abstract HttpServletRequest getServletRequest(); Shing --- On Wed, 23/7/08, leonelag <[EMAIL PROTECTED]> wrote: >

Tap 5.0.13: Retrieving properties from a component parameter

2008-07-12 Thread Shing Hing Man
I am passing in a Select component to a custom component as a parameter. In the custom component, I would like to retrieve the model parameter from the passed in Select. In Tapestry 4, I would do something like the following. IBinding bind = PropertySelection.getBinding("model");

Re: [T5] Layout and $remove$

2008-07-08 Thread Shing Hing Man
To preview, I use something like the following. http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> Hello! I use a simple remove component ,with no template, to remove the header tag. public class Remove { protected boolean beginRender(){

Re: [T5] How to use enums in .tml files

2008-06-24 Thread Shing Hing Man
Unless someone has written a binding prefix for enums, you might need to to implement one. Please see http://wiki.apache.org/tapestry/Tapestry5HowToAddBindingPrefix Shing Home page : http://www.lombok.demon.co.uk/ --- On Tue, 24/6/08, 9902468 <[EMAIL PROTECTED]> wrote: > From: 9902468 <[EMAI

  1   2   3   4   >