I have introduced my own test squeezer, to try and get the hang of it. But so far I'm not getting it.
The squeezer is working, I've introduced it in hivemodule.xml, and it runs (I see the logging) when I load my page. It creates hidden values in html with texts like this: "VCmy.package.MyClass:110", the class name and the unique id, from my base class. When I submit the form, the unsqueeze method returns instances of my.package.MyClass, with its "id" property set to the correct value. But in my form listener, the collection containing these objects is empty. Any clues? On 1/12/06, Alan Chandler <[EMAIL PROTECTED]> wrote: > > On Wednesday 11 January 2006 19:47, Alan Chandler wrote: > > I am wanting to take a friendly URL of the form /MyApp/view/somestring > ... > > > > But that has failed - saying there is no strategy for unsqueezing > strings. > > So I am now stuck > > > > Where do I go next???????? > > > Cracked it. I realised after looking at the DataSqeezerUtil class that I > needed to register a new StringAdaptor with the DataSqueezerImpl > > All is working perfectly now:-) > -- > Alan Chandler > http://www.chandlerfamily.org.uk > Open Source. It's the difference between trust and antitrust. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
