Hi all,

Is it possible to add ajax inside uitags tags??

I am trying to create a page in struts including uitags and ajax, but it doesn't work. And I don't know if what I'm trying to do is possible or not.

I have a form with:

1. An html:select, which shows some access control list

<html:select property="idAcl" onchange="retrieveURL('../../getProjects.do?acl=' + this.value);">
    <html:option value="Select">Select</html:option>
<html:options collection="listAllAcls" property="idAcl" labelProperty="name"/>
</html:select>

2. A option transfer from uitags. Depending on the access control list selected, the selects inside the uic:optionTransfer should be different.

<uic:optionTransfer>
   <div>
       <TR>
           <TD><fmt:message key="agregarProyectosAGrupo.proyectos"/></TD>
           <TD></TD>
<TD><fmt:message key="agregarProyectosAGrupo.grupoEnProyectos"/></TD>
       </TR>
       <TR>
           <TD>
               /*<html:select property="source" multiple="true">
<html:options collection="listAllProjects" property="idProject" labelProperty="name"/>
               </html:select>*/

               <span name="projects"></span>
<uic:source injectTo="source" />
 ......
 ......
 ......

If I put the <span name="projects"></span> out of the <uic:optionTransfer>, when I select an acl in the first select, then I can see the second select, but not if it is inside the uic tag. I only can see the select inside the uic tag if I don't comment what is now comment, but then the info don't depend of the first select.

Is is possible to do it as I am trying? If not, is there any other solution?

Any help would be appreciated.
Regards,
Paco

_________________________________________________________________
Acepta el reto MSN Premium: Correos más divertidos con fotos y textos increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis. http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_correosmasdivertidos


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to