Patrick Moore wrote:
> To my untrained eye, it looks like the problem is that the
> _componentResolver on line 390 of
> org.apache.tapestry.pageload.PageLoader doesn't have the full class
> name.
>
> On 10/12/06, Patrick Moore <[EMAIL PROTECTED]> wrote:
>> Hi there --
>>
>> I just shifted over to T
If this causes confusions , i'm 100% for making type required again.
I would vote a +1 for changing "type" back to required, mainly because of new
users.
Discarding "type" results in less readable code for example when
compared to omitting @InjectObject, which has a more implicit meaning.
>
Ok, very thank you for your reply.
The problem is than I am using the wrong component.
In a form to populate tehe values of form fields to the bean properties
it must be submited. If you use the DirectLink component the form is not
submited, and values are not populated to bean properties. Direct
Kind of answering my own question:
log4j.logger.tapestry.enhance=DEBUG
does the trick. I can see the enhanced source code being printed.
The unanswered part for me, but more for academic interest is:
How the log4j configuration translates to hivemind knowing to create a new
Log object for the C
If there is a "log" property on your service implementation, then HiveMind
will automatically bind it with a Log object with the name of the service
point's id. So, the ComponentConstructorFactoryImpl object gets a Log for
"tapestry.enhance.ComponentConstructorFactory" since that's its service
poi
Guys,
I am whipping up a simple Login page... no *.page files just annotations.
The page displays and the validators are nice.
If someone could bail me out here I would be greatful. The Login.html quits
on trying to render the OGNL for emailAddress.
OGNL is having trouble getting to this ob
Hi folks
I'm a starter in tapestry and look for more information about the mapping of
MyFoo.class, MyFoo.html, MyFoo.page.
The first step of quick start and some further docs set attentation to
define a MyFoo.page . In this kind of file, i could define the realitionship
between my class and html
BasePage doesn't have an emailAddress property. You need to make sure
Tapestry knows how to find your page class.
-Original Message-
From: Ken nashua [mailto:[EMAIL PROTECTED]
Sent: Friday, October 13, 2006 8:18 AM
To: users@tapestry.apache.org
Subject: BindException whoas... Tap-4.1 h
Guys,
All I am trying to do is operate a model object Person.getEmailAddress()
from html to java.
Whats the deal with this notation...
@Component(type = "TextField", id = "emailAddress", bindings = {
"value = ognl:person.emailAddress",
"displayName = message:label.emailAddres
As I said, Tapestry can't find your page class. It doesn't know that
Login.html is supposed to use the Login class you've defined. Have you told
it the default package to look for page classes? Are your templates/page
classes in the right places?
-Original Message-
From: Ken nashua [m
I'm really not a tap 4.x guru, but...
Doesn't it seem funny that id="emailAddress", but the field is
emailAddressComponent?
Now, it may very well be that tapestry 4 will merilly let you have
inconsistent component
ids and method names (like I said, not a tap4 wiz), but, why do you then
also go
James Carman wrote:
As I said, Tapestry can't find your page class. It doesn't know that
Login.html is supposed to use the Login class you've defined. Have you told
it the default package to look for page classes? Are your templates/page
classes in the right places?
I'm not so sure that
Guys,
I am whipping up a simple Login page... no *.page files just annotations.
The page displays and the validators are nice.
If someone could bail me out here I would be greatful. The Login.html quits
on trying to render the OGNL for emailAddress.
OGNL is having trouble getting to this ob
The fact that (from his previous email) Tapestry was saying that it can't
find an "emailAddress" property on the generated page class "BasePage_4"
means that it's not using his Login page class or else the generated page
class name would be something like "Login_x." So, that leads me to believe
th
Sorry, this is the "delete" component.
-Mensaje original-
De: Mael Caldas [mailto:[EMAIL PROTECTED]
Enviado el: Miércoles, 11 de Octubre de 2006 12:05 p.m.
Para: Tapestry users
Asunto: Re: checkboxes problem
Where is the "delete" component?? I only found the jwcid="delete",
Right... I just looked at his original e-mail and the exception is
different than
the one he reported later (which I didn't realize before; that's what I
get for 1/2 reading e-mails. :).
Apologies if I came across short.
Robert
James Carman wrote:
The fact that (from his previous email) Tape
No problem. I've seen that error many times before (in my own experience
especially). I've learned to look for BasePage_x when I get those unknown
property things.
-Original Message-
From: Robert Zeigler [mailto:[EMAIL PROTECTED]
Sent: Friday, October 13, 2006 12:57 PM
To: Tapestry us
Thanks Guys for the attention and apologies for the extra posts... web
latency I guess. Wasn't sure I even had a mailing list for a bit.
Anyway...
I have checked out and built all the tapestry-4.1.1 etc...
I am trying to create a tapestry app that has no "Login.page" file
James, I took your a
Ok, so currently I have omitted the inline component annotation from the
java file and moved it back to the Login.page file
Specification 4.0//EN"
"http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
Tapestry Proto 1.0
The 4.0.x versions were "ripe enough" for that. I don't use page spec files
at all in my applications, especially with Tapestry-Autowire.
-Original Message-
From: Ken nashua [mailto:[EMAIL PROTECTED]
Sent: Friday, October 13, 2006 1:10 PM
To: users@tapestry.apache.org
Subject: RE @Compon
You're defining your component in both places. Take it out of the page spec
file and see what happens.
-Original Message-
From: Ken nashua [mailto:[EMAIL PROTECTED]
Sent: Friday, October 13, 2006 1:17 PM
To: users@tapestry.apache.org
Subject: RE @Component whoas... Tap-4.1.1 help please
I would vote just the opposite way. In this case I am returning the
exact type that is declared on the abstract method. I am not returning
a BaseComponent. I hate the 'type' parameter. It interfers with
refactoring because eclipse doesn't know it should do anything with
the type parameter. So far
How do you tell if a component was rendered?
--
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Well, as it turns out...
That last stack dump disappeared by NOT specifying my own ID
Should this be bugged? For sake of relying upon my self, I prefer to name my
own ID's.
Thanks in advance
-
To unsubscribe, e-
You don't have to be a 4.x expert to recognize this one; I told you
before. :)
You're trying to implicitly and explicitly define the same component,
and tapestry is complaining.
There are two types of component definitions in tapestry: explicit, and
implicit.
Implicit definitions define the enti
Thanks guys,
I omitted the Login.page file and tore out the annotations.
All that was left was the Login.html and thats even better for me.
So it runs alright.
James I has a few ques if you don;t mind.
1. What is Auto-wire?
2. Does trails use your tapernate as part of it's processing?
3. Why
1. Autowire is a feature that I implemented as a separate library and was
integrated into the 4.1 branch. Basically, it allows you to declare an
abstract getter for a type of a HiveMind service. For example, you can do
this:
public abstract HttpServletRequest getHttpServletRequest();
And, Tape
Hello,
I have a persistent page property which gets set in pageBeginRender,
during the render phase. The persistent property is a value in a
property selection. When the page has rendered the the drop down list
box represented by the property selection always shows the first
element in the propert
Hello,
My page contains a persistent byte property which is used as the value
in Property Selection.
The persistent value is assigned inside pageBeginRender. During
debugging I can see the property being assigned a value other then
one. After the render the property selection always shows the firs
jabbar,
without looking too deep into your code, the reason why the 1st value is
getting selected is because you've not got any value in the PropSelection
that equals loggingRate.
i'd suggest two things
1. put some SOPs in your property selection model methods - especially
translateValue to pri
Should be fixed in latest snapshot.
I discovered the cause of some outstanding issues that had previously
plagued me in tacos. Thankfully I've been extremely conservative and haven't
let the code grow out of control so this one has been permanently tracked
down / fixed. (stupid IE ...)
On 10/12/
Hi Jesse --
If you come across a IE wierdness, I hope that you are writing up
(however cyptically) in a blog some place as I would love to learn
from your experiences rather than experience them first-hand myself.
It seems that hardest thing about learning javascript is the
individual wierdness
Karthik,
Thank you very much for that. It's fixed the problem. I had spent many
hours on this but couldn't see the problem!
On 14/10/06, Karthik N <[EMAIL PROTECTED]> wrote:
jabbar,
without looking too deep into your code, the reason why the 1st value is
getting selected is because you've not
33 matches
Mail list logo