Do we need to update Orbeon? - orbeon

We are trying to use the fr:error-summary component inside a 4 year old orbeon project but we can't make it work. We get the following error message:
Error Message
Cannot load "/xbl/orbeon/error-summary/error-summary.xbl" with webapp loader
Exception Class org.orbeon.oxf.resources.ResourceNotFoundException
The project is now using orbeon v3.7.1 and exist v1.3. Is this error due to an out-of-date build of orbeon? If not, how can orbeon be configured in order to make these lines work?
<fr:error-summary observer="my-group">
<fr:label>Your Form Contains the Following Errors</fr:label>
</fr:error-summary>
Thanks in advance!!

In short, you can't use fr:error-summary in 3.7.1 because it was not available as an separate, reusable component in that release.
You can see how it's hooked up in Form Runner in 3.7.1 here and here.

Related

Springcloud data flow 2.9.3 delete the TriggerProperties

REcently upgraded my springcloud data flow version and I cant configure the trigger sources.
2.1.0 version
I cant configure it now... any help please ?
Thanks!!
The application properties were removed in favor of common spring integration properties. We will look into adding these to the property dialog. Meanwhile, you should be able to manually type them into the stream definition or set as deployment properties. https://github.com/spring-projects/spring-boot/blob/main/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/integration/IntegrationProperties.java#L325 e.g., --spring.integration.poller.fixedDelay=2000

Error running Form Builder on Ubuntu

I have downloaded Orbeon Form builder Community Edition 4.3 and deployed the orbeon.war in Ubuntu OS. The home page is loaded. When i click on the Form Builder image it keeps loading for quite a long time and shows an error - "Orbeon Forms - An Error has Occurred". I could not resolve the problem. Please help me identify the problem with my system configuration. Please let me know if I have to change any firewall settings in my system.
Thanks.
There is not enough information in your question to provide a definitive answer, but here are a few suggestions:
Make sure you're using Oracle Java.
Make sure the WEB-INF/exist-data directory is writable. (This is where the embedded database eXist will write the forms/data when using Form Builder, at least by default.)
Check the orbeon.log after you tried to access Form Builder. Are there any errors?

ORA-000904:"ATTRIBUTE". Invalid identifier 00904.00000-"%s:invalid identifier"

One of our client is getting error ORA-000904:"ATTRIBUTE". Invalid identifier 00904.00000-"%s:invalid identifier" while running script for creating the trigger in Oracle SQL Developer. I searched for this in the forums......i got this happens when using 1.5.4 version of oracle with the oracle9i. If they use 1.5.3 or lower version of Oracle SQL developer then this can be resolved.
But they tried 1.5.3 also but they are still facing the issue. They are also telling that this is happening due to the SHOW ERROR command after the Trigger Definition.
Can anybody have the idea about this???please help me...Thanks in advance
The error indicates that the trigger is referring to an identifier called ATTRIBUTE that does not exist in the current scope. If you post the code, we can be more specific, but I would guess that the trigger is incorrectly expecting a table to have a column named ATTRIBUTE or that the code is trying to use a local variable ATTRIBUTE that has not been declared.

Using a created report with iReport 4.5.0 gives 'Invalid content..' how to fix?

i am trying to use the JasperReports plugin with my Grails app, but
unfortunately i am running into problems. I create a report with iReport, load that into my app and then when calling the report i get an error like:
'Invalid content was found starting with element 'paragraph'. No child
element is expected at this point'
I remove the paragraph elements and then it seems to work, but that
involves a manual modification outside of iReport.
I guess this is a non-Grails issue but also can imagine that people
are having the same problem.
Does anyone have a solution to this?

Grails using a package to hold domain classes

Grails question: Confused about using a package to hold domain classes.
I'm using Netbeans on Mac to check out Grails.
When I create domain classes without using a package holding it, I can just go to localhost:8080/gTunes and the expected .gsp page is rendered properly.
However when I use a package (com.g2one.gtunes) to hold a domain class (Song), I don't see the .gsp page when I go to localhost:8080/gTunes. Instead I see a Directory view of folders/files such as META-INF, WEB-INF, etc. In order to see the expected .gsp page, I have to type in the specific URL localhost:8080/gTunes/index.gsp
In my research I've seen people talk about adding the following line but I can't figure out where to add it.
<%#page import="path.to.domains.*"%>
Any help is appreciated.
Thank you.
You need to add that import to the top of your GSP pages that use the domain class that you put in a package. Don't forget you'll also need an import in your controllers unless that are in the same package.
Add the specified line as the very first line in the GSP you are trying to render (show).
Figured out why I way I was having this issue. I'm going through Definitive Guide to Grails 2nd Edt on mac with NetBeans. I ran into this problem when I
created 'gtunes' project at /Users/name/NetBeans/gtunes
deleted 'gtunes' project and /Users/name/NetBeans/gtunes
created another project with same name at /Users/name/NetBeans/gtunes. I type in some code and run it and I run into the error I posted.
To get around this error,
I create 'gtunes' project located at /Users/name/NetBeans/gtunes
I right click on 'gtunes' project in NetBeans, issue 'Clean' command. Than I see some files are removed from ~/.grails/... in Output window
I right click on Album.groovy (possibly Song.groovy also) and issue 'Generate Views', NOT 'Generate All'
Run the project and it works!
Thanks all for comments and hopefully my mistake will help others avoid same mistake.

Resources