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 anbazhaga...@snovabits.net To:

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

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 gchrist...@cardaddy.com To: users@tapestry.apache.org Cc: Sent: Thursday, March 21, 2013 3:33 PM Subject: InjectComponent Field

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 ton.ag...@gmail.com To: Tapestry Users

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: 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

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: 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

Re: PlasticClassImp locked error in Tapestry Spring Security

2013-02-21 Thread Shing Hing Man
Thanks ! Shing - Original Message - From: antalk nab...@vankalleveen.net 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

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

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 mat...@yahoo.com To: Tapestry users users@tapestry.apache.org Cc: Sent: Friday

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

2013-02-07 Thread Shing Hing Man
/crossvalidation2 Shing - Original Message - From: John j...@quivinco.com To: Shing Hing Man mat...@yahoo.com; Tapestry users users@tapestry.apache.org 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

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 j...@quivinco.com To: users@tapestry.apache.org Sent: Wednesday, February 6, 2013 9:28 PM Subject: how to recordError against a form field in a

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 alexander.som...@gmail.com To: users@tapestry.apache.org Sent: Sunday, January 27, 2013 10:54 AM

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 /trtr;     } Alternatively, you could put your tag in the .properties file : ${message:myTag} .properties: myTag=/trtr Shing - Original Message - From: Ken in Nashua

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):       filter         filter-nameapp/filter-name         filter-classorg.apache.tapestry5.spring.TapestrySpringFilter/filter-class     /filter Shing From: Borko

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 rathinasamy@snovabits.net To: users@tapestry.apache.org Sent: Thursday, August 23,

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 : span t:type=removeElt testu...@test.com /span The above span

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 : t:output value=user.emailf...@yahoo.com/t:output Shing   - Original Message - From: dkeenan david_siedle...@yahoo.co.uk To: users@tapestry.apache.org Cc: Sent: Monday, August 20, 2012 3:25 PM

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 gradle

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 rnicho...@widen.com To: Tapestry users users@tapestry.apache.org; Shing Hing Man mat...@yahoo.com Sent: Thursday, August 9, 2012 3:24 PM Subject: Re: Problem building Tapestry

Re: Hibernate not downloading in tutorial

2012-04-04 Thread Shing Hing Man
The following works for me with Tapestry 5.3         dependency             groupIdorg.apache.tapestry/groupId             artifactIdtapestry-hibernate/artifactId             version${tapestry-release-version}/version         /dependency     dependency             groupIdorg.hibernate/groupId

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=Erdouml In .tml : t:outputraw value=message:erdos/ Shing From: karthi rathinasamy@snovabits.net To: users@tapestry.apache.org Sent: Thursday, March 1, 2012 8:56 AM

Re: How to display special characters in tml page

2012-03-01 Thread Shing Hing Man
Please check your web.xml. In mine : filter     filter-nameapp/filter-name   filter-classorg.apache.tapestry5.TapestryFilter/filter-class /filter 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

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 nat...@pensionarchitects.be To: users@tapestry.apache.org Sent: Tuesday, February 28, 2012 10:40 AM Subject: Percent sign in message 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 bobhar...@gmail.com To: Tapestry users users@tapestry.apache.org; Shing Hing Man mat...@yahoo.com Sent: Monday, December 12, 2011 11:35 AM Subject: Re: Tap 5.3 : A port of Ajax StockWatcher

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

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

2011-12-10 Thread Shing Hing Man
with the server failed: undefined Shing - Original Message - From: Thiago H. de Paula Figueiredo thiag...@gmail.com To: tapestry Tapestry tapestry-u...@jakarta.apache.org; Shing Hing Man mat...@yahoo.com Cc: Sent: Saturday, December 10, 2011 5:28 PM Subject: Re: Tap 5.3 : AjaxResponseRenderer

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 thiag...@gmail.com To: tapestry Tapestry tapestry-u...@jakarta.apache.org; Shing Hing Man mat...@yahoo.com Cc: Sent: Saturday, December 10, 2011 6:47 PM Subject

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 : Jboss 5.0.1 tmp/vfs-nested.tmp fill up fast

2011-11-29 Thread Shing Hing Man
this problem after upgraded to Tap 5.3. Shing From: Howard Lewis Ship hls...@gmail.com To: Tapestry users users@tapestry.apache.org; Shing Hing Man mat...@yahoo.com Sent: Monday, November 28, 2011 9:01 PM Subject: Re: Tap 5.3 : Jboss 5.0.1 tmp/vfs-nested.tmp

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
you can check it in 'BUILD PATH'. Did 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

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 mat...@yahoo.com

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

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

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 mat...@yahoo.com To: Tapestry users users@tapestry.apache.org Sent: Saturday, 27 August

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)

Re: simple int selection model

2011-05-10 Thread Shing Hing Man
Have you tried model='0..5' ? There are singe quotes. Shing --- On Tue, 10/5/11, Paul Stanton p...@mapshed.com.au wrote: From: Paul Stanton p...@mapshed.com.au Subject: simple int selection model To: Tapestry users users@tapestry.apache.org Date: Tuesday, 10 May, 2011, 7:53 Hi all,

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 geoff.callender.jumpst...@gmail.com wrote: From: Geoff Callender geoff.callender.jumpst...@gmail.com Subject: Re: Tapestry 5.2.5 and jboss6 To: Tapestry users users@tapestry.apache.org Date: Saturday, 7 May,

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

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 mwilliam...@kcp.com wrote: From: mwilliam...@kcp.com mwilliam...@kcp.com Subject: Confirm Mixin To: Tapestry users users@tapestry.apache.org Date: Friday, 14

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

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

2010-08-19 Thread Shing Hing Man
, 2010, 5:22 Hi, You have 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 mat...@yahoo.com wrote: JIRA TAP5_103 is marked as fixed in Tap 5.2.0. https

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 mat...@yahoo.com wrote: From: Shing Hing Man mat...@yahoo.com Subject: Re: Embedded Form component becomes null in Tap 5.2.0-Snapshot To: Tapestry users users@tapestry.apache.org Date: Sunday, 8 August, 2010, 4:21 Hi,   In fact

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. td SELECT t:type=select style=width:10em t:id=mode

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

2010-08-08 Thread Shing Hing Man
5.2, Form.getDefaultTracker() 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 August 2010 15:37, Shing Hing Man mat...@yahoo.com

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 mat...@yahoo.com wrote: From: Shing Hing Man mat...@yahoo.com Subject

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 : t:form t:id=myForm /t:form In Java page @Component(id = myForm) private Form form; @OnEvent(component = myForm, value = submit) public void submit() { // form

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 mat...@yahoo.com wrote: From: Shing Hing Man mat...@yahoo.com Subject: Embedded Form component becomes null

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 erickerick...@gmail.com wrote: From: Erick Erickson erickerick...@gmail.com Subject: Problems with

Re: Sample Tapestry 5 GWT project in wiki

2010-05-18 Thread Shing Hing Man
/ The source code t5gwt is available at http://code.google.com/p/tapestry5examples/downloads/list Shing --- On Sun, 9/5/10, Shing Hing Man mat...@yahoo.com wrote: From: Shing Hing Man mat...@yahoo.com Subject: Sample Tapestry 5 GWT project in wiki To: tapestry Tapestry tapestry-u

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

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 : t:DateField t:id=startDate validate=required format=literal:dd MMM value=bean.startDate style=width:7em / Java class:

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 to...@hotmail.com wrote:

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 j...@thedailytube.com wrote: From: Josh Canfield j...@thedailytube.com Subject: Re: Dynamicly Created Checkboxes To:

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

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.

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 bdum...@cvf.fr wrote: From: bdumeny bdum...@cvf.fr Subject: Re: [T5] Acces to current object

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 mat...@yahoo.com wrote: From: Shing Hing Man mat...@yahoo.com Subject: Re: [T5] Acces to current object in tab To: Tapestry users users@tapestry.apache.org Date: Monday, 31

Re: matriz

2009-06-27 Thread Shing Hing Man
: Friday, 26 June, 2009, 2:28 PM Very nice 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 mat...@yahoo.com wrote: I have written a component to input a matrix. The following page has an example to input

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
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 lube...@archicoop.it wrote: From: Ivano Luberti lube...@archicoop.it Subject: Re: [Tapestry

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

2009-05-28 Thread Shing Hing Man
configured 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 try the suggestion on the following page. http

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 m...@vexeddigital.com wrote: From: mark99 m...@vexeddigital.com Subject: Checkboxes within a loop in a form To:

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(ConfigurationLibraryMapping configuration) { // Creates a virtual root pacakge for pages,components. configuration.add(new LibraryMapping(man, net.sf.lombok)); } Shing

Re: Problem running Tap 5.1.0.4 on Jboss 5.0.1.GA

2009-05-11 Thread Shing Hing Man
Figueiredo thiag...@gmail.com Subject: Re: Problem running Tap 5.1.0.4 on Jboss 5.0.1.GA To: Tapestry users users@tapestry.apache.org Date: Monday, 11 May, 2009, 7:19 AM Em Sat, 09 May 2009 11:03:39 -0300, Shing Hing Man mat...@yahoo.com escreveu: Thanks for the reply! I have discovered

Re: Problem running Tap 5.1.0.4 on Jboss 5.0.1.GA

2009-05-09 Thread Shing Hing Man
Tap 5.1.0.4 on Jboss 5.0.1.GA To: Tapestry users users@tapestry.apache.org Date: Saturday, 9 May, 2009, 5:49 AM Em Fri, 08 May 2009 18:33:28 -0300, Shing Hing Man mat...@yahoo.com escreveu: After some debugging, I am not convinced that ClassNameLocatorImpl.scanURL(String

Re: Problem running Tap 5.1.0.4 on Jboss 5.0.1.GA

2009-05-08 Thread Shing Hing Man
To: users@tapestry.apache.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 'ExceptionReport' to a known

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.

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

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 mat...@yahoo.com wrote: From: Shing Hing Man mat...@yahoo.com Subject: Re: String to Double Type Coercion problem in 5.1.0.2 snapshot To: Howard Lewis Ship hls...@gmail.com Date: Sunday, 29 March, 2009, 12:00 AM Earlier, I have not given the full

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 mat...@yahoo.com wrote: From: Shing Hing Man mat...@yahoo.com Subject: Re: Fw: Re: String to Double Type Coercion problem in 5.1.0.2 snapshot To: Howard Lewis Ship hls...@gmail.com Date: Sunday, 29 March, 2009, 4:18 AM I have created an JIRA

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 sag@gmail.com wrote: From:

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 bishtamr...@gmail.com wrote: From: tapestry5

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 tr and td manually. In .tml, table border=0 t:loop source=dataList value=colValue index=myIndex t:if test=startRow t:outputraw value=startTR/ /t:if td

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 superoverdr...@gmx.de wrote: From:

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 a href=# t:type=pagelink page=updateFile context=contextParamsUpdate/a 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

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 eric...@db.com wrote: From: Eric Ma eric...@db.com

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

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 [EMAIL PROTECTED] Date: Sunday, 23 November

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 Schlanbusch

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 component

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

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: Tapestry

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 to

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

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:

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 [EMAIL

Re: BeanEditForm Component

2008-06-15 Thread Shing Hing Man
BeanEditForm is just a BeanEditor component with a submit button. Please see BeanEditForm.tml in the Tapestry 5 source core. If you need to add your own buttons, one way is to use BeanEdit component. Shing Home page : http://www.lombok.demon.co.uk/ --- On Sun, 15/6/08, tengxh [EMAIL

Re: Tap 5.0.12 snapshot: How to access the application wide message catalog in a contribution

2008-06-02 Thread Shing Hing Man
: http://www.lombok.demon.co.uk/ --- On Mon, 2/6/08, Shing Hing Man [EMAIL PROTECTED] wrote: From: Shing Hing Man [EMAIL PROTECTED] Subject: Tap 5.0.12 snapshot: How to access the application wide message catalog in a contribution To: tapestry Tapestry [EMAIL PROTECTED] Date: Monday, 2

Tap 5.0.12 snapshot: How to access the application wide message catalog in a contribution

2008-06-01 Thread Shing Hing Man
Hi, In a contribution to a StrategyBuilder configuration, I would like to access the application wide messaga catalog. public static IComputeWorker buildComputeWorker( MapClass, IComputeWorker configuration,

Re: T5: Can't find TapestryConstants after snapshot update

2008-05-27 Thread Shing Hing Man
The TapestryConstants class have been replaced by BindingConstants, CSSClassConstants,... Please see http://tapestry.formos.com/nightly/tapestry5/apidocs/index.html Shing --- Franz Amador-2 [EMAIL PROTECTED] wrote: I just updated to the latest shapshot jars (and updated my import

Tap 5.0.11 : How to access mixin of a given component

2008-05-18 Thread Shing Hing Man
I am trying to use mixins to turn the standard checkbox components into a checkbox group. t:checkbox t:id=colorController value=selectedAll t:mixins=ControlCheckbox / t:checkbox t:id=red value=red t:mixins=ControlledCheckbox

Tap 5.0.11 : How to get page instance from page

2008-05-05 Thread Shing Hing Man
Usually, I could use the following to inject a page into another page @InjectPage private DetailsPage details; How to retrieve an instance of a page if I am given the logical name of a page as a String variable ? In Tap 4, I would use RequestCycle.getPage(pageName). Thanks in advance

Re: Tap 5.0.11 : How to get page instance from page

2008-05-05 Thread Shing Hing Man
://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/services/ComponentSource.html -Filip On 2008-05-05 16:01, Kristian Marinkovic wrote: @Inject private RequestPageCache pageCache; pageCache.get(logicalName) g, kris Shing Hing Man [EMAIL PROTECTED

  1   2   3   >