Hans Bakker
ae3fa014f3
another allow safe html
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791207 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 07:38:19 +00:00
Scott Gray
9fa513efcb
Add to new attributes to the Menu Widget's link element:
...
request-confirmation - if set to true displays a dialog requesting confirmation from the user before proceeding
confirmation-message - the confirmation request message to be displayed if the above is set to true
This removes the need to put javascript inside the menu widget when requesting confirmation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791126 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 13:34:18 +00:00
Scott Gray
762e3f6892
Allow disabling of a pagination on-event-update-area element by overriding with a blank target, part of OFBIZ-2661
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791110 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 12:14:30 +00:00
Scott Gray
cfcb6f5feb
Added missing containers required for ajax pagination to the common LookupDecorator, part of OFBIZ-2661
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791104 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 11:17:32 +00:00
Scott Gray
d9c97ff79e
Fix javascript error caused by an unclosed quote mark
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791103 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 11:14:27 +00:00
David E. Jones
9add252033
Added Override annotations as suggested by Adam Heath to avoid missing these again in the future and causing problems
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791054 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 03:21:18 +00:00
Jacopo Cappellato
2645431346
Fix for a bug that was causing layout issues in widget forms definitions containing use-when directives when rendered thru FO.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791046 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 01:35:53 +00:00
Jacopo Cappellato
266bbababb
Misc fixes for the templates of the text widget macro widget renderer. Thanks to Rishi Solanki for the bug report.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790894 13f79535-47bb-0310-9956-ffa450edef68
2009-07-03 13:04:49 +00:00
David E. Jones
1bba575471
Small refactoring, changed so select count uses new entity-condition stuff under the view-entity
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790793 13f79535-47bb-0310-9956-ffa450edef68
2009-07-03 05:30:18 +00:00
David E. Jones
d429bad707
Fixed bug reported by Hans and Adrian that broke the ByAndFinder class where string because method that overrides one on ListFinder wasn't doing that any more because the ListFinder method signature had changed; also did a few little cleanups related to this
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790791 13f79535-47bb-0310-9956-ffa450edef68
2009-07-03 05:14:00 +00:00
David E. Jones
7e981d3cb3
Added ability to specify an entity-condition as part of a view-entity in order to encapsulate a full query definition in a view-entity
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790472 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 06:43:50 +00:00
Adrian Crum
02e3119a5e
iCalendar Help screen and permission bug fix.
...
Last To Do: Make some meaningful demo data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790455 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 03:10:35 +00:00
Adrian Crum
7d300cecc0
Added a UEL function to convert a DOM Node to an HTML String.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790420 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 23:28:55 +00:00
Adam Heath
adeba4fd16
javac gets confused some times.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790045 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 05:55:14 +00:00
Adam Heath
0761a646b6
Handle runtime/output not existing, which happens on a fresh git
...
checkout; clean fails in such cases.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790033 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 03:58:38 +00:00
Adam Heath
0cd05995df
Set the line number on the wrapped operation instance.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790027 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 02:54:01 +00:00
Adam Heath
bc348d0970
Don't need to wrap the containing SimpleMethod, as its operations are
...
will be wrapped.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790026 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 02:41:52 +00:00
Adrian Crum
f83c020c1b
Code cleanup and bug fixes in WebDAV and iCalendar.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789871 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 18:46:10 +00:00
Adam Heath
04c6a9b2b1
New upstream; fixes line numbers in wrap, and improves the css rules
...
matching.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789866 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 18:31:12 +00:00
Jacopo Cappellato
0ca20af910
Added missing </macro> tag. Thanks to Brajesh Patel for the bug report in OFBIZ-2671
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789855 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 18:05:55 +00:00
Adrian Crum
67ee5db3c0
Oops, forgot something.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789835 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 17:21:15 +00:00
Adrian Crum
ddf6086b2f
Code cleanup in UtilXml.java - eliminated some redundant methods. Document, DocumentFragment, and Element all extend the Node interface, so we only need one method that accepts a Node argument.
...
This change is completely backwards compatible.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789830 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 17:07:07 +00:00
Anil Patel
0d20cd3ea8
using method passed in options and default to "get"
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789775 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 14:55:43 +00:00
Hans Bakker
54232da5f2
OFBIZ-2657: implemented the addition of the default 'from' email address
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789652 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 10:19:59 +00:00
Hans Bakker
66d08c768e
only allow 'safe' in in/outgoing email
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789506 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 00:32:24 +00:00
Adrian Crum
5c4ddcf56f
More iCalendar improvements. Added HTTP challenge/response authentication, enforce SSL.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789490 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 23:28:37 +00:00
Adam Heath
28b7598273
Fix english translation(?) of login error message.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789415 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 19:33:17 +00:00
Adam Heath
91130de63f
Add readXmlDocument variants that can store the line/column numbers
...
of elements; nothing uses this yet.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789401 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 18:15:14 +00:00
Adam Heath
dd51c0108b
Add a simple initCause helper method.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789400 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 18:13:19 +00:00
Adam Heath
ca695bb733
Mostly varied generics markup enhancements. A few scattered for-loop
...
changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789397 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 17:48:07 +00:00
Adam Heath
9db067417a
Strings are immuatable, no need to create a new copy of the string.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789396 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 17:45:41 +00:00
Adam Heath
694bfa838b
No longer call rh.makeLink directly; instead, call appendOfbizUrl,
...
which already existed for this purpose. This allows subclasses to
alter the behaviour.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789395 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 17:44:11 +00:00
Adam Heath
47555e158b
Switch one last direct call to appendContentPrefix over to
...
appendContentUrl.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789394 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 17:40:41 +00:00
Adam Heath
c38f64a05f
Switch appendContentUrl to use the writer variant of
...
appendContentPrefix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789393 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 17:38:59 +00:00
Adam Heath
2bfec96a0f
More string optimizations.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789391 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 17:36:54 +00:00
Adam Heath
cedc808624
Some more string optimizations.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789384 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 17:00:44 +00:00
Scott Gray
1d43a59500
Do not save the view if the last view is the same as the current view and saveCurrentView is false
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789303 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 12:05:57 +00:00
David E. Jones
a1b519b5fa
Small change to allow the span tag in safe html
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789233 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 06:49:44 +00:00
Adam Heath
27ba57cc88
No longer call RequestHandler.makeLink, instead calling
...
appendOfbizUrl, so that sub-classes have an easier time of it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789205 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 04:10:22 +00:00
Adam Heath
163506757f
Convert some string additions to StringBuilder.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789203 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 03:30:06 +00:00
Adam Heath
ce1751a60d
Use the variant of ContentUrlTag.appendContentPrefix that takes an
...
Appendable.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789202 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 03:22:53 +00:00
Adam Heath
0e54c940c9
Add a variant of appendContentPrefix that takes an Appendable.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789201 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 03:22:03 +00:00
Adam Heath
758cc25a46
Convert one direct call to ContentUrlTag.appendContentPrefix to the
...
local appendContentUrl.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789200 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 03:17:39 +00:00
Adam Heath
8ad5bb7271
Some string + to StringBuilder changes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789191 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 02:21:05 +00:00
Adam Heath
818ff4987e
Missed some appendable -> + conversions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789186 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 01:47:50 +00:00
Adam Heath
a680a1019c
Don't use + when calling append.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789183 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 01:27:19 +00:00
Adam Heath
2752e89c06
Switch to ContentUrlTag.appendContentPrefix to StringBuilder, and
...
deprecate to the StringBuffer variant.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789177 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 23:50:53 +00:00
Adam Heath
9b9c840047
Improve generics.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789045 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 05:06:30 +00:00
Bruno Busco
43f3bea4ed
Added files with correct extension case
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@788986 13f79535-47bb-0310-9956-ffa450edef68
2009-06-27 14:46:29 +00:00
Bruno Busco
8dda01197d
Oops. Deleted files with wrong extension case. (This would create a problem on Linux)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@788985 13f79535-47bb-0310-9956-ffa450edef68
2009-06-27 14:44:55 +00:00