Trinidad table problem with navigation
hi all,
i have a trinidad table on my jspx page. I set the rows size to 5 inorder to prevent all records being displayed. when there are more than 5 records we can navigate using previous and next buttons. when we click next or previous button the record that is displayed at the top of that particular range should become the current record. How can we achieve it. Pls help.
Thnx in advance.
Nad
Hi Nad,
I create my table from a VO. When I drag it from the Data Controls panel into the JSPX page, the PageDef file will be updated accordingly.
To achieve a range paging of 5 (or whatever row count), you will need to change the RangeSize value stated in this PageDef file.
<executables>
<iterator Binds="SampleVO1" RangeSize="5" DataControl="SampleAMDataControl"
id="SampleVO1Iterator"/>
</executables>Regards,
Chan Kelwin
Similar Messages
-
Problem with navigation and masthead by changing languages with Anonymous
Hi All,
i have a problem with navigation and masthead by changin the language when accessing as anonymous user.
Ive created two additional users anon_de (with language german )and anon_en (for english).
I've created also two links in the in masthead:
/irj/portal/anonymous?guest_user=anon_en and /irj/portal/anonymous?guest_user=anon_de
When i choose "de" for the first time it works fine, but when i choose "en" again the language in the content are is changing to english again, but not in navigation and masthead. When i click again on link for "en" the languge is set to english. Strange thing is that when i click on "de" instead the portal content change to german but masthead and navigation are in english now, as it should be before....
It seems that masthead and navigation have always prevoius language selected.
Do you know, what could be the reason of that strange behavior?
Thanks for help
KarolHi Detlev,
you are right. the user is not "updated" fast enough... the strange thing is, that it works by the first time i change the language...
well.. i can implement that workaround as you suposed, but it would be a really workaround as the same page will be requestes second time, causing requests number to be double..
Thanks for help
ps. i forgot to mark this message as question to give points.. if you tell me how i can change that ill reward your answer.. -
Problems with navigation when deploy application on WebLogic 10.3
Hi! I have problems with navigation when I deploy my application on Weblogic server 10.3. In my application I have two pages. One page where I can see the records. In this page I have button Create with action to secound jspx page. When I press this button then the first form (where I could see all records) is empty - the create operation worked, but navigation to second page not. Navigation rules is in adf task flow. In default server all works correct. Where is the problem?
Maybe when I deploy my application I need specialy deploy adf task flow or somewhere write something? If so, then can you explain me where? Any suggestions what to do.
Best regards!I have in log:
2009.26.3 20:12:52 oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImp
l setLifecycleContextBuilder
WARNING: ADFc: Replacing the ADF Page Lifecycle implementation with 'oracle.adfi
nternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
2009.26.3 20:12:52 oracle.adfinternal.controller.util.model.AdfmInterface initia
lize
INFO: ADFc: BindingContext is present, using ADFm APIs for DataControlFrames.
2009.26.3 20:12:52 oracle.adfinternal.controller.metadata.provider.MdsMetadataRe
sourceProvider <init>
INFO: ADFc: Controller caching of MDS metadata resources ENABLED.
2009.26.3 20:12:52 oracle.adf.controller.internal.metadata.MetadataService$Boots
trap add
INFO: ADFc: Loading bootstrap metadata from '/WEB-INF/adfc-config.xml'.
2009.26.3 20:12:54 oracle.adf.share.security.providers.jps.CSFCredentialStore fe
tchCredential
WARNING: Unable to locate the credential for key AUGI in D:\bea\user_projects\do
mains\base_domain\config\oracle.
2009.26.3 20:12:54 oracle.adf.share.jndi.ReferenceStoreHelper throwPartialResult
Exception
WARNING: Incomplete connection information
Edited by: Debuger on Mar 26, 2009 11:18 AM -
I'am trying to use the demo program 'navwiz.fmb' to make a program that can fetch data from several tables in the navigator. but i doesn't work. Please see the procedure below.
Can you help me. I looking for docs that can help me .
In fact i want to know more than 3 level tree is possible
Thanks
PROCEDURE r_t (p_view VARCHAR2) IS
cursor cursor_soc is
select soc_designation, soc_societe
from societes
order by soc_designation;
cursor cursor_dept(p_soc varchar2) is
select sec_designation, sec_secteur
from zones
where rtrim(ltrim(sec_societe)) = rtrim(ltrim(p_soc))
order by sec_designation;
cursor cursor_emp(p_sec varchar2) is
select div_designation, div_division
from secteurs
where rtrim(ltrim(div_secteur)) = rtrim(ltrim(p_sec))
order by div_designation;
cursor cursor_centre(p_div varchar2) is
select cen_designation, cen_cf
from centres
where rtrim(ltrim(cen_division)) = rtrim(ltrim(p_div))
order by cen_designation;
cursor cursor_ens(p_cf varchar2) is
select ens_designation, ens_ensemble
from ensembles
where rtrim(ltrim(ens_cf)) = rtrim(ltrim(p_cf))
order by ens_designation;
cursor cursor_equ(p_ens varchar2) is
select equ_designation, equ_equipement
from equipements x,liens_ens_equ y
where rtrim(ltrim(lee_ensemble)) = rtrim(ltrim(p_ens))
and rtrim(ltrim(equ_equipement)) = rtrim(ltrim(lee_equipement))
order by equ_designation;
cursor cursor_org(p_equ varchar2) is
select org_designation, org_organe
from organes x,liens y
where rtrim(ltrim(lie_equipement)) = rtrim(ltrim(p_equ))
and rtrim(ltrim(org_organe)) = rtrim(ltrim(lie_organe))
order by org_designation;
v_i number;
v_ignore number;
rg_emps recordgroup;
rg_depts recordgroup;
v_init_state groupcolumn;
v_level groupcolumn;
v_label groupcolumn;
v_icon groupcolumn;
v_value groupcolumn;
i_soc number := 1;
i_zone number := 1;
i_secteur number := 1;
i_cf number := 1;
i_ens number := 1;
i_equ number := 1;
i_org number := 1;
begin
/*if p_view = 'EMP' then
--the emps hierarchy
rg_emps := find_group('EMPS');
if not id_null(rg_emps) then
delete_group(rg_emps);
end if;
rg_emps := create_group_from_query('EMPS',
'select 1, level, ename, NULL, to_char(empno) ' ||
'from emp ' ||
'connect by prior empno = mgr ' ||
'start with job = ''PRESIDENT''');
v_ignore := populate_group(rg_emps);
ftree.set_tree_property('navigator.nav_display', ftree.record_group, rg_emps);
else
--the organization
rg_depts := find_group('SOCIETES');
if not id_null(rg_depts) then
delete_group(rg_depts);
end if;
rg_depts := create_group('SOCIETES');
v_init_state := add_group_column(rg_depts, 'init_state', number_column);
v_level := add_group_column(rg_depts, 'level', number_column);
v_label := add_group_column(rg_depts, 'label', char_column, 150);
v_icon := add_group_column(rg_depts, 'icon', char_column, 20);
v_value := add_group_column(rg_depts, 'value', char_column,20);
v_i := 1;
for socrec in cursor_soc loop
add_group_row(rg_depts, v_i);
set_group_number_cell(v_init_state, v_i, 1);
set_group_number_cell(v_level , v_i, 1);
set_group_char_cell (v_label , v_i, socrec.soc_designation);
set_group_char_cell (v_icon , v_i, NULL);
set_group_char_cell (v_value , v_i, socrec.soc_societe);
v_i := v_i + 1;
i_soc := i_soc + 1;
for deptrec in cursor_dept(socrec.soc_societe) loop
add_group_row(rg_depts, v_i);
set_group_number_cell(v_init_state, v_i, 1);
set_group_number_cell(v_level , v_i, 2);
set_group_char_cell (v_label , v_i, deptrec.sec_designation);
set_group_char_cell (v_icon , v_i, NULL);
set_group_char_cell (v_value , v_i, deptrec.sec_secteur);
v_i := v_i + 1;
i_zone := i_zone + 1;
for emprec in cursor_emp(deptrec.sec_secteur) loop
add_group_row(rg_depts, v_i);
set_group_number_cell(v_init_state, v_i, 1);
set_group_number_cell(v_level , v_i, 3);
set_group_char_cell (v_label , v_i, emprec.div_designation);
set_group_char_cell (v_icon , v_i, NULL);
set_group_char_cell (v_value , v_i, (emprec.div_division));
v_i := v_i + 1;
i_secteur := i_secteur + 1;
for centrerec in cursor_centre(emprec.div_division) loop
add_group_row(rg_depts, v_i);
set_group_number_cell(v_init_state, v_i, 1);
set_group_number_cell(v_level , v_i, 4);
set_group_char_cell (v_label , v_i, centrerec.cen_designation);
set_group_char_cell (v_icon , v_i, NULL);
set_group_char_cell (v_value , v_i, (centrerec.cen_cf));
v_i := v_i + 1;
i_cf := i_cf + 1;
for ensrec in cursor_ens(centrerec.cen_cf) loop
add_group_row(rg_depts, v_i);
set_group_number_cell(v_init_state, v_i, i_ens);
set_group_number_cell(v_level , v_i, 5);
set_group_char_cell (v_label , v_i, ensrec.ens_designation);
set_group_char_cell (v_icon , v_i, NULL);
set_group_char_cell (v_value , v_i, (ensrec.ens_ensemble));
v_i := v_i + 1;
i_ens := i_ens + 1;
for equrec in cursor_equ(ensrec.ens_ensemble) loop
add_group_row(rg_depts, v_i);
set_group_number_cell(v_init_state, v_i, i_equ);
set_group_number_cell(v_level , v_i, 6);
set_group_char_cell (v_label , v_i, equrec.equ_designation);
set_group_char_cell (v_icon , v_i, NULL);
set_group_char_cell (v_value , v_i, (equrec.equ_equipement));
v_i := v_i + 1;
i_equ := i_equ + 1;
for orgrec in cursor_org(equrec.equ_equipement) loop
add_group_row(rg_depts, v_i);
set_group_number_cell(v_init_state, v_i,i_org);
set_group_number_cell(v_level , v_i, 7);
set_group_char_cell (v_label , v_i, orgrec.org_designation);
set_group_char_cell (v_icon , v_i, NULL);
set_group_char_cell (v_value , v_i, (orgrec.org_organe));
v_i := v_i + 1;
i_org := i_org+1;
end loop;
end loop;
end loop;
end loop;
end loop;
end loop;
end loop;
ftree.set_tree_property('navigator.nav_display', ftree.record_group, rg_depts);
--end if;
end;
Message was edited by:
user507429thank you for helping me. the problem i have is that only the 3 first level data are fecthed. the rest are ignored.
Any indication will be appreciate
hope you speak french.
au fait en basant sur le from demo navwiz.fmb j'essaye de mettre en oeuvre une arborescence à 7 niveaux. seulement à l'execution je n'ai que 3 niveaux affichés. les autres sont simplement ignorés.
Merci
Message was edited by:
user507429 -
Bdc upload file data into internal table problem with gui_upload fm
Hello experts,
my coding is like this ..
data : begin of itab occurs 0 .
field1 like mara-matnr,
field2......
etc,
end of itab.
data: file1 type string.
parameter :file like rlgrap-filename.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR file.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
static = 'X'
mask = space
field_name = 'FILE'
CHANGING
file_name = file.
START-OF-SELECTION.
FILE1 = FILE . "HERE I AM PASSING INTO STRING
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = FILE1
FILETYPE = 'ASC'
has_field_separator = 'X'
TABLES
data_tab = itab. " here the data is not populating from the file , it is giving the error like speified table not found.
HERE i am getting the message like "specified table name not recgonised" . the data is not populating into the itab from the file.
file structure is same as the internal table.
I stored the file as .txt( ie in notepad).
my file is like this..
10000 200 323 sunndarrr.......
i had a problem with this bdc , i am getting like "specified table name not recgonised" in the fm gui_upload while debugging.
when i am using the ws_upload it is working fine.
please guide me where i have done the mistake.
thank you so much for all the replies.Hi,
Have a look on the following code.
TABLES: kna1.
DATA: BEGIN OF itab1 OCCURS 0,
str(255),
END OF itab1.
DATA: itab2 TYPE kna1 OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
filename = 'D:\ABAP EVE\ffile1.txt'
filetype = 'ASC'
TABLES
data_tab = itab1
EXCEPTIONS
conversion_error = 1
file_open_error = 2
file_read_error = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
no_authority = 10
OTHERS = 11.
IF sy-subrc <> 0.
WRITE:/ 'sorry'.
ELSE.
LOOP AT itab1.
SPLIT itab1-str AT ',' INTO itab2-kunnr itab2-name1.
APPEND itab2.
ENDLOOP.
IF sy-subrc = 0.
LOOP AT itab2.
WRITE:/ itab2-kunnr,itab2-name1.
INSERT INTO kna1 VALUES itab2.
ENDLOOP.
IF sy-subrc = 0.
WRITE:/ 'inserted'.
ELSE.
WRITE:/ 'not inserted'.
ENDIF.
ELSE.
WRITE:/ 'fail'.
ENDIF.
ENDIF.
Flat file:
10001,Sadney
10003,Yogesh
20005,Madan
1.U need to define internal table with one field of max size
2.upload the flat file data into that internal table
3.split that internal table data into another internal table(having fields)
<REMOVED BY MODERATOR>
thanks,
Chandu
Edited by: Alvaro Tejada Galindo on Apr 30, 2008 12:17 PM -
I have a problem with my nokia 6710 navigator, it always flashes a message that memory full delete or move data from Chone memory but i am struggling to move or delete since i cnt find C folder? please assist?
did you check if you have the latest firmware installed?
did you install something new, new app or something like that ?
http://europe.nokia.com/support/download-software/device-software-update
if you have tried updating or it is up to date, you tried to restore factory settings and such, took the battery out and nothing is helping a trip to nokia care might be a good idea
You know what I love about you the most, the fact that you are not me ! In love with technology and all that it can offer. Join me in discovery.... -
Problem with navigator on nokia5800 navigation edi...
My name is Alexander and I have problems with the navigation system of the phone as my Nokia 5800 Navigation Edition: I installed the new version while downloading OviMaps and an error occurred and then can not use the browser. How can I reinstall OviMaps or what should I do? thank you
Solved!
Go to Solution.@alexandrudilita
Welcome to the forum!
Although you would need to backup any essential data first, you could always reset device to "out of box" state by keying in *#7370# on dialler followed by 12345 (default Nokia lock code unless previously altered by yourself); this would revert to version of OVI Maps pre-installed in device firmware.
Happy to have helped forum with a Support Ratio = 42.5 -
Problems with navigation using JSF 1.0 RI
I have a problem with faces in that navigation simply stops working. I have a page which have prev/next buttons on it, and a cancel button. Each button is of the form
<h:form id="viewxxx">
<h:commandButton value="XXX" styleClass="buttonInput" action="#{somebean.doSomeAction}"/>
</h:form>
The code behind the next/prev button action returns "success", the cancel returns an action string which returns the user to the previous screen.
After clicking on prev/next a few times one of two possible things happen:-
(1) the navigation stops working (all buttons do nothing)
(2) or after pressing a button a few times the navigation starts to work.
I tried to simplify things to find out if my backing code was causing the problem. I included a very simple button:-
<h:form id="view_c_getridofme">
<h:commandButton value="Test" styleClass="buttonInput" action="success"/>
</h:form>
and after clicking this a few time it also breaks the navigation. So I suspect something strange is going on inside the Faces implementation.
I checked the faces-config.xml and this is correct:
<!-- Stay on View for page next/prev -->
<navigation-case>
<from-outcome>success</from-outcome>
<to-view-id>/viewcorr.jsp</to-view-id>
<redirect />
</navigation-case>
I tried (albeit briefly) MyFaces 1.0.3 and the navigation does not break although it does present some other issues for me. My preference would be to use Sun's JavaFaces implementation if possible.
Can anyone shed light on this - why this may be happening?I experienced the same problem while re-submitting to the same page about 15 times via a command button (a list page that would get updated with every new submit).
After having turned JSF logging on I discovered that my stylesheet (!) was interpreted by JSF as a Faces view (because of the /faces/-mapping before it) and that this caused the list page to be (incorrectly) added up towards the maximum of 15 views in the session. After 15 reloads JSF would remove the list page from view, re-create it, and I experienced the same problems as you described in the top post - no navigation worked.
My stylesheet used to be:
<link rel="STYLESHEET" type="text/css" href="../../css/foo.css">
... which kept the /faces/ mapping from the page containing the css reference, and made it look like a faces view to JSF.
When I switched to:
<link rel="STYLESHEET" type="text/css" href="/css/foo.css">
... the problem disappeared.
Hope that helps all of you that have this problem. It certainly took me quite a while to figure it out!
Mattias L -
JDeveloper Extension Problem with Navigator Elements
Hi,
I have a problem with the elements of the JDev Navigator.
At IDE startup I want to set an overlay for the elements on the active project.
This function is implemented in the Subversion Extension too.
How can I access the elements of an active project in the navigator?
It is not a problem to set an overlay with the ContextMenuListener.
Thank you for your help.
Greetings,
Benjamin OelenbergPlease take a look at the Extension SDK sample projects. There is a sample that does exactly this.
Install the Extension SDK from the Help --> Check for Updates dialog and after restart, say yes to installing the sample projects. -
Apex 4.1 - problem with navigation component LIST after upgrade
There seems to be problem with Tags in LIST component, after upgrade from 4.0 to 4.1 release
Right, we verified a problem for migrated lists.
We have lists of links, that are not based on a specific template. After upgrade to 4.1, they stopped from rendering in their region. Found out that the tag <TABLE> was not included in the HTML Source, hence the list body was not built to render.
The only way we found to include it was to create a template for Lists (there is not one by default in Apex in certain themes), edit it and include the tag (in the section "Before List Entry" > "List Template Before Rows" - the tag itself is not present in the newly created template, too). Then, you need to assign the template to the existing Lists to make the list body re-appear: it doesn't seem to be a good practice to create a list without a template, but Apex should at least provide 1 by default.
Edited by: Kleber M on Oct 28, 2011 9:03 AM -
Problem with navigation script
Hi I'm having trouble getting a button work correctly when
pressed it should take user to a particular label on the main
scene. Is there a problem with my script? The button is inside a
movie clip which is inside another movie clip. Thanks in
advance.this quite difficult to explain but here goes. i have a
complex button with a roll in roll out effect. ie. a movie clip
acting as a button that shows different buttons (in another movie
clip) when it is rolled over. I then want the different buttons to
go to other parts in the main timeline. the code works fine when
the buttons are on the main timeline but because it is within
another two movie clips it doesnt work like it should. In fact the
script i have used in the first movie clip also affects the button.
This script is as follows and belongs in the first frame of the
first movie clip. In other words, I need the button not to be
effected by the following script but by the gotoAndPlay script.
Thanks -
Having problems with navigation
I have a MacBook Air. Navagation on mousepad is not working after I open an internet site and can't close Safari without shutting down the computer completely. This is a new problem and I have reset Safari thinking the problem would be resolved but it has not. What do I need to do to get my computer back? Very frustrating.
what do you mean by 'opens a movie'? i have a feeling you
might be just going to a frame in the same movie - or perhaps a
scene? or are you using the attachMovie function to bring in a
movieclip from the library or loadMovie to bring in a swf? and then
what is the precise syntax of the actionscript you are entering? we
should be able to get to the bottom of the solution to your problem
with all the information. -
Migration of ADF table selection code to Trinidad code problem with RowKeySet
we found a conversion problem as described below in one of the java files related to Manual UI.
public void setPsdTable(CoreTable psdTable) {
this.psdTable = psdTable;
if (globalBean.isResetCreateRequestPsdQuarters()){
ADF -code this.psdTable.setSelectionState(new RowKeySet());
Trinidad code this.psdTable.setSelectedRowKeys(new RowKeySet());
globalBean.setResetCreateRequestPsdQuarters(false);
In Trinidad RowKeySet is abstract class whereas in ADF the same is normal class. Hence I found the below error message.
Error(364,45): org.apache.myfaces.trinidad.model.RowKeySet is abstract; cannot be instantiated
Please guide me if you have an idea on how to change the adf statement to Trinidad code statement “this.psdTable.setSelectionState(new RowKeySet());”Hi,
which "4. click on back button." ? If its the browser back button then this only navigates back the UI not the server state of an application.
Frank -
Problem with navigation in app javascript
Hi, in my app there are some problems for the navigation between the pages. in the app there is a descrption of the problems. can you help me? please.. it is important for me
https://onedrive.live.com/redir?resid=EED8037DD05FCED!79109&authkey=!APeraVKd0dTb96k&ithint=file%2crarHi Massimo,
Problem solved? I've downloaded your sample and there is really complex code in your sample, hardly to find where the problem located.
If I click method1, the app crashed with exception: out of memory.
To narrow down the issue, I create a blank app with the same page without too many js script loaded, I found it works fine, looks like the out of memory is caused by some of the js files.
I would suggest you to remove the js script reference you are using one by one if they are useless, I believe some of the JS code cause the memory issue.
--James
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Conditional Text in Table - Problems with row height adjustment
Hey there,
I’m german but I try to express my problem in english as good as I can. Not always easy with the different menu names. Hope you get what I want to say! :-)
As you can see in my attached screenshot, I placed text in a table.
Text height is set to: minimum 1,5 … so it adjusts to the amount of text.
This is what I want - it should adjust the height to the marked/aktivated conditional text.
It always adjusts the hight when I blind out the first line oder lines in between (e.g. line 2+3 of 4).
But if I want to blind out the last line(s), there is a ¶ at the end and a extra blank line with the #.
I know, the # stands for the following hidden Text, but why does it work with the red/green text.
There is also text hidden (green), but the mark # is right after the last word - not in a new line.
Has anyone a solution for this?
Thanks in advance!That's ok so far. A paragraph sign at the end of a text forces a new line.
To change that do the following:
For every condition you need another condition just for the paragraph sign that comes immediately after the condition. Not after every paragraph of one condition, but at the end of every consecutive numbers of paragraphs of the same condition.
So in your third example you'll need two conditions more:
1. One for the paragraph sign at the end of condition "meaasurements"
2. One for the paragraph sign at the end of condition "price 2"
Whenever you make the other conditions invisible, you also have to turn off the new conditions that only control the paragraph signs.
See the following screenshots:
Uwe
Maybe you are looking for
-
Hi, I have a iMac pedestal version which has worked great for years, however the screen just died. I thought about connecting the computer up to another monitor or TV so wanted a connector. I bought a mini-DVI to VGA connector but it's the wrong part
-
I wish to move all my old mail folders from my old HD to a new HD and system, but can not find Thunderbird profiles in the new OS. I find them on the old HD. Is there a way to move them? Are they hidden files in the new HD and system? If so, how to p
-
Adapter Scaling & load balancing
Can some one provide me info on how to achieve scaling and load balancing with Oracle Adapters? I am trying to collect this data for poplesoft Adapter & OracleApplications e-business suite adapter Thanks in advance..
-
My iPhone 4 turned off and will not come back on
It was on this morning fully charged i put it in my purse and I pull it out and it will not come on. I've tried the reset with the home and lock button. it has no water damage and i tried plugging it up to the computer and it just keeps flashing the
-
Podcasts not in Podcast Selection
When I upgraded iTunes from 6 to 7, my podcasts in iPod moved from podcasts to albums and artists although they are under podcasts in iTunes. Nothing is under podcasts on my iPod until I go all the way from menu to music to genres to podcasts, where