SequenceView Column Caption Localization
Hello,
I am trying to localize (i.e. change the language text) of the names of the columns in my SequenceView control. I am able to localize all of the other controls on my UI except for the SequenceView control. I am using TestStand 3.0 and my UI is developed in LabWindows/CVI 7.1. I have come across a function, TSUI_SequenceViewLocalize, that appears to do what I need, however I cannot get it to work. I think my problem is that I do not know how to define the string tags in my .ini file. Here's a quick snapshot of what I have done:
1) In my LabWindows/CVI .c file I am calling the TSUI_SequenceViewLocalize function:
TSUI_SequenceViewLocalize(gMainWindow.SeqView, NULL, "JK_SEQVIEW");
2) In my .uir file, my sequence view control has the following columns: Name, Low Limit, High Limit, Measurement, and Status.
3) In my .ini file, which is properly placed in the language directory (i.e. I know this file is working as it localizes the other controls on my UI), I have created the following section for the sequence view control. I am only showing the string tag I am trying to use to change the caption (i.e. title) of the first column from "Name" to "Nombre":
[JK_SEQVIEW]
COLUMN_NAME_CAPTION = "Nombre"
So my question is, what am I doing wrong? I suspect it is probably the way I am defining the string tag. I have not seen any clear examples of string tags for the sequence view control. I did look at the UIControls.ini file but it is not clear to me how to differentiate between column names. Of course, I may also be way off on my approach of how to do this.
Thank you in advance for your time and help.
Thank you,
Jim
Hello Jim,
You are on the right track using the TSUI_SequenceViewLocalize function. It sounds like the only trouble you are running into is with the tags.
The UIControlOperatorInterfaceStrings.ini file in \Components\NI\Language\English\ has the following tag names and strings that determine the column names in the SequenceView control of the built-in operator interfaces:
STEP_NAME = "Step"
STEP_DESCRIPTION = "Description"
STEP_EXECUTION = "Execution Flow"
STEP_STATUS = "Status"
For your other columns, this same syntax for the tag names may also work. Otherwise, I recommend using the Find capabilities of a text editor to search TestStandStrings.ini, UIControlStrings.ini, or the above mentioned INI for possible tag names.
I hope this helps.
Regards,
Eric M.
Similar Messages
-
Hello everybody,
Does anyone knows if it is possible to have a column caption in a table that spans for more than one column, e.g.,
| number of veichles |
| cars | boats | plains |
| 23 | 3 | 1 |
and also more than one caption per column?
Thanks in advance,
DizDiz,
You can use a TableColumnGroup (see http://help.sap.com/saphelp_nw04s/helpdata/en/81/f35f426fce3654e10000000a155106/frameset.htm).
I'm not sure what you mean by 'more than one caption per column'. You can use as many TableColumnGroups as you need, so you could setup a column with its own column group to possibly to what you are intending.
-Cindy -
Create master column in web dynpro table
hi,
Can any one guide me with the steps to be followed to create a mastercolumn.I have a table with 16 columns.Each column has its own header.I must give 4 different headers above these headers by grouping columns four by four.How can I do this.Which UI element should I use and how.
Thanks in advance.Hi,
Have a look at this threads
Table columns captions
Re: Webdynpro table freezing columns
WebDnpro Table + Scroll
Regards,
Saravanan K -
VC Multiple Table Column Header Lines, Table Width Adjustment
Hi Experts,
1) How to have Multiple headers for a column in a single cell i.e multiple lines in the same cell. please provide with example.
2) How to set your table to adjust the width automatically for all screen resolution since columns of the table disappear and some of the content of the header is not visible if the screen resolution is low.
3) Is there any way to set the screen resolution for our report alone to very high resolution even if the end user has set the system resolution to low. The reports were developed on a high resolution and now we face the problem as citrix is rolled out and it is standard 1024 * 768 resolution.
Thanks and Regards,
SivaWrapping the text of a table column caption into lines is currently not possible. Workarounds could be:
- using a single character text and a tooltip for the description
- using an image containing the wrapped text
Both workarounds have their problems.
Armin -
TableView: column header text alignment?
How can I change the text alignment of a TableView column caption/header? I'd like some of my column headers to be right aligned for example?
It works for regular table cells when I change f.i. the css of the custom DataFX MoneyTableCell cell:
.money-cell {
-fx-alignment: TOP_RIGHT;
}but it won't work for the ".table-view .column-header" style of the standard TableView:
.table-view .column-header,
.table-view .filler,
.table-view .column-drag-header {
-fx-alignment: TOP_RIGHT;
}Just after raising this I realised the problem is that the text is a label on top of the header. You can right align by using the following selector:
.table-view .column-header .label {
-fx-alignment: TOP_RIGHT;
} -
Hi All
I am new to OIM.
Can anyone tell me what is the difference between Lookup Column Name and Column Name property of a lookup field while writing lookup query?Hi,
Lets take an example here in the post given below.
Re: Conditional forms
Column Captions = Codigo,Descripcion
Column Names = CDG_UNDD_ADM,DSCRPCN_UNDD_ADM
Column Widths = 10,200
Lookup Query = SELECT CDG_UNDD_ADM, DSCRPCN_UNDD_ADM FROM OIM_V_SAS_UNIDAD_ADM WHERE OIM_V_SAS_UNIDAD_ADM.CDG_CMPN = '$Form data.UD_SAS_01_CD_COMPANIA$'
Lookup Column Name = CDG_UNDD_ADM
Lookup Column Name will be the value which will get populated in database after you submit the form.
Column Names is the name of column you selecting.It will be also used when you are try to filter the value in lookup.
Please let me know if you have any more questions.
Regards
Nitesh -
Localization design patterns with TopLink
Hello,
We are creating web app with JSF and TopLink.
Each table in database may have several fields that can be localized.
All localization resources are stored in a table that has such columns: table_name, column_name, language, localized_text.
How would you suggesting implement localization using TopLink?Sorry, I missed one column.
Columns in localization table: table_name, column_name, row_id, language, localized_text. -
Hi there,
I'm building some Custom Step Types. I want my button and conrols strings saved in a *.ini file (MyStepTypeStrings.ini) in Components/Languages/English. My code modules are builds in LabVIEW, and I have trouble with TipStrip localization : TS_MY_TIP_STRIP¨becomes MY_TIP_STRIP. As I'm using standard OK/Cancel/Help buttons, I first localize for Category COMMON_DLG, and then for Category MY_CATEGORY.
The VI hierarchy shows the VI TestStand - Localize Front Panel.vi (password protected) is calling TestStand - Localize String and Update TipStrip.vi (not protected). Here is the diagram TestStand - Localize String and Update TipStrip.vi
Note that the output Found of TestStand - Get Ressource String.vi is not used. As long as Default String is not connected, if the Symbol is not found, TipStrip is updated with Symbol value. In my case, TS_MY_TIP_STRIP becomes MY_TIP_STRIP.
I found a workarround : if I first localize MY_CATEGORY (befor COMMON_DLG), it works fine. But it seems to me this is a bug...
Best regards,
.mrLeft{float:left} .mrInfo{border-left:solid 1px #989898;font-size:x-small;color:#989898}
Mathieu R.
CTD - Certified TestStand Developer / Développeur TestStand Certifié
CLAD - Certified LabVIEW Associate Developer
Solved!
Go to Solution....There is a risk the Symbol of a TipStrip is altered if a Symbol is not found in a Category. The Found output of Get Ressource String is probably checked for Captions localization (I do not see this behavior for captions). The same protection mecanism should be implemented for TipStrip:
Could someone from NI tell me if this will be taken in count?
Thanks,
.mrLeft{float:left} .mrInfo{border-left:solid 1px #989898;font-size:x-small;color:#989898}
Mathieu R.
CTD - Certified TestStand Developer / Développeur TestStand Certifié
CLAD - Certified LabVIEW Associate Developer -
Differece b/w dataelement and domain
hi every body
when creating table after giving the column name we can mention the direct type or specify the data element. in data element we mention data types and other properties, similarlay in dataelemens we can also specify the domain.
my question is that what the relationship or diff. b/w data element and domain. plz clear my concepts.
Rai.Domain is the central object for describing the technical characteristics of an attribute of an business objects. It describes the value range of the field. Data Element: It is used to describe the semantic definition of the table fields like description the field. Data element describes how a field can be displayed to end-user.
A domain defines the properties of a data element within ABAP. The properties include the data element type, it's length if required and any restrictions on the values that may be entered into that variable. By defining a domain you can automate and greatly reduce the amount of work required when handling amongst other things user input parameters. Domains also standardise your programs. By using a domain rather than individually defining the variables within your program, any changes to the domains characteristics are automatically passed on to any programs that use that domain
A dataelement is the one which has the information about the field's representation on the screen in the form of FIELD TEXTS, COLUMN CAPTIONS in list outputs of the table contents and the format of the output via PARAMETER IDS and Online field documentation.
Cheers
Nishanth -
Error in using Lookup Query - OIM 11g
Hi Guys,
I am trying to use following lookup query:
select usr_key, usr_login from USR where usr_status = 'Active' and have following mapping defined in the process form:
Column Width = 200
Lookup Column Name = usr_login
Column Names = usr_key, usr_login
Column Captions = USER_KEY, USER_LOGIN
The values are getting populated properly while searching for the lookup. But when I click on 'SELECT' button. It throws error. saying 'A system error occurred'
I see following error in the log:
<Jul 4, 2011 7:19:07 PM IST> <Error> <XELLERATE.WEBAPP> <BEA-000000> <Class/Method: tcLookupFieldAction/selectedValue encounter some problems: {1}
Thor.API.Exceptions.tcColumnNotFoundException
at Thor.API.tcMetaDataSet.getStringValue(tcMetaDataSet.java:368)
at com.thortech.xl.webclient.actions.tcLookupFieldAction.selectedValue(tcLookupFieldAction.java:1723)
### Steps to Reproduce Problem ###
1. Create a new process form
2. For one of the column, assign following properties:
Lookup Query = select usr_key, usr_login from USR where usr_status = 'Active'
Column Width = 200
Lookup Column Name = usr_login
Column Names = usr_key, usr_login
Column Captions = USER_KEY, USER_LOGIN
3. Activate the form
4. Open the resource in Web Console
5. Search for that lookup.
6. Select any of the value
7. Press 'Select' button. Error is thrown.
Could somebody please help me out with this issue?
Thanks,Got the solution:
tcColumnNotFoundException with Lookup Query -
Hi All,
I want to display an ALV grid with 3 columns.
First column containes an image,
Second and third columns contain a counter value. The counter should be as a digital score board as we have in hockey.
Any idea as how I can get a dynamic image of counter to display in the 2 columns?
Thanks
QureshThis piece of code is giving graphical output , u can check it in ur machine.
REPORT ZSKC_GRAPH.
data : begin of itab occurs 0,
day type i,
val type i,
end of itab.
start-of-selection.
do 5 times.
clear itab.
itab-day = sy-index.
itab-val = sy-index + ( sy-index * sy-index ).
append itab.
enddo.
CALL FUNCTION 'GRAPH_2D'
TABLES
DATA = itab
EXCEPTIONS
GUI_REFUSE_GRAPHIC = 1
OTHERS = 2
IF SY-SUBRC <> 0.
* Give some message.
ENDIF.
You just pass ur internal table to this Function module - Do you need to display column captions etc ?? In that case you will have to use GRAPH_MATRIX_2D. -
Problem in populating lookup values based on the lookup query from database
HI all
I have problem of population look-up values based on look-up query
I am giving the details what i am trying
I need to populate the values from the UD_LDAP_USR table into the field of UD_USRGRPC_NisNetTriple of type lookup
i planned to set the properties of lookup as like this
look up query as select UD_LDAP_USR_COMMON_NAME as NisNetTriple from UD_LDAP_USR
ColumnNames as UD_LDAP_USR_COMMON_NAME
Column captions as UD_LDAP_USR_COMMON_NAME
Column width as 30
Lookup Column Name as UD_LDAP_USR_COMMON_NAME
But when i try to add ColumnName as wht i mentioned above i m getting invalid property exception,update failed
I am not sure about that are we able to use other Connector table prefix with UD into the another processFrom
Let me give update on this issue
Urgent,struck my work here
thanks
NagarajThanks for the reply raghav
I tried but it was not working
I gave like what u specified but no use
It is throwing exception like set look-up query for the field
Any one help me out on this issue
Edited by: Nagaraju Chowdary on Jan 21, 2013 3:41 AM
Edited by: Nagaraju Chowdary on Jan 21, 2013 3:42 AM -
Hi,
i have created lookup definition say Lookup.Department
I want to populate this field with some values in custom table.( a table say Department, created in the database which was used during OIM installation)
what steps do i need to followhi i am taking this solution from nitesh post
The example I am taking here is to have a lookup from a custom table "access_table" containing three columns access_id, descritption and groupname (this is the column stating which group has access to which switch)
Steps to follow:
1. Mandatory properties to specify are :
a) Lookup Query e.g.
select distinct a.access_id, a.description from access_table a, usg b, ugp c, usr d where c.ugp_name = a.group_name and b.ugp_key = c.ugp_key and b.usr_key = d.usr_key and d.usr_status ='Active' and d.USR_LOGIN = '$Requester Information.User Login$'
b) Column captions e.g. Access ID, Description
This will ensure that in the lookup table displayed in UI will have two columns Access Id and description. Corresponding to these column captions two properties need to be put in "xlWebAdmin.properties" lookupfield.header.access_id and lookupfield.header.description. Point to be noted the captions have been converted to lower case and blank space has been repaced with "-". Put in section "LOOKUPFIELD column headers"
c)Columns names e.g. ACCESS_ID,DESCRIPTION, these are the columns specified in the select query.
d) Lookup column name e.g. ACCESS_ID, this is the column that is put in the textfield associated with lookup field.
e) Column widths e.g. 25,100 This is the column width in table.
Please find the link bellow
Re: Form Field Validation.
all your questions are generally answered in the forum try to use search with keyword and do rate them if slove your issues this is the motivation for giving answers
Hope this help you
Regards
VM -
How to display ALV grid in a graphical display??
Hello All,
I want to display the ALV grid output in graphical format. I did not see any particular Function code or event in ALV for graphs. Hence I designed a PF status myself. But when I use the Function module "Graph_2D", it gives me an error.
Can you guys suggest which is the best Function module to display the ALV output in graphical format?
Regards,
Abhishek
P.S: Points will be awarded to the answers which will solve the issueThis piece of code is giving graphical output , u can check it in ur machine.
REPORT ZSKC_GRAPH.
data : begin of itab occurs 0,
day type i,
val type i,
end of itab.
start-of-selection.
do 5 times.
clear itab.
itab-day = sy-index.
itab-val = sy-index + ( sy-index * sy-index ).
append itab.
enddo.
CALL FUNCTION 'GRAPH_2D'
TABLES
DATA = itab
EXCEPTIONS
GUI_REFUSE_GRAPHIC = 1
OTHERS = 2
IF SY-SUBRC <> 0.
* Give some message.
ENDIF.
You just pass ur internal table to this Function module - Do you need to display column captions etc ?? In that case you will have to use GRAPH_MATRIX_2D. -
How to initialize an adf component before a page loads
Hi all
I use JDeveloper 11.1.2.2.0
I have two pages:
first page has a link to a second page
<af:document title="first.jspx" id="d1">
<af:form id="f1">
<af:commandLink text="Page 2" id="cl1" action="goToSecondPage" actionListener="#{Bean.handleLinkActionEvent}"/>
</af:form>
</af:document>and the second page has an inputText component:
<af:document title="second.jspx" id="d1">
<af:form id="f1">
<af:inputText label="Text" id="it1" binding="#{Bean.inputText}" readOnly="true"/>
</af:form>
</af:document>First I load first.jspx and than I click the link. This event is handled in handleLinkActionEvent() method, in which I want to set a value to the inputText component of the second page. But I can't do it, because as expected I get NullPointerException.
So the question is how to initialize an adf component before a page loads?
Evgeny Michuk
Edited by: Evgeny Michuk on Oct 4, 2012 11:30 PMThanks a lot for your replies and links, it gives me some new knowledges.
I got your approach and achieved the aim for the described situation with tag <f:setPropertyActionListener>:
<af:commandLink text="Page 2" id="cl1" action="goToSecondPage"
actionListener="#{Bean.handleLinkActionEvent}" binding="#{Bean.firstPageLink}">
<f:setPropertyActionListener target="#{pageFlowScope.text}" value="Hello, World!"/>
</af:commandLink>and for the inputText component I set the value:
<af:inputText label="Text" id="it1" binding="#{Bean.inputText}"
readOnly="true" value="#{pageFlowScope.text}"/>I used request scoped managed bean and it is shared for both pages.
I understand that I can set a value of some attribute for managed bean
and use it to set a value for inputText component of the second page,
but as I understand it is almost the same way as usage of tag <f:setPropertyActionListener>.
In my real situation on the second page I have a dynamic table, and it's field is read only.
Structure of this table depends on a link clicked on the first page.
So I define components for table columns in runtime, it may be outputText, inputDate, goLink and some others.
And I have to get table through the UIComponent binding to set columns.
Certainly I can define all needed components for all columns
and render it according to the column types
<af:table value="#{Bean.collectionModel}" var="row" id="t1" binding="#{Bean.mainTable}">
<af:forEach items="#{Bean.columnDescriptionList}" var="column">
<af:column headerText="#{column.caption}" id="c1">
<af:outputText value="#{row[column.fieldName]}" id="ot1" rendered="#{column.type == '1'}"/>
<af:inputDate value="#{row[column.fieldName]}" id="ot2" rendered="#{column.type == '2'}"/>
<af:selectBooleanCheckbox id="sbc1" selected="#{row[column.fieldName] == '1'}" rendered="#{column.type == 'n'}"/>
</af:column>
</af:forEach>
</af:table>but I think it is not very good.
Have you any idea?
P.S. I hope I clearly explained my situation =)
Evgeny Michuk
Maybe you are looking for
-
I paid lot's of money for my 5s and it's my right to use it and apple could not forbid me.
I also can not connect my phone to pc by itunes last update and It says i should restore my phone and my phones shows error 1009
-
Photoshop crashes at the "import pdf" dialog, and causes the OS to be unstable.
After using InDesign and Photoshop for some time... Photoshop crashes at the "import pdf" dialog, and causes the entire system to be slow and unstable. I have recently upgraded to CS6 from CS3. I'm using the current version of OSX Mountain Lion on an
-
HIIIIII i seem to be having some issues with my connecting to my wireless. all my cables and everything are connected correctly but the "wireless" light on my router isn't lit, and when i try going through the linksys setup wizard, after running the
-
Burning a set of pictures multiple times onto CDs
I'm trying to burn a set of pictures multiple times onto CDs with Lightroom. Using Export I can burn one set but if I'd like to burn another set I need to Export again and overwrite the existing files every time. Is there no way in Lightroom to burn
-
HP pavilion g6 says no audio devices are installed?
My laptops internal mic has stoped working and is now saying there are no audio devices installed? The speakers, and the web cam work fine but the mic has stopped working.