Re: How to do this with tapestry 4?

2006-09-29 Thread Jun Tsai
You can use RenderBlock component to do this. pls refer http://tapestry.apache.org/tapestry4.1/components/RenderBlock.html Jun Tsai 2006/9/29, 张启迪 <[EMAIL PROTECTED]>: For example, there is a page named PA, which contains 10 components (BaseComponent). We name these components as C1,C2,...,C10

Re: beware new 4.1.1 snapshot builds

2006-09-29 Thread Jesse Kuhnert
Hmmm.I'm not getting the same error running the timetracker demo (which has direct links). I may very well have screwed up and forgotten a dojo.require() statement somewhere though. Have you definitely cleared out your browser cache and such ? On 9/29/06, Josh Long <[EMAIL PROTECTED]> wrote:

Re: beware new 4.1.1 snapshot builds

2006-09-29 Thread Josh Long
to clarify, the erro is : 'tapestry.event has no properties' and the relevant code from Firebug is what's above.. Peace, Josh On 9/29/06, Josh Long <[EMAIL PROTECTED]> wrote: ow.. OK, after several hours of making my dojo widgets .4 compatible, im pretty much setu and am REALLY enjoying the ma

Re: Contrib:Table pagination and validation issue

2006-09-29 Thread Vinicius Carvalho
I belive this is the reason for the problem: some checkboxes nested inside problem is, when I click on the imagesubmit it submits the first form, tried to override it by using a javascript onclick = "document.forms['tableForm'].submit()" but it seems to have no effect at all :( Any

Re: beware new 4.1.1 snapshot builds

2006-09-29 Thread Josh Long
ow.. OK, after several hours of making my dojo widgets .4 compatible, im pretty much setu and am REALLY enjoying the marked speed increrase for internet explorer on dom / js heavy page loads.. However, im getting (in both ff 1.5 and IE 6) the following error when i click on a DirectLink with asy

Re: Contrib:Table pagination and validation issue

2006-09-29 Thread Vinicius Carvalho
Jesse I tried this, but I'm stuck in something Im sure its a dumb mistake from my self. Having two forms, now, the checkbox I have on the table does not updates the object field as it did before when the table was nested inside the same form as the detail form... Any hints? Regards On 9/28/06,

RE: Spam??:Re: Nested Forms

2006-09-29 Thread John Corro
That's exactly my situation. I was creating a component that was in another component that was in a page that had the component's wrapped in a form. I was hoping there was something I could easily do to resolve the situation and have nested forms, but I do have other options I can pursue not a

Re: 4.1 NullPointer Exception in Upload component fixed?

2006-09-29 Thread Andreas Andreou
it was fixed in the old repo (jakarta) perhaps the fix was lost while moving to the new repo? Changelogs: old repo http://svn.apache.org/viewvc/jakarta/tapestry/trunk/framework/src/java/org/apache/tapestry/form/Upload.java?view=log&pathrev=369066 new repo, 4.0 branch http://svn.apache.org/viewvc

Re: Re: Nested Forms

2006-09-29 Thread Jesse Kuhnert
Yeah, 4.1 handles all of that pretty well. On 9/29/06, Theo vN <[EMAIL PROTECTED]> wrote: With Ajax permitting partial html updates (and sometimes even partial html form updates) its only natural to wonder about partial form (or nested) submits? On 29/09/06, Jesse Kuhnert <[EMAIL PROTECTED]>

4.1 NullPointer Exception in Upload component fixed?

2006-09-29 Thread Peter Beshai
I have a script that disables an Upload component if text is entered into a TextField component. However, upon submitting after having disabled the Upload component, I get a Null Pointer Exception. This problem is identical to one previously noted on the mailing list ---

How to do this with tapestry 4?

2006-09-29 Thread 张启迪
For example, there is a page named PA, which contains 10 components (BaseComponent). We name these components as C1,C2,...,C10. Let's assume that C1 prints "C1",C2 prints "C2",C3 prints "C3", etc. I have another page named PB which contains a form. Users can input a string which includes a serial

Call custom script during validation

2006-09-29 Thread Peter Beshai
In many validators, I see something akin to: accumulateProperty(constraints, field.getClientId(), new JSONLiteral("[dojo.validate.isUrl,{scheme:true," + "allowLocal:true}]")); I have a script function defined as: linkedRequired= function(value, flags) {

IRequestCycle.sendRedirect() problem

2006-09-29 Thread Norbert Sándor
Hello, I use the direct service to generate URLs with anchors. An example URL is     http://localhost:8080/test/Home,$DirectLink.sdirect?sp=0#first It works as expected as a normal link, but if I use the same URL for redirection     cycle.sendRedirect("http://localhost:8080/test/Home,$Direc

Re: Listing Current User Sessions

2006-09-29 Thread Bryan Lewis
Daniel Jue gmail.com> writes: > Does anyone have an example of listing current user sessions... This tool might make things easier for you. I haven't tried it yet. http://messadmin.sourceforge.net/ - To unsubscribe, e-mail

Re: Re: Nested Forms

2006-09-29 Thread Theo vN
With Ajax permitting partial html updates (and sometimes even partial html form updates) its only natural to wonder about partial form (or nested) submits? On 29/09/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Yeah I'm sure I've tried to nest forms at one point as well(Tapestry really start

Failure to export classpath resource /dojo/dojo.js.

2006-09-29 Thread y.turban
Ever since I upgraded to 4.1.1 I get a lot of "Failure to export classpath resource /dojo/dojo.js." exceptions. Exceptions do not have any effect on the normal flow of the application. I do not get "Exception" page or even JavaScript errors. The only problem is that exception reports clutter my t

Re: Submit Windows Print job

2006-09-29 Thread Danny Angus
"Jesse Kuhnert" <[EMAIL PROTECTED]> wrote on 29/09/2006 02:28:47: > Yep...Some might even suggest that in this scenario you could provide a page > with a slightly modified @Border (if you are using such a component) to cut > out cruft not needed in printing.. (Like navigation / etc..) or use cs

Re: 4.1 Form Validation: look at two fields at once?

2006-09-29 Thread andyhot
Yea, i also want to add https://svn.sourceforge.net/svnroot/tacos/tacos-4.0/trunk/tacos-core/src/java/net/sf/tacos/form/validator/FileTypeValidator.java and http://issues.apache.org/jira/browse/TAPESTRY-817 - Translator for BigDecimal values Jesse Kuhnert wrote: > FYI I'll be adding this feature