Re: [T5.1] How do you advise ClassNameLocator?

2009-05-07 Thread Igor Drobiazko
Hi Steve,

that is not true. Of course you can override ClasspathURLConverter as any
service in Tapestry.


On Wed, May 6, 2009 at 6:49 PM, Steve Eynon
wrote:

> Arr, yes, thanks Igor.
>
> The JavaDocs for ClasspathURLConverter even states it exists for OSGi
> (Eclipse) apps:
>
> > This is a hook for supporting OSGi, allowing "bundleresource" and
> "bundleentry" protocols to be converted to "jar:" or "file:".
>
> The default implementation currently returns the URLs unchanged.
>
> But alas, this service again is defined in the TapestryIOCModule
> meaning it too can't be overridden or advised.
>
> I'll override it in my current classpath fudgey way...
>
> To overcome overriding issues, maybe rather than providing one class
> to convert all urls we could contribute UrlConverters to handle
> different protocols?
>
> Steve.
> --
> Steve Eynon
> www.bushmasters.co.uk
> mobie: (+592) 6784236
>
>
>
> 2009/5/6 Igor Drobiazko :
> > Hi Steve,
> >
> > the problem is the protocol bundleresource.
> > You should override ClasspathURLConverter which is used by
> ClassNameLocator.
> > This service was introduced to be able to handle URLs which are not
> common
> > in Java.
> > I provide for example my own implementition of this service in an OSGi
> > environment, where the URL start with bundleresource.
> > So you have the same issue.
> >
> > --
> > Best regards,
> >
> > Igor Drobiazko
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Best regards,

Igor Drobiazko


Re: Pause after successfull authentication

2009-05-07 Thread aahsanJamshaid

First sorry peter for late reply. Actually i have done almost same by adding
dummy loop but that work randomly. Sometime it works and sometime not. Is
there any configuration in acegi/spring to wait until request fwded manually
or adding some delay.

thanks





Peter Stavrinides wrote:
> 
> How about:
> 
> while(taskInProgress){
> Thread.sleep(SLEEP_INTERVAL);
> }
> 
> 
> - Original Message -
> From: "aahsanJamshaid" 
> To: users@tapestry.apache.org
> Sent: Friday, 27 February, 2009 15:45:35 GMT +02:00 Athens, Beirut,
> Bucharest, Istanbul
> Subject: Pause after successfull authentication
> 
> 
> I have a application with acegi configured through spring. It uses Spring,
> Tapestry, Hivemodule. I do manul authentication in tapestry java file by
> ProcessingFilterClassObject.attemptAuthentication( username, password ).
> 
> Everything works good, and after successfull authentication user is
> redirected to URL defined for "defaultTargetUrl" property. 
> 
> After successfull authentication i need to do some processing and set the
> things in session before control goes to "defaultTargetUrl". Is it
> possible
> to hold to control and release it manually after my processing is
> completed.  
> 
> -- 
> View this message in context:
> http://n2.nabble.com/Pause-after-successfull-authentication-tp2395702p2395702.html
> Sent from the Tapestry Users mailing list archive at Nabble.com.
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Pause-after-successfull-authentication-tp2395702p2843603.html
Sent from the Tapestry Users mailing list archive at Nabble.com.


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



t5: usual practice for page test

2009-05-07 Thread Angelo Chen

Hi,

I'd like to know how others do the test for page? what I'm doing now is,
write the code, manually test it until it works, that's the end. how you
guys do this task:

1) using test driven development for pages?
2) just write the code, write a test after it is done for SVN commit?
3) just write the code, manually test the page?

thoughts?
-- 
View this message in context: 
http://www.nabble.com/t5%3A-usual-practice-for-page-test-tp23437084p23437084.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



Re: Problem running Tap 5.1.0.4 on Jboss 5.0.1.GA

2009-05-07 Thread Eric Ma


Shing Hing Man wrote:
> 
> When I deploy a simple Tap 5.1.0.4 application on JBoss 5.0.1.GA and
> access the index page, I get the following error.
> java.lang.IllegalArgumentException: Unable to resolve 'ExceptionReport' to
> a known page name. Available page names: (blank), About, Contact, Index.
> 
> I wonder if someone else has encountered the same problem and has a
> solution for it.
> Thanks in advance for any assistance!
> Shing
> 

I ran into the same problem when I used T5.0.18, JBoss 5.0.1.GA, and
JDK1.6.0 (both compile and runtime).  If I compile with Java 1.5 compliance
and run under JDK1.6.0, the problem goes away.

With T5.1.0.3, I had an issue with   in my .tml.  Will try to spend
sometime to resolve it.

-- 
View this message in context: 
http://www.nabble.com/Problem-running-Tap-5.1.0.4-on-Jboss-5.0.1.GA-tp23368295p23435800.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



Re: Encoding with exceptions

2009-05-07 Thread Christian Edward Gruber
Yeah - I don't, at least not yet.  I probably will use such an editor  
later, but I need a protected output system so I'm not using  
 since that's quite dangerous when writing from a  
database.  I want ot make sure that even if bad data got in, it can't  
come out as an XSS attack or something.  But I need to let out a titch  
of markup.


Christian.

On 7-May-09, at 17:28 , Martin Strand wrote:

If you need to parse html input, from a rich text editor, a remote  
website, uploaded documents, etc, I would recommend nekohtml:

http://nekohtml.sourceforge.net/

It cleans up broken html and you can easily add a filter to only  
allow certain tags:

http://nekohtml.sourceforge.net/filters.html

Martin

On Thu, 07 May 2009 22:58:56 +0200, Howard Lewis Ship > wrote:



I'd tend to do this on the other end, if possible; parse user input
(or RSS feed, or whatever) into XML and transform out the content you
don't like, then store that in DB or render it raw.

On Thu, May 7, 2009 at 1:26 PM, Christian Edward Gruber
 wrote:

Hi,

   I was considering how to write a minimal markup component -  
that is a
component which can handle encoding raw text into safe text much  
the same
way MarkupWriterImpl passes to a Text node which encodes html  
entities,

etc., but in this case, letting a few of them pass.

   One simple way is just to create an  like component  
which
pre-encodes before passing on the text to the MarkupWriter, but I  
think
that's sort of a cheap hack.  Can I contribute an alternate  
MarkupWriter
implementation with a marker annotation that I can obtain for  
beginRender()?


   The use case I'm trying to solve (without doing a lot of extra
code/storage, is to allow extremely minimal markup through -  
specifically
,,, , , , , .   
It would
disallow all other markup, and strip out any style, class, or id  
attributes.
 It's to allow a bit of (safe) data entry that can include some  
rendering

hints.

   Probably my first go will be to create a component that pre- 
encodes and
does a MarkupWriter.writewRaw() with the results, but it feels  
like a bad

hack.

cheers,
Christian.

Christian Edward Gruber
e-mail: christianedwardgru...@gmail.com
weblog: http://www.geekinasuit.com/



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



Christian Edward Gruber
e-mail: christianedwardgru...@gmail.com
weblog: http://www.geekinasuit.com/


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



Re: Encoding with exceptions

2009-05-07 Thread Howard Lewis Ship
Cool; I tend to do a lot of that from Ruby, using Hpricot.

On Thu, May 7, 2009 at 2:28 PM, Martin Strand
 wrote:
> If you need to parse html input, from a rich text editor, a remote website, 
> uploaded documents, etc, I would recommend nekohtml:
> http://nekohtml.sourceforge.net/
>
> It cleans up broken html and you can easily add a filter to only allow 
> certain tags:
> http://nekohtml.sourceforge.net/filters.html
>
> Martin
>
> On Thu, 07 May 2009 22:58:56 +0200, Howard Lewis Ship  
> wrote:
>
>> I'd tend to do this on the other end, if possible; parse user input
>> (or RSS feed, or whatever) into XML and transform out the content you
>> don't like, then store that in DB or render it raw.
>>
>> On Thu, May 7, 2009 at 1:26 PM, Christian Edward Gruber
>>  wrote:
>>> Hi,
>>>
>>>    I was considering how to write a minimal markup component - that is a
>>> component which can handle encoding raw text into safe text much the same
>>> way MarkupWriterImpl passes to a Text node which encodes html entities,
>>> etc., but in this case, letting a few of them pass.
>>>
>>>    One simple way is just to create an  like component which
>>> pre-encodes before passing on the text to the MarkupWriter, but I think
>>> that's sort of a cheap hack.  Can I contribute an alternate MarkupWriter
>>> implementation with a marker annotation that I can obtain for beginRender()?
>>>
>>>    The use case I'm trying to solve (without doing a lot of extra
>>> code/storage, is to allow extremely minimal markup through - specifically
>>> ,,, , , , , .  It would
>>> disallow all other markup, and strip out any style, class, or id attributes.
>>>  It's to allow a bit of (safe) data entry that can include some rendering
>>> hints.
>>>
>>>    Probably my first go will be to create a component that pre-encodes and
>>> does a MarkupWriter.writewRaw() with the results, but it feels like a bad
>>> hack.
>>>
>>> cheers,
>>> Christian.
>>>
>>> Christian Edward Gruber
>>> e-mail: christianedwardgru...@gmail.com
>>> weblog: http://www.geekinasuit.com/
>>>
>
> -
> 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
Director of Open Source Technology at Formos

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



Re: Encoding with exceptions

2009-05-07 Thread Martin Strand
If you need to parse html input, from a rich text editor, a remote website, 
uploaded documents, etc, I would recommend nekohtml:
http://nekohtml.sourceforge.net/

It cleans up broken html and you can easily add a filter to only allow certain 
tags:
http://nekohtml.sourceforge.net/filters.html

Martin

On Thu, 07 May 2009 22:58:56 +0200, Howard Lewis Ship  wrote:

> I'd tend to do this on the other end, if possible; parse user input
> (or RSS feed, or whatever) into XML and transform out the content you
> don't like, then store that in DB or render it raw.
>
> On Thu, May 7, 2009 at 1:26 PM, Christian Edward Gruber
>  wrote:
>> Hi,
>>
>>    I was considering how to write a minimal markup component - that is a
>> component which can handle encoding raw text into safe text much the same
>> way MarkupWriterImpl passes to a Text node which encodes html entities,
>> etc., but in this case, letting a few of them pass.
>>
>>    One simple way is just to create an  like component which
>> pre-encodes before passing on the text to the MarkupWriter, but I think
>> that's sort of a cheap hack.  Can I contribute an alternate MarkupWriter
>> implementation with a marker annotation that I can obtain for beginRender()?
>>
>>    The use case I'm trying to solve (without doing a lot of extra
>> code/storage, is to allow extremely minimal markup through - specifically
>> ,,, , , , , .  It would
>> disallow all other markup, and strip out any style, class, or id attributes.
>>  It's to allow a bit of (safe) data entry that can include some rendering
>> hints.
>>
>>    Probably my first go will be to create a component that pre-encodes and
>> does a MarkupWriter.writewRaw() with the results, but it feels like a bad
>> hack.
>>
>> cheers,
>> Christian.
>>
>> Christian Edward Gruber
>> e-mail: christianedwardgru...@gmail.com
>> weblog: http://www.geekinasuit.com/
>>

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



Re: Encoding with exceptions

2009-05-07 Thread Howard Lewis Ship
I'd tend to do this on the other end, if possible; parse user input
(or RSS feed, or whatever) into XML and transform out the content you
don't like, then store that in DB or render it raw.

On Thu, May 7, 2009 at 1:26 PM, Christian Edward Gruber
 wrote:
> Hi,
>
>    I was considering how to write a minimal markup component - that is a
> component which can handle encoding raw text into safe text much the same
> way MarkupWriterImpl passes to a Text node which encodes html entities,
> etc., but in this case, letting a few of them pass.
>
>    One simple way is just to create an  like component which
> pre-encodes before passing on the text to the MarkupWriter, but I think
> that's sort of a cheap hack.  Can I contribute an alternate MarkupWriter
> implementation with a marker annotation that I can obtain for beginRender()?
>
>    The use case I'm trying to solve (without doing a lot of extra
> code/storage, is to allow extremely minimal markup through - specifically
> ,,, , , , , .  It would
> disallow all other markup, and strip out any style, class, or id attributes.
>  It's to allow a bit of (safe) data entry that can include some rendering
> hints.
>
>    Probably my first go will be to create a component that pre-encodes and
> does a MarkupWriter.writewRaw() with the results, but it feels like a bad
> hack.
>
> cheers,
> Christian.
>
> Christian Edward Gruber
> e-mail: christianedwardgru...@gmail.com
> weblog: http://www.geekinasuit.com/
>
>
> -
> 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
Director of Open Source Technology at Formos

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



Encoding with exceptions

2009-05-07 Thread Christian Edward Gruber

Hi,

I was considering how to write a minimal markup component - that  
is a component which can handle encoding raw text into safe text much  
the same way MarkupWriterImpl passes to a Text node which encodes html  
entities, etc., but in this case, letting a few of them pass.


One simple way is just to create an  like component  
which pre-encodes before passing on the text to the MarkupWriter, but  
I think that's sort of a cheap hack.  Can I contribute an alternate  
MarkupWriter implementation with a marker annotation that I can obtain  
for beginRender()?


The use case I'm trying to solve (without doing a lot of extra  
code/storage, is to allow extremely minimal markup through -  
specifically ,,, , , , ,  
.  It would disallow all other markup, and strip  
out any style, class, or id attributes.  It's to allow a bit of (safe)  
data entry that can include some rendering hints.


Probably my first go will be to create a component that pre- 
encodes and does a MarkupWriter.writewRaw() with the results, but it  
feels like a bad hack.


cheers,
Christian.

Christian Edward Gruber
e-mail: christianedwardgru...@gmail.com
weblog: http://www.geekinasuit.com/


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



Re: tapestry5 on google appengine exception

2009-05-07 Thread Mike D Pilsbury

Although using Jetty Run does indeed work around the

   java.lang.NoClassDefFoundError:
   org/apache/tapestry5/corelib/components/Loop$1

issue, and allows simple pages to work, another problem raises its head 
when you go anywhere near the datastore.


Caused by: java.lang.NullPointerException: No API environment is 
registered for this thread.
at 
com.google.appengine.api.datastore.DatastoreApiHelper.getCurrentAppId(DatastoreApiHelper.java:62)
at 
com.google.appengine.api.datastore.KeyTranslator.convertToPb(KeyTranslator.java:55)



This is most likely because using Jetty Run circumvents some App Engine 
shenanigans that the App Engine plugin launcher does that is necessary 
to provide the right environment (possible some TLS by the look of it).


I suspect that we're going to have to go back to trying to understand 
what causes the failure to find the Loop$1 class.


Mike


ஸ்ரீராம் கீர்த்தி wrote:

Hedinges,
I did it this way.

(1) Create a google app engine application using the eclipse plugin
(2) Add tapestry-core, annotations, ioc, sl4j, log4j and all needed jars to
the war/WEB-INF/lib folder
(3) Write your tapestry helloworld program as you like (make sure you
changed the web.xml to include tapestry filter)

The above steps are common and you would have done it as well. Now if you
run this application now as a google web application (run as/debug as>google
web application), you will get the error that you posted.

Instead use jetty launcher and configure the webapp folder path to your
'war' folder path... now launch your app in jetty and everything will work
fine. Since it is still a google app engine project in eclipse, you can use
the eclipse plugin to upload it to your.appspot.com

- keerthy

On Sun, Apr 26, 2009 at 9:20 PM, hedinges  wrote:

  

Are there any updates about this error?

I am also trying to setup tapestry 5.0.18 on GAE but I am stuck with the
same error.


java.lang.NoClassDefFoundError:
org/apache/tapestry5/corelib/components/Loop$1
   at
org.apache.tapestry5.corelib.components.Loop.(Loop.java:42)
   at




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



[ANNOUNCE] Apache Tapestry 5.1.0.5 (stable release)

2009-05-07 Thread Howard Lewis Ship
The stable release for Apache Tapestry 5.1, release 5.1.0.5, is now
available for download.

Apache Tapestry is an open-source, component-based web application
framework for Java. It features concise templates, minimal amounts of
Java code, high performance, and important productivity features such
as live class reloading.

Tapestry 5.1 includes a large number of improvements to the speed and
scalability of Tapestry without sacrificing backwards compatibility.
However, you should still consult the upgrade notes that identify a
couple of minor "gotchas".

Major improvements from Tapestry 5.0 to Tapestry 5.1:

* Performance optimizations that speed rendering of very complex
pages, and reduce memory usage
* Static JavaScript libraries will now be dynamically combined
into a single request
* Automatic GZIP compression of static and dynamic content, for
clients that support it
* Significant improvements to Tapestry's property expression language
* Partial page updates (via Ajax) may now update multiple client-side Zones
* Many new features and improvements to Tapestry template files
* Improved client- and server-side validation of numeric input values
* User's preferred locale is now encoded into the URL, rather than
stored in a cookie
* A new ProgressiveDisplay component for incremental page loading
* Vastly improved Quickstart Archetype
* New Tapestry IoC features to make it easier to override services
and contributions to service configurations
* Many new localizations of validation messages
* Component reference documentation now identifies events
triggered by components
* Really slick new client-side logging facility (based on Blackbird)
* New API for URL rewriting (to provide improved control over Tapestry URLs)

... and many, many more bug fixes and improvements; full details are
available in the release notes.

Home page: http://tapestry.apache.org/tapestry5.1/
Upgrade notes: http://tapestry.apache.org/tapestry5.1/upgrade.html
Release notes: http://tapestry.apache.org/tapestry5.1/release-notes.html
Download page: http://tapestry.apache.org/download.html

Also available via Maven:

 
org.apache.tapestry
tapestry-core
5.1.0.5
  


-- 
Howard M. Lewis Ship

Creator of Apache Tapestry
Director of Open Source Technology at Formos

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



Re: mac os x gzip compression 5.1

2009-05-07 Thread Howard Lewis Ship
Yes: clean up your deployment to get rid fo the 5.0.18 JARs.

On Thu, May 7, 2009 at 4:27 AM, Magnus Rundberget  wrote:
> Hi,
>
> I have a 5.0.18 App i tried upgrading to 5.1.0.5.
>
> Using zones extensively.
>
> When I try to invoke anything using a zone I get the following error;
>
> A component event handler method returned the value Block[Body of
> report/ViewReportNodes:output, at
> classpath:no/mil/ferdaball/web/pages/report/ViewReportNodes.tml, line 21].
> Return type org.apache.tapestry5.internal.structure.BlockImpl can not be
> handled. Configured return types are java.lang.Class, java.lang.String,
> java.net.URL, org.apache.tapestry5.Link,
> org.apache.tapestry5.StreamResponse, org.apache.tapestry5.runtime.Component.
>
>
> I´ve tried;
> - FF 3.0.10
> - Safari: 3.2.1
>
> running with IE6 on WinXP seems to work fine.
>
> any pointers ?
>
> cheers
> Magnus
> -
> 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
Director of Open Source Technology at Formos

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



Re: Problem using BeanEditForm: empty form

2009-05-07 Thread Otho
If the read only is by design you could also use BeanDisplay component.

2009/5/7 Thiago H. de Paula Figueiredo 

> On Thu, May 7, 2009 at 2:40 AM, Anton Marchenkov  wrote:
> > Hi!
>
> Hi!
>
> > My TariffData.java interface looks as follows:
> >
> > public interface TariffData {
> >
> >Integer getId();
> >
> >Long getFix();
> >
> >Double getCoeff();
> >
> >Long getMin();
> >
> >Long getMax();
> > }
>
> BeanEditor/BeanEditForm only work on read/write properties, and our
> TariffData just have read-only ones.
>
> --
> Thiago
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


Re: newbie needs some advice/ build-in components not loaded by server

2009-05-07 Thread Thiago H. de Paula Figueiredo
It looks like you have some corrupted JAR or messed up dependencies.
By the way, instead of using JBoss from the beginning, try using
Jetty. It won't make any difference while developing your web
interface in Tapestry, but it will make solve some common environment
problems easier.

-- 
Thiago

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



newbie needs some advice/ build-in components not loaded by server

2009-05-07 Thread Yvonne Olbrich
Hi all,

I have been trying for 3 days now to work out the easy example from
the site for Tapestry 5.

Index.tml
---
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>

tutorial1 Start Page


tutorial1 Start Page

 This is the start page for this application, a good place
to start your modifications.
Just to prove this is live: 

 The current time is: ${currentTime}. 



[refresh]





and I removed all error messages until this very last one. I use
Eclipse and JBOSS 5.0.1 GA to try and build my own small app after the
examples, but I ran into a problem which I did not find on any of the
mailing lists nor in the archive. The app finds my pages/Index.java
class and the Index.tml alright and ${currentTime} is rendered but as
soon as I add any tag here  I get an error.


"Unable to resolve 'pagelink' to a component class name.  Available
component types: (none)."

and after that I get the same error for 'ExceptionReport' which of
course is also a component...
--

I really don't know what else to do ...

Has anyone of you an idea why the components are not loaded? I know
they are in the core.jar as the Filter class is, but they are
obviously not found anyway

starting info of console has no error:
--
14:17:17,109 INFO  [ComponentClassResolver] Available pages:
(blank): de.aops.pages.Index
Index: de.aops.pages.Index
14:17:17,140 INFO  [TapestryFilter] Startup status:Application
'tapestry' (Tapestry version 5.0.18).

Startup time: 422 ms to build IoC Registry, 1.141 ms overall.

Startup services status:
 ActionRenderResponseGenerator: DEFINED
  AjaxComponentEventRequestHandler: DEFINED
 AjaxComponentEventResultProcessor: DEFINED
   AjaxPartialResponseRenderer: DEFINED
 Alias: REAL
AliasOverrides: REAL
   ApplicationDefaults: REAL
ApplicationGlobals: REAL
ApplicationInitializer: REAL
   ApplicationStateManager: DEFINED
 ApplicationStatePersistenceStrategySource: DEFINED
   AspectDecorator: DEFINED
   AssetBindingFactory: DEFINED
   AssetObjectProvider: REAL
   AssetSource: VIRTUAL
 BaseURLSource: DEFINED
   BeanBlockOverrideSource: DEFINED
   BeanBlockSource: DEFINED
   BeanModelSource: DEFINED
 BindingSource: DEFINED
  ChainBuilder: VIRTUAL
  ClassFactory: BUILTIN
  ClassNameLocator: REAL
ClasspathAssetAliasManager: DEFINED
 ClasspathAssetFactory: DEFINED
 ClasspathURLConverter: REAL
  ClientPersistentFieldStorage: DEFINED
 ClientPersistentFieldStrategy: DEFINED
   ComponentClassCache: DEFINED
 ComponentClassFactory: DEFINED
ComponentClassResolver: REAL
 ComponentClassTransformWorker: DEFINED
 ComponentClassTransformer: VIRTUAL
  ComponentDefaultProvider: DEFINED
  ComponentEventRequestHandler: DEFINED
 ComponentEventResultProcessor: DEFINED
  ComponentInstanceResultProcessor: DEFINED
   ComponentInstantiatorSource: REAL
ComponentInvocationMap: DEFINED
   ComponentMessagesSource: DEFINED
   ComponentSource: DEFINED
   ComponentTemplateSource: VIRTUAL
   Context: DEFINED
   ContextAssetFactory: DEFINED
ContextPathEncoder: DEFINED
   ContextValueEncoder: DEFINED
CookieSink: DEFINED
  CookieSource: DEFINED
   Cookies: DEFINED
 CtClassSource: DEFINED
  DataTypeAnalyzer: DEFINED
   DefaultDataTypeAnalyzer: DEFINED
DefaultFileItemFactory: DEFINED
  DefaultImplementationBuilder: VIRTUAL
   EndOfRequestListenerHub: DEFINED
   Environment: VIRTUAL
EnvironmentalShadowBuilder: VIRTUAL
 ExceptionAnalyzer: DEFINED
  ExceptionTracker: DEFINED
   FactoryDefaults: REAL
 FieldTranslatorSour

Re: Problem using BeanEditForm: empty form

2009-05-07 Thread Thiago H. de Paula Figueiredo
On Thu, May 7, 2009 at 2:40 AM, Anton Marchenkov  wrote:
> Hi!

Hi!

> My TariffData.java interface looks as follows:
>
> public interface TariffData {
>
>    Integer getId();
>
>    Long getFix();
>
>    Double getCoeff();
>
>    Long getMin();
>
>    Long getMax();
> }

BeanEditor/BeanEditForm only work on read/write properties, and our
TariffData just have read-only ones.

-- 
Thiago

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



mac os x gzip compression 5.1

2009-05-07 Thread Magnus Rundberget

Hi,

I have a 5.0.18 App i tried upgrading to 5.1.0.5.

Using zones extensively.

When I try to invoke anything using a zone I get the following error;

A component event handler method returned the value Block[Body of  
report/ViewReportNodes:output, at classpath:no/mil/ferdaball/web/pages/ 
report/ViewReportNodes.tml, line 21]. Return type  
org.apache.tapestry5.internal.structure.BlockImpl can not be handled.  
Configured return types are java.lang.Class, java.lang.String,  
java.net.URL, org.apache.tapestry5.Link,  
org.apache.tapestry5.StreamResponse,  
org.apache.tapestry5.runtime.Component.



I´ve tried;
- FF 3.0.10
- Safari: 3.2.1

running with IE6 on WinXP seems to work fine.

any pointers ?

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



Re: t5: use image for submit

2009-05-07 Thread Ulrich Stärk

Am 07.05.2009 11:57 schrieb Angelo Chen:

Hi,

Is there a way to use image for submit? seems, we have only 






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



t5: use image for submit

2009-05-07 Thread Angelo Chen

Hi,

Is there a way to use image for submit? seems, we have only 

-- 
View this message in context: 
http://www.nabble.com/t5%3A-use-image-for-submit-tp23423549p23423549.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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