Numbering of headlines with conditional regions
Hi
Its my first post, so i want to apologize if some informations are missing.
I want to number headlines in MS WORD 2007 for a BI Publisher 11.1.5 report, which has some conditional regions included.
My problem is that invisible regoins also increment the number.
e.g.:
1.1 first headline
1.2 second headline
1.3 third headline
If I make the second headline/region invisible the output is:
1.1 first headline
1.3 third headline
If anyone can give me some advice on how to get the numbering right, it would be greatly appreciated.
Thanks
Norbert
Okay I solved this problem by creating XSL:FO variables and calculatedbefore the table of content.
Similar Messages
-
How to prevent duplication on a column with condition
Hello everyone,
I need some advice here. At work, we have an Oracle APEX app that allow user to add new records with the automatic increment decision number based on year and group name.
Says if they add the first record , group name AA, for year 2012, they get decision number AA 1 2013 as their displayed record casein the report page.
The second record of AA in 2013 will be AA 2 2013.
If they add about 20 records , it will be AA 20 2013.
The first record for 2014 will be AA 1 2014.
However, recently , we get a user complaint about two records from the same group name have the same decision number.
When I looked into the history table, and find that the time gap between 2 record is just about 0.1 seconds.
Besides, we have lookup table that allows admin user to update the Start Sequence number with the restraint that it has to be larger than the max number of the current group name of the current year.
This Start sequence number and group name is stored together in a table.
And in some other special case,user can add a duplicate decision number for related record. (this is a new function)
The current procedure logic to add new record on the application are
_Get max(decision_number) from record table with chosen Group Name and current year.
_insert into the record table the new entered record with decision number + 1
_ update sequence number to the just added decision number.
So rather than utitlising APEX built-in automatic table modification process, I write a procedure that combine all the three process.
I run some for loop to continuously execute this procedure, and it seems it can autotically generate new unique decision number with time gap about 0.1 second.
However, when I increase the number of entry to 200, and let two users run 100 each.
If the time gap is about 0.01 second, Duplicate decision numbers appear.
What can I do to prevent the duplication ?
I cannot just apply a unique constraint here even for all three columns with condition, as it can have duplicate value in some special condition. I don't know much about using lock and its impact.
This is the content of my procedure
create or replace
PROCEDURE add_new_case(
--ID just use the trigger
p_case_title IN varchar2,
p_year IN varchar2,
p_group_name IN VARCHAR2,
--decisionnumber here
p_case_file_number IN VARCHAR2,
--active
p_user IN VARCHAR2
AS
default_value NUMBER;
caseCount NUMBER;
seqNumber NUMBER;
previousDecisionNumber NUMBER;
BEGIN
--execute immediate q'[alter session set nls_date_format='dd/mm/yyyy']';
SELECT count(*)
INTO caseCount
FROM CASE_RECORD
WHERE GROUP_ABBR = p_group_name
AND to_number(to_char(create_date, 'yyyy')) = to_number(to_char(date_utils.get_current_date, 'yyyy'));
SELECT max(decision_number)
INTO previousDecisionNumber
FROM CASE_RECORD
WHERE GROUP_ABBR = p_group_name
AND to_number(to_char(create_date, 'yyyy')) = to_number(to_char(date_utils.get_current_date, 'yyyy'));
IF p_group_name IS NULL
THEN seqNumber := 0;
ELSE
SELECT seq_number INTO seqNumber FROM GROUP_LOOKUP WHERE ABBREVATION = p_group_name;
END IF;
IF caseCount > 0 THEN
default_value := greatest(seqNumber, previousdecisionnumber)+1;
ELSE
default_value := 1;
END IF;
INSERT INTO CASE_RECORD(case_title, decision_year, GROUP_ABBR, decision_number, case_file_number, active_yn, created_by, create_date)
VALUES(p_case_title, p_year, p_group_name, default_value, p_case_file_number, 'Y', p_user, sysdate );
--Need to update sequence here also
UPDATE GROUP_LOOKUP
SET SEQ_NUMBER = default_value
WHERE ABBREVATION = p_group_name;
COMMIT;
EXCEPTION
WHEN OTHERS THEN
logger.error(p_message_text => SQLERRM
,p_message_code => SQLCODE
,p_stack_trace => dbms_utility.format_error_backtrace
RAISE;
END;
Many thanks in advance,
AnnWhy not using a sequence for populating the decision_number column ?
Sequence values are guaranteed to be unique so there's no need to lock anything.
You'll inevitably have gaps and no different groups will have the same decision_number in common.
Having to deal with consecutive numbers fixations you can proceed as
with
case_record as
(select 2012 decision_year,'AA' group_abbr,1 decision_number from dual union all
select 2012,'BB',2 from dual union all
select 2012,'AA',21 from dual union all
select 2012,'AA',22 from dual union all
select 2012,'BB',25 from dual union all
select 2013,'CC',33 from dual union all
select 2013,'CC',34 from dual union all
select 2013,'CC',36 from dual union all
select 2013,'BB',37 from dual union all
select 2013,'AA',38 from dual union all
select 2013,'AA',39 from dual union all
select 2013,'BB',41 from dual union all
select 2013,'AA',42 from dual union all
select 2013,'AA',43 from dual union all
select 2013,'BB',45 from dual
select decision_year,
group_abbr,
row_number() over (partition by decision_year,group_abbr order by decision_number) decision_number,
decision_number sequence_number -- not shown (noone needs to know you're using a sequence)
from case_record
order by decision_year,group_abbr,decision_number
DECISION_YEAR
GROUP_ABBR
DECISION_NUMBER
SEQUENCE_NUMBER
2012
AA
1
1
2012
AA
2
21
2012
AA
3
22
2012
BB
1
2
2012
BB
2
25
2013
AA
1
38
2013
AA
2
39
2013
AA
3
42
2013
AA
4
43
2013
BB
1
37
2013
BB
2
41
2013
BB
3
45
2013
CC
1
33
2013
CC
2
34
2013
CC
3
36
for retrieval (assuming decision_year,group_abbr,decision_number as being the key):
select decision_year,group_abbr,decision_number -- the rest of columns
from (select decision_year,
group_abbr,
-- the rest of columns
row_number() over (partition by decision_year,group_abbr order by decision_number) decision_number
from case_record
where decision_year = :decision_year
and group_abbr = :group_abbr
where decision_number = :decision_number
DECISION_YEAR
GROUP_ABBR
DECISION_NUMBER
2013
AA
4
if that's acceptable
Regards
Etbin -
Get records number from internal table with condition.
Internal table itab got more than 1000 records,now i need to get the number of records with condition that itab-field1 = 'XXXX'.
actully, i got an inefficient logic to count the number in a loop statement. is there better way to implement it?hello,
Every time assigning data into temp table and delete may that may not be much efficient. You can check in loop logic how much time is taken. You can check the below code. here I am trying to check the numbers of plant for for one material.
In this logic material is the first field. So if there is option to make the required field in to the 1 st position then it will be nice.
TYPES: BEGIN OF x_count,
matnr TYPE matnr,
count TYPE i,
BEGIN OF x_count.
DATA: i_marc TYPE STANDARD TABLE OF marc,
i_count TYPE STANDARD TABLE OF x_count,
wa_count TYPE x_count.
FIELD-SYMBOLS: <wa_marc> TYPE marc.
SELECT * UP TO 1000 ROWS
FROM marc
INTO TABLE i_marc.
IF sy-subrc = 0.
SORT i_marc BY matnr.
LOOP AT i_marc ASSIGNING <wa_marc>.
wa_count-count = wa_count-count + 1.
AT END OF matnr.
wa_count-matnr = <wa_marc>-matnr.
APPEND wa_count TO i_count.
ENDAT.
ENDLOOP.
ENDIF.
Thanks
Subhanakr -
Best approach -Tabs based ADF Tree left side navigation with Dynamic Regions with out UI Shell
Hi,
Somebody can help for the best approach to implement the following requirement.
Req: When the user select the ADF Tree left side navigation menu, each menu will open as multiple tabs(Dynamic Tabs) in right side content area with out UI Shell Template.
I completed the
Step-1: From the Model project, I can able to render ADF Tree in the using view and view links. I can get the adf tree which is having 3 menu items. Each menu item having 2 sub menu's.
I took each menu item as one(1) taskflow, each taskflow will have two(2) fragments.
Total I have 3 task flows as Menu Items and 6 fragments for sub menu's.
Step-2: My question is How do I implement Tab based the ADF tree navigation (left side area to dynamic regions in content area) through dynamic regions? Please provide the steps in view layers.Than ks for your response.
This is working fine for ADF Tree navigation with dynamic regions if the taskflow having only one fragment. if the taskflow having more than one fragments, this will not work. The following conditions are always satisfies one page fragment of either "employees" or "departments" task flow. If the "employees" task flow have 2 page fragments, it's not work even you pass parameters through routers.
public TaskFlowId getDynamicTaskFlowId() {
if (currentTaskFlowID == null ||
currentTaskFlowID.equalsIgnoreCase(“employees”)) {
return TaskFlowId.parse(employeetaskFlowId);
if (currentTaskFlowID != null &&
currentTaskFlowID.equalsIgnoreCase(“departments”)) {
return TaskFlowId.parse(departmetaskFlowId);
return TaskFlowId.parse(employeetaskFlowId);
My question is "Same use case with Dynamic Tabs" when the user click on any adf tree node. -
Create Item with no Page Regions, but with P0 Region Issue
Hi,
Suppose you have a region on Page 0 called: P0_REGION. You then create a page, P100, with no region. If you try to create a Page Item you get the following message:
Unable to Create Page Item
You must create at least one region before you can create a page item.
Shouldn't we be allowed to create a page item and apply it to the P0 region? I didn't file this as a bug since I didn't know if this is what should happen.
Thank you,
Martin Giffy D'Souza
[http://apex-smb.blogspot.com/]Hi Roel,
Not exactly. I have a common region on Page 0 which contains buttons, jQuery Tabs etc. On each Page, P100 for example, I put items into that region for display purposes. I don't want to create these at P0 Items since they will be run for each page (or I'll have to put a lot of conditions on them).
Martin Giffy D'Souza
[http://apex-smb.blogspot.com/] -
Jquery + json generate html buttons with condition
Hi all,
My need is to generate buttons with conditions described in json. Help me please, I’m newbie.
Here is my json code (it is valid, but does not work with html code below) :
"Caption": "Module caption",
"IconsDirectory": "C://Images/",
"Buttons": [
"Conditions": [
"ConditionText": "1 == 1",
"ButtonText": "Text1",
"Visible": true,
"Colors": {
"FontColor": "#FFFFFF",
"BGColor": "#00FF00"
"Size": {
"Width": 200,
"Height": 50
"Icon": {
"FileName": "Smile.png",
"Width": 16,
"Height": 16
"Url": {
"UrlAddress": "http://www.google.com",
"OpenNewWindow": true
"JavaScriptAction": {
"Text": "alert('ok');"
"ConditionText": "2 == 2",
"ButtonText": "Text2",
"Visible": true,
"Colors": {
"FontColor": "#FFFFFF",
"BGColor": "#00FF00"
"Size": {
"Width": 200,
"Height": 50
"Icon": {
"FileName": "Smile.png",
"Width": 16,
"Height": 16
"Url": {
"UrlAddress": "http://www.google.com",
"OpenNewWindow": true
"JavaScriptAction": {
"Text": "alert('ok');"
html code:
<html>
<head>
<title>SMButtons</title>
[removed][removed]
[removed]
//When document loaded.
$(document).ready(function(){
// Get data from file as JSON
$.getJSON('weekendtask.json', function(data) {
var buttons = data.Buttons;
$.each(buttons, function(key, val)
$('<li><input type="button" value="'+ val.ButtonText +'"/></li>').appendTo('#ulObj');
[removed]
</head>
<body>
<br>
<br>
<div>
<ul id='ulObj'>
<li>1</li>
<li>2</li>
<li>3</li>
</ul>
</div>
</body>
</html>
Also I would like to show here my working code (generating html buttons from json without condition).
json code (it works) :
"Caption": "Module caption",
"IconsDirectory": "C://Images/",
"Buttons": [
"TText": "google",
"JavaScriptAction": "alert('google')"
"TText": "microsoft",
"JavaScriptAction": "alert('microsoft')"
"TText": "yahoo",
"JavaScriptAction": "alert('yahoo')"
html code (it works) :
<html>
<head>
<title>SMButtons</title>
<script src="jquery/jquery-1.4.2.js"></script>
<script type="text/javascript">
//When document loaded.
$(document).ready(function(){
// Get data from file as JSON
$.getJSON('Module.json', function(data) {
// Set json data from file to variable 'persons'
var buttons = data.Buttons;
var icondir = data.IconsDirectory;
// For each item of variable person append to ul list
$.each(buttons, function(key, val)
//$("<li><input type='button' onClick='"+ val.Url +"' value='"+ val.Text +"'/></li>").appendTo('#aaa');
//$("<li><input type='button' style='"+ val.Style +"' onClick='"+ val.Url +"' value='"+ val.Text +"'/></li>").appendTo('#aaa');
//$("<li><input type='button' value='"+ val.TText +"'/></li>").appendTo('#bbb');
//style="height: 25px; width: 100px"
//$('<li><input type="button" onClick="'+ val.action +'" value="'+ val.Text +'"/></li>').appendTo('#aaa');
$('<li><input type="button" onClick="'+ val.JavaScriptAction +'" value="'+ val.TText +'"/></li>').appendTo('#ulObj');
//var knop = data.Knop;
// For each item of variable person append to ul list
//$.each(buttons, function(key, val)
//$("<li><input type='button' onClick='"+ val.Url +"' value='"+ val.Text +"'/></li>").appendTo('#aaa');
//$("<li><input type='button' style='"+ val.Style +"' onClick='"+ val.Url +"' value='"+ val.Text +"'/></li>").appendTo('#bbb');
//style="height: 25px; width: 100px"
//$('<li><input type="button" onClick="'+ val.action +'" value="'+ val.Text +'"/></li>').appendTo('#aaa');
//$('<li><input type="button" onClick="'+ val.action +'" value="'+ val.Text +'"/></li>').appendTo('#aaa');
</script>
</head>
<body>
<br>
<br>
<div>
<ul id='ulObj'>
<li>1</li>
</ul>
</div>
<br>
<div>
<ul id='aaa'>
<!--<li>1</li>-->
</ul>
</div>
<!--<button type="submit" style="height: 95px; width: 550px"> </button>-->
<!--background: url('img/submit_button.jpg'); background-position: center; background-repeat: no-repeat; background-color:Transparent;-->
<div>
<ul id='bbb'>
<!--<li><img src="img/submit_button.jpg"/></li>-->
<!--<li>Button caption</li>-->
</ul>
</div>
</body>
</html>What you are saying makes great sense. It's just the mechanics behind what you've said that I'm unclear about.
<p>
Are you saying to create another button within the same region with the same attributes/position, so they overlay each other? Then set the conditions on both buttons?
<p>
If I understand the above correctly, then how do I set the conditions? I guess I'm asking where do I place the SQL statement and how does the results relate to the button conditions?
<p>
Thanks for the help,
David -
Trouble with Conditional Submit
Hi - hoping this problem will be easy for someone!
I have a page with two regions. One region is a tabform with a SUBMIT (label Reg1) button. Branch shows as Go to Page 1 condition showing SUBMIT(Reg1) for button.
The last region has a SUBMIT(label Test) which I want to branch to another page but I did it as a submit so it saves the date before leaving the page. The Branch shows Go to Page 25 conditional showing SUBMIT(Test). All looks good.
However, when you press the button in the either region it does the submit but branches to the first branch (based on Sequence). Both buttons go to the Page referenced (even they are supposed to conitional). If I change the sequence order, both buttons go to the lowest sequence.
What am I doing wrong????
Thanks,
Sandie
Using 3.2.1I'm really stumped on this (and it should be so easy!) If I rename on the button that brancgh to the new page - no problem but it doesn't save what was on the page (in case the user forgets to do a save).
If I create the button selecting SUBMIT but with a different label, then both buttons do the save but again, they branch to the first one in the Branch section. (However, they both have the button name in the conditions and show as 'Conditional' branches. Does this make sense?
I thought about creating a javascript that checks if anything has been changed and pops up a msg to 'save changes' but I'm not a js writer and I heard that's the only way to do it.
Any ideas as to how to save the data (or force the user to save it) on the updateable report region before branching to the new page?
As you can tell, I'm a newby :)
Sandie -
Problems with the system decimal point with german regional settings
I have a Labview 6 app that needs deploying to Germany.
My app sends strings over VISA RS232 and GPIB instruments with floating point numbers.
When changing from English to German regional settings, in Windows XP, periods are now interpreted as commas and the app starts truncating my decimal numbers. So in the English Regional Setting when I send 1.234 I get 1.234 but in the German Regional Settings when I send 1.234 I get 1.000.
I have turned off the "Use localized decimal point" in Tools - Options - Front Panel as well as set any function (Frac/Exp String to Number) that has a "Use System Decimal Point" connector to FALSE.
Now here's my problem....
This fixed the issue I was having as long as I am in the development environment, however, once I build the application I still get the truncated numbers. Example: I send 1.234 to an instrument and it sees 1.000.
Again this works fine in the development enviroment, sending 1.234 reads 1.234 with German regional settings.
Any help is appreciated.
AdamYou can use a simple function of the "Scan from string" function.
Place "%.;" (Without the quotes) in the scanning string, and this will tell LV to use a decimal point for interpretation. If you place "%,;", this will tell it to use a comma.
You can place this at the beginning of your format string, and it simply tells the parser how to work, it doesn't otherwise produce an output.
Using simply "%;" sets the seperator to the system default (maybe the best idea after the code has been run as the changed decimal point character apparently remains changed otherwise). From the LV help
The following codes control the decimal separator used for numeric output. These codes do not cause any input or output to occur. They change the decimal separator for all further inputs/outputs until the next %; is found.
%,; comma decimal separator
%.; period decimal separator
%; system default separator
Hope this helps
Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2) -
Conditional Region - Advanced Tab Editing
I'm looking to add XML to a Conditional Region's Advanced tab. i've already filled out the Properties tab with one condition, but want to add another. What is the code context I need to enter? I've searched everywhere with no success.
Currently my Advanced tab shows:
<?if:number(CompanyCode_ID)=1?> This results in: Show "Phone Number"
Example of what I'm trying to do:
<?if:number(CompanyCode_ID)=1?> AND/+ <?if:number(Rep_ID)<>010?> Need these to result in: Show "Phone Number"Look at usage example - http://i50.tinypic.com/17tkpl.png
Maybe you incorrectly set XPath for your XML tags? Try use
<xsl:if test="number(//CompanyCode_ID)=1 and number(//Rep_ID)!=010">
or better set it with absolute paths -
SUM function with condition in RTF template
Hi All,
I have a problem in calculating the SUM in RTF template with condition,
Here is the XML
- <LIST_G_LINE_NOTES>
- <G_LINE_NOTES>
<LINE_TRX_ID>1567856</LINE_TRX_ID>
<LINE_ID />
- <LIST_G_TRX_LINE>
- <G_TRX_LINE>
<CF_ITEM_NO>SDCN1144B</CF_ITEM_NO>
</G_TRX_LINE>
</LIST_G_TRX_LINE>
- <LIST_G_LINE_EQUIVALENT_UNIT_PRICE>
- <G_LINE_EQUIVALENT_UNIT_PRICE>
<LINE_EQUIVALENT_UNIT_PRICE>-15.99</LINE_EQUIVALENT_UNIT_PRICE>
<LINE_EXCHANGE_EXTENDED_AMOUNT>-223.86</LINE_EXCHANGE_EXTENDED_AMOUNT>
<CUSTOMER_TRX_LINE_ID>1567856</CUSTOMER_TRX_LINE_ID>
</G_LINE_EQUIVALENT_UNIT_PRICE>
</LIST_G_LINE_EQUIVALENT_UNIT_PRICE>
- <LIST_G_TRX_LINE>
- <G_TRX_LINE>
<CF_ITEM_NO></CF_ITEM_NO>
</G_TRX_LINE>
</LIST_G_TRX_LINE>
I need the summation of field LINE_EXCHANGE_EXTENDED_AMOUNT with the condition CF_ITEM_NO!=''
can anybody help me with the solution.
Thanks in AdvanceKavipriya,
Here is the XML
<LIST_G_LINE_NOTES>
<G_LINE_NOTES>
<LINE_TRX_ID>1567856</LINE_TRX_ID>
<LINE_ID />
<LIST_G_TRX_LINE>
<G_TRX_LINE>
<LINE_DELIVERY_ID />
<DISCOUNT>0</DISCOUNT>
<CP_LN_TAX_AMT />
<CF_ITEM_NO>SDCN1144B</CF_ITEM_NO>
</G_TRX_LINE>
</LIST_G_TRX_LINE>
<LIST_G_LINE_EQUIVALENT_UNIT_PRICE>
<G_LINE_EQUIVALENT_UNIT_PRICE>
<LINE_EXCHANGE_EXTENDED_AMOUNT>-223.86</LINE_EXCHANGE_EXTENDED_AMOUNT>
</G_LINE_EQUIVALENT_UNIT_PRICE>
</LIST_G_LINE_EQUIVALENT_UNIT_PRICE>
</G_LINE_NOTES>
Edited by: user13012317 on Mar 10, 2011 11:00 PM -
Is it possible to create a Column with Conditional Mandatory with another Column?
Is it possible to create a Column with Conditional Mandatory with another Column?
For example
In a Table we have column A, B, C.
A is Primary Column.
B is Optional
C is Conditional Mandatory.
A B
C
12345 ABC
OK
12346 NULL
NULL
12347 ABC
OK
Only if the B Column has the value then only C column should be mandatoryI guess you can't create a condtional mandatory column directly. However, you can use check constraint to on the column
create table YourTable
A int primary key,
B char(3),
C int,
constraint ch_con check(
B
is not null
or C is null -
Encountering error while working with Dynamic Regions.
Hi All,
I am a beginner in ADF and on a quest to learn ADF. Sometimes I am struggling in the process. Now, when I am working with Dynamic Regions, encountered problem below
Step 1 : Created a simple department TaskFlow with Department Form
Step 2: Created a Simple employee TaskFlow with Employee Details
Step 3: Created a Main page with oracle 2 column layout
Step 4 : Dragged and dropped department TaskFlow on to main page second facet as Dyanmic region . Created a bean as RegionBean
Step 5 : Dragged and dropped department TaskFlow as Command Link on the first facet
Step 6 : Dragged and dropped employee TaskFlow as Command Link on the first facet
The page runs and shows department information when it renders. But when I click on employees command link, at first it shows employees table with no data and says "ACCESS DENIED ". Then if I click on either department or employee command link, it errors out with below info
javax.el.PropertyNotFoundException: Target Unreachable, identifier 'vs' resolved to null
at com.sun.el.parser.AstValue.getTarget(Unknown Source)
at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:476)
at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:390)
at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.wasSubmitted(EditableValueRenderer.java:345)
at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.decodeInternal(EditableValueRenderer.java:116)
at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputDateRenderer.decodeInternal(SimpleInputDateRenderer.java:73)
at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.decodeInternal(LabeledInputRenderer.java:56)
at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:342)
at org.apache.myfaces.trinidad.render.CoreRenderer.decode(CoreRenderer.java:292)
at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1334)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:865)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:965)
at org.apache.myfaces.trinidad.component.UIXEditableValue.processDecodes(UIXEditableValue.java:287)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer$UIXColumnFilterWrapper.processDecodes(BaseColumnRenderer.java:2108)
at org.apache.myfaces.trinidad.component.UIXCollection.processComponent(UIXCollection.java:1087)
at org.apache.myfaces.trinidad.component.TableUtils$1.process(TableUtils.java:238)
at org.apache.myfaces.trinidad.component.ChildLoop.runAlways(ChildLoop.java:55)
at org.apache.myfaces.trinidad.component.TableUtils.processFacets(TableUtils.java:232)
at org.apache.myfaces.trinidad.component.TableUtils$2.process(TableUtils.java:261)
at org.apache.myfaces.trinidad.component.ChildLoop.runAlways(ChildLoop.java:55)
at org.apache.myfaces.trinidad.component.ChildLoop.runAlways(ChildLoop.java:48)
at org.apache.myfaces.trinidad.component.TableUtils.processColumnFacets(TableUtils.java:253)
at org.apache.myfaces.trinidad.component.UIXTable.processFacetsAndChildren(UIXTable.java:379)
at org.apache.myfaces.trinidad.component.UIXCollection.decodeChildrenImpl(UIXCollection.java:206)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
at org.apache.myfaces.trinidad.component.UIXCollection.processDecodes(UIXCollection.java:200)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
at oracle.adf.view.rich.component.fragment.UIXRegion.decodeChildrenImpl(UIXRegion.java:635)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
at org.apache.myfaces.trinidad.component.UIXForm.processDecodes(UIXForm.java:75)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1048)
at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:926)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1519)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:372)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Please help me !!!!!!
ThanksHi Shay Shmeltzer ,
Thanks for your quick reply. Below is response for your queries
What scope did you specify for the bean? View Scope
Also which browser are you using? Firefox
Thanks for the link. I started to build dynamic region after taking a look at the video
What else do you think might be the issue
Thanks
Edited by: User44444 on Dec 4, 2012 12:44 AM -
Scheduling Agreement With Condition Type Calc.
Hi All,
Can i have Scheduling Agreement With Condition Type Calc. as in PO Conditions as there are some calculation need to be made based on Excise.
Thanks in advance
SapuserHi,
Condition in scheduling agreeement are time dependent where as condition in purchase order time independent so it's not possible to use.
Regards
Ravi Shankar. -
How to activate Approval in Sales Order for the UDF with condition
Dear Expert,
I have created the UDF field Rebate(type amount) in Sales Order.I want to activate the approval procedure for this UDF with condition where Rebate is greater then Zero.I had applied the query and Activate it in approval procedure.--
SELECT (Case When IsNull(count(T0.[DocEntry]),0) <>0 Then 'True' Else 'False' End) AS TF
FROM Ordr T0 where DocType='I' AND t0.U_rebate >0 and convert(Varchar(20),T0.[CreateDate],103) =(select convert(Varchar(20),Getdate(),103))
But I found that the approval procedure activate every time inspite the Rebate field is Zero.
Plaese suggest some soloution for it.
regards,
PankajKHi Pankaj......
Try this.......
Select Distinct 'True' From ORDR T0 Where T0.U_Rebate>0 and T0.DocType='I' And T0.DocNum=$[ORDR.DocNum.0]
Hope this will help you.......
Regards,
Rahul -
Merge text file with condition
I have two text files (report1.txt and report2.txt) that I want to merge with conditions:
- Matching rows that have same "ID" and same "TranVal", will keep only one instance
- Mismatching rows that have same "ID" both rows from 2 file, but column "TranVal" has different value, then the row from report2.txt will replace row in report1.txt
- Any "ID" that exists in one textfile but not the other one, will be copied to the final merged file
report1.txt:
TranDate,ID,TranVal,Comment
061211,9840,40,done
061211,9841,30,done
061211,9842,28,done
report2.txt:
TranDate,ID,TranVal,Comment
061211,9840,40,done
061211,9841,89,done
061211,9843,25,done
Final result should be:
merge.txt:
TranDate,ID,TranVal,Comment
061211,9840,40,done
061211,9841,89,done
061211,9842,28,done
061211,9843,25,doneHi,
I just checked Import-Csv option. I will be able to manage this problem if i can get it in CSV format and work with objects, BUT the problem is in my real file
the file-format is different which is not comma-separated, instead have "-" as seperator. To simplify the problem i used comma in my question.
TranDate,ID,TranVal,Comment
061211-9840-40-done
Could
you suggest me if there is any way to convert "-" separators to CSV?
Maybe you are looking for
-
I am getting some boot error at the very end at boot time and it moves to fast for me to catch it. I did try with read -n1 added to rc.conf but as the error is at the very end so it just jumps past the error. I had a look in /var/log files but could
-
Script to smart form,migration
How to migrate from Script to smartforms
-
Hi. I just upgraded from 10.3.9 to 10.4.5, and am having problems running X11 applications. First, during the upgrade, I chose to update X11, and afterwards installed Xcode. When I open a terminal, and set the display, running an application like xey
-
Sloppy input LOV component : wait time almost half a minute
I have one LOV on my jspx , contains few hundreds records - now don't tell me that's a large data set First time,it takes 8-9 seconds just to launch the LOV and another 19 seconds just to return selected value to the input LOV This is ridiculous, you
-
[Solved] Key input stops working in urxvt in Openbox
For you who use the Openbox window manager and the urxvt terminal emulator, does your keyboard sometimes just kinda stop working in urxvt? For example, in urxvt, type "openbox --reconfigure". Your keyboard stopped working, didn't it? "Alt-Tab" to ano