Marc,

Just a heads up in case... 

I am not sure if this was fixed in 2.2 release but in 2.2-b3, setting
case folding to none has the effect of causing a problem with forms
submitted with image buttons. The name attribute of the <input
type="image" ... /> tag has a .x= and .y= appended to it for the image
position which is stripped off by code in the formatString method of
ActionEvent.java. If case folding is set to none the .x and .y parts are
not stripped and the form submit fails.

I posted a note with my 'it works for me fix', about this on 16th
September 2002 but had no response so it may not have found its way into
the release. On the other hand I may have missed something so stupid
no-one wished to put me out of my misery!

Regards,

Peter  




On Mon, 2003-01-13 at 22:27, Marc Lustig wrote:
> Solution was to replace url.case.folding=lower with url.case.folding=none in
> tr.props.
> lower was set by default.
> 
> Marc
> 
> > -----Ursprungliche Nachricht-----
> > Von: Marc Lustig [mailto:[EMAIL PROTECTED]]
> > Gesendet: Montag, 13. Januar 2003 22:43
> > An: Turbine Users List; [EMAIL PROTECTED]
> > Betreff: AW: how to specify action-method in href-link
> >
> >
> >
> > Wei He wrote:
> >
> > > The syntax in path info to mimic a submit is eventSubmit_doSomething, so
> > > the line should read,
> > >
> > > <a
> > > href="$link.setPage("test.vm").setAction("SomeAction").addPathInfo
> > > ("eventSubmit_doSomethingonanobject","bla").addPathInfo("SomeData"
> > > ,"123")">test</a>
> > >
> > > It worked for me.  You can add more addPathInfo() clause after setPage()
> > > as well.  But make sure that addPathInfo("eventSubmit_doSomething","")
> > > immediately follows the setAction("") clause.
> >
> > I tried that, but what happens is that addPathInfo translates all to
> > lower-case:
> > for example addPathInfo("eventSubmit_doProjekt_anlegen","bla")
> > translates to
> > eventsubmit_doprojekt_anlegen/bla/
> >
> > As a result the action-method cannot be found.
> > Any suggestion?
> >
> > Marc
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- 
Peter Courcoux <[EMAIL PROTECTED]>

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

Reply via email to