Re: Page activation context question

2008-03-22 Thread Yura Tkachenko
And how I can pass more than one parameter? Or did you mean "I cannot pass more than one parameter"? Thanks, Yura. On Sat, Mar 22, 2008 at 10:46 PM, SergeEby <[EMAIL PROTECTED]> wrote: > > Hi, > > You can pass more than one parameter. > > /Serge > > > Yura Tkachenko wrote: > > > > Hi All, > > >

Re: Page activation context question

2008-03-22 Thread SergeEby
Hi, You can pass more than one parameter. /Serge Yura Tkachenko wrote: > > Hi All, > > I've been reading chapter about "Page Activation Context" here: > http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html. And > I > have a question: can I pass using activation context more

Re: how to use maven?

2008-03-22 Thread SergeEby
Hi, As the name indicates, this URL is for snapshots only. The official releases are located on standard maven repositories. So commenting out this repo should get you what you need. /Serge luna_guo wrote: > > i use maven plugin ,and add the following code to pom.xml > > > ta

Page activation context question

2008-03-22 Thread Yura Tkachenko
Hi All, I've been reading chapter about "Page Activation Context" here: http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html. And I have a question: can I pass using activation context more than one parameter? For example in help we have an example: void onActivate(long productI

Page activation context question

2008-03-22 Thread Yura Tkachenko
Hi All, I've been reading chapter about "Page Activation Context" here: http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html. And I have a question: can I pass using activation context more than one parameter? For example in help we have an example: void onActivate(long productI

how to use maven?

2008-03-22 Thread luna_guo
i use maven plugin ,and add the following code to pom.xml tapestry5 http://tapestry.formos.com/maven-snapshot-repository/ but when i click add dependency ,i can't find tapesty5.0.11, the lasted version i found is tapestry5.07. can anyone tell me how to solve this proble

Re: T5: OutputRaw filtering?

2008-03-22 Thread Filip S. Adamsen
You need to have an (X)HTML DOCTYPE somewhere in your page. See "Template Doctypes" at http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/templates.html. -Filip Andy Huhn skrev: Hello, I have the following in my .tml file: I expected this to generate "©" in the HTML being s

T5: OutputRaw filtering?

2008-03-22 Thread Andy Huhn
Hello, I have the following in my .tml file: I expected this to generate "©" in the HTML being sent to the browser. But instead, Tapestry gives me an error message: [ERROR] RequestExceptionHandler Processing of request failed with uncaught exception: Failure parsing template classpath:com/hom

Re: [T5] Missing JavaScript for FormFragment, bug?

2008-03-22 Thread Howard Lewis Ship
The hidden value is updated on form submit, after validation. It is based on deepVisible(), meaning the element formfragment's is visible, and its container's are all visible. On Sat, Mar 22, 2008 at 1:04 PM, Adam Zimowski <[EMAIL PROTECTED]> wrote: > It is in tapestry.js ? I was looking for it b

Re: [T5] Missing JavaScript for FormFragment, bug?

2008-03-22 Thread Adam Zimowski
It is in tapestry.js ? I was looking for it because for me (5.0.11) it wasn't dynamicall setting the hidden value upon click on the checkbox. http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> div.w-label, div.w-tlabel { width: 135px; float: left; } div.w-tlabel { position: relative; to

Re: [T5] Missing JavaScript for FormFragment, bug?

2008-03-22 Thread Howard Lewis Ship
The code is already in place to set the hidden field to the correct value when the form is submitted. On Sat, Mar 22, 2008 at 11:59 AM, Adam Zimowski <[EMAIL PROTECTED]> wrote: > Per documentation, FormFragment decides if its content should be > submitted based on the hidden field [formfragmentna

[T5] Missing JavaScript for FormFragment, bug?

2008-03-22 Thread Adam Zimowski
Per documentation, FormFragment decides if its content should be submitted based on the hidden field [formfragmentname]:hidden: // this is the relevant code from FormFragment source: void beginRender(..) writer.element("input", "type", "hidden",

Tap 5.0.11 : FormFragment with server side validation

2008-03-22 Thread Shing Hing Man
I have the following simple FormFragment which is inside a form component with server side validation. Married ? There are two problems. 1) Checked married

Re: T5: Multiple checkboxes

2008-03-22 Thread Shing Hing Man
Please take a look at the CheckboxGroupDemo at http://lombok.demon.co.uk/tapestry5Demo/ The techique in the demo source code (available on CheckboxGroupDemo page) should work for a group of multiple Checkbox components rendered by a loop. Shing --- traceon <[EMAIL PROTECTED]> wrote: > >

T5: Multiple checkboxes

2008-03-22 Thread traceon
hi together, i wan't to create a form with multiple checkboxes. How does tapestry handles multiple checked checkboxes passed from the form? From struts i knew that the values are stored in an string array in the bean. how the java code should look liken in tapestry? e.g. ... ... thx for yo

Re: T5: Display action message

2008-03-22 Thread Angelo Chen
Hi Joshua, if you use submit then you can specify a zone in the form, here is untested code: .tmp: message goes here... .java: @Inject private Block myBlock; Object onSuccess { return myBlock; } Joshua Jackson-3 wrote: > > I don't understand. > > Can you please give me a co

Re: T5: Display action message

2008-03-22 Thread Joshua Jackson
I don't understand. Can you please give me a code snippet? Because I don't use ActionLink to submit form, I use Submit button. Thanks in advance On 3/22/08, Angelo Chen <[EMAIL PROTECTED]> wrote: > > how about let the actionLink pointing to a zone? > > -- Let's show the world what we've got.

T4.1.5: Fill the autocompleter field from a popup window

2008-03-22 Thread Stef
Dear All! I upgraded my webapp from T4.0.2 to T4.1.5 and I have a problem with the autocompleter. I created a popup window for each autocompleter field but from version 4.1.5 isn't works well. I used this javascript in the popup window for transfer the selected data: function closePopup(string

Re: T5: generic, onActivate and onPassivate

2008-03-22 Thread Davor Hrg
javassist has low level apis that allow accessing elements reflective data, and after that it's same old reflection code, for example when I treid t make GenericComponents for tapestry I wanted to make a worker and put generic information into ComponentResources @Component private EntityEditC