T5: Equivalent to reserved parameters ?

2008-01-10 Thread Hugo Palma
Is there any equivalent to T4 reserved parameters in T5 ? What T5 is doing is just ignore the passed parameters that are also generated by the component itself. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: T5: Equivalent to reserved parameters ?

2008-01-10 Thread Yeeswara Nadapana (HCL Financial Services)
Hi, Please suggest me a simple way to show my ArrayList of string objects as a drop down combo box. Thanks Yees. -Original Message- From: Hugo Palma [mailto:[EMAIL PROTECTED] Sent: Thursday, January 10, 2008 4:11 PM To: Tapestry users Subject: T5: Equivalent to reserved parameters ?

How to make drop down box from ArrayList

2008-01-10 Thread Yeeswara Nadapana (HCL Financial Services)
Hi, Please suggest me a simple way to show my ArrayList of string objects as a drop down combo box. Thanks Yees. DISCLAIMER: --- The contents of this e-mail and any

Re: T5: Equivalent to reserved parameters ?

2008-01-10 Thread Hugo Palma
Please start a new thread with an appropriate subject for your question. Yeeswara Nadapana (HCL Financial Services) wrote: Hi, Please suggest me a simple way to show my ArrayList of string objects as a drop down combo box. Thanks Yees. -Original Message- From: Hugo Palma

RE: How to make drop down box from ArrayList

2008-01-10 Thread Yeeswara Nadapana (HCL Financial Services)
Hi Ulrich, I am using Tapestry 5. I have made a drop down box using the ArrayList. I want to fire an onChange event on my Page class and get some data relevant to the selected option and display on another TextArea. Please check my code snippet and let me know a way to that. select

Re: How to make drop down box from ArrayList

2008-01-10 Thread Ulrich Stärk
It would be better to inform us about the Tapestry version you are using instead of sending us a disclaimer that is longer than the rest of your mail. Uli Yeeswara Nadapana (HCL Financial Services) schrieb: Hi, Please suggest me a simple way to show my ArrayList of string objects as

Re: Newbie needs help with display of values on page

2008-01-10 Thread Mark Horn
Dave, The Tapestry 5 Wiki help me a lot. It can be found at: http://wiki.apache.org/tapestry/#head-fa893a125e25b4c453eaab4fc08b8fb5d00ca04a Also, There are some nice tutorials/examples available at: http://code.google.com/p/shams/ -Mark On 1/10/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Re: Newbie needs help with display of values on page

2008-01-10 Thread Shing Hing Man
I think the new binding var (available from Tapestry 0.8 snapshot) is what you are looking for. Document is available at the following. http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/parameters.html There is also a post on this last week. Shing --- [EMAIL PROTECTED] wrote:

Re: Newbie needs help with display of values on page

2008-01-10 Thread Davor Hrg
5.0.8-SNAPSHOT has new var: binding prefix but it is only for simple values, without expression evaluation. for example to display loop index. Davor Hrg On Jan 10, 2008 2:52 PM, [EMAIL PROTECTED] wrote: Things are kind of slow here at the office, so I'm taking advantage of that to finally

Torna-te um pioneiro do Portal Emprego.pt.

2008-01-10 Thread hugo . m . palma
To view the message, please use an HTML compatible email viewer!

Re: Torna-te um pioneiro do Portal Emprego.pt.

2008-01-10 Thread Hugo Palma
Sorry about this. This new service here in Portugal got to all my gmail contacts and sent this email to everyone of them. [EMAIL PROTECTED] wrote: To view the message, please use an HTML compatible email viewer! - To

PropertySelection request

2008-01-10 Thread Tobias Marx
A quick but useful feature suggestion for the default PropertySelection: optional=true/false Which would automatically add an empty item ad the beginning, for the case it is an optional PropertySelection. Thanks! Tobias - To

Re: PropertySelection request

2008-01-10 Thread Andreas Andreou
http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/form/IPropertySelectionModel.html and http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/form/LabeledPropertySelectionModel.html On Jan 10, 2008 5:25 PM, Tobias Marx [EMAIL PROTECTED] wrote: A quick but useful

PageTester and UploadedFile

2008-01-10 Thread Foror
As upload the file through the form when is used the PageTester? This not worked: MapString, String fieldValues = new HashMapString, String(); FileInputStream in = new FileInputStream(file); byte[] data = new byte[(int) file.length()]; in.read(data); fieldValues.put(avatar, new String(data));

T4: Newbie's questions

2008-01-10 Thread Zheng, Xiahong
Hi, I am exploring Tapestry (currently looking at 4.1.4 snapshot). So far, the experience has been very positive. I was able to convert a Struts based application to Tapestry4 in just a couple days. However, I still need answer to the following questions, 1) Layout management: I couldn't find a

Re: T4: Newbie's questions

2008-01-10 Thread Norman Franke
On Jan 10, 2008, at 2:05 PM, Zheng, Xiahong wrote: 1) Layout management: I couldn't find a documented solution to replace tiles used by the old application. Not sure on that one, I don't believe there really is anything dealing with layout other than a table. 2) Dynamic attribute value

Re: T4: Newbie's questions

2008-01-10 Thread Ulrich Stärk
Zheng, Xiahong schrieb: Hi, I am exploring Tapestry (currently looking at 4.1.4 snapshot). So far, the experience has been very positive. I was able to convert a Struts based application to Tapestry4 in just a couple days. However, I still need answer to the following questions, 1) Layout

Re: T4: Newbie's questions

2008-01-10 Thread Marcus
Hi Zheng, Since you are newbie, I think you should try T5. I'm a Tapestry user since T3. T5 is more intuitive and easy to learn, in my opinion. Marcus

Re: T4: Newbie's questions

2008-01-10 Thread Kalle Korhonen
On 1/10/08, Ulrich Stärk [EMAIL PROTECTED] wrote: Zheng, Xiahong schrieb: 1) Layout management: I couldn't find a documented solution to replace tiles used by the old application. I'm no Struts expert but AFAICR tiles are just some kind of reusable templates. In Tapestry every component

RE: T4: Newbie's questions

2008-01-10 Thread Zheng, Xiahong
Thanks Norman and Ulrich for your quick response. Now I am getting closer. In my scenario, I want to append a dynamic content to the onclick attribute, not to replace it entirely. See below, input jwcid=@Any onclick=document.getElementById('positionId').value= type=submit / How can I append

Re: T4: Newbie's questions

2008-01-10 Thread Norman Franke
On Jan 10, 2008, at 3:04 PM, Zheng, Xiahong wrote: Thanks Norman and Ulrich for your quick response. Now I am getting closer. In my scenario, I want to append a dynamic content to the onclick attribute, not to replace it entirely. See below, input jwcid=@Any

RE: T4: Newbie's questions

2008-01-10 Thread Zheng, Xiahong
I will try to read OGNL. For now, I did just as you suggested; created a page method to return the entire string. The down side is: I have JavaScript in my Page class which is vulnerable to UI changes (form element id changes, i.e.). -Original Message- From: Norman Franke [mailto:[EMAIL

[T5] NPE in PageRenderQueueImpl

2008-01-10 Thread Moritz Gmelin
Hi, I have a rather big application with hibernate integration that I am trying to deploy on a tomcat Server. After first deployment, I get the following error message almost for every page I go to. If I then just hit reload, the page loads correctly. I must touch every page maybe 2 or 3

Re: T4: Newbie's questions

2008-01-10 Thread Jesse Kuhnert
input jwcid=@Any stringValue=ognl:'myStringValue' + page.user.name / On Jan 10, 2008 3:52 PM, Zheng, Xiahong [EMAIL PROTECTED] wrote: I will try to read OGNL. For now, I did just as you suggested; created a page method to return the entire string. The down side is: I have JavaScript in my Page

RE: T4: Newbie's questions

2008-01-10 Thread Zheng, Xiahong
How to escape single quote inside my string constant? -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Thursday, January 10, 2008 4:19 PM To: Tapestry users Subject: Re: T4: Newbie's questions input jwcid=@Any stringValue=ognl:'myStringValue' + page.user.name /

Re: T4: Newbie's questions

2008-01-10 Thread Norman Franke
Which doesn't work if you want to include a single quote in the string, as he seems to want. You can get around this by defining the component in the .page file and specifying that property like this: component id=attributesDisplay type=Insert binding name=value

Re: T4: Newbie's questions

2008-01-10 Thread Jesse Kuhnert
\' On Jan 10, 2008 4:29 PM, Zheng, Xiahong [EMAIL PROTECTED] wrote: How to escape single quote inside my string constant? -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Thursday, January 10, 2008 4:19 PM To: Tapestry users Subject: Re: T4: Newbie's

Re: T4: Newbie's questions

2008-01-10 Thread Yunhua Sang
Hi Xiahong, For Layout management, there is a example in Workbench demo: src\Workbench\src\context\WEB-INF\Border.html You may have better sense after you take a look of this page. Cheers, Yunhua On Jan 10, 2008 2:26 PM, Ulrich Stärk [EMAIL PROTECTED] wrote: Zheng, Xiahong schrieb: Hi, I

RE: T4: Newbie's questions

2008-01-10 Thread Zheng, Xiahong
It works!!! Thanks a bunch. -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Thursday, January 10, 2008 4:33 PM To: Tapestry users Subject: Re: T4: Newbie's questions \' On Jan 10, 2008 4:29 PM, Zheng, Xiahong [EMAIL PROTECTED] wrote: How to escape single quote

Re: T4: Newbie's questions

2008-01-10 Thread Norman Franke
I think that won't work for double quotes, should you need that. That was the issue I had originally, I think. Norman Franke ASD, Inc. On Jan 10, 2008, at 4:41 PM, Zheng, Xiahong wrote: It works!!! Thanks a bunch. -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]

RE: T4: Newbie's questions

2008-01-10 Thread Zheng, Xiahong
Thanks, I'll look into the example. -Original Message- From: Yunhua Sang [mailto:[EMAIL PROTECTED] Sent: Thursday, January 10, 2008 4:35 PM To: Tapestry users Subject: Re: T4: Newbie's questions Hi Xiahong, For Layout management, there is a example in Workbench demo:

Re: [T5] NPE in PageRenderQueueImpl

2008-01-10 Thread Howard Lewis Ship
We're looking into this, it may be due to a known bug in JDK 1.5. On Jan 10, 2008 1:08 PM, Moritz Gmelin [EMAIL PROTECTED] wrote: Hi, I have a rather big application with hibernate integration that I am trying to deploy on a tomcat Server. After first deployment, I get the following error

Tapestry 5.0.7 : Filtering in Output component

2008-01-10 Thread Shing Hing Man
In Tap 4.0, the component Insert will have filtering on by default (characters such as are escaped to lt;). In Tap 5.0.7, the Output component does not seem to have the above filtering capability. Do I have to write a custom Output component or is there an existing Tap 5.0.7 component similar

[Announcement] t5components - release 0.5.2

2008-01-10 Thread Sven Homburg
Hi there, the t5components release 0.5.2 is out now and implements three more components and one new binding. special thanks to Tod Orr for his PagedLoop component. project page with demo http://213.160.23.119:8080/t5components/ click here - best regards Sven -- View this message in

Re: Tapestry 5.0.7 : Filtering in Output component

2008-01-10 Thread Ashish Kheterpal
On 1/10/08 2:34 PM, Shing Hing Man [EMAIL PROTECTED] wrote: In Tap 4.0, the component Insert will have filtering on by default (characters such as are escaped to lt;). In Tap 5.0.7, the Output component does not seem to have the above filtering capability. Do I have to write a

[T4] AJAX: reender whole page or just send back the markup of the div

2008-01-10 Thread Kaspar Fischer
Dear all, I have a very basic question about AJAX in Tapestry 4.1.3: IIUC, the updateComponents attribute provided by Tapestry components works by rendering the *whole* page, extracting the relevant components (via their ids) and sending them back to the client. I find this very elegant

Re: Tapestry 5.0.7 : Filtering in Output component

2008-01-10 Thread Howard Lewis Ship
You will have to write your own component (a few lines), or add a JIRA issue so that we can work on providing this functionality. On Jan 10, 2008 2:34 PM, Shing Hing Man [EMAIL PROTECTED] wrote: In Tap 4.0, the component Insert will have filtering on by default (characters such as are

How about a PERSESSION_SCOPE?

2008-01-10 Thread Donyee
T5 now supports singleton and per-thread scope; in the webapps the per-session is also a good way! Any tips? -- Yet Another Java EE Developer!

Re: [Announcement] t5components - release 0.5.2

2008-01-10 Thread Howard Lewis Ship
Looks good as usual! On Jan 10, 2008 3:19 PM, Sven Homburg [EMAIL PROTECTED] wrote: Hi there, the t5components release 0.5.2 is out now and implements three more components and one new binding. special thanks to Tod Orr for his PagedLoop component. project page with demo

Re: [T4] AJAX: reender whole page or just send back the markup of the div

2008-01-10 Thread Pai911
Hi! I don't think that Tapestry will render the whole page when a listener is in invoked Asynchronously. When you intend to define a link or form for Async invocation, remember to set the async attribute as true for example: #DIV TO DISPLAY CURRENT TIME# lt;span jwcid=[EMAIL PROTECTED]