Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to change format style on xml code (JSFF, JSP)

DLopezSep 4 2018 — edited Sep 27 2018

Hi,

I'm trying to change xml code formatin the following file extensions:

- jsff

- jsp

- dcx

to look like this

<af:inputText id="it7"

              value="#{viewScope.printerRecordBean.currentRecord.printerStation}"

              styleClass="input-text input-text--form"

              label="printerStation"/>

instead of all attributes being in line and change line when hits the limit o chars applied.

Is it possible?

How?

Thanks

Comments

Jasmine Lee-Oracle

Hi Richard,
This came up for me recently. The main thing we wanted to do was grab the file name(s) so that it could be displayed on a final summary screen, or in a BI Pub form.
Cheers,
Jasmine

Richard Napier

Hey Jasmine
lovely to see you here. Yes it would be nice to have. It is possible to gain some degree of the information from an extension, if you are interested I’ll post something.
Otherwise we will wait to see if the Christmas elves have something op their sleeves. We should ask the chief elf too!
happy holiday season.

Fiona Guy-Oracle

The Christmas elves suggest you look at what is in the December 2020 monthly update to Intelligent Advisor ("Customize form controls"
What's new in Intelligent Advisor? (0 Bytes)Hope you have a safe and relaxing holiday break,
Fiona

Richard Napier

Hello Chief Elf!
A nice gift, but not quite what I am looking for. The new functionality in the documentation refers to Forms (download behavior, mime type, file name) but not to File Upload Groups. So this adds functionality for downloads so to speak, but not for uploads (the original functionality requested).
Unless I am mistaken this all applies to Forms only:
getFileName() Returns the file name of the form.
getMimeType() Returns the mime type of the form.
click() Triggers the behavior when a form link is clicked.

Scott Heidenreich

We would like to be able to interrogate the meta data for the upload button as well to verify the number of the attachments, get their names for use in forms,

Fiona Guy-Oracle

Apologies - you're right that the 20D feature was for Forms, I got a little ahead of myself (must have needed that holiday!).
We are still working on the upload piece.

Richard Napier
Answer

Hi All
Lovely to see that customUpload made it's way into 21A Monthly Update 1. Oracle Product Development again showing how responsive they are.
Look what we can do now. Thank you very much!
undefined (0 Bytes)

Marked as Answer by Fiona Guy-Oracle · Mar 23 2021
Fiona Guy-Oracle

Very nice!

1 - 8
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 25 2018
Added on Sep 4 2018
11 comments
569 views