Hi,
I'd suggest that t:errors should have an option to display only one message
instead of all the messages returned from the server, this make the page
cleaner, of course this can be achieved by setting only one error in the
validation event. for now, i just copied Errors.java and make a
SingleE
On Wed, Dec 30, 2009 at 3:26 PM, Alex Kotchnev wrote:
> Juan,
>
>
> If you use the latest NetBeans (6.8) it support compile-on-save/copy-on-save
> for both standard and maven based projects, which works perfectly
> (equivalent and better than the deploy on save w/ other app servers) w/
> Jetty and
Thanks for mentioning TestBase. I like the set() method to push values into
private fields.
You are certainly right about that @Parameter is about the interaction with
the container of the component and should be tested via an integration test.
Thanks again.
Stephan
-
--
http://www.caimit
I've been struggling a bit w/ getting the GAE blobstore API to upload files
into a GAE T5 based app. All of the examples include using the blobstore
service to create a URL to which the file is uploaded, after which the
blobstore passes the control to a URL provided by user, e.g. :
url = blobstore
Juan,
If you use the latest NetBeans (6.8) it support compile-on-save/copy-on-save
for both standard and maven based projects, which works perfectly
(equivalent and better than the deploy on save w/ other app servers) w/
Jetty and T5's live class reloading.
For Tomcat & Glassfish NetBeans suppor
Correction: putting the @Script solved the null pointer but the
generated javascript was incorrect.
I had to put it before the end of the Form.
You were right Andreas
Ivano Luberti ha scritto:
> I have wrote the solution I have found before reading this.
> Actually It was enough to put it after th
I have wrote the solution I have found before reading this.
Actually It was enough to put it after the form.
The null component was the text field component not the Form.
You almost got it because sure the position of @Script matters.
It seems that getForm returns something even if the form has al
Actually the error was in the html template of the component:
The @Script refers to the text field component barCode but it is written
before the the component itself. Hence when the file is parsed the the
text field component doesn't exist yet.
I have put the Scrtp declaration after the tag and i
You don't specify which object you've found to be null... but anyway, let
me try...
looking at the FormFocus.script code from
http://tapestry.apache.org/tapestry4.1/components/general/script.html
i see ${component.form.name} and ${component.name}, so either
component or component.form is null (acc
Thanks Andreas , the problem is that everything works until I insert the
javascript.
In fact the exception is thrown inside the Script implementation. Down
here you'll find the init part of the srtack trace.
I was wondering if not using the @Body in the component html template is
correct, given the
My thoughts are that @Parameter annotation represents an integration
between the component and its immediate container or other part of the
system. @Parameter(required=true) failures will show up in
integration tests.
In the rare event that I unit test an individual component, I just use
the faci
Hi,
The error message says that something.getName() is trying to get evaluated but
something is null
Finding where exactly the error is thrown will show you which object is null...
On Wed, Dec 30, 2009 at 20:51, Ivano Luberti wrote:
> Hello, I'm trying to include some simple javascript in a comp
a) You may improve and contribute to
http://tapestry.apache.org/tapestry5.1/quickstart/
b)
B1 - You may have to focus on more demo-ing service data easy integration
(Tapestry-hibernate).
B2 - Authentication and Role management (Application goal)
(B3 - Suggestion: A demo for each component, li
http://github.com/jhulten/autoblog
http://appfuse.org/display/APF/AppFuse+QuickStart
http://code.google.com/p/shams/downloads/list
http://wiki.apache.org/tapestry/TapestryTutorials
ref:http://thread.gmane.org/gmane.comp.java.tapestry.user/77265/focus=77447
Alfonso Quiroga wrote:
>
> I know abo
Is there any recommended way of unit testing components that have @Parameter
annotations?
Of course I can add a setter to provide the parameter in my test but that
kind of defeats the purpose of @Parameter(required=true). I can call the
setter or not do it. If I don't call the setter, the test sh
Hello, I'm trying to include some simple javascript in a component in my
T4 application.
I want my only textfield to get focus when is displayed.
I'm following the instructions provided at:
http://tapestry.apache.org/tapestry4.1/components/general/script.html
The template of the page including t
I know about jumpstart, but that's like different solutions for
specifics things, not a complete app.
I think it would be fine to have a complete demo app, maybe using
hibernate + hsqldb, some custom component, etc, for a begginer
On Wed, Dec 30, 2009 at 12:42 PM, Ashwanth Kumar
wrote:
> Well, Do
On 30.12.2009 17:27, Ashwanth Kumar wrote:
> No offense, just wanted to learn some things.. at a rapid pace.. thats it..
> :)
>
No offense taken, I was just curious because I had never heard about DWR
and was just curious where it fits.
smime.p7s
Description: S/MIME Cryptographic Signature
Hello Guys,
Okay, i give up! I'm very new here! And i'm just a 2nd year college student!
I'm learning java only now! And more-over when i hunter the WWW for some
good framework to build my WebApp in J2EE. I had to keep my hands on many
things. Its during that, i actually got in Tapestry and DWR. T
Em Wed, 30 Dec 2009 14:14:12 -0200, Vangel V. Ajanovski
escreveu:
OK let me see if I get the point. If I build user registration for me
it's a simple form, username and email and such and for example I bind
javascript code on the username that will check if it already exists,
before I even fi
On 30.12.2009 11:06, Ashwanth Kumar wrote:
> Well, My use here is a typical example of User Registration and User
> authentication! I'm trying to extend the entire app of Tapestry to be AJAX
> driven, with all the pages served through AJAX.
>
> Imagine u can use sought of AJAX capabilities with DWR
Well, Do we need a Demo app?? I mean, we already've one: JumpStart(
http://jumpstart.doublenegative.com.au:8080/jumpstart/) hosted, so..
Do u wish to re-consider ur idea??
- Ashwanth Kumar
On Wed, Dec 30, 2009 at 9:09 PM, Alfonso Quiroga wrote:
> Hi! going back again to the idea of publishing
Hi! going back again to the idea of publishing demo aplication for
starters (always is easier to see something working and copy from
that, than building an app from scratch, looking for docs, etc).
Is there some idea of how the demo app should be? I'm NOT a T5 expert
but I can do it if it's simple
Em Wed, 30 Dec 2009 10:17:14 -0200, Captain Cid
escreveu:
I want to pass an object to component. Components renders from data from
this object.
Just use @Component as Ville suggested.
I tried doing an environment push of component but tapestry gives error
"java.lang.ClassNotFoundExceptio
Hi,
define private YourObjectType param; variable to your component class and
use it. Annotate it with @Parameter annotation.
Then use your component like this:
Or read the documentation:
http://tapestry.apache.org/tapestry5/guide/parameters.html
- Ville
Captain Cid wrote:
>
> I want to p
I want to pass an object to component. Components renders from data from this
object.
I tried doing an environment push of component but tapestry gives error
"java.lang.ClassNotFoundException: caught an exception while obtaining a
class file" .
It seems only component classes can be pushed into
Interesting.
I'd hardly call myself even an advanced-intermediate Tapestry user (some
of the stuff you guys talk about is way over my head!) but really, is it
that difficult to create a Dispatcher and custom page annotations?!
I included simple security with roles very early on in my webapp by
g
Well, My use here is a typical example of User Registration and User
authentication! I'm trying to extend the entire app of Tapestry to be AJAX
driven, with all the pages served through AJAX.
Imagine u can use sought of AJAX capabilities with DWR and Tapestry!
- Ashwanth Kumar
On Tue, Dec 29, 2
28 matches
Mail list logo