Thnx you, It works now.
On 01/03/2011 4:27, Kalle Korhonen wrote:
http://tynamo.org/Developing+with+Tomcat+and+Eclipse
Kalle
On Mon, Feb 28, 2011 at 5:34 AM, penyihirkecil wrote:
Using mvn jetty:run works perfectly. But i want to try another way ^^,
On 28/02/2011 20:26, Thiago H. de Paula F
Yes, that works. Thanks.
On Mon, 28 Feb 2011 23:07:00 -0300, Dan Griffin
wrote:
Yes, thank you Kalle.
It seams that I haven`t diagnosed my problem properly. My real issue
here is that I can`t use SessionScoped in ComponentRequestFilter
instance. Is there a way around this?
You can only
On Mon, 28 Feb 2011 23:07:00 -0300, Dan Griffin
wrote:
Yes, thank you Kalle.
It seams that I haven`t diagnosed my problem properly. My real issue
here is that I can`t use SessionScoped in ComponentRequestFilter
instance. Is there a way around this?
You can only use the @SessionState an
Yes, thank you Kalle.
It seams that I haven`t diagnosed my problem properly. My real issue
here is that I can`t use SessionScoped in ComponentRequestFilter
instance. Is there a way around this?
That's the default. Only if you use @EagerLoader, the services are
instantiated.. err.. eagerly, oth
That's the default. Only if you use @EagerLoader, the services are
instantiated.. err.. eagerly, otherwise the actual service is created
(realized) on the first invocation of the service proxy.
Kalle
On Mon, Feb 28, 2011 at 4:03 PM, Dan Griffin wrote:
> Hi all,
>
> Is there a way to inject a se
Hi all,
Is there a way to inject a service lazily?
Thanks,
Dan
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
I'd think of a way to avoid using a bunch of css class names to begin with.
Perhaps a better css selector would work with no changes to the class names.
Maybe you could stamp the class you want on the div or whatever that
contains all these fields.
--
View this message in context:
http://tapestr
http://tynamo.org/Developing+with+Tomcat+and+Eclipse
Kalle
On Mon, Feb 28, 2011 at 5:34 AM, penyihirkecil wrote:
> Using mvn jetty:run works perfectly. But i want to try another way ^^,
>
> On 28/02/2011 20:26, Thiago H. de Paula Figueiredo wrote:
>>
>> On Mon, 28 Feb 2011 10:23:09 -0300, penyih
On Mon, 28 Feb 2011 17:36:55 -0300, wkm wrote:
I was afraid you were going to say that. :)
Is this the "tapestry-standard" way, or is it more of a workaround?
(basically, I'm wondering if I should refactor all of my wrapper
components as mixins, or just the text field ones.)
Mixins are t
On 2/28/2011 5:06 AM, Thiago H. de Paula Figueiredo wrote:
On Mon, 28 Feb 2011 05:35:14 -0300, wkm wrote:
I've created gentle wrapper components around basic form components
like TextField. (I have apply some custom styling, particularly table
cells)
Suggestion: implement it as a mixin instea
We can't really tell what you've forgotten if we haven't seen how you did it.
--
View this message in context:
http://tapestry-users.832.n2.nabble.com/JavaScript-Stack-aggregator-tp6074088p6074478.html
Sent from the Tapestry Users mailing list archive at Nabble.com.
---
I in particular need to get the class of the parent of the property somehow.
That's how I conditionally add validation. And the name of the property as
well. It's a retread of what tapestry5-cayenne does, which seems castrated
to me because it requires BeanEditor to provide this information to the
Thanks Thiago.
Yes it will work like you propose even with the @Property annotation in the
subclass (avoiding getEntityB()).
The fact that we use the same property name is mainly a convenience for
developers according to some internal guidelines.
By the way, is it ok that the 'getOrCreateMethod(
Add a getEntityB() in your ComponentB subclass and use entityb.property
instead of entitya.property, as ComponentA.entityA has type EntityA, not
EntityB.
On Mon, 28 Feb 2011 14:08:28 -0300, Nourredine Khadri
wrote:
It is to provide GUI extensibility such as extended forms - Here a rough
The way I did it is in eclipse I would edit the run configuration to add
tapestry jar files in the 'User Classpath' entry there
Or just copy the JARs in to the tomcat distribution
On Feb 28, 2011, at 8:34 AM, penyihirkecil wrote:
> Using mvn jetty:run works perfectly. But i want to try another w
It is to provide GUI extensibility such as extended forms - Here a rough
description :
Entity models :
public class EntityA {
private String foo;
//accessors
...
}
public class EntityB extends EntityA{
private String bla;
//accessors
...
}
ComponentA :
foo
Hi everybody !
I have some problems with the aggregation of my JavaScript stack when
PRODUCTION_MODE='true'.
When PRODUCTION_MODE is false, everything is OK. My 4 js files are included
into my page.
But when i change to true, the js of my stack is empty. If i am right, this
js file have to incl
Thanks for the quick answer, it's working now :)
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/FileUpload-java-io-UnsupportedEncodingException-MultipartDecoder-tp3403440p3403604.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
On Mon, 28 Feb 2011 13:21:59 -0300, LLTYK wrote:
With that I'd have to get the class of the parent of the property
somehow... you guys tightly integrate the annotation support to do this
with @Validate.
This is not correct. See ValidationConstraintGenerator. You can use any
logic you wan
On 02/25/2011 06:17 PM, Josh Canfield wrote:
I grabbed your code and ran it. I'm not 100% sure what's supposed to
happen if you perform an ajax post but don't return anything, but have
errors.
Me neither, I suppose I expected that simply using the recordError would
have my page functioning the s
With that I'd have to get the class of the parent of the property somehow...
you guys tightly integrate the annotation support to do this with @Validate.
--
View this message in context:
http://tapestry-users.832.n2.nabble.com/Can-mixins-add-validation-serverside-tp6073177p6073903.html
Sent from
That setup sounds like something you shouldn't do. Two different instances of
two different classes with the same name?
--
View this message in context:
http://tapestry-users.832.n2.nabble.com/Pb-in-getOrCreateMethod-tp6073648p6073867.html
Sent from the Tapestry Users mailing list archive at Nab
On Mon, 28 Feb 2011 12:28:53 -0300, Sylver wrote:
Hi guys,
Hi!
Inside the pom.xml :
org.apache.tapestry
tapestry-core
5.1.0.5
compile
[...]
org.apache.tapestry
tapestry-upload
5.2.4
compile
You're mixing Tapestry versions
By the way. This happens regardless, if I have t:context on the form or not.
Adam
On Mon, Feb 28, 2011 at 7:33 AM, Adam Zimowski wrote:
> Hi again. I hate to interrupt the mutliple database discussion, but I
> would like to ask a question regarding the original topic on this
> thread.
>
>
Hi guys,
i'm trying to upload a file with tapestry and i always get this exception :
java.lang.RuntimeException: java.io.UnsupportedEncodingException:
MultipartDecoder
at
org.apache.tapestry5.upload.internal.services.MultipartDecoderImpl.decode(MultipartDecoderImpl.java:85)
at
$Mu
Hi,
I'm using page/component inheritence and I noticed a pb since I migrated an
app from Tapestry 5.1 to 5.2.
I try to render 'ComponentB' that extends 'ComponentA' (using extension
points). Both have a property with same name but with a different type
('EntityB' extends 'EntityA'). The error mes
[..]it should be put in the same package but under
src/main/resources.[..]
That was the problem. The full path is written correctly in the tutorial,
but I didn't see it...
Thanks for your help!
Oliver
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/properties-file-not
Using mvn jetty:run works perfectly. But i want to try another way ^^,
On 28/02/2011 20:26, Thiago H. de Paula Figueiredo wrote:
On Mon, 28 Feb 2011 10:23:09 -0300, penyihirkecil
wrote:
I create new server -> tomcat 7.0
then right click on the project -> run as ... -> run on server -> and
I
Hi again. I hate to interrupt the mutliple database discussion, but I
would like to ask a question regarding the original topic on this
thread.
So, per Thiago's suggestion I tried loop with multiple form
components, and I have an issue in that if I submit one row (one form)
with invalid input
On Mon, 28 Feb 2011 10:23:09 -0300, penyihirkecil
wrote:
I create new server -> tomcat 7.0
then right click on the project -> run as ... -> run on server -> and I
choose the server that I've already configured before using tomcat 7.0
is this right?
The way you run the application doesn't
I create new server -> tomcat 7.0
then right click on the project -> run as ... -> run on server -> and I
choose the server that I've already configured before using tomcat 7.0
is this right?
FYI : Actually is a tapestry maven project, I get an error using
run-jetty-run, that is why I am trying
On Mon, 28 Feb 2011 10:00:05 -0300, LLTYK wrote:
I'd like to conditionally add some validation using a mixin, maxLength
and required for example. Can a mixin somehow alter the validate
attribute of a field?
No, at least not directly. Take a look at ValidationConstraintGenerator.
That's t
I'd like to conditionally add some validation using a mixin, maxLength and
required for example. Can a mixin somehow alter the validate attribute of a
field?
--
View this message in context:
http://tapestry-users.832.n2.nabble.com/Can-mixins-add-validation-serverside-tp6073177p6073177.html
Sent
I create new server -> tomcat 7.0
then right click on the project -> run as ... -> run on server -> and I
choose the server that I've already configured before using tomcat 7.0
is this right?
On 28/02/2011 19:05, Thiago H. de Paula Figueiredo wrote:
On Mon, 28 Feb 2011 04:35:47 -0300, penyihirk
I've been adding Facebook integration to a site I'm working on (my wife's art)
http://www.judypaul.com
I put what I have into a library add posted it on github
https://github.com/trsvax/tapestry-facebook
The basic infrastructure is complete but I've only really tested the
Like button and NewsFe
On Mon, 28 Feb 2011 05:35:14 -0300, wkm wrote:
Hi,
Hi!
I've created gentle wrapper components around basic form components like
TextField. (I have apply some custom styling, particularly table cells)
Suggestion: implement it as a mixin instead of a wrapper component.
--
Thiago H. de Pau
On Mon, 28 Feb 2011 04:35:47 -0300, penyihirkecil
wrote:
I am using tomcat 7 and I got an error like this, what should I do?
(Note: I am using tapestry 5.2.4 + Hibernate 3.6)
SEVERE: Exception starting filter app
java.lang.ClassNotFoundException: org.apache.tapestry5.TapestryFilter
Are you
I've also had a use-case like this - I wanted to use tapestry to
generate html based on a .tml, in response to an ajax request that I was
initiating from my own javascript, ie nothing to do with a zone.
We've had a few people on the list say they'd like to do this. Given
that tapestry is doing th
Hi,
I've created gentle wrapper components around basic form components like
TextField. (I have apply some custom styling, particularly table cells)
For the most part this is easy enough using the nice publishParameters
feature:
public class CTextField extends AxAbstractTextInput {
39 matches
Mail list logo