How to display Call list Large view as the initial view dynamically.
My requiremet is that
1) User chooses a call list -> then clicks display calls -> then clicks Calls Full view
Now ClmCallListDetailsLarge View is displayed
2) Now the user chooses a call and then prceeds to Account confirmation, Interaction Record and then ends the call.
3) Now when the Call list is choosen from navigation bar Available 'ClmAvailbleCallLists' View is displayed, but the requirement is to display 'ClmCallListDetailsLarge' view.
4) There is some standard code related to this in 'DO_REPLACE_INITIAL_VIEW' method of the window controller. but this method is not getting triggered at all.
Please let me know how this can be achieved
Thanks for idea.
Assume I stored my data in a List of HashMap.
Could you provide an example of JSTL for displaying this list?
Similar Messages
-
Urgent help needed: how to display a list of records on the screen
Hello,
This is very urgent. Can anyone help me. I have posted this query of mine before also but still no reply came. My whole application is dependent on this problem. Actually I am developing an application for mobile phone using MIDP. I have a record store which contains personal details for users. I am able to add records to the record store. Now I want that these records can be edited. For this I want to display a list of firstname field on the screen (and not console) so that i can select a user to edit its details. I have written the code to read the records and individual fields and display it on the console but i want to display that list on screen. I tried list and array but it s giving some error.
I am giving the code to read the records below. Please tell me how can I display it in a list on the screen.
public void readStream(){
try
byte[] recData=new byte[50];
String varname;
ByteArrayInputStream strmBytes = new ByteArrayInputStream(recData);
DataInputStream strmData=new DataInputStream(strmBytes);
if (rsperdt.getNumRecords() > 0){
ComparatorString comp=new ComparatorString();
int i=1;
RecordEnumeration re=rsperdt.enumerateRecords(null, comp, false);
while(re.hasNextElement()){
rsperdt.getRecord(re.nextRecordId(), recData,0);
System.out.println("Record #" + i );
varname = strmData.readUTF();
System.out.println("Name #"+varname);
System.out.println("---------------------------");
i=i+1;
strmBytes.reset();
comp.compareStringClose();
re.destroy();
strmBytes.close();
catch(Exception e){
System.err.println("read Records class:read");
}I could not understand ur point "post the code in tags". I am pasting the code below. Please help as my whole application is stuck due to this problem and I have a deadline of 7th oct.
This midlet is getting called from some other midlet.
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
import javax.microedition.rms.*;
import java.io.*;
import java.util.*;
public class frmread extends Form implements CommandListener
static final String rec_store="db_per";
private RecordStore rsperdt=null;
private Vector vecname;
private ChoiceGroup chname;
private boolean flagSortByPriority = false, flagShowPriority = true;
private Form fmmain;
private Command cmdBack;
private teledoc midlet;
public frmread(String title, teledoc midlet)
super(title);
this.midlet = midlet;
openRecStore();
this.setCommandListener(this);
chname = new ChoiceGroup("new", Choice.EXCLUSIVE);
vecname = new Vector();
cmdBack = new Command("Back", Command.BACK, 1);
fmmain = new Form("Record Search");
addCommand(cmdBack);
setCommandListener(this);
readStream();
rebuildTodoList();
closeRecStore();
* Process events for this form only
protected void rebuildTodoList()
for(int j=chname.size(); j>0; j--)
chname.delete(j-1);
int priority;
todoitem item;
String text;
StringBuffer sb;
for (int j=0; j<vecname.size(); j++)
item=(todoitem) vecname.elementAt(j);
priority = item.getPriority();
text = item.getText();
sb = new StringBuffer((flagShowPriority ? (Integer.toString(priority) + "-"): ""));
sb.append(text);
chname.append(sb.toString(), null);
public void commandAction(Command c, Displayable s)
if (c == cmdBack){
midlet.displayteledoc();
public void readStream(){
try
byte[] recData=new byte[100];
String varname;
int varname1=0;
ByteArrayInputStream strmBytes = new ByteArrayInputStream(recData);
DataInputStream strmData=new DataInputStream(strmBytes);
if (rsperdt.getNumRecords() > 0){
ComparatorString comp=new ComparatorString();
int i=1;
int id = 1;
vecname.removeAllElements();
RecordEnumeration re=rsperdt.enumerateRecords(null, comp, false);
while(re.hasNextElement()){
rsperdt.getRecord(re.nextRecordId(), recData,0);
System.out.println("Record #" + i );
varname = strmData.readUTF();
varname1 = strmData.readInt();
id = re.nextRecordId();
System.out.println("Name #"+varname);
todoitem item = new todoitem(varname1, varname, id);
vecname.addElement(item);
System.out.println("---------------------------");
i=i+1;
strmBytes.reset();
comp.compareStringClose();
re.destroy();
strmBytes.close();
catch(Exception e){
System.err.println("read Records class:read");
public void openRecStore(){
try{
rsperdt=RecordStore.openRecordStore("db_per",true);
catch(RecordStoreException e){
db(e.toString());
public void closeRecStore(){
try{
rsperdt.closeRecordStore();
catch(Exception e){
db(e.toString());
public void db(String str){
System.err.println("Msg:" + str);
class ComparatorString implements RecordComparator{
private byte[] recData = new byte[20];
private ByteArrayInputStream strmBytes = null;
private DataInputStream strmDataType = null;
public void compareStringClose(){
try{
if(strmBytes != null)
strmBytes.close();
if(strmDataType != null)
strmDataType.close();
catch (Exception e)
public int compare(byte[] rec1, byte[] rec2)
String str1, str2;
try {
int maxsize = Math.max(rec1.length, rec2.length);
if (maxsize > recData.length)
recData = new byte[maxsize];
strmBytes = new ByteArrayInputStream(rec1);
strmDataType = new DataInputStream(strmBytes);
str1=strmDataType.readUTF();
strmBytes = new ByteArrayInputStream(rec2);
strmDataType = new DataInputStream(strmBytes);
str2=strmDataType.readUTF();
int result=str1.compareTo(str2);
if (result == 0)
return RecordComparator.EQUIVALENT;
else if (result < 0)
return RecordComparator.PRECEDES;
else
return RecordComparator.FOLLOWS;
catch (Exception e)
return RecordComparator.EQUIVALENT; -
I just reset my iphone. Now there is no pic shown when someone calls me. Not even the thumbnail
view on top right corner. How to fix this?Have you entered pics for contacts in your contacts?
-
how come 64 GB storage can hold only 100 entries in the call list. can anybody explain the reason?
Because the "Recents" is limited to exactly 100 calls, by design...nothing to do with the size of your phone. Tell Apple if you liked to see it increased:
http://www.apple.com/feedback/iphone.html -
What column diffrentiate v$view to the gv$views and how
Hi ALL,
could u plz explain what column diffrentiate v$view to the gv$views? and how?In Oracle9i Real Application Clusters, querying a GV$ view retrieves the V$ view information from all qualified instances. In addition to the V$ information, each GV$ view contains an extra column named INST_ID of datatype NUMBER. The INST_ID column displays the instance number from which the associated V$ view information was obtained. The INST_ID column can be used as a filter to retrieve V$ information from a subset of available instances.
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96536/ch3.htm#1109169 -
How can I disable a hover link in the phone view size?
Hola
How can I disable a hover link in the phone view size?
I got this site where I got a gallery page,
the pics have a hover/link state (?) where as you click in them
they will open a bigger pic. (Prettyphoto)
Thanks good.
What I want to do, is that the hover state (?)
won't show in the phone size.
I know that I will need a media queries, but I'm not sure
where or how to tackle this problem.
This is the code where I have the pics
<div class="grid_3 project-item bar">
<figure class="project-img">
<img src="../images/gallery_pics/memos_bar_s5.jpg" alt="Memo's Cocina & Tequila Bar" />
<div class="overlay"></div>
<div class="mask">
<a class="icon-image"
href="../images/gallery_pics/memos_bar_b5.jpg"
rel="prettyphoto[gallery]"
title="The Bar">
<i class="icon-search"></i>
</a></div>
</figure>
</div>
Thanks for your helpIf you don't want a :hover state to show in the phone css of a fluid grid layout, you would remove it from the global settings and only include it in the tablet and desktop media queries.
Or are you trying to do something else? -
How do you call a java class from the main method in another class?
Hi all,
How do you call a java class from the main() method in another class? Assuming the two class are in the same package.
Thanks
SI
Edited by: okun on May 16, 2010 8:40 PM
Edited by: okun on May 16, 2010 8:41 PM
Edited by: okun on May 16, 2010 8:47 PMgeorgemc wrote:
To answer your impending question, either the method you're calling has to be static, or you need an instance of that other class to invoke it against. Prefer the latterAnd to your impending question after that: no, don't use the Singleton pattern. -
How to display designer module version no. on the form?
Hi,
Does anyone know how to display designer module version no. on the form?
Thanks in advanceWith Headstart, we suggest you create a module argument P_REVISION and manually populate this item with the current revision of your module. You can then see this argument in the 'About this Application' form that is supplied with Headstart. You could write a utility to query the module revision number for the module and populate P_REVISION with this value.
Regards,
Lauri -
How do I set Adobe reader X as the default viewer in Windows XP and Internet Explorer 7
How do I set Adobe reader X as the default viewer in Windows XP and Internet Explorer 7 ?
You can check the following settings: Edit -> Preferences -> Internet -> Web browser options
It should set Adobe Reader as a default viewer in the Internet Explorer -
Calls listing, why repetition of the same contact for each call ?
Calls listing, why repetition of the same contact for each call ?
jasonnPOS,
you seam to have had the exat same problem I am having now. Have you solved it?
The link you send in your post :
http://support.apple.com/kb/TS2326
As I think you already noticed doesn't solve the problem it merly duplicates the numbers in each contact. One with +and country code and one without that...
There has to be another solution... -
Error when calling a popup window in the initial screen of an application
Hi,
I am calling a popup window in the Initial screen to select the variant list.
I am getting an error reference to Null Object reference.
Here is the Error.
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO
Exception CX_SY_REF_IS_INITIAL
Date and Time 15.06.2007 10:00:16
Short text
Access via 'NULL' object reference not possible.
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_WDR_MESSAGE_AREA===========CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
caught in
procedure "SUPPLY_VIEW_DATA" "(METHOD)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
You attempted to use a 'NULL' object reference (points to 'nothing')
access a component.
An object reference must point to an object (an instance of a class)
before it can be used to access components.
Either the reference was never set or it was set to 'NULL' using the
CLEAR statement.
How to correct the error
Probably the only way to eliminate the error is to correct the program.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"OBJECTS_OBJREF_NOT_ASSIGNED_NO" "CX_SY_REF_IS_INITIAL"
"CL_WDR_MESSAGE_AREA===========CP" or "CL_WDR_MESSAGE_AREA===========CM00Q"
"SUPPLY_VIEW_DATA"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
The exception must either be prevented, caught within proedure
"SUPPLY_VIEW_DATA" "(METHOD)", or its possible occurrence must be declared in
the
RAISING clause of the procedure.
To prevent the exception, note the following:
Looking for Ur valuable suggestions.
Cheers,
SamHi Sam,
The correct code for creating a popup window will be:
data lo_window_manager type ref to if_wd_window_manager.
data lo_api_component type ref to if_wd_component.
data lo_window type ref to if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->create_window(
window_name = 'WINDOW_NAME'
* title =
* close_in_any_case = abap_true
message_display_mode = if_wd_window=>co_msg_display_mode_selected
* close_button = abap_true
button_kind = if_wd_window=>co_buttons_okcancel
message_type = if_wd_window=>co_msg_type_none
default_button = if_wd_window=>co_button_ok
lo_window->open( ).
Hope this helps.
Regards,
Ram -
Smooth scrolling articles viewed on the Content Viewer going out of shape
When a smooth scrolling article is shared and viewed on the Content Viewer the last section of the article is often doubled in size. It looks peculiar and it becomes impossible to read. Are you aware of the situation? Is there a solution to this?
Hi Neil! Thank you very much for replying so quickly. I am not sure what the acronym ACV means. The display of the smooth scrolling articles on the iPad is perfect. It goes weird only in the Content Viewer. I checked the smooth scrolling articles made accross all the brands own by Rogers and I certify that the problem happens with all the smooth scrolling articles.
Underneath, a few links that prove it:
Châtelaine avril 2014: Sommaire cliquable
Châtelaine avril 2014: Rédaction
Today's Parent July 2014: Contents
Today's Parent July 2014: Recipe and craft index
Maclean's July 14, 2014: Table of Contents
Maclean's July 14, 2014: How to navigate
LOULOU Summer 2014: HIT LIST
LOULOU Summer 2014: IT GIRL
Thank you for your help! Really appreciated!!
Fred -
Switching between the Classic View and the Tree View in transaction FEBA
Hi All
I would like to know how to switch between the Classic View and the Tree View on transaction FEBA for post processing of bank statements. I have a scenario where in the DEV client the transaction is calling up the Tree View and in my QA environment it calls up the Classic View, and I would like to know if there is a way to easily switch between the two views.
I'd appreciate your assistance.Hi,
I think you can do the same using transaction codes FEBA and FEBAN.
Thanks
Aravind -
Can the Cover Page be the Initial View?
Hi everyone. A student of mine has an excellent question--how can you make sure that the Cover Sheet of a PDF package is the first thing the user sees? I just naturally assumed it would be, but it turns out that it's not.
Is it something you can set in the Initial View and if yes, how?
thanks!Eva,
I don't work with packages, but you should be able to set the opening page in the Initial View properties (acc. to Acrobat user guide). This typically defaults to page 1 (as defined by the Acrobat window), but in some pre-8 versions of Acrobat, working w/Word files, I recall that the setting would be sometimes change to another page (without human intervention - a bug for sure). That was working with PDF files, not packages, but perhaps the same issue exists.
For a package, can't you select File > Properties, then in Doc. Properties dialog box, aren't there Initial View options? If so, under Layout and Magnification, don't you find the Open to Page option?
If this isn't the case, others who work w/packages will need to chime in. Make sure you specify which version/type of Acrobat you have and which operating system. --GMc -
What happened to the Initial View options under Document Properties??
What happened to the Initial View options under Document Properties? I just updated my Reader and it's no longer accessible! SOS.
Hi kga406,
Please tell me if you are able to access 'initial view' tab in document properties using Acrobat.
You can change initial view settings only in Acrobat and can view PDFs in Reader with the same initial view as set.
Regards,
Anubha
Maybe you are looking for
-
Ship to party and Bill to party not reflecting in marketing documents
Hi, Ship to party and Bill to party not reflecting in marketing documents inspite of defining it in BP Master data.why does it happen.we are on 8.8 version and this is happening in Livedatabase. Thanks, Mansoor Baig
-
How to Format Microsoft Excel spreadsheet generated using RFC
Hi Portal Experts, Currently, I've managed to generate a Microsoft Excel spreadsheet using a customized RFC. The spreadsheet was initiated when submitting data from Portal. But, the data generated in Microsoft Excel was not formatted according to my
-
Photoshop to InDesign - What works? What should be done in InDesign versus Photoshop?
Hello! I have been using Photoshop for years, and before very recently any work I've ever done started in Photoshop - whether it be a logo or newsletter layout. From there I learn whichever tricks I need to for whatever the customer has asked - ie:
-
Dear Experts, I have some problems with the creation of dummy members in time dimension. For examples I have created this member: 2012.TOT 2012 Total Year 013 MONTH 13 TOTAL 2012 Bpc permit to save data on this item, but in the Excel report I can't s
-
Change Total Demand KF in SNP by material
Hello All: I have a requirement where the request is to have just forecast and dep. demand to be part of Total demand KF in SNP. Also this will not have any forecast consumption. The above request is material specific and we will still use the standa