[Building Sakai] how to use Ajax in JSF while developing tool for sakai 2.9

Jehan Badshah jehan.badshah at nu.edu.pk
Mon Mar 31 04:19:49 PDT 2014


Yes! faces 1,

when importing faces 2 then project create may problems, any suggesstion
how to use faces 2.

Thanks


On Mon, Mar 31, 2014 at 4:06 PM, Steve Swinsburg
<steve.swinsburg at gmail.com>wrote:

> Is that MyFaces 1 that is being imported? There is no ajax tag in MyFaces
> 1, only in JSF 2. I don't know of anyone using JSF2 in Sakai or if it is
> possible.
>
> regards,
> Steve
>
>
> On Sat, Mar 29, 2014 at 8:42 PM, Jehan Badshah <jehan.badshah at nu.edu.pk>wrote:
>
>> HI
>>
>> how to use Ajax in JSF tool development
>>
>> I use following example but Sakai framework throw jasper exception that *no
>> tag "ajax defined" in tag library imported with prefix "f"*
>>
>>
>> <% taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
>>
>> <h:form>
>>     	   <h:inputText id="name" value="#{helloBean.name}"></h:inputText>
>>     	   <h:commandButton value="Welcome Me">
>>     		 <f:ajax execute="name" render="output" />
>>     	   </h:commandButton>
>>
>>     	   <h2><h:outputText id="output" value="#{helloBean.sayWelcome}" /></h2>	
>>     	</h:form>
>>
>>
>> any other example ?
>>
>>
>>
>> Thanks
>>
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to
>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>> "unsubscribe"
>>
>
>


-- 

Regards
----------------------------------------------------
Jehan Badshah | Team Lead
Sakai Learning and Teaching Environment (SLATE)
URL: http://slate.nu.edu.pk,
National University of Computer and Emerging Sciences
UAN: +92 (0) 51 - 111 128 128 ext 352 and 344
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140331/37acb6fd/attachment.html 


More information about the sakai-dev mailing list