[Kss-devel] form and kssattr in request
Godefroid Chapelle
gotcha at bubblenet.be
Sat May 3 18:09:20 CEST 2008
Vladislav Vorobiev wrote:
> 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.
I do not understand what you mean here...
I suspect there is a language issue.
Can you try to explain better ?
--
Godefroid Chapelle (aka __gotcha) http://bubblenet.be
More information about the Kss-devel
mailing list