Re: strange situation

2011-08-11 Thread Thiago H. de Paula Figueiredo
On Thu, 11 Aug 2011 11:32:59 -0300, David Canteros  
 wrote:



Hi, thank you for your quick response.
My question was just out of curiosity because this behavior happens  
seldom and this brings me no major problems .  It is rarely because  
there are other projects  (developed with other frameworks) deployed on  
that server and the strange page only appear with  tapestry applications.


Only Tapestry (maybe some other framework too) automatically compresses  
responses, so this is not strange. ;) It could be a Tomcat problem too.
You can disable response compression by setting the  
tapestry.gzip-compression-enabled symbol to false.


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: strange situation

2011-08-11 Thread David Canteros
Hi, thank you for your quick response.
My question was just out of curiosity because this behavior happens seldom
and this brings me no major problems .  It is rarely because there are other
projects  (developed with other frameworks) deployed on that server and the
strange page only appear with  tapestry applications. I'll try with tap
5.2.6

Thank you again!

David

--
David Germán Canteros


2011/8/10 Howard Lewis Ship 

> I believe this was a bug where under certain circumstances, a corrupt
> GZIP stream of page content would be streamed to the client; this is
> fixed in 5.2.6 for sure, but I thought it was fixed in 5.2.5 as well.
>
> Failing that, you need to be sure its Tapestry generating the corrupt
> content, rather than some other server in the middle (perhaps a
> firewall).  This isn't about shifting the blame, but merely about
> understanding the problem before looking for a fix.
>
> On Wed, Aug 10, 2011 at 1:56 PM, David Canteros
>  wrote:
> > Hi!
> >  I have a strange situation to share with you: a weird page appear
> when
> > some users try to load some page of my tapestry application:  a lot of
> > strange symbols appear instead of the correct page. But if they try again
> > (or if they reload the page with F5) the correct page appear. This happen
> > very rarely and I can not reproduce it... I have attached a screenshot
> for
> > review. Just out of curiosity, has this ever happened to anyone else?‎
> >
> > Tapestry version: 5.2.5
> > Server: Tomcat 6
> > Browser: Firefox 4
> >
> > --
> > David Germán Canteros
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> >
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


Re: strange situation

2011-08-10 Thread Howard Lewis Ship
I believe this was a bug where under certain circumstances, a corrupt
GZIP stream of page content would be streamed to the client; this is
fixed in 5.2.6 for sure, but I thought it was fixed in 5.2.5 as well.

Failing that, you need to be sure its Tapestry generating the corrupt
content, rather than some other server in the middle (perhaps a
firewall).  This isn't about shifting the blame, but merely about
understanding the problem before looking for a fix.

On Wed, Aug 10, 2011 at 1:56 PM, David Canteros
 wrote:
> Hi!
>      I have a strange situation to share with you: a weird page appear when
> some users try to load some page of my tapestry application:  a lot of
> strange symbols appear instead of the correct page. But if they try again
> (or if they reload the page with F5) the correct page appear. This happen
> very rarely and I can not reproduce it... I have attached a screenshot for
> review. Just out of curiosity, has this ever happened to anyone else?‎
>
> Tapestry version: 5.2.5
> Server: Tomcat 6
> Browser: Firefox 4
>
> --
> David Germán Canteros
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



strange situation

2011-08-10 Thread David Canteros
Hi!
 I have a strange situation to share with you: a weird page appear when
some users try to load some page of my tapestry application:  a lot of
strange symbols appear instead of the correct page. But if they try again
(or if they reload the page with F5) the correct page appear. This happen
very rarely and I can not reproduce it... I have attached a screenshot for
review. Just out of curiosity, has this ever happened to anyone else?‎

Tapestry version: 5.2.5
Server: Tomcat 6
Browser: Firefox 4

--
David Germán Canteros

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Re: Strange situation with ognl

2006-05-12 Thread Brian K. Wallace
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'll open up an issue on it to go to WARN. Possibly change the message
to add that it'll continue without it so users don't get concerned if
they really don't have one.

James Carman wrote:
> Good call.  But, I'd vote for WARN.  In tapestry 4.0, it's never going to
> find your page classes without a .application file to tell it what package
> they're in right?  Not many applications can go without creating at least
> one custom page class.  So, I'd say 99% of all "real" applications should
> have a .application file.  It should be appropriate to spit out a warning if
> it can't find the file.
> 
> 
> -Original Message-
> From: Brian K. Wallace [mailto:[EMAIL PROTECTED] 
> Sent: Friday, May 12, 2006 9:25 AM
> To: Tapestry users
> Subject: Re: Strange situation with ognl
> 
> When Tapestry can't find the application specification, it currently
> outputs a DEBUG message indicating as much ("Could not find an
> application specification for application servlet ").
> Given the ramifications (in a lot of situations) of not finding this,
> should we bump this up to INFO? (I wouldn't suggest anything higher -
> possibly WARN, but INFO should work)
> 
> Rui Pacheco wrote:
>>> Many thanks for the help!
>>>
>>> On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote:
>>>> I told you it would be something simple.  Happy Tapestrying! :-)
>>>>
>>>>
>>>> -Original Message-
>>>> From: Rui Pacheco [mailto:[EMAIL PROTECTED]
>>>> Sent: Friday, May 12, 2006 9:09 AM
>>>> To: Tapestry users
>>>> Subject: Re: Strange situation with ognl
>>>>
>>>> The name of the .application file was wrong. I changed it, redeployed the
>>>> application and now everything works like a charm.
>>>>
>>>> On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote:
>>>>> Is the page template called Abreviatura.html?  Sorry for the silly
>>>>> questions, but this is going to turn out to be something simple.  I'm
>>>> sure
>>>>> of it.  Is the .application file named the same thing as your
>>>> servlet in
>>>>> your web.xml file?
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (MingW32)

iD8DBQFEZI6HaCoPKRow/gARAgYeAJ0bFSm6wjV9jXTuwr/Sd/XbD2Bi3gCeNd00
3tl1mte5490FM1OoN+P+TFw=
=Hqd3
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Strange situation with ognl

2006-05-12 Thread James Carman
Good call.  But, I'd vote for WARN.  In tapestry 4.0, it's never going to
find your page classes without a .application file to tell it what package
they're in right?  Not many applications can go without creating at least
one custom page class.  So, I'd say 99% of all "real" applications should
have a .application file.  It should be appropriate to spit out a warning if
it can't find the file.


-Original Message-
From: Brian K. Wallace [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 12, 2006 9:25 AM
To: Tapestry users
Subject: Re: Strange situation with ognl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

When Tapestry can't find the application specification, it currently
outputs a DEBUG message indicating as much ("Could not find an
application specification for application servlet ").
Given the ramifications (in a lot of situations) of not finding this,
should we bump this up to INFO? (I wouldn't suggest anything higher -
possibly WARN, but INFO should work)

Rui Pacheco wrote:
> Many thanks for the help!
> 
> On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote:
>>
>> I told you it would be something simple.  Happy Tapestrying! :-)
>>
>>
>> -Original Message-
>> From: Rui Pacheco [mailto:[EMAIL PROTECTED]
>> Sent: Friday, May 12, 2006 9:09 AM
>> To: Tapestry users
>> Subject: Re: Strange situation with ognl
>>
>> The name of the .application file was wrong. I changed it, redeployed the
>> application and now everything works like a charm.
>>
>> On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote:
>> >
>> > Is the page template called Abreviatura.html?  Sorry for the silly
>> > questions, but this is going to turn out to be something simple.  I'm
>> sure
>> > of it.  Is the .application file named the same thing as your
>> servlet in
>> > your web.xml file?

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (MingW32)

iD8DBQFEZIyXaCoPKRow/gARAqDsAKDXRlFAc1+J1XmSksxZ+7CvaRh1OwCg7P6x
zt/JMzBKJtOfNZCRrWjiXzI=
=ERqO
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Strange situation with ognl

2006-05-12 Thread Brian K. Wallace
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

When Tapestry can't find the application specification, it currently
outputs a DEBUG message indicating as much ("Could not find an
application specification for application servlet ").
Given the ramifications (in a lot of situations) of not finding this,
should we bump this up to INFO? (I wouldn't suggest anything higher -
possibly WARN, but INFO should work)

Rui Pacheco wrote:
> Many thanks for the help!
> 
> On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote:
>>
>> I told you it would be something simple.  Happy Tapestrying! :-)
>>
>>
>> -Original Message-
>> From: Rui Pacheco [mailto:[EMAIL PROTECTED]
>> Sent: Friday, May 12, 2006 9:09 AM
>> To: Tapestry users
>> Subject: Re: Strange situation with ognl
>>
>> The name of the .application file was wrong. I changed it, redeployed the
>> application and now everything works like a charm.
>>
>> On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote:
>> >
>> > Is the page template called Abreviatura.html?  Sorry for the silly
>> > questions, but this is going to turn out to be something simple.  I'm
>> sure
>> > of it.  Is the .application file named the same thing as your
>> servlet in
>> > your web.xml file?

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (MingW32)

iD8DBQFEZIyXaCoPKRow/gARAqDsAKDXRlFAc1+J1XmSksxZ+7CvaRh1OwCg7P6x
zt/JMzBKJtOfNZCRrWjiXzI=
=ERqO
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Strange situation with ognl

2006-05-12 Thread Rui Pacheco

Many thanks for the help!

On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote:


I told you it would be something simple.  Happy Tapestrying! :-)


-Original Message-
From: Rui Pacheco [mailto:[EMAIL PROTECTED]
Sent: Friday, May 12, 2006 9:09 AM
To: Tapestry users
Subject: Re: Strange situation with ognl

The name of the .application file was wrong. I changed it, redeployed the
application and now everything works like a charm.

On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote:
>
> Is the page template called Abreviatura.html?  Sorry for the silly
> questions, but this is going to turn out to be something simple.  I'm
sure
> of it.  Is the .application file named the same thing as your servlet in
> your web.xml file?
>
>
> -Original Message-
> From: Rui Pacheco [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 12, 2006 9:03 AM
> To: Tapestry users
> Subject: Re: Strange situation with ognl
>
> The class name is pt.textoeditores.universal.agc.pages.Abreviaturas
>
> The content of the file is
> 
>  Specification 4.0//EN" "
> http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
> 
> 
> 
>
>
> On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote:
> >
> > What's the fully-qualified name of the class and can you paste in your
> > .application file contents?
> >
> >
> > -Original Message-
> > From: Rui Pacheco [mailto:[EMAIL PROTECTED]
> > Sent: Friday, May 12, 2006 8:57 AM
> > To: Tapestry users
> > Subject: Re: Strange situation with ognl
> >
> > The .html is at the root of the web application where it usually is. I
> > renamed the package that holds all the classes, but I've changed the
> path
> > on
> > the .application file.
> >
> > How can I make it see the new classes?
> >
> > On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote:
> > >
> > > Tapestry is generating a subclass of BasePage for your page.  It's
not
> > > using
> > > your page with the getters/setters.  Did you move your .html file?
> > >
> > > -Original Message-
> > > From: Rui Pacheco [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, May 12, 2006 8:32 AM
> > > To: Tapestry users
> > > Subject: Re: Strange situation with ognl
> > >
> > > Ok, but I dont know how the whole page will look like. Here it goes:
> > >
> > >
> > >
> > > An exception has occurred.
> > >
> > > You may continue by *restarting
*
> > the
> > > session.
> > >
> > >   org.apache.tapestry.BindingException Unable to read OGNL
expression
> > > '' of [EMAIL PROTECTED]:
> > > $BasePage_2.model binding: ExpressionBinding[Abreviaturas
model.search
> ]
> > > location: context:/Abreviaturas.html, line 104
> > >   99  100  101
> > >  > > value="ID">ID 102  value="Heading">Abreviatura
> > > 103
> > >   104  > > value="ognl:model.search"
> > > class="itemsarea"/> Pesquisar 105  106  > > class="titulo"> > > jwcid="@PageLink">Inserir 107  108  align="center"
> > > class="titulo" colspan="6">  109  > > class="titulo" colspan="6"> 
> > > org.apache.hivemind.ApplicationRuntimeException Unable to read OGNL
> > > expression '' of
> > [EMAIL PROTECTED]:
> > > $BasePage_2.model component:
> [EMAIL PROTECTED]  location:
> > > context:/Abreviaturas.html
> > ognl.NoSuchPropertyException$BasePage_2.model
> > > name: model  target: [EMAIL PROTECTED]  Stack Trace:
> > >
> > >-
> > > ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java
> :123)
> > >
> > >- ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1616)
> > >- ognl.ASTProperty.getValueBody(ASTProperty.java:96)
> > >- ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> > >- ognl.SimpleNode.getValue(SimpleNode.java:210)
> > >- ognl.ASTChain.getValueBody(ASTChain.java:109)
> > >- ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> > >- ognl.SimpleNode.getValue(SimpleNode.java:210)
> > >- ognl.Ognl.getValue(Ognl.java:333)
> > >- ognl.Ognl.getValue(Ognl.java:310)
> > >-
> > >
> > org.apache.tapestry.services.impl.ExpressionEvaluatorImpl.readCompiled
> > >(ExpressionEvaluat

RE: Strange situation with ognl

2006-05-12 Thread James Carman
I told you it would be something simple.  Happy Tapestrying! :-)


-Original Message-
From: Rui Pacheco [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 12, 2006 9:09 AM
To: Tapestry users
Subject: Re: Strange situation with ognl

The name of the .application file was wrong. I changed it, redeployed the
application and now everything works like a charm.

On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote:
>
> Is the page template called Abreviatura.html?  Sorry for the silly
> questions, but this is going to turn out to be something simple.  I'm sure
> of it.  Is the .application file named the same thing as your servlet in
> your web.xml file?
>
>
> -Original Message-
> From: Rui Pacheco [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 12, 2006 9:03 AM
> To: Tapestry users
> Subject: Re: Strange situation with ognl
>
> The class name is pt.textoeditores.universal.agc.pages.Abreviaturas
>
> The content of the file is
> 
>  Specification 4.0//EN" "
> http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
> 
> 
> 
>
>
> On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote:
> >
> > What's the fully-qualified name of the class and can you paste in your
> > .application file contents?
> >
> >
> > -----Original Message-
> > From: Rui Pacheco [mailto:[EMAIL PROTECTED]
> > Sent: Friday, May 12, 2006 8:57 AM
> > To: Tapestry users
> > Subject: Re: Strange situation with ognl
> >
> > The .html is at the root of the web application where it usually is. I
> > renamed the package that holds all the classes, but I've changed the
> path
> > on
> > the .application file.
> >
> > How can I make it see the new classes?
> >
> > On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote:
> > >
> > > Tapestry is generating a subclass of BasePage for your page.  It's not
> > > using
> > > your page with the getters/setters.  Did you move your .html file?
> > >
> > > -Original Message-
> > > From: Rui Pacheco [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, May 12, 2006 8:32 AM
> > > To: Tapestry users
> > > Subject: Re: Strange situation with ognl
> > >
> > > Ok, but I dont know how the whole page will look like. Here it goes:
> > >
> > >
> > >
> > > An exception has occurred.
> > >
> > > You may continue by *restarting *
> > the
> > > session.
> > >
> > >   org.apache.tapestry.BindingException Unable to read OGNL expression
> > > '' of [EMAIL PROTECTED]:
> > > $BasePage_2.model binding: ExpressionBinding[Abreviaturas model.search
> ]
> > > location: context:/Abreviaturas.html, line 104
> > >   99  100  101
> > >  > > value="ID">ID 102  value="Heading">Abreviatura
> > > 103
> > >   104  > > value="ognl:model.search"
> > > class="itemsarea"/> Pesquisar 105  106  > > class="titulo"> > > jwcid="@PageLink">Inserir 107  108  align="center"
> > > class="titulo" colspan="6">  109  > > class="titulo" colspan="6"> 
> > > org.apache.hivemind.ApplicationRuntimeException Unable to read OGNL
> > > expression '' of
> > [EMAIL PROTECTED]:
> > > $BasePage_2.model component:
> [EMAIL PROTECTED]  location:
> > > context:/Abreviaturas.html
> > ognl.NoSuchPropertyException$BasePage_2.model
> > > name: model  target: [EMAIL PROTECTED]  Stack Trace:
> > >
> > >-
> > > ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java
> :123)
> > >
> > >- ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1616)
> > >- ognl.ASTProperty.getValueBody(ASTProperty.java:96)
> > >- ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> > >- ognl.SimpleNode.getValue(SimpleNode.java:210)
> > >- ognl.ASTChain.getValueBody(ASTChain.java:109)
> > >- ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> > >- ognl.SimpleNode.getValue(SimpleNode.java:210)
> > >- ognl.Ognl.getValue(Ognl.java:333)
> > >- ognl.Ognl.getValue(Ognl.java:310)
> > >-
> > >
> > org.apache.tapestry.services.impl.ExpressionEvaluatorImpl.readCompiled
> > >(ExpressionEvaluatorImpl.java:91)
> > >-
> > >
> > >
> >
> >
>
>
$Exp

Re: Strange situation with ognl

2006-05-12 Thread Rui Pacheco

The name of the .application file was wrong. I changed it, redeployed the
application and now everything works like a charm.

On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote:


Is the page template called Abreviatura.html?  Sorry for the silly
questions, but this is going to turn out to be something simple.  I'm sure
of it.  Is the .application file named the same thing as your servlet in
your web.xml file?


-Original Message-
From: Rui Pacheco [mailto:[EMAIL PROTECTED]
Sent: Friday, May 12, 2006 9:03 AM
To: Tapestry users
Subject: Re: Strange situation with ognl

The class name is pt.textoeditores.universal.agc.pages.Abreviaturas

The content of the file is

http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>





On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote:
>
> What's the fully-qualified name of the class and can you paste in your
> .application file contents?
>
>
> -Original Message-
> From: Rui Pacheco [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 12, 2006 8:57 AM
> To: Tapestry users
> Subject: Re: Strange situation with ognl
>
> The .html is at the root of the web application where it usually is. I
> renamed the package that holds all the classes, but I've changed the
path
> on
> the .application file.
>
> How can I make it see the new classes?
>
> On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote:
> >
> > Tapestry is generating a subclass of BasePage for your page.  It's not
> > using
> > your page with the getters/setters.  Did you move your .html file?
> >
> > -Original Message-----
> > From: Rui Pacheco [mailto:[EMAIL PROTECTED]
> > Sent: Friday, May 12, 2006 8:32 AM
> > To: Tapestry users
> > Subject: Re: Strange situation with ognl
> >
> > Ok, but I dont know how the whole page will look like. Here it goes:
> >
> >
> >
> > An exception has occurred.
> >
> > You may continue by *restarting *
> the
> > session.
> >
> >   org.apache.tapestry.BindingException Unable to read OGNL expression
> > '' of [EMAIL PROTECTED]:
> > $BasePage_2.model binding: ExpressionBinding[Abreviaturas model.search
]
> > location: context:/Abreviaturas.html, line 104
> >   99  100  101
> >  > value="ID">ID 102 Abreviatura
> > 103
> >   104  > value="ognl:model.search"
> > class="itemsarea"/> Pesquisar 105  106  > class="titulo"> > jwcid="@PageLink">Inserir 107  108  > class="titulo" colspan="6">  109  > class="titulo" colspan="6"> 
> > org.apache.hivemind.ApplicationRuntimeException Unable to read OGNL
> > expression '' of
> [EMAIL PROTECTED]:
> > $BasePage_2.model component:
[EMAIL PROTECTED]  location:
> > context:/Abreviaturas.html
> ognl.NoSuchPropertyException$BasePage_2.model
> > name: model  target: [EMAIL PROTECTED]  Stack Trace:
> >
> >-
> > ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java
:123)
> >
> >- ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1616)
> >- ognl.ASTProperty.getValueBody(ASTProperty.java:96)
> >- ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> >- ognl.SimpleNode.getValue(SimpleNode.java:210)
> >- ognl.ASTChain.getValueBody(ASTChain.java:109)
> >- ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> >- ognl.SimpleNode.getValue(SimpleNode.java:210)
> >- ognl.Ognl.getValue(Ognl.java:333)
> >- ognl.Ognl.getValue(Ognl.java:310)
> >-
> >
> org.apache.tapestry.services.impl.ExpressionEvaluatorImpl.readCompiled
> >(ExpressionEvaluatorImpl.java:91)
> >-
> >
> >
>
>

$ExpressionEvaluator_10b28608204.readCompiled($ExpressionEvaluator_10b286082
> > 04.java)
> >
> >- org.apache.tapestry.binding.ExpressionBinding.resolveExpression(
> >ExpressionBinding.java:110)
> >- org.apache.tapestry.binding.ExpressionBinding.getObject(
> >ExpressionBinding.java:103)
> >- org.apache.tapestry.binding.AbstractBinding.getObject(
> >AbstractBinding.java:87)
> >- $TextField_5.getValue($TextField_5.java)
> >- org.apache.tapestry.form.TextField.renderFormComponent(
> >TextField.java:43)
> >- org.apache.tapestry.form.AbstractFormComponent.renderComponent(
> >AbstractFormComponent.java:122)
> >-
> > org.apache.tapestry.AbstractComponent.render(AbstractComponent.java
:617)
> >
> >- org.apache.tapestry.AbstractComponent.renderBody(
> >AbstractComponent.java:43

RE: Strange situation with ognl

2006-05-12 Thread James Carman
Is the page template called Abreviatura.html?  Sorry for the silly
questions, but this is going to turn out to be something simple.  I'm sure
of it.  Is the .application file named the same thing as your servlet in
your web.xml file?  


-Original Message-
From: Rui Pacheco [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 12, 2006 9:03 AM
To: Tapestry users
Subject: Re: Strange situation with ognl

The class name is pt.textoeditores.universal.agc.pages.Abreviaturas

The content of the file is

http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>





On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote:
>
> What's the fully-qualified name of the class and can you paste in your
> .application file contents?
>
>
> -Original Message-
> From: Rui Pacheco [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 12, 2006 8:57 AM
> To: Tapestry users
> Subject: Re: Strange situation with ognl
>
> The .html is at the root of the web application where it usually is. I
> renamed the package that holds all the classes, but I've changed the path
> on
> the .application file.
>
> How can I make it see the new classes?
>
> On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote:
> >
> > Tapestry is generating a subclass of BasePage for your page.  It's not
> > using
> > your page with the getters/setters.  Did you move your .html file?
> >
> > -Original Message-
> > From: Rui Pacheco [mailto:[EMAIL PROTECTED]
> > Sent: Friday, May 12, 2006 8:32 AM
> > To: Tapestry users
> > Subject: Re: Strange situation with ognl
> >
> > Ok, but I dont know how the whole page will look like. Here it goes:
> >
> >
> >
> > An exception has occurred.
> >
> > You may continue by *restarting *
> the
> > session.
> >
> >   org.apache.tapestry.BindingException Unable to read OGNL expression
> > '' of [EMAIL PROTECTED]:
> > $BasePage_2.model binding: ExpressionBinding[Abreviaturas model.search]
> > location: context:/Abreviaturas.html, line 104
> >   99  100  101
> >  > value="ID">ID 102 Abreviatura
> > 103
> >   104  > value="ognl:model.search"
> > class="itemsarea"/> Pesquisar 105  106  > class="titulo"> > jwcid="@PageLink">Inserir 107  108  > class="titulo" colspan="6">  109  > class="titulo" colspan="6"> 
> > org.apache.hivemind.ApplicationRuntimeException Unable to read OGNL
> > expression '' of
> [EMAIL PROTECTED]:
> > $BasePage_2.model component: [EMAIL PROTECTED]  location:
> > context:/Abreviaturas.html
> ognl.NoSuchPropertyException$BasePage_2.model
> > name: model  target: [EMAIL PROTECTED]  Stack Trace:
> >
> >-
> > ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:123)
> >
> >- ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1616)
> >- ognl.ASTProperty.getValueBody(ASTProperty.java:96)
> >- ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> >- ognl.SimpleNode.getValue(SimpleNode.java:210)
> >- ognl.ASTChain.getValueBody(ASTChain.java:109)
> >- ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
> >- ognl.SimpleNode.getValue(SimpleNode.java:210)
> >- ognl.Ognl.getValue(Ognl.java:333)
> >- ognl.Ognl.getValue(Ognl.java:310)
> >-
> >
> org.apache.tapestry.services.impl.ExpressionEvaluatorImpl.readCompiled
> >(ExpressionEvaluatorImpl.java:91)
> >-
> >
> >
>
>
$ExpressionEvaluator_10b28608204.readCompiled($ExpressionEvaluator_10b286082
> > 04.java)
> >
> >- org.apache.tapestry.binding.ExpressionBinding.resolveExpression(
> >ExpressionBinding.java:110)
> >- org.apache.tapestry.binding.ExpressionBinding.getObject(
> >ExpressionBinding.java:103)
> >- org.apache.tapestry.binding.AbstractBinding.getObject(
> >AbstractBinding.java:87)
> >- $TextField_5.getValue($TextField_5.java)
> >- org.apache.tapestry.form.TextField.renderFormComponent(
> >TextField.java:43)
> >- org.apache.tapestry.form.AbstractFormComponent.renderComponent(
> >AbstractFormComponent.java:122)
> >-
> > org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)
> >
> >- org.apache.tapestry.AbstractComponent.renderBody(
> >AbstractComponent.java:434)
> >-
> > org.apache.tapestry.form.FormSupportImpl.render(FormSupportImpl.java
> :487)
> >
> >- org.apache.tapestry

Re: Strange situation with ognl

2006-05-12 Thread Rui Pacheco

The class name is pt.textoeditores.universal.agc.pages.Abreviaturas

The content of the file is

http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>

   



On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote:


What's the fully-qualified name of the class and can you paste in your
.application file contents?


-Original Message-
From: Rui Pacheco [mailto:[EMAIL PROTECTED]
Sent: Friday, May 12, 2006 8:57 AM
To: Tapestry users
Subject: Re: Strange situation with ognl

The .html is at the root of the web application where it usually is. I
renamed the package that holds all the classes, but I've changed the path
on
the .application file.

How can I make it see the new classes?

On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote:
>
> Tapestry is generating a subclass of BasePage for your page.  It's not
> using
> your page with the getters/setters.  Did you move your .html file?
>
> -Original Message-
> From: Rui Pacheco [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 12, 2006 8:32 AM
> To: Tapestry users
> Subject: Re: Strange situation with ognl
>
> Ok, but I dont know how the whole page will look like. Here it goes:
>
>
>
> An exception has occurred.
>
> You may continue by *restarting *
the
> session.
>
>   org.apache.tapestry.BindingException Unable to read OGNL expression
> '' of [EMAIL PROTECTED]:
> $BasePage_2.model binding: ExpressionBinding[Abreviaturas model.search]
> location: context:/Abreviaturas.html, line 104
>   99  100  101
>  value="ID">ID 102 Abreviatura
> 103
>   104  value="ognl:model.search"
> class="itemsarea"/> Pesquisar 105  106  class="titulo"> jwcid="@PageLink">Inserir 107  108  class="titulo" colspan="6">  109  class="titulo" colspan="6"> 
> org.apache.hivemind.ApplicationRuntimeException Unable to read OGNL
> expression '' of
[EMAIL PROTECTED]:
> $BasePage_2.model component: [EMAIL PROTECTED]  location:
> context:/Abreviaturas.html
ognl.NoSuchPropertyException$BasePage_2.model
> name: model  target: [EMAIL PROTECTED]  Stack Trace:
>
>-
> ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:123)
>
>- ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1616)
>- ognl.ASTProperty.getValueBody(ASTProperty.java:96)
>- ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
>- ognl.SimpleNode.getValue(SimpleNode.java:210)
>- ognl.ASTChain.getValueBody(ASTChain.java:109)
>- ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
>- ognl.SimpleNode.getValue(SimpleNode.java:210)
>- ognl.Ognl.getValue(Ognl.java:333)
>- ognl.Ognl.getValue(Ognl.java:310)
>-
>
org.apache.tapestry.services.impl.ExpressionEvaluatorImpl.readCompiled
>(ExpressionEvaluatorImpl.java:91)
>-
>
>

$ExpressionEvaluator_10b28608204.readCompiled($ExpressionEvaluator_10b286082
> 04.java)
>
>- org.apache.tapestry.binding.ExpressionBinding.resolveExpression(
>ExpressionBinding.java:110)
>- org.apache.tapestry.binding.ExpressionBinding.getObject(
>ExpressionBinding.java:103)
>- org.apache.tapestry.binding.AbstractBinding.getObject(
>AbstractBinding.java:87)
>- $TextField_5.getValue($TextField_5.java)
>- org.apache.tapestry.form.TextField.renderFormComponent(
>TextField.java:43)
>- org.apache.tapestry.form.AbstractFormComponent.renderComponent(
>AbstractFormComponent.java:122)
>-
> org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)
>
>- org.apache.tapestry.AbstractComponent.renderBody(
>AbstractComponent.java:434)
>-
> org.apache.tapestry.form.FormSupportImpl.render(FormSupportImpl.java
:487)
>
>- org.apache.tapestry.form.Form.renderComponent(Form.java:250)
>-
> org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)
>
>-
> org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:92)
>
>-
> org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)
>
>- org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:275)
>-
> org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java
:366)
>
>-
>org.apache.tapestry.services.impl.ResponseRendererImpl.renderResponse
(
>ResponseRendererImpl.java:71)
>-
>
>

$ResponseRenderer_10b286080f9.renderResponse($ResponseRenderer_10b286080f9.j
> ava)
>
>- org.apache.tapestry.engine.PageService.service(PageService.java:68)
>-
$IEngineService_10b28608167.service($IEngineService_10b28608167.java)
>
>- org.apache.tapestry.ser

RE: Strange situation with ognl

2006-05-12 Thread James Carman
What's the fully-qualified name of the class and can you paste in your
.application file contents?


-Original Message-
From: Rui Pacheco [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 12, 2006 8:57 AM
To: Tapestry users
Subject: Re: Strange situation with ognl

The .html is at the root of the web application where it usually is. I
renamed the package that holds all the classes, but I've changed the path on
the .application file.

How can I make it see the new classes?

On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote:
>
> Tapestry is generating a subclass of BasePage for your page.  It's not
> using
> your page with the getters/setters.  Did you move your .html file?
>
> -Original Message-
> From: Rui Pacheco [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 12, 2006 8:32 AM
> To: Tapestry users
> Subject: Re: Strange situation with ognl
>
> Ok, but I dont know how the whole page will look like. Here it goes:
>
>
>
> An exception has occurred.
>
> You may continue by *restarting * the
> session.
>
>   org.apache.tapestry.BindingException Unable to read OGNL expression
> '' of [EMAIL PROTECTED]:
> $BasePage_2.model binding: ExpressionBinding[Abreviaturas model.search]
> location: context:/Abreviaturas.html, line 104
>   99  100  101
>  value="ID">ID 102 Abreviatura
> 103
>   104  value="ognl:model.search"
> class="itemsarea"/> Pesquisar 105  106  class="titulo"> jwcid="@PageLink">Inserir 107  108  class="titulo" colspan="6">  109  class="titulo" colspan="6"> 
> org.apache.hivemind.ApplicationRuntimeException Unable to read OGNL
> expression '' of [EMAIL PROTECTED]:
> $BasePage_2.model component: [EMAIL PROTECTED]  location:
> context:/Abreviaturas.html
ognl.NoSuchPropertyException$BasePage_2.model
> name: model  target: [EMAIL PROTECTED]  Stack Trace:
>
>-
> ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:123)
>
>- ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1616)
>- ognl.ASTProperty.getValueBody(ASTProperty.java:96)
>- ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
>- ognl.SimpleNode.getValue(SimpleNode.java:210)
>- ognl.ASTChain.getValueBody(ASTChain.java:109)
>- ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
>- ognl.SimpleNode.getValue(SimpleNode.java:210)
>- ognl.Ognl.getValue(Ognl.java:333)
>- ognl.Ognl.getValue(Ognl.java:310)
>-
>org.apache.tapestry.services.impl.ExpressionEvaluatorImpl.readCompiled
>(ExpressionEvaluatorImpl.java:91)
>-
>
>
$ExpressionEvaluator_10b28608204.readCompiled($ExpressionEvaluator_10b286082
> 04.java)
>
>- org.apache.tapestry.binding.ExpressionBinding.resolveExpression(
>ExpressionBinding.java:110)
>- org.apache.tapestry.binding.ExpressionBinding.getObject(
>ExpressionBinding.java:103)
>- org.apache.tapestry.binding.AbstractBinding.getObject(
>AbstractBinding.java:87)
>- $TextField_5.getValue($TextField_5.java)
>- org.apache.tapestry.form.TextField.renderFormComponent(
>TextField.java:43)
>- org.apache.tapestry.form.AbstractFormComponent.renderComponent(
>AbstractFormComponent.java:122)
>-
> org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)
>
>- org.apache.tapestry.AbstractComponent.renderBody(
>AbstractComponent.java:434)
>-
> org.apache.tapestry.form.FormSupportImpl.render(FormSupportImpl.java:487)
>
>- org.apache.tapestry.form.Form.renderComponent(Form.java:250)
>-
> org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)
>
>-
> org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:92)
>
>-
> org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)
>
>- org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:275)
>-
> org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:366)
>
>-
>org.apache.tapestry.services.impl.ResponseRendererImpl.renderResponse(
>ResponseRendererImpl.java:71)
>-
>
>
$ResponseRenderer_10b286080f9.renderResponse($ResponseRenderer_10b286080f9.j
> ava)
>
>- org.apache.tapestry.engine.PageService.service(PageService.java:68)
>- $IEngineService_10b28608167.service($IEngineService_10b28608167.java)
>
>- org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(
>EngineServiceOuterProxy.java:66)
>- org.apache.tapestry.engine.AbstractEngine.service(
>AbstractEngine.java:248)
>- org.apache.tapestry.services.impl.InvokeEngineTerminator.servi

Re: Strange situation with ognl

2006-05-12 Thread Rui Pacheco

The .html is at the root of the web application where it usually is. I
renamed the package that holds all the classes, but I've changed the path on
the .application file.

How can I make it see the new classes?

On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote:


Tapestry is generating a subclass of BasePage for your page.  It's not
using
your page with the getters/setters.  Did you move your .html file?

-Original Message-
From: Rui Pacheco [mailto:[EMAIL PROTECTED]
Sent: Friday, May 12, 2006 8:32 AM
To: Tapestry users
Subject: Re: Strange situation with ognl

Ok, but I dont know how the whole page will look like. Here it goes:



An exception has occurred.

You may continue by *restarting * the
session.

  org.apache.tapestry.BindingException Unable to read OGNL expression
'' of [EMAIL PROTECTED]:
$BasePage_2.model binding: ExpressionBinding[Abreviaturas model.search]
location: context:/Abreviaturas.html, line 104
  99  100  101
ID 102 Abreviatura
103
  104  Pesquisar 105  106 Inserir 107  108   109  
org.apache.hivemind.ApplicationRuntimeException Unable to read OGNL
expression '' of [EMAIL PROTECTED]:
$BasePage_2.model component: [EMAIL PROTECTED]  location:
context:/Abreviaturas.htmlognl.NoSuchPropertyException$BasePage_2.model
name: model  target: [EMAIL PROTECTED]  Stack Trace:

   -
ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:123)

   - ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1616)
   - ognl.ASTProperty.getValueBody(ASTProperty.java:96)
   - ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
   - ognl.SimpleNode.getValue(SimpleNode.java:210)
   - ognl.ASTChain.getValueBody(ASTChain.java:109)
   - ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
   - ognl.SimpleNode.getValue(SimpleNode.java:210)
   - ognl.Ognl.getValue(Ognl.java:333)
   - ognl.Ognl.getValue(Ognl.java:310)
   -
   org.apache.tapestry.services.impl.ExpressionEvaluatorImpl.readCompiled
   (ExpressionEvaluatorImpl.java:91)
   -

$ExpressionEvaluator_10b28608204.readCompiled($ExpressionEvaluator_10b286082
04.java)

   - org.apache.tapestry.binding.ExpressionBinding.resolveExpression(
   ExpressionBinding.java:110)
   - org.apache.tapestry.binding.ExpressionBinding.getObject(
   ExpressionBinding.java:103)
   - org.apache.tapestry.binding.AbstractBinding.getObject(
   AbstractBinding.java:87)
   - $TextField_5.getValue($TextField_5.java)
   - org.apache.tapestry.form.TextField.renderFormComponent(
   TextField.java:43)
   - org.apache.tapestry.form.AbstractFormComponent.renderComponent(
   AbstractFormComponent.java:122)
   -
org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)

   - org.apache.tapestry.AbstractComponent.renderBody(
   AbstractComponent.java:434)
   -
org.apache.tapestry.form.FormSupportImpl.render(FormSupportImpl.java:487)

   - org.apache.tapestry.form.Form.renderComponent(Form.java:250)
   -
org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)

   -
org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:92)

   -
org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)

   - org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:275)
   -
org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:366)

   -
   org.apache.tapestry.services.impl.ResponseRendererImpl.renderResponse(
   ResponseRendererImpl.java:71)
   -

$ResponseRenderer_10b286080f9.renderResponse($ResponseRenderer_10b286080f9.j
ava)

   - org.apache.tapestry.engine.PageService.service(PageService.java:68)
   - $IEngineService_10b28608167.service($IEngineService_10b28608167.java)

   - org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(
   EngineServiceOuterProxy.java:66)
   - org.apache.tapestry.engine.AbstractEngine.service(
   AbstractEngine.java:248)
   - org.apache.tapestry.services.impl.InvokeEngineTerminator.service(
   InvokeEngineTerminator.java:60)
   -

$WebRequestServicer_10b28608143.service($WebRequestServicer_10b28608143.java
)

   -

$WebRequestServicer_10b2860813f.service($WebRequestServicer_10b2860813f.java
)

   -

org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service
   (WebRequestServicerPipelineBridge.java:56)
   -

$ServletRequestServicer_10b28608125.service($ServletRequestServicer_10b28608
125.java)

   - org.apache.tapestry.request.DecodedRequestInjector.service(
   DecodedRequestInjector.java:55)
   -

$ServletRequestServicerFilter_10b28608121.service($ServletRequestServicerFil
ter_10b28608121.java)

   -

$ServletRequestServicer_10b28608127.service($ServletRequestServicer_10b28608
127.java)

   - org.apache.tapestry.multipart.MultipartDecoderFilter.service(
   MultipartDecoderFilter.java:52)
   -

$ServletRequestServicerFilter_10b2860811f.service($ServletRequestServicerFil
ter_10b2860811f.java)

   -

$ServletRequestServicer_10b28608127.service($Serv

RE: Strange situation with ognl

2006-05-12 Thread James Carman
Tapestry is generating a subclass of BasePage for your page.  It's not using
your page with the getters/setters.  Did you move your .html file?

-Original Message-
From: Rui Pacheco [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 12, 2006 8:32 AM
To: Tapestry users
Subject: Re: Strange situation with ognl

Ok, but I dont know how the whole page will look like. Here it goes:



An exception has occurred.

You may continue by *restarting * the
session.

  org.apache.tapestry.BindingException Unable to read OGNL expression
'' of [EMAIL PROTECTED]:
$BasePage_2.model binding: ExpressionBinding[Abreviaturas model.search]
location: context:/Abreviaturas.html, line 104
  99  100  101 ID 102 Abreviatura 103
  104  Pesquisar 105  106 Inserir 107  108   109  
org.apache.hivemind.ApplicationRuntimeException Unable to read OGNL
expression '' of [EMAIL PROTECTED]:
$BasePage_2.model component: [EMAIL PROTECTED]  location:
context:/Abreviaturas.htmlognl.NoSuchPropertyException $BasePage_2.model
name: model  target: [EMAIL PROTECTED]  Stack Trace:

   -
ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:123)

   - ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1616)
   - ognl.ASTProperty.getValueBody(ASTProperty.java:96)
   - ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
   - ognl.SimpleNode.getValue(SimpleNode.java:210)
   - ognl.ASTChain.getValueBody(ASTChain.java:109)
   - ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
   - ognl.SimpleNode.getValue(SimpleNode.java:210)
   - ognl.Ognl.getValue(Ognl.java:333)
   - ognl.Ognl.getValue(Ognl.java:310)
   -
   org.apache.tapestry.services.impl.ExpressionEvaluatorImpl.readCompiled
   (ExpressionEvaluatorImpl.java:91)
   -
$ExpressionEvaluator_10b28608204.readCompiled($ExpressionEvaluator_10b286082
04.java)

   - org.apache.tapestry.binding.ExpressionBinding.resolveExpression(
   ExpressionBinding.java:110)
   - org.apache.tapestry.binding.ExpressionBinding.getObject(
   ExpressionBinding.java:103)
   - org.apache.tapestry.binding.AbstractBinding.getObject(
   AbstractBinding.java:87)
   - $TextField_5.getValue($TextField_5.java)
   - org.apache.tapestry.form.TextField.renderFormComponent(
   TextField.java:43)
   - org.apache.tapestry.form.AbstractFormComponent.renderComponent(
   AbstractFormComponent.java:122)
   -
org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)

   - org.apache.tapestry.AbstractComponent.renderBody(
   AbstractComponent.java:434)
   -
org.apache.tapestry.form.FormSupportImpl.render(FormSupportImpl.java:487)

   - org.apache.tapestry.form.Form.renderComponent(Form.java:250)
   -
org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)

   -
org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:92)

   -
org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)

   - org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:275)
   -
org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:366)

   -
   org.apache.tapestry.services.impl.ResponseRendererImpl.renderResponse(
   ResponseRendererImpl.java:71)
   -
$ResponseRenderer_10b286080f9.renderResponse($ResponseRenderer_10b286080f9.j
ava)

   - org.apache.tapestry.engine.PageService.service(PageService.java:68)
   - $IEngineService_10b28608167.service($IEngineService_10b28608167.java)

   - org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(
   EngineServiceOuterProxy.java:66)
   - org.apache.tapestry.engine.AbstractEngine.service(
   AbstractEngine.java:248)
   - org.apache.tapestry.services.impl.InvokeEngineTerminator.service(
   InvokeEngineTerminator.java:60)
   -
$WebRequestServicer_10b28608143.service($WebRequestServicer_10b28608143.java
)

   -
$WebRequestServicer_10b2860813f.service($WebRequestServicer_10b2860813f.java
)

   -
 
org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service
   (WebRequestServicerPipelineBridge.java:56)
   -
$ServletRequestServicer_10b28608125.service($ServletRequestServicer_10b28608
125.java)

   - org.apache.tapestry.request.DecodedRequestInjector.service(
   DecodedRequestInjector.java:55)
   -
$ServletRequestServicerFilter_10b28608121.service($ServletRequestServicerFil
ter_10b28608121.java)

   -
$ServletRequestServicer_10b28608127.service($ServletRequestServicer_10b28608
127.java)

   - org.apache.tapestry.multipart.MultipartDecoderFilter.service(
   MultipartDecoderFilter.java:52)
   -
$ServletRequestServicerFilter_10b2860811f.service($ServletRequestServicerFil
ter_10b2860811f.java)

   -
$ServletRequestServicer_10b28608127.service($ServletRequestServicer_10b28608
127.java)

   - org.apache.tapestry.services.impl.SetupRequestEncoding.service(
   SetupRequestEncoding.java:53)
   -
$ServletRequestServicerFilter_10b28608123.service($ServletRequestServicerFil
ter_10b28608123.java)

   -
$ServletRequestServicer_10b28608127.service($ServletRequestS

Re: Strange situation with ognl

2006-05-12 Thread Rui Pacheco
erableAdaptor(property.value)
exception.message
property
assets.stylesheet
property.name
request.getSession(false) != null
model.search
last
reportStatusRenderer
exception.exceptionClassName
request
false tapestry.asset.ResourceDigestSource
 resource count 1 /org/apache/tapestry/pages/Exception.css
e004ce617d9497ce498469d43acbaa34
JVM System Properties
 catalina.base /opt/tomcat catalina.home /opt/tomcat catalina.useNaming
true common.loader ${catalina.home}/common/classes,${catalina.home
}/common/i18n/*.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home
}/common/lib/*.jar file.encoding UTF-8 file.encoding.pkg sun.io
file.separator / java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
java.awt.printerjob sun.print.PSPrinterJob java.class.path
/opt/tomcat/bin/bootstrap.jar
/opt/tomcat/bin/commons-logging-api.jar java.class.version 49.0
java.endorsed.dirs /opt/tomcat/common/endorsed java.ext.dirs
/usr/java/jdk1.5.0_06/jre/lib/ext java.home /usr/java/jdk1.5.0_06/jre
java.io.tmpdir /opt/tomcat/temp java.library.path
/usr/java/jdk1.5.0_06/jre/lib/i386/client
/usr/java/jdk1.5.0_06/jre/lib/i386
/usr/java/jdk1.5.0_06/jre/../lib/i386 java.naming.factory.initial
org.apache.naming.java.javaURLContextFactory java.naming.factory.url.pkgs
org.apache.naming java.runtime.name Java(TM) 2 Runtime Environment, Standard
Edition java.runtime.version 1.5.0_06-b05 java.specification.name Java
Platform API Specification java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.5 java.util.logging.config.file
/opt/tomcat/conf/logging.properties java.util.logging.manager
org.apache.juli.ClassLoaderLogManager java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/ java.vendor.url.bug
http://java.sun.com/cgi-bin/bugreport.cgi java.version 1.5.0_06
java.vm.info mixed
mode, sharing java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0 java.vm.vendor Sun Microsystems Inc.
java.vm.version 1.5.0_06-b05 line.separator
os.arch i386 os.name Linux os.version 2.6.9-34.ELsmp package.access sun.,
org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper
.,sun.beans. package.definition sun.,java.,org.apache.catalina.,
org.apache.coyote.,org.apache.tomcat.,org.apache.jasper. path.separator :
server.loader ${catalina.home}/server/classes,${catalina.home
}/server/lib/*.jar shared.loader ${catalina.base}/shared/classes,${
catalina.base}/shared/lib/*.jar sun.arch.data.model 32 sun.boot.class.path
/usr/java/jdk1.5.0_06/jre/lib/rt.jar
/usr/java/jdk1.5.0_06/jre/lib/i18n.jar
/usr/java/jdk1.5.0_06/jre/lib/sunrsasign.jar
/usr/java/jdk1.5.0_06/jre/lib/jsse.jar
/usr/java/jdk1.5.0_06/jre/lib/jce.jar
/usr/java/jdk1.5.0_06/jre/lib/charsets.jar
/usr/java/jdk1.5.0_06/jre/classes sun.boot.library.path
/usr/java/jdk1.5.0_06/jre/lib/i386 sun.cpu.endian little sun.cpu.isalist
sun.io.unicode.encoding UnicodeLittle sun.jnu.encoding UTF-8
sun.management.compiler HotSpot Client Compiler sun.os.patch.level unknown
tomcat.util.buf.StringCache.byte.enabled true user.country US user.dir
/opt/tomcat user.home /root user.language en user.name root user.timezone
Europe/Lisbon




On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote:


I don't think attachments will make it through to the list.  Can you just
paste it in?



  _

From: Rui Pacheco [mailto:[EMAIL PROTECTED]
Sent: Friday, May 12, 2006 8:07 AM
To: Tapestry users
Subject: Re: Strange situation with ognl



I attached the page.

On 5/12/06, Schulte Marcus <[EMAIL PROTECTED]> wrote:

can you post the exception-stack you're getting?

> -Original Message-
> From: Rui Pacheco [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 12, 2006 12:51 PM
> To: Tapestry users
> Subject: Strange situation with ognl
>
>
> Hi all
>
> I have a class extending BasePage. That class declares a
> get/set for Model,
> Model being the name of my value object. I also have a
> private instance of
> Model on that class to use with pageBeginRender and to handle
> data received
> by the form.
>
> On my html I have a normal TextField named "grease" and on
> the value I have
> value="ognl:model.grease"
> On my Model class I have public getters and setters for "grease".
>
> But when I call the page, I end up with an exception, saying
> ognl can't find
> property "model".
> Any hints to what might cause this? Now, this worked before,
> but suddenly
> ognl stopped seeing my Model. Very strange, as I dont
> remember any sweeping
> changes that could cause this.
>
> Just for the record, I have the free pdf for Kent's book. The
> answer might
> be there and I'm not seeing it, but I am trying! :D
> --
> Cumprimentos,
> Rui Pacheco
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Cumprimentos,
Rui Pacheco






--
Cumprimentos,
Rui Pacheco


RE: Strange situation with ognl

2006-05-12 Thread James Carman
I don't think attachments will make it through to the list.  Can you just
paste it in?

 

  _  

From: Rui Pacheco [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 12, 2006 8:07 AM
To: Tapestry users
Subject: Re: Strange situation with ognl

 

I attached the page.

On 5/12/06, Schulte Marcus <[EMAIL PROTECTED]> wrote:

can you post the exception-stack you're getting?

> -Original Message-
> From: Rui Pacheco [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 12, 2006 12:51 PM 
> To: Tapestry users
> Subject: Strange situation with ognl
>
>
> Hi all
>
> I have a class extending BasePage. That class declares a
> get/set for Model,
> Model being the name of my value object. I also have a 
> private instance of
> Model on that class to use with pageBeginRender and to handle
> data received
> by the form.
>
> On my html I have a normal TextField named "grease" and on 
> the value I have
> value="ognl:model.grease"
> On my Model class I have public getters and setters for "grease".
>
> But when I call the page, I end up with an exception, saying 
> ognl can't find
> property "model".
> Any hints to what might cause this? Now, this worked before,
> but suddenly
> ognl stopped seeing my Model. Very strange, as I dont
> remember any sweeping 
> changes that could cause this.
>
> Just for the record, I have the free pdf for Kent's book. The
> answer might
> be there and I'm not seeing it, but I am trying! :D
> --
> Cumprimentos, 
> Rui Pacheco
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED]




-- 
Cumprimentos,
Rui Pacheco 



Re: Strange situation with ognl

2006-05-12 Thread Rui Pacheco
I attached the page.On 5/12/06, Schulte Marcus <[EMAIL PROTECTED]> wrote:
can you post the exception-stack you're getting?> -Original Message-> From: Rui Pacheco [mailto:[EMAIL PROTECTED]]> Sent: Friday, May 12, 2006 12:51 PM
> To: Tapestry users> Subject: Strange situation with ognl>>> Hi all>> I have a class extending BasePage. That class declares a> get/set for Model,> Model being the name of my value object. I also have a
> private instance of> Model on that class to use with pageBeginRender and to handle> data received> by the form.>> On my html I have a normal TextField named "grease" and on
> the value I have> value="ognl:model.grease"> On my Model class I have public getters and setters for "grease".>> But when I call the page, I end up with an exception, saying
> ognl can't find> property "model".> Any hints to what might cause this? Now, this worked before,> but suddenly> ognl stopped seeing my Model. Very strange, as I dont> remember any sweeping
> changes that could cause this.>> Just for the record, I have the free pdf for Kent's book. The> answer might> be there and I'm not seeing it, but I am trying! :D> --> Cumprimentos,
> Rui Pacheco>-To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]-- Cumprimentos,Rui Pacheco
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Strange situation with ognl

2006-05-12 Thread Schulte Marcus
can you post the exception-stack you're getting?

> -Original Message-
> From: Rui Pacheco [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 12, 2006 12:51 PM
> To: Tapestry users
> Subject: Strange situation with ognl
> 
> 
> Hi all
> 
> I have a class extending BasePage. That class declares a 
> get/set for Model,
> Model being the name of my value object. I also have a 
> private instance of
> Model on that class to use with pageBeginRender and to handle 
> data received
> by the form.
> 
> On my html I have a normal TextField named "grease" and on 
> the value I have
> value="ognl:model.grease"
> On my Model class I have public getters and setters for "grease".
> 
> But when I call the page, I end up with an exception, saying 
> ognl can't find
> property "model".
> Any hints to what might cause this? Now, this worked before, 
> but suddenly
> ognl stopped seeing my Model. Very strange, as I dont 
> remember any sweeping
> changes that could cause this.
> 
> Just for the record, I have the free pdf for Kent's book. The 
> answer might
> be there and I'm not seeing it, but I am trying! :D
> -- 
> Cumprimentos,
> Rui Pacheco
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Strange situation with ognl

2006-05-12 Thread Rui Pacheco

Hi all

I have a class extending BasePage. That class declares a get/set for Model,
Model being the name of my value object. I also have a private instance of
Model on that class to use with pageBeginRender and to handle data received
by the form.

On my html I have a normal TextField named "grease" and on the value I have
value="ognl:model.grease"
On my Model class I have public getters and setters for "grease".

But when I call the page, I end up with an exception, saying ognl can't find
property "model".
Any hints to what might cause this? Now, this worked before, but suddenly
ognl stopped seeing my Model. Very strange, as I dont remember any sweeping
changes that could cause this.

Just for the record, I have the free pdf for Kent's book. The answer might
be there and I'm not seeing it, but I am trying! :D
--
Cumprimentos,
Rui Pacheco