[Kss-devel] form and kssattr in request

Vladislav Vorobiev mymir.org at googlemail.com
Fri May 2 12:29:31 CEST 2008


2008/5/2 Godefroid Chapelle <gotcha at bubblenet.be>:
>
> Vladislav Vorobiev wrote:
>
> > Hi,
> >
> > I hope this list is right for my concern.
> >
> > I try to send parameter from "form" *and* kssattr.
> >
> > Something like this:
> >
> > <form>
> > <input name="bla' value="bla" />
> > <div class="inlineEdit kssattr-inputId-email">blabla</div>
> > </form>
> >
> > My kss:
> >
> > .inlineEdit:click {
> > action-server: inlineEdit;
> > inlineEdit-value: currentFormVar(value);
> > inlineEdit-inputId: kssAttr(inputId);
> > }
> >
> > It does not work. inlineEdit script get only inputId in the request.
> > It need form variables too.
> >
> > Any Ideas? How I can do this?
> >
> >
>
>  This should be :
>
>
>  .inlineEdit:click {
>     action-server: inlineEdit;
>     inlineEdit-value: currentFormVar(bla);
>     inlineEdit-inputId: kssAttr(inputId);
>  }
>
>  because the argument to currentFormVar value provider is the input "name"
>

Hi,
Thanks but it is not quite the thing.
I need to stick to to form-variables my variable inputId.
--
Best Regards
Vlad Vorobiev


More information about the Kss-devel mailing list