How to align a String value to the right side inside a table column?
Hi,
I have a text view inside a table column which is mapped to a string attribute. I need to align the text in the text view to the right hand inside the table column. But its always getting aligned towards the left side. I have tried by setting the <b>hAlign</b> property of Element properties of Text View to <b>right / forced right</b> but still the text is getting aligned to the left side.
How do I align the String values in Text View towards the right hand side inside a Table Column?
Thanks and Regards,
Sayan Ghosh
Hello Sayan,
if i do get it right, you are adding an TextView element to a Table Cell. Then you should consider setting aligment within the particular cell. By calling:
YourCell.setHorizontalAlignment(CellHAlign.RIGHT)
regards.
mz
Similar Messages
-
Using values in the right side of the shuttle on another page.
Hello All,
On page 1 I have a shuttle item. I select some values and move them to the right side of the shuttle. Now I need to navigate to a second page (currently I'm controlling the navigation with a button) and pass the values from the right side of the shuttle on page 1 over to page 2. How do I get the values from the right side of the shuttle on page one over to page 2. If it's easier to use a pop-up than a second page 2 I'd love to do that, but same problem, how to use the values from the right side of the shuttle?
I've tried setting up a shuttle on page 2 and setting the values on the URL re-direct but, no luck! I also tried a PL/SQL (On Load- Before Header) page process on the second page (see code below) where I try to "work with" the shuttle values, also no luck.
Any ideas?
Thanks Much!
declare
l_selected APEX_APPLICATION_GLOBAL.VC_ARR2;
l_set_id number;
l_loopcount PLS_INTEGER := 0;
BEGIN
l_selected := APEX_UTIL.STRING_TO_TABLE(:P6_UNGROUPED_SETS);
-- Loop through the array of selected fulfillment sets
FOR i IN 1.. NVL(l_selected.count,0) LOOP
l_loopcount := l_loopcount +1;
l_set_id := l_selected (i);
INSERT INTO TEST2
(SETS)
VALUES
(l_set_id);
END LOOP; -- Loop through Array
:p7_loopcount := l_loopcount;
end; -- Main EndHello
>> I've tried setting up a shuttle on page 2 and setting the values on the URL re-direct but, no luck!
The value of a Shuttle item is a colon-delimited string. As colon is used as a special character in the APEX URLs (what we call the f?p notation) you can’t pass a Shuttle value using a URL (similar to the limitation of passing a traditional time notation like 10:00 in a URL, for the same reason).
Whenever you are submitting a page, APEX automatically saves the value of all the page items in session state, and it makes them available on any other page in the application. You can access them by using the bind variable notation with the item name (e.g. :P1_SHUTTLE1).
In your case, all you need to do is to submit page 1 (even if you don’t run any after submit activities) and then you can use the Shuttle item value from page 1 as the default value of the Shuttle item on page 2, or use this value in any other way on page 2. Just remember that the value is a colon-delimited string and for any other use other than a Shuttle default value, you most likely need to parse it first.
Regards,
Arie.
♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
♦ Author of Oracle Application Express 3.2 – The Essentials and More -
How to retrieve query string value from the URL in my portlet
Hi,
When user clicks on "Advance Search", i am redirecting to page in the community. At the same i am adding some more values to the query string (to the URL).
My URL will look like this.
http://ctp-mc0149/portal/server.pt?space=CommunityPage&parentname=CommunityPage&parentid=0&in_hi_userid=200&cached=true&control=SetCommunity&PageID=202&CommunityID=200&searchType=2
Now in one of my portlet in that page, i want to retrieve the query string values from the URL.
Please help me regarding this.
Thanks in advance.
Thanks,
sreekanth.Hi,
Look at the following threads,
For programmatically getting the iview properties,
Programmatically getting iView Properties
Also,
Get Properties of IView Programmatically
Permanent change of iView property programmatically
Hope these threads help u.
Regards
Srinivasan T -
How to add a new field on the right side of 'Part function' in Opportunity
HI All
I have a requirement wherein I need to add a new field for 'first name/last name' on the right side of 'Partner function' field in opportunity search criteria..
Ex:(here i'm showing overview how the search criterial screen appears in UI since i can't attach screen shot)
Partner function is sales lead firstname/lastname
It is similar to...when we select the option 'Is between' for date field then automatically one extra field will appear
on the extreme right to enter a range for the date so similary I need to add one field to the extreme right where
the user will select 'first name/lastname' using 'F4' help in addition the abvoe 'Partner function'.
Could you please let me know how can we add it??
Regards
AnilHi,
First try to find out if you already have that field available in your view configuration. If yes, then you just need to add that to visible/displayed fields. Other wise you'd have to extend the context nodes using AET/EEWB. After you add the fields using configuration you can move them where ever you want to place them. I believe for first name/last name F4 comes by default.
Regards
Prasenjit -
FFace time contact listing are on the left side of the screen they use to be on the right side...why the change and how can I change the listings to the right side?
There doesn't seem to be a setting for that. As to why Apple made the change, only they would know.
Submit your feedback directly to Apple using the appropriate link on the Feedback page:
http://www.apple.com/feedback -
My scroll bar is now on the left. how do I move it back to the right side?
When Firefox updated overnight I woke up to a nightmare. My scrollbar was now on the left. How do I get it moved back to the right?
You may have other problems as well.
''Scrollbars in the user interface may appear on the left or right side of the content, depending on whether the language viewed is read right-to-left or left-to-right. However, a user may want to keep the scrollbar on one side irrespective of the content’s language, or even the host OS’s language. This preference is an attempt to make the scrollbar position as customizable to the end user as possible.''
* http://kb.mozillazine.org/Layout.scrollbar.side
In your '''about:config''' change configuration variable '''layout.scrollbar.side''' to '''2''' to place the scrollbar on the right side of the content.
'''More information on configuration variables''' available in
[http://kb.mozillazine.org/About:config_entries about:config (entries)] and for users not familiar with the process there is [http://kb.mozillazine.org/About:config about:config (How to change)] -
How do I move bookmarks back to the right side of window.
can't move bookmarks to the right side of window.
Sounds that you have opened the Bookmarks sidebar (View > Sidebars; Ctrl+B) and not use the Bookmarks Menu button that opens a drop-down list.
You can find a toolbar button in the toolbar palette that shows as a star with a drop marker when placed on a toolbar that opens the bookmarks in a drop-down list.<br />
The other toolbar button with a star opens the bookmarks in the sidebar.
*https://support.mozilla.org/kb/How+to+customize+the+toolbar
*https://support.mozilla.org/kb/Back+and+forward+or+other+toolbar+items+are+missing
Note that you need to hide the Menu Bar and possibly the Bookmarks Toolbar to make this button stay on another toolbar after you close the Customize window. -
How can I show my bookmarks on the right side of the page always
I would like to see my entire bookmark list on the right side of any page I am viewing - in other words, I want the list turned on all the time.
CTRL+B will open or close the Bookmarks sidebar. If the sidebar is open when you exit/close Firefox, the sidebar should be open when your re-start Firefox.
'''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
Not related to your question, but...
You need to update some plug-ins:
*Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
*Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox] -
How to Display a Calender upon clicking the dropdown list inside a table co
Hi,
I have a Listbox inside my table control and I need to Display a Calender upon clicking the dropdown list.
Can any body help.
SrinivasHi,
Try this:
On your customizing screen,
PROCESS ON VALUE-REQUEST.
Field T_ZT-SDATE
module create_dateselect.
In your main program:
module create_dateselect.
data:p_date like sy-datum.
CALL FUNCTION 'F4_DATE'
EXPORTING
holiday_calendar_id = 'CN'
display = ' '
IMPORTING
select_date = p_date
EXCEPTIONS
OTHERS = 4.
t_zt-sdate = p_date.
endmodule.
Regards,
Pole -
When I print email messages, right side of message lines do not print (run out of space) on a Photosmart C6830 using Windows Vista Home Version 6.0. Have tried highlighting message to print & choosing (selection) in print window - does not solve problem.
The print spooler is a windows service and is required to print. I would hazard a guess you can not print with any application.
What I am saying is I think your windows instalation has a problem, not Thunderbird. -
How can i change my earphone because the right side of it doesn't work???
Will Apple change my earphone ,,because it doesn't work..??
You can't whilst you have a balance on it, you can try contacting iTunes support via this page and ask them if they can remove it so that you can change countries : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
-
How display numeric datas in a JTable column on the right side?
Hallo !
I have a JTable using the AbstractTableModel.
How can I display the numeric values on the right side of the column?
WolfgangIt works, if I overwrite the TabModel-method "getColumnClass". But I cannot use this, because in german I have a "," in a double an not a "." as comma. So I get an Exception if the table tries to format 123,34 as a double.
But I think there must be a possibility to format strings in a column. On the left side, in the center, on the right side. Do you know something to position Strings in a JTableColumn ?
Wolfgang -
How do I programmatically populate the right side of a shuttle?
Greetings,
< on Application Express 4.0.2.00.07 >
Background - I have an Image Map on a page and I need to put code in each cell hotspot href which will end up adding a value to the right side of a shuttle.
I guess I will do it via a function call in the hotspot href? If so I will need to populate the shuttle using PL/SQL. Problem is, I don't know how to do that with PL/SQL.
Or, maybe there is a way to populate the right side of a shuttle via JavaScript or some other way?
Never really used Shuttles much. I know how to process the values on the right side via an array, but I don't know how to populate it programmatically.
Also, I didn't find the answer after some forum searching, but if it is here and you know where it is you may just point me in the right direction.
Any help is appreciated.
Thanks in advance, TonyOn page load you need to set the page item value to a colon separated list. Basically just reverse what ever processing you are doing on submit.
-
How to get the string value from the RichSelectBooleanCheckBox component?
I added a validator to a RichSelectBooleanCheckBox component which is binded to a String attribute of a View Object.
I defined the mapping of boolean value to corresponding String value in the corresponding attribute binding in the page definition.
When the validate() method of my validator was invoked, the new value passed to the validate method() was a Boolean value instead of the converted String value.
I need to write validate() method generically so that it can handle more than one way of mapping boolean values to String values.
How can I get the converted String value in my validator method() from the RichBooleanCheckBox component that was also passed to the validate() method as a parameter?use:
int num = Integer.parseInt(s); -
Hi,
I want to pass multiple query string values using the same parameter in Query String (URL) Filter Web Part like mentioned below:
http://server/pages/Default.aspx?Title=Arup&Title=Ratan
But it always return those items whose "Title" value is "Arup". It is not returned any items whose "Title" is "Ratan".
I have followed the
http://office.microsoft.com/en-us/sharepointserver/HA102509991033.aspx#1
Please suggest me.
Thanks | Arup
THanks! Arup R(MCTS)
SucCeSS DoEs NOT MatTer.Hi DH, sorry for not being clear.
It works when I create the connection from that web part that you want to be connected with the Query String Filter Web part. So let's say you created a web part page. Then you could connect a parameterized Excel Workbook to an Excel Web Access Web Part
(or a Performance Point Dashboard etc.) and you insert it into your page and add
a Query String Filter Web Part . Then you can connect them by editing the Query String Filter Web Part but also by editing the Excel Web Access Web Part. And only when I created from the latter it worked
with multiple values for one parameter. If you have any more questions let me know. See you, Ingo
Maybe you are looking for
-
How to change network name on BT Hub 2.0?
Hi folks, I've just set up my Broadband with BT here in the UK and all is well. However, how do i change the network name from the default BThomehub? I had a belkin router prior to this and i could change it easily by going into the routers home page
-
DVD-ROM created in DVDSP does not show files in Windows
Hello, I created a DVD-ROM in DVD Studio Pro 4 with the purpose of having a working DVD and also have additional files in that same disk. It all works fine in a Mac; I can watch the DVD, and I can also access the additional files (one .pdf and one .m
-
Can the dock be configured to recognize an external drive?
Can the dock be configured to recognize an external drive?
-
I have been charged 4 times for the same tune that I downloaded on itunes. Is there any way to change that?
-
Exchange profile pointing to old hostname after the system copy
Hi Team, I did system copy of SAP XI3.0 SP19 from host HOST1 (Windows 2003 , MS SQL 2005 SP3)to HOST2 (Windows 2008 R2, MS SQL 2005 SP3)with the same SID . I am using same SID as i will have to upgrade XI3.0 to PI7.1 EHP1 on the new host(trying to us