• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Auto-generate textField with AjaxObserveFiled and AjaxUpdateComponent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Auto-generate textField with AjaxObserveFiled and AjaxUpdateComponent


  • Subject: Re: Auto-generate textField with AjaxObserveFiled and AjaxUpdateComponent
  • From: "Jérémy DE ROYER [INGENCYS]" <email@hidden>
  • Date: Wed, 14 Sep 2011 09:55:08 +0200

Hello,

I don't use 'wo', just 'webobject' but sometimes it's easier to use


           <wo:if condition = "$session.motClef"> <webobject name = "mOF1"><wo:textField name = "motclef2" id = "motCle2" value = "$session.motClef1" /></webobject> </wo:if>

so you don't have to take care of observeFieldID because it observes the filed 'inside'

Jérémy

Le 14 sept. 2011 à 09:30, Raymond NANEON a écrit :

Hi,

I have a little problem to auto-generate textField with AjaxObserveFiled and AjaxUpdateComponent when a textField is filled. This is the code,
" HTML :    
      <table>
        <tr>
          <td class = "texte">&nbsp;Mots clefs&nbsp;:</td>
          <td class = "texte">&nbsp;<wo:textField name = "motclef1" id = "motclef" value = "$session.motClef" />&nbsp; 
          </td>
          <td class = "texte">&nbsp; 
            <wo:if condition = "$session.motClef"> <wo:textField name = "motclef2" id = "motCle2" value = "$session.motClef1" /> </wo:if>
            &nbsp;</td>
          <td class = "texte">&nbsp; 
            <wo name = "mo3UC">
              <wo:conditional condition = "$session.motClef1"> <wo:textField name = "motclef3" id = "motCle3" value = "$session.motClef2" /> </wo:conditional>
            </wo>
            &nbsp;</td>
          <td class = "texte">&nbsp; 
            <wo name = "mo4UC">
              <wo:conditional condition = "$session.motClef2"> <wo:textField name = "motclef4" id = "motCle4" value = "$session.motClef3" /> </wo:conditional>&nbsp; </wo>
          </td>
          <td class = "texte">&nbsp; 
            <wo name = "mo5UC">
              <wo:conditional condition = "$session.motClef3"><wo:textField name = "motclef5" value = "$session.motClef4" /></wo:conditional>&nbsp; </wo>
          </td>
          <td class = "texte">&nbsp; 
            <wo name = "mo6UC">
              <wo:conditional condition = "$session.motClef4"><wo:textField name = "motclef6" value = "$session.motClef5" /></wo:conditional>&nbsp; </wo>
          </td>
        </tr>
        <tr>
          <td class = "texte">&nbsp;&nbsp;</td>
          <td class = "texte">&nbsp;<wo:conditional condition = "$session.motClef5"><wo:textField name = "motclef7" value = "$session.motClef6" /></wo:conditional>&nbsp;</td>
          <td class = "texte">&nbsp;<wo:conditional condition = "$session.motClef6"><wo:textField name = "motclef8" value = "$session.motClef7" /></wo:conditional>&nbsp;</td>
          <td class = "texte">&nbsp;<wo:conditional condition = "$session.motClef7"><wo:textField name = "motclef9" value = "$session.motClef8" /></wo:conditional>&nbsp;</td>
          <td class = "texte">&nbsp;<wo:conditional condition = "$session.motClef8"><wo:textField name = "motclef10" value = "$session.motClef9" /></wo:conditional>&nbsp;</td>
          <td class = "texte">&nbsp;<wo:conditional condition = "$session.motClef9"><wo:textField name = "motclef11" value = "$session.motClef10" /></wo:conditional>&nbsp;</td>
          <td class = "texte">&nbsp;<wo:conditional condition = "$session.motClef11"><wo:textField name = "motclef12" value = "$session.motClef11" /></wo:conditional>&nbsp;</td>
        </tr>
        <wo name = "mOF1" />
        <wo name = "mOF2" />
        <wo name = "mOF3" />
        <wo name = "mOF4" />
        <wo name = "mOF5" />
Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Rép : Re: Auto-generate textField with AjaxObserveFiled and AjaxUpdateComponent
      • From: Raymond NANEON <email@hidden>
References: 
 >Auto-generate textField with AjaxObserveFiled and AjaxUpdateComponent (From: Raymond NANEON <email@hidden>)

  • Prev by Date: Auto-generate textField with AjaxObserveFiled and AjaxUpdateComponent
  • Next by Date: Rép : Re: Auto-generate textField with AjaxObserveFiled and AjaxUpdateComponent
  • Previous by thread: Auto-generate textField with AjaxObserveFiled and AjaxUpdateComponent
  • Next by thread: Rép : Re: Auto-generate textField with AjaxObserveFiled and AjaxUpdateComponent
  • Index(es):
    • Date
    • Thread