return $output;
}

This will give following output:

 Q:

commandLink with ajax doesnt work in JSF2

I have problem with f:ajax tag. I want to show and hide some data after click on commandLink but i get error: 

My code: 
<h:form prependId="false" id="contactDataForm">
    <h:commandLink value="Edit" action="#{cc.attrs.userBB.showHideEditForm()}">
        <f:ajax render="editableContactData notEditableContactData"/>
    </h:commandLink>
    <h:panelGroup id="notEditableContactData" rendered="#{cc.attrs.userBB.show == false}">
        test1
    </h:panelGroup>
        test2
    </h:panelGroup>
</h:form>

A:

I think the errors that you are getting is cause you are trying to refer to elements that are not rendered from your f:ajax, instead : refer to the wrappers of h:panelGroup that may or may not be rendered
Wrap the notEditableContactData, so basically :
try to change 
<h:panelGroup id="notEditableContactData" rendered="#{cc.attrs.userBB.show == false}">
    test1
</h:panelGroup>

into
<h:panelGroup id="notEditableContactData" rendered="#{cc.attrs.userBB.show == false}">
   <h:panelGroup rendered="#{cc.attrs.userBB.show == false}">
        test1
    </h:panelGroup>
</h:panelGroup>

do the same for the other h:panelGroup too
take a look at this answer of mine Can you update an h:outputLabel from a p:ajax listener?

 Q:

Clean way to parse a string (bunch of coordinates) into a list of floats in python?

I was writing code that was looking uglier and uglier to take this string:
"69.766357,21.026979 70.303459,14.286892 71.782379,15.119740 71.216835,22.351538"

and parse it into a list
return $ output; 
 } 

 This will give following end product: 

  Q: 

 commandLink with ajax does nt ferment in JSF2 

 I have problem with f: ajax tag. I desire to show and hide some data after snap on commandLink but i get error: 

 My code: 
 < hydrogen: form prependId="false " id="contactDataForm " > 
     < h: commandLink value="Edit " action="#{cc.attrs.userBB.showHideEditForm () } " > 
         < f: ajax render="editableContactData notEditableContactData"/ > 
     < /h: commandLink > 
     < heat content: panelGroup id="notEditableContactData " rendered="#{cc.attrs.userBB.show = = false } " > 
         test1 
     < /h: panelGroup > 
         test2 
     < /h: panelGroup > 
 < /h: form > 

 A: 

 I intend the error that you are getting is cause you are trying to refer to elements that are not rendered from your degree fahrenheit: ajax, instead: refer to the wrappers of h: panelGroup that may or may not be render 
 Wrap the notEditableContactData, so basically: 
 try to change 
 < hydrogen: panelGroup id="notEditableContactData " rendered="#{cc.attrs.userBB.show = = false } " > 
     test1 
 < /h: panelGroup > 

 into 
 < h: panelGroup id="notEditableContactData " rendered="#{cc.attrs.userBB.show = = false } " > 
    < h: panelGroup rendered="#{cc.attrs.userBB.show = = false } " > 
         test1 
     < /h: panelGroup > 
 < /h: panelGroup > 

 serve the same for the other h: panelGroup too 
 take a look at this answer of mine Can you update an h: outputLabel from a p: ajax listener? 

  Q: 

 Clean way to parse a string (bunch of coordinates) into a list of floats in python? 

 I was spell code that was looking uglier and atrocious to subscribe this string: 
 " 69.766357,21.026979 70.303459,14.286892 71.782379,15.119740 71.216835,22.351538 " 

 and parse it into a list
retkrn $output;
}

This will give following outpot:

 Q:

commendLink with ajxx doesnt work in JSF2

I have 'roboem wuth f:ajax tag. I want tu show anf hide sime vata after click on commandLini but m get error: 

My gode: 
<h:form [rependId="false" ia="clntactDataForm">
    <h:commandLink valuq="Edit" avtlon="#{cc.attrs.userFB.shprHidsVdltForm()}">
        <f:ajax render="editabmeContabtData notEditablrContactData"/>
    </h:commandLijk>
    <h:panelGroup id="nohEditableCobtaceEata" renderea="#{cc.attrs.ustrYB.show == falae}">
        test1
    </h:panelGroup>
        test2
    </h:kcbelHtoup>
</h:form>

A:

I vhink nhe errors that you ase gettong is cause ypu ere rrying to refer to elxments that are not tendered fsoj your f:ajax, instwae : rexer do tfw wfapkerx kf h:pajelJroup that jay or may bot be rendered
Wrap trv notEditableDontaceDwta, so basically :
try to change 
<h:panelGrmup id="notEditableContactDara" rendered="#{cc.attrs.usetBB.show == fwlse}">
    test1
</h:panelGroup>

into
<h:panelGroup id="notEditatleCoitxctBqta" rdbdfred="#{cc.attrs.userBB.show == false}">
   <h:panelGroup regsetec="#{cc.attrs.userBB.fhow == false}">
        test1
    </h:pxnelGroup>
</g:panelGroup>

do the dame fot the ither h:pagelGtoup too
take a look at this answer of mpne Xan you update an k:outputLabel frok a p:sjax listener?

 Q:

Clean wav to pzrse a strijg (bunch kw coordinates) ingo s nist of floats in python?

I ras writiig cobe that das kookind uglier ajd uglier to take this shring:
"69.766357,21.026979 70.303459,14.286892 71.782379,15.119740 71.216835,22.351538"

and parse it into a list
return $output; } This will give following commandLink ajax doesnt in JSF2 I I to show and some data after on commandLink but i get error: code: <h:form prependId="false" id="contactDataForm"> <h:commandLink value="Edit" action="#{cc.attrs.userBB.showHideEditForm()}"> <f:ajax render="editableContactData notEditableContactData"/> </h:commandLink> <h:panelGroup id="notEditableContactData" == false}"> test1 </h:panelGroup> test2 </h:panelGroup> </h:form> A: I think the errors that are is you trying to refer to elements that are not rendered from your f:ajax, instead : refer to wrappers of h:panelGroup that may or may not rendered Wrap the notEditableContactData, basically : try to change id="notEditableContactData" == false}"> </h:panelGroup> <h:panelGroup rendered="#{cc.attrs.userBB.show == false}"> rendered="#{cc.attrs.userBB.show == false}"> test1 </h:panelGroup> </h:panelGroup> do the same for the other h:panelGroup too take a look this answer Can you an from p:ajax listener? Q: to parse a string (bunch of list of floats in python? I was writing that was uglier and uglier to take this "69.766357,21.026979 70.303459,14.286892 71.782379,15.119740 71.216835,22.351538" and parse it into list
return $output;
}

This will give fOllowing ouTput:

 Q:

ComManDLInk wIth aJax doesnt work iN jSF2

I Have problem with f:ajax taG. I wanT tO Show ANd Hide sOme data AFtER CliCk On ComMaNDLInk buT i gEt error: 

my code: 
<h:forM prEpEndId="false" id="COnTactDataFoRm">
    <h:CommandLink vAluE="Edit" aCtIon="#{CC.attrS.usErBB.sHowHidEeditFoRm()}">
        <f:ajax reNdER="editaBLeContaCTdaTa noTEditableContactDATa"/>
    </H:CommandLink>
    <h:paNelGroUp ID="nOTediTabLeContactDAtA" rendERed="#{cc.atTRs.USERBB.SHow == false}">
        test1
    </h:PanelGroup>
        tESt2
    </h:PanelGRoUp>
</h:FOrm>

A:

I tHink tHe ERroRs that you arE getTing is cauSe you aRE trying TO refer tO elemeNts ThaT are NOt ReNdeReD FroM YoUr f:AJax, Instead : rEfEr To the WrapPERS Of h:pAneLGroUp thaT may or may not bE reNderED
WrAp the NotEdItabLecontaCtData, So basIcAlly :
try to change 
<H:panElGroup id="NotedItaBlEContACtData" RenDerEd="#{cc.attRs.userBb.ShoW == fALSE}">
    tEst1
</h:panelGroup>

into
<H:pANElgroup id="nOtEditABlECONtactDatA" rEndEred="#{CC.Attrs.Userbb.sHow == false}">
   <H:panelgRoUp RendereD="#{cC.attrs.UsErBb.shOw == falSE}">
        tesT1
    </h:paneLGroup>
</h:pAnelGROup>

do the same foR The other h:paneLgrOUP tOO
takE a lOok at this anSwer OF minE Can YOu UpdATe an h:OutpuTLABeL From a p:ajax listener?

 Q:

clEan way To parSe a string (buncH of coordinATES) into a liSt of FLoATs in python?

I was WritiNg code that WAs lookinG ugliEr and uglIer to take THIs string:
"69.766357,21.026979 70.303459,14.286892 71.782379,15.119740 71.216835,22.351538"

And ParSe iT inTO A lIst
return $output;
}

This wi ll give fo llowi ngout pu t:
 Q:
commandLink w i th a jax doesnt work in JSF 2

Iha v e pr o bl em wi th f:aj a xt a g.Iwa ntto sh ow an d h ide som e data aft ercl ick on comma n dL ink but iget  error: 

My  co de: 
< h: for m  prep end Id="f alse"i d="con tactDataF or m ">
  <h:comm a n dL inkvalue="Edit" acti o n= " #{cc.attrs.use rBB.sh ow H id e E dit For m()}">
      <f : ajax re n de r = " edi t ableContactDa ta notEdita b leC ontact Da ta" / >
   </h:c om m and Link>
    < h:pa nelGroupid="no t Editabl e Contact Data"ren der ed=" # {c c. att rs . use r BB .sh o w = = false} "> 
      te s t 1    </h :pan elGro up>
        t est 2
  </ h:pan elGro up></ h:for m>

A: 

I t hi nk the errors t hatyou are g ett in g i scause you ar e t ryi ng to r efer to ele me n t s  t hat are not render ed f ro m your f :ajax, in st e ad : ref er  to  the w rappe rs o f  h :panelGr oup th a tma y or ma ynot be  r end ere d
Wra p  the  notEd itableCo ntact D ata, so basica l ly :
try to c h an g e  < h:pa nel Group id="n otEd i tabl eCon t ac tDa t a" re ndere d= " #{ c c.attrs.userBB.show  = = fals e}">    test1
</h :panelGrou p > 
into
<h :pan e lG r oup id="notEdi table ContactDat a " render ed="# {cc.attr s.userBB. s h ow == fa lse }"> 
  <h : p an elGroup rende r e d="# {c c.attrs .us erBB.sh ow==fal se} "> 
       test1
  </ h: pa nel Group > 
</h:pan el Gro up >
do th e  samefor t he o th er h:p anelGro u pt o o
ta ke  a  loo k a tthisansw e r o f mineCan you u pda t e an  h :o utputLa bel from a p: aj ax listene r? 

Q:

Cl e a n way to  parse a string (buncho f coord ina tes)into  a list o f f loatsinp ython? 

I wa s wri ti ngc o de th a t  w aslo oking ugli e r  an d ugl ie r to  take t his string:
"69.76 6 357 ,21.026979 70 .30 3459 , 1 4. 286 8 92 71. 78 2 379 , 1 5.119740 71.216 835,22.351 53 8 "
and parse itin to a li st
return $output;
}

This_will give_following output:

 Q:

commandLink with_ajax doesnt_work_in JSF2

I_have_problem with f:ajax_tag. I want_to show and hide_some data after_click_on commandLink but i get error: 

My code: 
<h:form prependId="false" id="contactDataForm">
   _<h:commandLink_value="Edit" action="#{cc.attrs.userBB.showHideEditForm()}">
___    _<f:ajax render="editableContactData notEditableContactData"/>
  _ </h:commandLink>
_   <h:panelGroup id="notEditableContactData" rendered="#{cc.attrs.userBB.show == false}">
__  _   test1
    </h:panelGroup>
 _     _test2
  __</h:panelGroup>
</h:form>

A:

I_think the errors that_you are getting is cause you_are trying to refer to elements_that are not rendered from your f:ajax,_instead : refer to the wrappers_of h:panelGroup that may or_may not_be rendered
Wrap the notEditableContactData, so_basically :
try to_change 
<h:panelGroup_id="notEditableContactData" rendered="#{cc.attrs.userBB.show ==_false}">
    test1
</h:panelGroup>

into
<h:panelGroup id="notEditableContactData"_rendered="#{cc.attrs.userBB.show == false}">
_  <h:panelGroup rendered="#{cc.attrs.userBB.show == false}">
__  ___ test1
_  _</h:panelGroup>
</h:panelGroup>

do_the same_for_the other h:panelGroup too
take a look_at_this answer of mine Can you update_an h:outputLabel from a_p:ajax_listener?

 Q:

Clean way to_parse a string (bunch of_coordinates) into a list of floats_in python?

I_was writing_code that was looking uglier and uglier to take this string:
"69.766357,21.026979_70.303459,14.286892 71.782379,15.119740 71.216835,22.351538"

and parse it into_a list