primefaces 10

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
jaimeann
Posts: 8
Joined: 22 May 2019, 21:13

23 Apr 2021, 19:14

Hi, I would like to update my application to primefaces 10. Is this possible with the apollo theme?

siris
Posts: 322
Joined: 29 Jul 2019, 13:57

04 May 2021, 12:38

Hi,

Yes you can update your applications with new version. But before update, please make sure you download latest 4.0.0 version from store.

Best Regards,

jaimeann
Posts: 8
Joined: 22 May 2019, 21:13

18 May 2021, 17:27

Hi,

After updating i get an error in ApolloMenuRenderer. The following method gives me an error:

ERROR: The method form(AjaxSource, UIComponent) in the type AjaxRequestBuilder is not applicable for the arguments (String)


protected String createAjaxRequest(FacesContext context, AjaxSource source, UIComponent form) {
UIComponent component = (UIComponent) source;
String clientId = component.getClientId(context);

AjaxRequestBuilder builder = getAjaxRequestBuilder();

builder.init()
.source(clientId)
.form(SearchExpressionFacade.resolveClientId(context, component, source.getForm()))
.process(component, source.getProcess())
.update(component, source.getUpdate())
.async(source.isAsync())
.global(source.isGlobal())
.delay(source.getDelay())
.timeout(source.getTimeout())
.partialSubmit(source.isPartialSubmit(), source.isPartialSubmitSet(), source.getPartialSubmitFilter())
.resetValues(source.isResetValues(), source.isResetValuesSet())
.ignoreAutoUpdate(source.isIgnoreAutoUpdate())
.onstart(source.getOnstart())
.onerror(source.getOnerror())
.onsuccess(source.getOnsuccess())
.oncomplete(source.getOncomplete())
.params(component);

if (form != null) {
builder.form(form.getClientId(context));
}

builder.preventDefault();

return builder.build();
}

siris
Posts: 322
Joined: 29 Jul 2019, 13:57

20 May 2021, 13:29

Hi,

Which version of PrimeFaces have you tried with? And if you ran it in your own project, could you please check that you have updated the menu files?

Post Reply

Return to “Apollo - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests