As xsd describes, "target-parameter" of a lookup field can be used to transfer extra parameters to lookup something. But if we choose "layer" mode (the default mode of lookup), this attribute does nothing. It works before jQuery introduced. I guess this feature is forgot by mistake during migration.
JLR: Nice catch! Actually IIRW it's because this has been introduced in trunk after we migrated this part in the jQuery branch and it passed "hidden" when I merged the trunk in branch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062709 13f79535-47bb-0310-9956-ffa450edef68
A Groovysh container to connect to. Just do a 'telnet localhost 9991' and you have a fully fledged groovysh.
This is a Groovy equivalent to the already existing BeanShell container.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062476 13f79535-47bb-0310-9956-ffa450edef68
I have changed ModelInfo.getCopyright() in order to automatize (I believe the copyright is always valid so we don't care about the date really used, if you disagree please let me know, I have a doubt about this...)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061886 13f79535-47bb-0310-9956-ffa450edef68
To configure SagePay payment gateway transaction types settings.
JLR: this patch contains a bit of labels redundancy, but I prefer to keep them as is. At least it's verbs in Common and can be reused... (why have a Payment label in each app...)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061728 13f79535-47bb-0310-9956-ffa450edef68
Fix using TagLib in freemarker follow this.
1. In ControlServlet.java, create ServletContextHashModel instance and set to request's attritube
2. In ScreenRenderer.java, set ServletContextHashModel instance from request's attribute to context name Application and set HttpRequestHashModel instance from requestAttributes in context to context name Request
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061310 13f79535-47bb-0310-9956-ffa450edef68
I got a request to export a BIRT report as PDF file with custom file name. I attach a patch file for this feature.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061295 13f79535-47bb-0310-9956-ffa450edef68
By adding id attribute in the <a> tag then its helpful for developers to perform action on it using js or css.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060229 13f79535-47bb-0310-9956-ffa450edef68
I reorganized the main style sheet and pushed the deprecated styles down to the bottom. I also moved the jQuery styles to a separate file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059564 13f79535-47bb-0310-9956-ffa450edef68
Based on a recent dev mailing list discussion, I added a page to the Example component that demonstrates some basic layout concepts. The idea is to display the page, then look at the screen widget definition and the HTML markup to see how the page is constructed.
The page can also be used for visual theme development - because most of the common UI elements are all on one page.
This could be improved - it needs a multi-column layout example, a tree widget example, and a form widget field group example.
Internationalization note: This commit contains new UI labels.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059429 13f79535-47bb-0310-9956-ffa450edef68
Fixes some bugs in CMS introduced in svn r1036195 when migrating from dojo to jQuery:
* reverted accidental logic change in callDocument() that broke the "new ..." context menu items
* making elRTE "save" toolbar button work: same behavior as the regular "Save" button
* using regular form submit instead of ajax for new content for now
o ajaxSubmitForm() can't handle new content, it won't reload the form because it doesn't know the new contentId
+ some controller changes would probably be necessary to make that work (return new contentId as JSON)
o nav tree is not updated with ajax submit currently
* now always creating editor if corresponsing html element exists
o editor was not initialized when WebSiteCMSContent screen was loaded by non-ajax call
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058197 13f79535-47bb-0310-9956-ffa450edef68
All cases are now fixed
Also replace all tabs by spaces
JLR: I have fixed another related bug at r1057153 (the 1st one I crossed and is the summary of OFBIZ-4100). It was introduced by r1040908 and I'm afraid there are more unwanted side effects
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057154 13f79535-47bb-0310-9956-ffa450edef68
But in Flat Grey, even when you had the content of the bluelight/help.css in flatgrey/help.css...
I have set the default lookup_popup2 size to width=900 height=700, now that anyway OFBiz is designed to be used with at least a 1024*768 screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056986 13f79535-47bb-0310-9956-ffa450edef68
So WhizzyWig is not needed anymore. I removed also WhizzyWig Notice and while at it Scriptaculous Notice (which should have been removed when we merged jQuery branch)
BTW, is CoolTips Notice still needed?
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056984 13f79535-47bb-0310-9956-ffa450edef68
If there're chinese characters contained in a description field of a lookup textbox with auto-complete feature enabled, then what I can get from auto-completed dropdown box is not unstandable chinese but messed html entities such as "氨" blah blah.
Thanks to Dukian for quick testing!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056977 13f79535-47bb-0310-9956-ffa450edef68
The createEntittyAuditLogSingle function creates a record in the AuditLog entity even when there's no change. This patch only logs new, changed and deleted values. Also, all changes in the same transaction will get the same change date.
After applying this patch the overhead of the AuditEntityLog is recuded from 32% to 25%.
There's even more room for performance increase: a findOne search for the previous entity is done for every field that's enabled.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056973 13f79535-47bb-0310-9956-ffa450edef68