Skip to main content
1-Visitor
October 23, 2012
Question

Compatability Arbortext Editor 5.3 & J2EE

  • October 23, 2012
  • 5 replies
  • 1142 views

Hi,


I've been assigned for UI enhancement for Arbortext Editor. When the user opens a document with the help of Menu item, system opens a widow providing options to filter the documents. I need to customize this with more user friendly.
Here Iam looking for suggestion on the environment to be used for UI customization. Can I use J2EE to achieve our requirement. If so, how can i invoke an .ear from Arbortext editor.
It would be really helpful, if you provide some pointers to refer to pickup my task quickly.


Thanks,
Samba.

    5 replies

    1-Visitor
    October 23, 2012
    I'm not sure about invoking an ear, but you can certainly reference a
    custom jar in the custom/classes folder.

    Typically, XUI is used to make customizations within Arbortext. XUI is
    pretty full featured, and ties in fairly nicely with Java. (Have a look at
    www.adepters.org for examples from this list, as well as provided examples
    in the samples dir)

    The XUI controls aren't as full-featured as ones you might get using main
    Java packages, but are sufficient for most implementations. I would also
    caution the use of non-XUI for UI within Arbortext. We have some controls
    that we converted from Swing to XUI after having dialogs popup behind the
    editor. Even with some javascript to force them on top, they're not truly
    modal, and don't show a taskbar icon, leading the user to think Arbortext
    is frozen.

    - keith

    On Tue, Oct 23, 2012 at 9:39 AM, SAMBASIVARAO MEDAVARAPU <
    sambasivarao.medavarapu@oracle.com> wrote:

    > Hi,
    >
    > I've been assigned for UI enhancement for Arbortext Editor. When the user
    > opens a document with the help of Menu item, system opens a widow providing
    > options to filter the documents. I need to customize this with more user
    > friendly.
    > Here Iam looking for suggestion on the environment to be used for UI
    > customization. Can I use J2EE to achieve our requirement. If so, how can i
    > invoke an .ear from Arbortext editor.
    > It would be really helpful, if you provide some pointers to refer to
    > pickup my task quickly.
    >
    > Thanks,
    > Samba.
    >
    1-Visitor
    October 23, 2012
    My users have been noticing several cases where they open a file to edit, but Arbortext Editor is reporting the file is already open for edit. The problem is, no one else might be editing the file at that time.
    Is there any way to either detect who has the file already open or, if a file lock is being used, where the lock might be maintained?

    We are using AE 5.3M10 on PCs running XP with local licenses.

    To attack a solution I'm trying
    1) To determine how the application on one user's PC is aware of the file being opened on another user's PC; no obvious or hidden lock files seem to exit.
    2) When no-one else is editing the file, but AE reports that it is already open, can AE be forced to open the file for edit?

    I'd appreciate any help.

    Robert Paisley, MSCS, MSSE
    Northrop-Grumman
    It is well to remember that the entire universe,
    with one trifling exception,
    is composed of others. - John Andrew Holmes


    1-Visitor
    October 23, 2012
    I've found "handle" to be a very useful app for determining the locking
    process:
    1-Visitor
    October 23, 2012
    Oh, and if it's a network lock, "net file" from the cmd line might work as
    well.

    1-Visitor
    October 30, 2012
    Wanted to get back on what I learned.
    We store our SGML documents on a UNIX server running SAMBA. If you use the smbstatus command together with some simple grep, sed and cut commands you can get the uid for the file, if it is already open. From there the username can be deduced; depending on how your network is designed, you get at that mapping via /etc/passwd, LDAP, ect.


    I have a slightly more vexing problem now when two Authors open the same file; the file is writable access on the drive. Arbortext editor reports, on the second opening, that a file is already open and do i want to open it read-only. I respond yes, the file opens, it is noted as READ in the status. Fine, but now how do i detect, via ACL code, the document is read-only after it is opened? I tried the doc_read_only() command, but it always returns that it is NOT read-only.

    Any other ideas, I've burned through all of the documentation and it does not seem to indicate any other command might exist. I need to use ACL for this task.

    Robert Paisley, MSCS, MSSE
    Northrop-Grumman