Hi,
I presume MyAdapter implements the SqueezeAdaptor interface. The
getPrefix() method in that class should return the character(s) that
will be used to identify the class.
See org.apache.tapestry.util.io.ByteAdaptor for a sample.
Please note that Tapestry already registers the following characters,
thus your code must be something different:
b c d f l s t
A B O S Z
0 1 2 3 4 5 6 7 8 9 -
Derek Brown wrote:
I tried this in my hivemodule file:
<contribution
configuration-id="tapestry.data.SqueezeAdaptors">
<adaptor object="service:MyAdapter"/>
</contribution>
But it always gives me this error:
java.lang.IllegalArgumentException
An adaptor for prefix '' is already registered.
Is DataSqueezerImpl reloading everything? How do I do
this properly.
Thanks
--- Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
It is now done via a configuration point:
http://jakarta.apache.org/tapestry/tapestry/hivedocs/config/tapestry.data.SqueezeAdaptors.html
On 10/22/05, Derek Brown <[EMAIL PROTECTED]> wrote:
Hello,
What is the proper way to register a new squeeze
adapter with tapestry? The register method seems
to
have disappeared.
Thanks
__________________________________
Start your day with Yahoo! - Make it your home
page!
http://www.yahoo.com/r/hs
---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
Professional Tapestry training, mentoring, support
and project work. http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
---------------------------------------------------------------------
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]