[Kss-devel] form and kssattr in request
Godefroid Chapelle
gotcha at bubblenet.be
Mon May 5 17:41:33 CEST 2008
Vladislav Vorobiev wrote:
>
> Hi,
> try to explain it better...
>
> I have to send a form to my ServerScript
Could you show an example of your server side method ?
like :
def inlineEdit(s....):
that might help to uderstand...
> Something like this:
>
> <form>
> <input name="bla' value="bla" /> <input name="bla2' value="bla"
> /><input name="bla3' value="bla" /> ect…
> <div class="inlineEdit kssattr-inputId-email">blabla</div>
> <div class="inlineEdit kssattr-inputId-tel">blabla</div>
> <div class="inlineEdit kssattr-inputId-post">blabla</div>
> </form>
>
> My kss for this statement looks like this.
>
> .inlineEdit:click {
> action-server: inlineEdit;
> inlineEdit-value: currentFormVar(value);
> inlineEdit-inputId: kssAttr(inputId);
> }
>
> This is all I can send :currentFormVar(value) or kssAttr(inputId).
There are other value providers :
look at
http://codespeak.net/svn/kukit/docs/introducing_kss/trunk/3-shipped-kss-plugins.txt
and search for parameter providers (they have been renamed value
providers since then).
>
> I want add more variables to my form respectively REQUEST.
>
> The nominee construction is probably works, but it's not realy what I
> want. The thing is I have to make kss statement for every different
> forms on my site. It would be more dynamically if I'm able to attach
> kssattr on my form.
>
> Hope you got it.)
>
> Exuse me for my English
>
We all do our best...
> Vlad
--
Godefroid Chapelle (aka __gotcha) http://bubblenet.be
More information about the Kss-devel
mailing list