Re: How to get the values from a checkBoxes in a abstract component

2006-11-27 Thread Shing Hing Man
Have you looked at the source code of org.apache.tapestry.contrib.form.MultiplePropertySelection ? MultiplePropertySelection is an abstract form component that renders its checkbox ? Shing --- jake123 [EMAIL PROTECTED] wrote: Hi, I am building a page where I have a abstract component

Re: How to get the values from a checkBoxes in a abstract component

2006-11-27 Thread Shing Hing Man
: No, but I am looking at it right now, Have you worked with this component your self? Do you have any example on how to use it? Thanks, Jacob Shing Hing Man wrote: Have you looked at the source code of org.apache.tapestry.contrib.form.MultiplePropertySelection

Re: How to get the values from a checkBoxes in a abstract component

2006-11-27 Thread Shing Hing Man
During render, have you considered extract the list from your DTO object and then pass the list to MultiplePropertySelection ? During rewind, do the oppose. Shing --- jake123 [EMAIL PROTECTED] wrote: Hi Shing, I have looked in to the MultiplePropertySelection component. They all

Re: How to use the FCKEditor

2006-11-07 Thread Shing Hing Man
http://lombok.demon.co.uk/tapestry4Demo/app The above link should work now. Shing --- jake123 [EMAIL PROTECTED] wrote: Hi, does anybody know how to use the FCKEditor? I have downloaded the files and started to follow the steps described in

Re: How to use the FCKEditor

2006-11-07 Thread Shing Hing Man
Please check out the online examples (source code are there) and documentation on the parameters from http://lombok.demon.co.uk/tapestry4Demo/app Shing --- jake123 [EMAIL PROTECTED] wrote: thanks, the link is working now... Can you give me some pointers on how to make the component

Re: Getting the ordinal # in the Contrib:Table

2006-11-01 Thread Shing Hing Man
The method getCurrentPages in org.apache.tapestry.contrib.table.components.TablesPages returns the current page of your table. The ordinal number of the first row of the current page should be something like (tablesPages.getCurrentPage() - 1) * PAGE_SIZE) + 1 Shing --- [EMAIL PROTECTED]

Re: Getting a reference to Hivemind registry

2006-10-31 Thread Shing Hing Man
The Hivemind registry is stored in the servlet context. (Please see the source code of init method in org.apache.tapestry.ApplicationServlet.) If you need to reference the HiveMind registry outside a web page, you might need to create your own 'singleton' of HiveMind registry. Shing ---

Re: Re: tapestry-acegi questions

2006-10-29 Thread Shing Hing Man
Step C at the following might help. http://wiki.javascud.org/display/hsa/Acegi+and+Tapestry--A+Step-by-Step+Guide shing --- Robin Ericsson [EMAIL PROTECTED] wrote: On 10/29/06, James Carman [EMAIL PROTECTED] wrote: Hi, Robin. I haven't implemented form-based authentication in

Re: Dynamic Radiogroup

2006-10-24 Thread Shing Hing Man
In the component FieldLabel, the parameter field expects an object of type IFormcomponent. (Please see http://tapestry.apache.org/tapestry4/tapestry/ComponentReference/FieldLabel.html) It looks as though the Java class for the Radio component is not of type IFormcomponent. Shing --- Todd Orr

Re: accessing state objects from EngineService

2006-10-09 Thread Shing Hing Man
You might like to check out the following page. http://lombok.demon.co.uk/tapestry4Demo/Inject.html Shing -- Marcus Irven [EMAIL PROTECTED] wrote: I have created a new engine service, how can I access a State Object? Thanks, Marcus

Re: Problem with one of my Custom Components

2006-10-09 Thread Shing Hing Man
For components, .jwc should start with (note that component-specification) : ?xml version=1.0? !DOCTYPE component-specification PUBLIC -//Apache Software Foundation//Tapestry Specification 4.0//EN http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd; Shing --- jake123 [EMAIL PROTECTED]

Re: MultiplePropertySelection example

2006-10-03 Thread Shing Hing Man
There is one here : http://lombok.demon.co.uk/tapestry4Demo/app Shing --- Josh Joy [EMAIL PROTECTED] wrote: Hi All, Does anyone have an example of how to use MultiplePropertySelection ? Thanks in advance. Thanks, Josh

Re: Tapestry Examples - workbench source code

2006-09-30 Thread Shing Hing Man
The workbench source code is in the Tapestry source/binary distrbution. Shing --- Josh Joy [EMAIL PROTECTED] wrote: Hi All, I downloaded the tapestry example jboss bundle which includes the workbench example. Unfortunately, I was unable to locate the source Java code for these

RE: Access Session-scoped ASO from HttpSessionListener

2006-09-14 Thread Shing Hing Man
to retrieve the ASO from outside of the request/response cycle. Any advice is greatly appreciated, -jason -Original Message- From: Shing Hing Man [mailto:[EMAIL PROTECTED] Sent: Thursday, September 14, 2006 3:12 PM To: Tapestry users Subject: Re: Access Session-scoped ASO

Re: translator for Insert?

2006-09-10 Thread Shing Hing Man
I think translator is only applicable to a form component if it implements the interface org.apache.tapestry.form.TranslatedField. Please check out the java doc on TranslatedField. http://tapestry.apache.org/tapestry4/tapestry/apidocs/index.html The Java class of the Insert component does not

Re: external form submissions

2006-09-06 Thread Shing Hing Man
Chapter 8 of the book Tapestry in Action discussed (also relevant to Tap4) a way of submitting an 'external' form to a Tapetsry page. (I think you can download the example source code of the book for free from Manning's web site.) Briefly, you set up a Tapestry page whose java class extends

Re: PopupLinkRenderer: no PageRenderSupport object has been stored into the request cycle.

2006-08-28 Thread Shing Hing Man
I think you need the @Body component in your .html. Shing --- Oliver Lietz [EMAIL PROTECTED] wrote: Hello all, I've a problem with PopupLinkRenderer and it looks similar to the one Bastian Voigt had with Script component [1/2]. Did I made right use of the PopupLinkRenderer? Just want

Re: Link to external application

2006-08-20 Thread Shing Hing Man
Have you looked at the GenericLink or Any component ? http://tapestry.apache.org/tapestry4/tapestry/ComponentReference/GenericLink.html http://tapestry.apache.org/tapestry4/tapestry/ComponentReference/Any.html Shing --- Josh Joy [EMAIL PROTECTED] wrote: Hi All, I have a newbie

Re: Tapestry 4.1 EventListener example

2006-08-20 Thread Shing Hing Man
-20060819.225847-18.jar Shing --- Jesse Kuhnert [EMAIL PROTECTED] wrote: you shuold be using the latest 4.1.1-SNAPSHOT build if you are going to attempt this. (though it might work in the original 4.1, I can't vouch for it anymore..too many changes since then) On 8/20/06, Shing Hing Man [EMAIL

Re: DynamicSelectionList and ArrayIndexOutOfBoundsException

2006-08-18 Thread Shing Hing Man
UsersByDepartmentSelectionModel.java (and DepartmentSelectionModel.jav) looks suspcious. The UsersByDepartmentSelectionModel.getOption method returns a value from userLists, but UsersByDepartmentSelectionModel.translateValue returns a value using a dao. You might like to test

Re: DynamicSelectionList and ArrayIndexOutOfBoundsException

2006-08-18 Thread Shing Hing Man
there. By the way, I am using binding name=submitOnChange expression=true / to test the PropertySelection. -waimun On 8/18/06, Shing Hing Man wrote: UsersByDepartmentSelectionModel.java (and DepartmentSelectionModel.jav) looks suspcious. The UsersByDepartmentSelectionModel.getOption

Re: Tapestry4.1 TimeTracker source code

2006-08-13 Thread Shing Hing Man
Thanks! Shing --- Mark Reynolds [EMAIL PROTECTED] wrote: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-examples/TimeTracker/ Shing Hing Man wrote: Could someone please let me know where I can download the source code for Tapestry4.1 TimeTracker demo ? Shing

Tapestry4.1 TimeTracker source code

2006-08-10 Thread Shing Hing Man
Could someone please let me know where I can download the source code for Tapestry4.1 TimeTracker demo ? Shing Home page : http://uk.geocities.com/matmsh/index.html ___ Copy addresses and emails from any email

Re: [New Service]

2006-08-05 Thread Shing Hing Man
Have you looked at the following example ? http://lombok.demon.co.uk/serviceHowTo/app Shing --- Scott Venter [EMAIL PROTECTED] wrote: Anyone have a link to tutorials/examples on creating new services in Tapestry 4.0? This email and any files transmitted with it are confidential and

Re: Binding Exception

2006-07-26 Thread Shing Hing Man
Please try : ognl:!user.active Shing --- Rui Pacheco [EMAIL PROTECTED] wrote: Hi all I am trying to make my ASO available to an @If component on my templates, but I can't get past the following error: Unable to read OGNL expression 'parsed OGNL expression' of [EMAIL PROTECTED]:

Re: Checkbox required validation not working

2006-07-26 Thread Shing Hing Man
I have tried out the suggestion in the post (*) http://article.gmane.org/gmane.comp.java.tapestry.user/38761/match=required+validator to implement client side 'required' validation on a Checkbox compponent (in Tapestry 4.0.2). In (*), a validator with a custom javascript to validate a required

Re: Checkbox required validation not working

2006-07-26 Thread Shing Hing Man
Any chance of doing to Tapestry 4.0.2 as well ? Shing --- Jesse Kuhnert [EMAIL PROTECTED] wrote: Ouch, nice catch! I've applied the changes and will deploy in next tapestry 4.1 snapshot release later today. On 7/26/06, Shing Hing Man [EMAIL PROTECTED] wrote: I have tried out

Re: Context path

2006-07-25 Thread Shing Hing Man
You can inject javax.servlet.ServletContext into your serivce (I presume you meant a Tapestry service). The use servletContext.getRealPath(/) to retrieve the context path. A how-to on injecting javax.servlet.ServletContext into a tapestry service is at

Re: Are components treated as pages?

2006-07-24 Thread Shing Hing Man
I have no problem with validators for a TextField within a custom component. You might like to post your component's .java, .jwc. and .html and see if anyone in the list can help. Shing --- Rui Pacheco [EMAIL PROTECTED] wrote: Hi all I've been knocking my head on the wall trying to

Re: Are components treated as pages?

2006-07-24 Thread Shing Hing Man
= [EMAIL PROTECTED] width=23 height=17 image=asset:submit//td/tr /table On 7/24/06, Shing Hing Man [EMAIL PROTECTED] wrote: I have no problem with validators for a TextField within a custom component. You might like to post your component's .java, .jwc. and .html and see if anyone

Re: Are components treated as pages?

2006-07-24 Thread Shing Hing Man
, but I want to keep all my specifications in the component specification. Its just the philosophy we chose for our project. On 7/24/06, Shing Hing Man [EMAIL PROTECTED] wrote: I think you have left out the delegate attribute in the Form component. http://tapestry.apache.org

Re: Are components treated as pages?

2006-07-24 Thread Shing Hing Man
AbstractBaseComponent. Its a class I created to work as a parent for all my components. That way I can use inheritance to customize my components at will. AbstractBaseComponent itself extends BaseComponent. On 7/24/06, Shing Hing Man [EMAIL PROTECTED] wrote: Oops ! What I said about the missing

Re: Are components treated as pages?

2006-07-24 Thread Shing Hing Man
[EMAIL PROTECTED] wrote: I didn't override any methods, although calling super could be usefull. On 7/24/06, Shing Hing Man [EMAIL PROTECTED] wrote: I do not know whether the following helps. In your custom class AbstractBaseComponent, if you have over ridden any methods of its parent

Re: Are components treated as pages?

2006-07-24 Thread Shing Hing Man
()); } return rs; } protected void print(Object msg){ System.err.print(msg.toString()); } protected void println(Object msg){ System.err.println(msg.toString()); } } On 7/24/06, Shing Hing Man [EMAIL PROTECTED] wrote: To narrow down your problem

Re: Are components treated as pages?

2006-07-24 Thread Shing Hing Man
Login.html, I wrap your table by span jwcid=form Shing --- Rui Pacheco [EMAIL PROTECTED] wrote: So, when you DONT insert a username and password and press submit, he gives a warning about the missing values? On 7/24/06, Shing Hing Man [EMAIL PROTECTED] wrote: I have tested your Login

Re: external link to a tapestry page

2006-07-19 Thread Shing Hing Man
You could trying setting the property webRequest in requestGlobals manually before invoking externalService.getLink(). // The following few lines of code set up the property // webRequest and webResponse in requestGlobals. // HttpServletRequest req =(HttpServletRequest)request;

Re: Table with large data set

2006-07-19 Thread Shing Hing Man
You can set your source parameter (in component contrib:table or contrib:tableview) to an implmentation of org.apache.tapestry.contrib.table.model.IBasicTableModel. In your implementation of IbasicTable, you just retrieve the rows for the current page. Shing --- Chris Chiappone [EMAIL

Re: OT: hivemind help

2006-07-19 Thread Shing Hing Man
I do not have an answer to your problem. But you might like to make sure parameters-schema works by testing it as a normal configuration. Shing --- Ron Piterman [EMAIL PROTECTED] wrote: hi - I try to pass a parameter to a serviceIMplementationFactory but get an exception from hivemind:

Re: handling file downloads

2006-07-19 Thread Shing Hing Man
() is always null in the service. I know it must be simple, but what am I missing? Thanks, J On 18-Jul-06, at 4:54 PM, Shing Hing Man wrote: A possibility is to store the parameters (that are needed to construct the data set) in a session ASO. You can inject the above session ASO

Re: Creating new hivemind service

2006-07-18 Thread Shing Hing Man
I think you have to do it indirectly by injecting the ApplicationManager into your service. Then in your service, retrieve the desired ASO using the ApplicationManager. There is a how-to on this at the following. http://lombok.demon.co.uk/tapestry4Demo/Inject.html Shing --- [EMAIL

Re: handling file downloads

2006-07-18 Thread Shing Hing Man
A possibility is to store the parameters (that are needed to construct the data set) in a session ASO. You can inject the above session ASO into your service. So that the data set can be constructed in your service when the service is called. Shing --- Julian Wood [EMAIL PROTECTED] wrote:

Re: handling file downloads

2006-07-11 Thread Shing Hing Man
You might like to check out the following how-to on writing a Tapestry service to return a plain text file. http://lombok.demon.co.uk/serviceHowTo/app Shing --- Julian Wood [EMAIL PROTECTED] wrote: How do you do it? I would like to click a link, have a listener assemble a CSV file,

Re: Accessing ASO 'Visit' from servlet filter

2006-07-08 Thread Shing Hing Man
) { log.info(doFilter : sexp = + sexp); } } === I have tested the above and it works. Shing --- Shing Hing Man [EMAIL PROTECTED] wrote: I have run out of idea. If I come up with something useful, I'll inform you. Shing --- Joseph Hannon [EMAIL

Re: validation of fields within a For component

2006-07-07 Thread Shing Hing Man
When you use a component in a loop, only one instance of it is used. The problem is that in the java code of your page, you can not, as you said, reference the second,say, 'component' in the loop. Each 'copy' of the component in the loop can be uniquely identified by getClientId(). Example :

Re: validation of fields within a For component

2006-07-07 Thread Shing Hing Man
(); } else { super.writeSuffix(writer, cycle, component, validator); } } } Shing --- Shing Hing Man [EMAIL PROTECTED] wrote: When you use a component in a loop, only one instance of it is used. The problem

Re: Accessing ASO 'Visit' from servlet filter

2006-07-07 Thread Shing Hing Man
I have noticed that in the retrieveVisit method of InjectStateWorker.java : visit = (Visit) _applicationStateManager.get(visit) ; But in the hivemodule.xml, the state object name is 'Visit' with a captial V. You might like to rename 'visit' to something else. I do not know whether it would

Re: Accessing ASO 'Visit' from servlet filter

2006-07-07 Thread Shing Hing Man
Sorry ! Here is the correct link. http://lombok.demon.co.uk/tapestry4Demo/app Shing --- Shing Hing Man [EMAIL PROTECTED] wrote: I have noticed that in the retrieveVisit method of InjectStateWorker.java : visit = (Visit) _applicationStateManager.get(visit

Re: Accessing ASO 'Visit' from servlet filter

2006-07-07 Thread Shing Hing Man
from a pojo? I would like to see how you are making the call that gets the service. I suspect getting my registry from my servlet is not the way to go. Thanks, Joseph Shing Hing Man wrote: How are you calling getAppStateManager(), from what class? How are you getting access

Re: Accessing ASO 'Visit' from servlet filter

2006-07-07 Thread Shing Hing Man
from my servlet is not the way to go. Thanks, Joseph Shing Hing Man wrote: How are you calling getAppStateManager(), from what class? How are you getting access to the registry from a POJO? In my how-to, appStateManager is injected to the tapestry service asoSerivce

Re: a component that creates another component

2006-07-07 Thread Shing Hing Man
It should be possible since Daniel Gredler have created a BeanForm component (you supply a pojo, it will generate all the textFields/date picker for you. Just like magic). It is available at Tassel http://equalitylearning.org/Tassel/app I am surpise no one has mentioned this on the list yet.

Re: Accessing ASO 'Visit' from servlet filter

2006-07-07 Thread Shing Hing Man
) $ApplicationStateManager_10c4ab9cbfd.get($ApplicationStateManager_10c4ab9cbfd.java) foo.apply.utility.Utility.testASOService(Utility.java:61) foo.apply.application.SampleFilter.doFilter(SampleFilter.java:176) Shing Hing Man wrote: The registry is stored in the servlet context

Re: ClassCastException when using intValidator

2006-07-04 Thread Shing Hing Man
binding name=validators value=validator:int, required, maximum=5 / Please try replacing validator by validators. validator is for ValidField. Shing --- Firas A. [EMAIL PROTECTED] wrote: Hello, I get ClassCastException (org.apache.tapestry.valid.IntValidator) when trying to validate a

Re: i18n text in properties file and HTML

2006-07-04 Thread Shing Hing Man
Have you tried using the Insert component with parameter raw set to true ? http://tapestry.apache.org/tapestry4/tapestry/ComponentReference/Insert.html Shing --- Jean-Eric Cuendet [EMAIL PROTECTED] wrote: Hi, I would like to put markup in the texts in my properties files. I have something

Re: form validation question

2006-07-03 Thread Shing Hing Man
I do not have an easy solution to your problem. The following is just an idea which I have not tested. Have you considered 'extending' the component TextField to hava an extra boolean parameter 'validation flag' ? The idea is that validation is skipped according to the 'validation flag'. In

Re: Return with html anchor in listener

2006-07-01 Thread Shing Hing Man
Have you looked at the source code for the getLink method in org.apache.tapestry.link.ExternalLink ? Copying the code from the method ExternalLink.getLink, I would have thought you need something like the following. // parameters as in the attribute parameters in ExternalLink component

RE: component-binding/property side-effect (T4)

2006-07-01 Thread Shing Hing Man
--- James Carman [EMAIL PROTECTED] wrote: You can use a value object and bind your form fields to that. Then, when you submit your form, you can create your domain object from your value object using the constructor. -Original Message- From: Lukas Ruetz [mailto:[EMAIL

RE: component-binding/property side-effect (T4)

2006-07-01 Thread Shing Hing Man
--- James Carman [EMAIL PROTECTED] wrote: You can use a value object and bind your form fields to that. Then, when you submit your form, you can create your domain object from your value object using the constructor. -Original Message- From: Lukas Ruetz [mailto:[EMAIL

Re: Number Translator and Commas

2006-06-30 Thread Shing Hing Man
You can set the pattern in a bean. bean name=foo class=org.apache.tapestry.form.translator.NumberTranslator set name=pattern value=###,###.##/ /bean binding name=translator value=bean:foo/ Shing --- John Menke [EMAIL PROTECTED] wrote: I am trying to do this: binding name=translator

Re: contrib table

2006-06-28 Thread Shing Hing Man
Have you consider modifying the component TablePages as described in the following post ? http://article.gmane.org/gmane.comp.java.tapestry.user/21934/match=tablepages Shing --- Peter Dawn [EMAIL PROTECTED] wrote: guys, is there a way to change the and in the navigation bar of a

Re: Tapestry and Dojo and Tapestry 4.1

2006-06-26 Thread Shing Hing Man
. From my understanding, The integration of Dojo into Tapestry4.1 and Tacos are two different thing ... am I right ? Or do they play together somehow ? ~KEGan On 6/25/06, Shing Hing Man [EMAIL PROTECTED] wrote: If you have not checked out the helloword example in tacos wiki

Re: Tapestry and Dojo and Tapestry 4.1

2006-06-25 Thread Shing Hing Man
If you have not checked out the helloword example in tacos wiki, at http://tacoscomponents.jot.com/WikiHome you might like take a look at that. Shing --- KE Gan [EMAIL PROTECTED] wrote: Hi, I am finishing up (and launching) a project using Tapestry 4.0.2 soon. I am planning to

Re: Getting old visit object

2006-06-24 Thread Shing Hing Man
property name=org.apache.tapestry.visit-class value=org.xxx.MyVisit/ Instead of above, please try : meta key=org.apache.tapestry.visit-class value=org.xxx.MyVisit/ Shing --- Yves Sy [EMAIL PROTECTED] wrote: Thanks for the reply. Since I prefer to use non-deprecated methods, I'm

Re: [q] How to access to hivemind registry not from Pages

2006-06-23 Thread Shing Hing Man
I think this was discussed recently in the mailing list. The registry is stored as a context parameter. You can get it by doing something like : ServletContext context = session.getServletContext(); Registry registry = (Registry) context

Re: Null Date in a Contrib:Table

2006-06-23 Thread Shing Hing Man
Have you consider wrapping your component 'creationDateFormat' with an If component - so that the date is only rendered if it is not null ? There might be a drawback with the above approach. The default sorting on your date column might not work. Shing --- Manuel Thurn [EMAIL PROTECTED]

RE: Null Date in a Contrib:Table

2006-06-23 Thread Shing Hing Man
=components.table.tableRow.creationDate.time/ binding name=format value=dateFormat/ /component Manuel -Original Message- From: Shing Hing Man [mailto:[EMAIL PROTECTED] Sent: Freitag, 23. Juni 2006 06:53 To: Tapestry users Subject: Re: Null Date in a Contrib:Table Have you consider

Re: Client side validation and Form

2006-06-21 Thread Shing Hing Man
binding name=success value=listener:checkToken/ binding name=stateful value=false/ binding name=clientValidationEnabled value=true/ binding name=cancel value=listener:logout/ /component The logout method was never called Thanks, Simon Shing Hing Man

RE: Using javascript in 3.03 to set the focus.

2006-06-20 Thread Shing Hing Man
Also, there should be no blank line before ?xml version=1.0 encoding=UTF-8? Shing --- Shing Hing Man [EMAIL PROTECTED] wrote: I have not tried not the example at http://jakarta.apache.org/tapestry/3.0.4/doc/ComponentReference/Script.html But I think your error is caused by hava

Re: Tapestry Table sorting and pagination problem

2006-06-19 Thread Shing Hing Man
object has been stored into the request cycle. This object is typically provided by a Body component. You should add a Body component to your template. location: The error says you do not have a Body component. Please try using a Body component and see whether it works. Shing ---

Re: How to implement a Select with multiple values?

2006-06-13 Thread Shing Hing Man
Have you looked at the contributed components MultiplePropertySelection or Palette ? Shing --- Rui Pacheco [EMAIL PROTECTED] wrote: Hi all I need to implement a select showing multiple values. I tried to implement it with PropertySelection, but it won't allow me to select more than

Re: JavaScript outside the body tag

2006-06-07 Thread Shing Hing Man
An alternative is to wrap your javascript in a Script component. In .script file, just use the include-script element to include your javascript. Here is a sample. preview.script : ?xml version=1.0 encoding=UTF-8? !DOCTYPE script PUBLIC -//Apache Software Foundation//Tapestry Script

Re: JavaScript outside the body tag

2006-06-07 Thread Shing Hing Man
A Script component must be enclosed by a Body component. Please see the following details. http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Script.html Shing --- Peter Dawn [EMAIL PROTECTED] wrote: i am already using the javascript component for this. but i am unable to put

Re: get status from http response

2006-06-06 Thread Shing Hing Man
Have you tried to inject a HttpServletReponse into a Tapestry page .java file with the following? @InjectObject(service:tapestry.globals.HttpServletResponse) public abstract HttpServletResponse getServletResponse(); Shing --- Eddie Fang [EMAIL PROTECTED] wrote: Hi, In order to get the

Re: @Persist documentation?

2006-06-01 Thread Shing Hing Man
Have you checked out the following? http://jakarta.apache.org/tapestry/tapestry-annotations/index.html#Persist Shing --- Jean-Eric Cuendet [EMAIL PROTECTED] wrote: Hi, I'm unable to find @Persist annotation doc... Could someone point me to some? Thanks. -jec -- Best regards /

Contributed ControlCheckbox, ControlledCheckboxes with given CheckboxGroup

2006-05-31 Thread Shing Hing Man
I have been trying out the contributed CheckboxGroup, ControlCheckbox and ControlledCheckbox. Everyhing is fine when the ControlCheckbox, ControlledCheckboxes are enclosed by a CheckboxGroup. However, I have problem when my CheckboxGroup does not enclose the ControlledCheckbox and

Re: How to specify page class location

2006-05-26 Thread Shing Hing Man
You need to specify the meta-key org.apache.tapestry.page-class-packages in .application. Something like : meta key=org.apache.tapestry.page-class-packages math.pages,math.pages.exception,math.pages.users, math.pages.lectureVoting,math.pages.lectureVoting.admin,

Re: Help with InputValidation

2006-05-26 Thread Shing Hing Man
In the translator, try addding a pattern : binding name=translator value=translator:number, pattern=#.#/ Shing --- Pedro Garcia [EMAIL PROTECTED] wrote: hi it's me again. Thought I had solved the problem with number but now every float number is losing the decimal digits that are

<    1   2   3