How to display configuration items as a dropdown list
Hi,
When delivering a repository manager, we need provide a configuration archive (cc.xml and co.xml). For an attribute cc.xml, can we display it as a dropdown list and let user choose the value?
For example, in cc.xml:
<attribute name="Protocol" type="string" default=""/>
I want do display a label "Protocol" before a dropdown list, in which the user can choose from "HTTP" and "HTTPS".
Normally the user can only fill in the blank of the attribute, but I wanna let user choose the value.
Thanks,
Ray
Hi,
I think you cannot change the label on thy fly. The internationalization on other hands should work.
Let's say you have in your <b>XXXX.cc.xml</b> this:
<b><attribute name="param_protocol" type="enum"/></b>
Create in the folder where you have <b>XXXX.cc.xml</b> file a folder <b>bundles</b>. inside this folder, inside this folder another folder <b>classes</b>. Here create a file <b>XXXX.properties</b> (XXXX is from your config name). So you will get this structure:
XXXX.cc.xml
bundles
classes
XXXX.properties
Inside this file you define labels for your properties, in this case:
lbl.param_protocol=Protocol
In fact I haven't tried it in another language, I suppose that creating <b>XXXX_de.properties</b> shold do the trick for DE language and so on.
Hope this helps,
Romano
Similar Messages
-
How to display all items titles from custom list with checkbox to select for each user
Hi All,
I have a requirement in a sharepoint 2013 development project.
A custom list items will be created by admin with the following columns:
Title
Hyperlink
User business unit (This column which is a metadata will be a userprofile property)
In a page/form I have to display the list of titles with a check box based on each user business unit and each user will be allowed to check the list of titles and hit save. And then have to display the list chosen by the user in a webpart.
If they want to modify their list they have to go to the page/form again and will uncheck the list.
Am not sure whether I can achieve this through sharepoint out of box feature, I have not done any custom development.
Please provide your valuable suggestions/ideas on this. Thanks for looking on this !!!Hi,
Per my knowledge, there are no such OOTB features can meet your requirement, however, there is a workaround that if you can modify your requirement a bit.
Based on your description, you want different users be able to select values from a list and generate a list own by them.
If this is what you mean, we can do it like this:
1. Create another list "Users" which stores the names of every users;
2. Create a list "Result" which will be available for every user to add their own items, this list will have four Lookup columns and they look up to the "Users" list and the
list you mentioned before;
3. Users can add items into "Result" list by selecting the needed values from the other two list, then the items he/she created will be connected to them with the help of the
Lookup column which looks up to the "Users" list.
4. You can take use of the OOTB permission management of list to control the access of each item in the "Result" list, and it will be easier for you to manage and filter the
information you needed.
The links below about Lookup column for your reference:
http://office.microsoft.com/en-us/sharepoint-server-help/create-list-relationships-by-using-unique-and-lookup-columns-HA101729901.aspx
http://www.dummies.com/how-to/content/lookup-columns-in-sharepoint-2010.html
Best regards
Patrick Liang
TechNet Community Support -
How to display RTE item in a HTML region
I have a process that is populating a hidden item with a RTE item from another page. I need to display this in its formatted state. I am using an HTML region to display this item but the page shows HTML tags instead of rendering them. I have tried both options under html region (escape special characters and plain HTML text).
Can someone please help me to display this formatted RTE item on a page? Btw...I am using APEX 4.0.
Thanks.
Ashwen
Edited by: Ashwen on Jul 26, 2010 2:23 PMuser12601765 wrote:
did you figure out how to display RTE item in a HTML region? Can you share with me how you did it?No he can't. He's not been active on this forum for over a year, and is totally unaware of your post as watches on threads only persist for a few weeks. Please stop posting follow-ups to ancient threads. Many of the participants in such threads will no longer be active on the forum (check the "recent messages" in their profiles).
Posting follow-ups to ancient threads/departed users is NOT an effective way of getting help:
<li>Other users may ignore the thread as it appears to be closed
<li>Your assumption that the questions are related may be incorrect, leading to confusion about the nature of the problem and potential solutions
<li>Watches on the thread may have expired, so the original participants may be unaware of the new post, or they may no longer be active on the forum
<li>You have no ability to mark posts as helpful or correct
Post your question as a new thread, including at least the following information:
<li>APEX version
<li>DB version and edition
<li>Web server architecture (EPG, OHS or APEX listener)
<li>Browser(s) used
<li>Links to related posts and threads using the methods in the FAQ.
Please read the FAQ and forum sticky threads for more information on using this forum effectively.
From the information in the Allow users to use Rich Text Editor to build their own HTML/Apex Page you resurrected:
>
I am a business user developing apps, so my technical skills are limited.
>
you should be considering Websheets. (See this tutorial as well.)
Also, please update your forum profile with a real handle instead of "user12601765". -
How to select an item from a dropdown menu using Enter key
A website I frequently use opens with a dropdown menu. Using my former browser, I was able to select the an item from the dropdown list by hitting the first letter with my keyboard and then hitting Enter. (Think of entering an address and selecting TX from a dropdown menu of states. Often you can hit T twice to get to TX and then the Enter key will advance the cursor to the zip code field.) Since converting to Firefox, the Enter key no longer works to advance to the next screen...I now have to move the mouse to a "Go" button and click it after selecting the desired item from the downdown menu. It's a small thing, but constantly switching back and forth between mouse and keyboard is becoming annoying. Is there an option in Firefox to select items simply by highlighting them in the dropdown menu and hitting the Enter key, instead of having to use the mouse to click a "Go" button? Thanks
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
* Don't make any changes on the Safe mode start window.
* https://support.mozilla.com/kb/Safe+Mode
If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
* Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
* Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
* Help > Restart with Add-ons Disabled
* Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)
* https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes -
How do you delete items from the reading list?
How do you delete items from the reading list?
I'm trying to mark your reply as "solved my problem", but I can't see where to mark it. I tried to mark it in the email that came to me with your answer, but it went to a screen that said NOT FOUND. Help?
-
How to show all items in the reading list? I think this option has been removed in Safari Version 7.0.2
Thanks. That solved it. I had my doubts since I wasn't concerned about my lost bookmarks. I was concerned about the broken functionality. In any event, restoring from a backup solved both the functionality and the lost bookmarks. I appreciate the response!
-
Entity Descriptions are not displayed correctly in Combo box dropdown list
In Web Analysis, Entity Descriptions are not displayed correctly in Combo box dropdown list when entity descriptions from HFM contains a dot(.)
Example:
'Entity A. LTD' becomes 'LTD'
'Entity B Inc.' becomes blank
It seems that everything before the dot is not displayed when opening the combobox.
It looks like it is acting like the option to show short description for entities in HR where the parent-child relation is not shown. This behaviour I don't expect for descriptions. And in my opinion is not an option in Web Analysis.
Does anybody knows the sollution or have seen this issue before?Hi,
This is a known issue with combo box list of values.
Please follow this workaround:
- Remove ComboboxLOV on Deptno
- Create an updateable transient attribute(Say Dname) of type String
- Define combobox lov with following values:
List Data Source: DeptView1
List Attribute: Dname
List Return Values:
Dname - Dname
Deptno - Deptno
UI Hints: Display Attribute - Dname
- Edit Dname(transient attribute) and provide following groovy expression
oracle.jbo.Key key = new oracle.jbo.Key(Deptno);
return DeptView1.findByKey(key, 1)[0].getAttribute("Dname");- Now, you are done and observe that Dname combo box lov shows Description even on selection and change in this combo box sets the Deptno value
Sireesha -
How do I delete item in my purchased list?
How do I delete item in my purchased list?i dont want to show them what I download.
You cannot Delete from the Purchased list ... But.. you can Hide...
Hiding and Unhiding Purchases -
Strange item in desktop dropdown list after CS4 installed
Since installing CS4, there is a new item in the dropdown list when I
right-click on my desktop
The new item is "Adobe Drive CS4". It has two items showing under it. They
are "Connect to", and "New Project". The "New Project" is greyed out, even
when Photoshop CS4 is running.
Can anyone advise me what this is all about?? CS3 is still installed, but I
will be removing it shortly. But it did not create any such item in the
list.
Ron HirschOK, so I now know what it is. But why is it there in the dropdown listing?
If I click on "connect to", a small window opens, And, this last time that
the window opened, it actually had text in it explaining what you did
explain. Previous times had nothing in the box explaining anything.
I don't feel I have any need for Version Cue or Adobe Drive CS4, but I see
no way to change anything there. I did not install Verson Cue when I
installed CS4. I don't see it in my Windows services listing, nor in the
list of many startup items. I'd like to uninstall Adobe Drive CS4. I see a
listing the XP programs window of "Adobe Drive CS4". But I see no path to
get rid of that. Is there a path to do so?
A new search in Google turned up the following
++++++++++++++++++++++++++++
Any of you who have installed Adobe CS4 will know you will get a context
menu entry for Adobe CS4 Drive, even if you chose not to install the actual
program so effectively the entry is useless. After some googling and
experimenting found two ways to remove it.
1. Install & Uninstall
Install Adobe CS4 Drive using the installer then uninstall it. This seems to
get rid of it.
2. Manual Remove
Open Regedit and delete these two entries.
HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\{C95FFEAE-A32E-4122-A5C 4-49B5BFB69795}
HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\{C95FFEAE-A32E-4122-A5C 4-49B5BFB69795}
+++++++++++++++++++++++++++++++++
I'll probably do the Registry editing
Ron Hirsch -
How do I delete items from my favorites list?
How do I delete items from my favorites list?
Hello Kelsey,
In which App are we speaking of? -
How to display line items twice in a single page in sap script
HI,
I am working on check printing. I copied the standard driver program and form to Zprogram and ZForm. Which are RFFOUS_C(print program) and F110_PRENUM_CHECK(Form Name).
I want to display the line items twice in the same page and sub sequent pages.
Currently I am able to display line items only once.
Example:
PAGE1.
line item1
line item2
line item3
line item4
line item5
line item1
line item2
line item3
line item4
line item5
line items 1 to 5 which are in main window.
How to achive this problem.
Regards,
vinodHi
I had the same request for a check form in Canada. I solved it by writing the line item output into variables and print these variables in a second window. It was ~10 hours of effort, not a real nice technical solution but it worked.
If you require I can send you a PDF of the sap script form definition. You can contact me at [email protected] Answers can take 1 week or more.
Best regards
JD -
How to display total "items" and "amount " in header.jsp in CRM ISA B2B
Hi,
I am modifying header.jsp in standard CRM ISA B2B application. Here we have summary of total number of items and total amount but it is coming in to button and for that below code is there in header.jsp and it display it as button text.
if (!ui.homActivated) { %>
!!" alt="" border="0" height="16" width="20">
</td>
<td class="vertical-align-middle" name="miniBasket" value="<isa:translate key="b2b.header.minibasket.default"/>" >
<form name="basketForm" action="javascript:show_basket();">
<input class="green" name="miniBasket" type="button" value="<isa:translate key="b2b.header.minibasket.default"/>"/>
</form>
</td>
<% } else { %>
<!-- HOM scenario - minibasket displays collective order -->
<td class="vertical-align-middle" align="right">
!!" alt="" border="0" height="16" width="20">
</td>
<td class="vertical-align-middle" name="miniBasket" value="<isa:translate key="b2b.header.collorder.default"/>">
<form name="basketForm" action="javascript:show_collective_order();">
<input class="green" name="miniBasket" type="button" value="<isa:translate key="b2b.header.collorder.default"/>"/>
</form>
</td>
<% } %>
Now I want to display total number of items and total amount separately in two different <td> element.
How I can get total number of items and total amount in header.jsp I tried below code but did not get any success.
Insert below line in header.jsp with respective page import statement for class or let me know which class I have to import.
<%
HeaderSalesDocument hdr =
(HeaderSalesDocument) request.getAttribute(MaintainBasketBaseAction.RK_HEADER);
ItemList items =
(ItemList) request.getAttribute(MaintainBasketBaseAction.RK_ITEMS);
%>
And then I use
<td><%= hdr.getNetValue() %></td>
<td><%= items.size() %></td>
But it is not printing any thing and header page not display at all.
Pl. tell me how to get total amount and number of items in header area. Which class or object I have to use here.
I really appreciated any help from any one.
Thanks and regards.
Ashish Patel.Hi, I tried another logic. I took value from Standard button, in which B2B application display total items and amount and I hide this field, to another text element.
Now I Am breaking that value in words and stored them in array and then trying to display that array with particular number which contains total item and amount through Java Script on Focus.
But problem here is, It is not getting updated automatically I have to click on new text files to trigger Onfocus event. How I can achieve effect like as soon as Standard button changes it's value which is now hidden filed my new text box should update automatically.
Thanks.
Ashish -
How to have a unique list of items for separate dropdown lists?
Software: Acrobat X (10) pro on Windows
I want to create a pdf form in which all dropdown lists are populated with the same list of items to choose from. If I use the same field name for all drop down lists, the item selected in one dropdown list is automatically selected in all lists. This is not what I want. I wish to be able to select a different item in each & single dropdown list. I could of course maintain separate item lists for each field (using separate field names) but what a waste of time!... especially as the field lists would then have to be updated separately. There's got to be a better way to do it.
Any idea how this could be achieved? Thank you.Here's a sample script that first defines a list of items in an array and uses it to update a number of dropdowns, name dd1...dd10:
// Populate an array with the list items
var aItems = ["-- Select a state --", "Alaska", "Hawaii", "Washington", "Oregon", "Idaho", "Montana", "Wyoming", "Nevada", "Colorado", "Arizona", "New Mexico"];
// Loop through the dropdowns...
for (var i = 1; i < 11; i += 1) {
// ...and set the list items
getField("dd" + i).setItems(aItems);
That's all there is to it. This can be run from the Mouse Up event of a temporary button that you create, the interactive JavaScript console (Ctrl+J), etc.
More info on setItems: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.752.html -
How to display content items in two columns?
I have a simple content area set up, that I am adding items in
(items that happen to be uploaded documentation files). I have a
page created that displays the Content Area, with my own
headers/banners etc.
I want to display the item(s) under each folder in the content
are, in two columns, but I can't figure out how?
Thanks.Dave,
Edit the Folder Style. Select the Folder Layout tab. Select
the Region Properties you want to modify (e.g. Regular Items).
Near the bottom of the page you can specify the number of
columns.
Regards,
Jerry -
can anyone tell me how to display the selected contents of
the database by using a variable from my form field(like text box
)Hello Guys!
Sorry forever to get back. Going to throw this up here quick
so I dont time out, but if you need further help post back and I
will help with specific questions.
Using the City, State example. This operation is two fold.
(a) the search page, and (b) the results page.
(a) On your search page you would have two fields. City and
State. Make sure your table that holds these fields are containted
within a form tag. (Insert > Form > Form). Also make sure
your textfields have names. You can click on the textfield to
highlight in design view and change the name from 'textfield' and
'textfield1' to 'city' and 'state'..
Highlight the form tag and in the properties panel where it
says "action" insert the URL/file of your results page. This is the
page that is actually going to display the information, then save
your work.
(b) Open up your results page, and in the bindings panel
click the "+" then select query. In the 'simple' window name your
recordset (example: rsStores) select your connection, then select
the table you desire to display results from. From this window you
can also choose a field to use as an order by. Do not use the
filter!
With this done and 'without' saving yet, click on the
"advanced" tab. You should now see and a simple statement in the
window that looks something like:
SELECT *
FROM Stores (The name 'Stores' will actually be replaced with
your table name)
Below the statement you will see 'parameters' with a + and -.
Hit the plus to add a parameter. For name use varState, for Type
use text, for Value use Request("State") and for default value use
zero. Replicate the process for varCity using Request("City") for
the value. (The requests are the same names as the names you used
to name your fields in the search form). Now go up to the original
statement and edit it to look like this:
SELECT *
FROM Stores WHERE yourfieldname = varState AND WHERE
yourfieldname = varCity
Replace 'yourfieldname' with the actual field name holding
the values. Keep EVERYTHING case sensitive. Testing in design view
will not work because there are no values yet passed. So click ok,
save the page and upload them to server. Test by going to the
search page and submitting the search form.
Hope that helps..!!
Maybe you are looking for
-
I transferred the data from my old 2006 MacBook Pro 17". Thanks for the help on that. I thought that I was doing it right. Used a backup hard drive and time machine. Problem: Now my new macbook air thinks it is the old machine and that the remot
-
Ever since I have upgraded my phone to a 4s, with the new iOS6, and now even with the iOS 6.1 that I updated with this am, I am STILL getting the message "unable to join network" at home. I only have 2 GB of data usage between my partner and I, and
-
i dropped mi zen micro and no wen i on da zen micro it jus goes to da creative sign and i need to wait for da battery to die to off da zen micro and it wont let me listen to any music or nutin can u help plz?
-
Levels Histogram in 16:9
My levels histogram is messed up when I edit HD video in 16:9. All of the values barely show up on the graph. I believe this is because the histogram is including the black bars across the top and bottom of the screen when 16:9 is letterboxed, and th
-
Google mail and foxfire don't wirk well together what can I do
Google mail is NOT SENDING or is very slow attaching small files and then it won't send, it says it is sending but is not sending.