Ajax4JSF and Tomahawk data table, strange behaviour
Hi,
I use the tomahawk data table to display a list of objects in my page with the following code snippet
<t:dataList value="#{userGallery.images}" var="image" layout="simple">
<a4j:region>
<t:htmlTag value="div" styleClass="imageEntry">
<!-- This is the interesting part -->
<h:outputLink value="gallery.faces">
<f:param name="imageId" value="#{image.id}" />
<t:div styleClass="imageWrapper image_#{image.id} #{image.inCart ? 'inCart' : ''}">
<h:graphicImage value="#{ftp.apacheThumbnails}#{image.imageName}" alt="#{image.imageName}"/>
</t:div>
</h:outputLink>
<!-- End of the interesting part -->
<t:htmlTag value="div" styleClass="textWrapper">
<t:htmlTag value="div" styleClass="actions">
<a4j:commandLink reRender="imageList,shoppingChart" styleClass="addToCart" value="+#{msg.detailCart}" action="#{shoppingCart.addImageToCart}" rendered="#{!image.inCart}">
<f:setPropertyActionListener target="#{shoppingCart.chosenImageId}" value="#{image.id}" />
</a4j:commandLink>
<a4j:commandLink reRender="imageList,shoppingChart" styleClass="removeFromCart" value="-#{msg.detailCart}" action="#{shoppingCart.removeImageFromCart}" rendered="#{image.inCart}">
<f:setPropertyActionListener target="#{shoppingCart.chosenImageId}" value="#{image.id}" />
</a4j:commandLink>
</t:htmlTag>
</t:htmlTag>
</t:htmlTag>
</a4j:region>
</t:dataList>I have marked the interesting part of the text.
When i first access the page then everything is rendered as it should be.
When i now klick on the a4j:commandLink then i got the following result: (only the interesting snippet)
<div class="imageEntry">
<a href="gallery.faces?imageId=2"/>
<div class="imageWrapper image_2 inCart">
..... (output as it should be)
</div>
<div class="textWrapper">
.... (output as it should be)
</div>
</div>So you see the link tag is closed to early, it should wrapp the complete <div class="imageWrapper> object.
Anybody know how to solve this?
Edited by: heissm on 19.05.2008 16:26 - shifting of the html tags
Hi,
I use the tomahawk data table to display a list of objects in my page with the following code snippet
<t:dataList value="#{userGallery.images}" var="image" layout="simple">
<a4j:region>
<t:htmlTag value="div" styleClass="imageEntry">
<!-- This is the interesting part -->
<h:outputLink value="gallery.faces">
<f:param name="imageId" value="#{image.id}" />
<t:div styleClass="imageWrapper image_#{image.id} #{image.inCart ? 'inCart' : ''}">
<h:graphicImage value="#{ftp.apacheThumbnails}#{image.imageName}" alt="#{image.imageName}"/>
</t:div>
</h:outputLink>
<!-- End of the interesting part -->
<t:htmlTag value="div" styleClass="textWrapper">
<t:htmlTag value="div" styleClass="actions">
<a4j:commandLink reRender="imageList,shoppingChart" styleClass="addToCart" value="+#{msg.detailCart}" action="#{shoppingCart.addImageToCart}" rendered="#{!image.inCart}">
<f:setPropertyActionListener target="#{shoppingCart.chosenImageId}" value="#{image.id}" />
</a4j:commandLink>
<a4j:commandLink reRender="imageList,shoppingChart" styleClass="removeFromCart" value="-#{msg.detailCart}" action="#{shoppingCart.removeImageFromCart}" rendered="#{image.inCart}">
<f:setPropertyActionListener target="#{shoppingCart.chosenImageId}" value="#{image.id}" />
</a4j:commandLink>
</t:htmlTag>
</t:htmlTag>
</t:htmlTag>
</a4j:region>
</t:dataList>I have marked the interesting part of the text.
When i first access the page then everything is rendered as it should be.
When i now klick on the a4j:commandLink then i got the following result: (only the interesting snippet)
<div class="imageEntry">
<a href="gallery.faces?imageId=2"/>
<div class="imageWrapper image_2 inCart">
..... (output as it should be)
</div>
<div class="textWrapper">
.... (output as it should be)
</div>
</div>So you see the link tag is closed to early, it should wrapp the complete <div class="imageWrapper> object.
Anybody know how to solve this?
Edited by: heissm on 19.05.2008 16:26 - shifting of the html tags
Similar Messages
-
Master data tables and Transaction data Tables
Hello Gurus,
Please let me know how to know which table belongs to master data and which table belongs to transaction data.
for FICO module.
Does any one have specific material relating to master data table and transaction data tables.
Thanks
Edited by: Manu Rathore on Jan 18, 2012 4:38 AMHi Manu,
Find attached table relation diagram by Christopher Solomon. It is one of the very comprehensive chart on this topic.
deleted
Warm regards,
Murukan Arunachalam -
Join between fact table and master data table
Is it posible to join a Cube with a Characteristic? This is exactly what i need:
- In my cube i have date (0CALDAY) and (among others) a characteristic (ZCHAR) and a key figure (ZKEYF).
- I added a key figure (ZKFAT) as an attribute to ZCHAR. So the tables look something like this:
Fact table:
<b>0CALDAY | ZCHAR | ZKEYF</b>
12.10.2006 | CHAR1 | 10
12.10.2006 | CHAR2 | 20
12.10.2006 | CHAR3 | 30
Master data table for ZCHAR:
<b>ZCHAR | ZKFAT</b>
CHAR1 | 1000
CHAR2 | 2000
CHAR3 | 1500
I need to make a query with a table that looks like this:
<b>0CALDAY | ZCHAR | ZKEYF | ZKFAT</b>
12.10.2006 | CHAR1 | 10 | 1000
12.10.2006 | CHAR2 | 20 | 2000
12.10.2006 | CHAR3 | 30 | 1500
Finally, the query should result in something like this:
<b>0CALDAY | ZKEYF | ZKFAT</b>
12.10.2006 | 10 | 1000
12.10.2006 | 20 | 2000
12.10.2006 | 30 | 1500
Adding KFAT to the fact table is not an option, i need to read this information directly from ZCHAR.
I've tried using MultiProviders but didn't get the result i need.
Is there any way to achieve this? Please advice.
Thank you,Thank you Ram C. i've tried your solution and it may be it, but i'm having one problem:
Since i'm reporting in web, i used the second solution you offered and almost got the desiered result. The problem is that some entries are correct but others ar duplicated! Using same example, my result table looks something like this:
<b>0CALDAY | ZKEYF | Calculated KF (from ZKFAT)</b>
12.10.2006 | 10 | 1000
12.10.2006 | 20 | 4000
12.10.2006 | 30 | 1500
Second row should be 2000, but instead it shows 4000. I added ZCHAR's attribute ZKFAT as a display attribute in order to compare the results. I found that the display attribute is correct (2000) but the Calculated KF still showed duplicated data (4000).
By the way, when i execute the query, i get this warning message:
"Calculated key figure ZRT_C02_2_CKF004 is not defined correctly"
Any ideas why this could be happening?
Thank you for your help.
Message was edited by: Gerardo Gaona -
How Bex Flag effects SID, MAster Data and ODS data tables?
Hi every one,
I do understand how the Bex flag setting works in relation to reporting like y we set the flag or y we dont set the flag when we do reporting or not on ODS.. My question here is, i dont understand, how the SID tables or the master data tables or ODS tables get effected with this flag. Can some one explain me what kind of changes in the tables takes place with this flag setting and how it is used in the reporting.. How this thing is different with respect to Cube reporting process.. I do understand that ODS doesnt have Dimensions.. so i am just looking for conceptual clarification and any forum links related to clarifying this process at table level which i am looking for... ANy help will be highly appreciated in SDN way..
regards,
kishoreA typical dimension table looks like this
DIMID
SID_0COUNTRY
SID_0EMPLGROUP
SID_0EMPLOYEE
SID_0EMPLSGROUP
SID_0JOB
SID_0PAYRL_AREA
SID_0HRPOSITION
SID_ZWKCONT
SID_0COUNTRY_ID
The Fact tables contain a Dim ID (excpet for line item dims), which is used to join to the Dim table. The Dim table contains SIDs for the chars values in that Dim. The Dim table is then joined to the SID table, which is then joined to the attribute table.
For ODS - the /BI0/S***** SID tables have indexes on both the SID and the chars actual value. ODS queries will join to the SID table using the actual char value.
Here's the SQL for a typical <b>ODS</b> query that you can see how the ODS table joins to the SID tables:
<b>SELECT</b>
T_01 . "SID" "S____206" , T_02 . "SID" "S____066" ,
SUM( T_00 . "FM_AMOUNT2" ) "0FM_AMOUNT2" , COUNT(*) "1ROWCOUNT"
<b>FROM</b>
"/BIC/AZPU_O5200" T_00 , "/BI0/SCURRENCY" T_01 , "/BI0/SVENDOR" T_02 ,
"/BI0/SBUS_AREA" T_03 , "/BI0/SCMMT_ITEM" T_04 , "/BI0/SCOSTCENTER" T_05 ,
"/BI0/SFISCPER3" T_06 , "/BI0/SFISCYEAR" T_07 , "/BI0/XFUND" T_08 ,
"/BI0/SGL_ACCOUNT" T_09 , "/BIC/SZCI_AVCON" T_10
<b>WHERE</b>
( T_00 . "CURKEY_TC" = T_01 . "CURRENCY" ) AND
( T_00 . "CREDITOR" = T_02 . "VENDOR" ) AND
( T_00 . "BUS_AREA" = T_03 . "BUS_AREA" ) AND
( T_00 . "CMMT_ITEM" = T_04 . "CMMT_ITEM" AND
T_00 . "FM_AREA" = T_04 . "FM_AREA" ) AND
( T_00 . "COSTCENTER" = T_05 . "COSTCENTER" AND
T_00 . "CO_AREA" = T_05 . "CO_AREA" ) AND
( T_00 . "FISCPER3" = T_06 . "FISCPER3" ) AND
( T_00 . "FISCYEAR" = T_07 . "FISCYEAR" AND
T_00 . "FISCVARNT" = T_07 . "FISCVARNT" ) AND
( T_00 . "FUND" = T_08 . "FUND" AND
T_00 . "FM_AREA" = T_08 . "FM_AREA" ) AND
( T_00 . "GL_ACCOUNT" = T_09 . "GL_ACCOUNT" AND
T_00 . "CHRT_ACCTS" = T_09 . "CHRT_ACCTS" ) AND
( T_00 . "/BIC/ZCI_AVCON" = T_10 . "/BIC/ZCI_AVCON" ) AND
T_08 . "OBJVERS" = 'A' AND
T_03 . "SID" = 12 AND
T_00 . "CHRT_ACCTS" = 'COPA' AND
T_04 . "SID" = 1260 AND
T_00 . "COMP_CODE" = 'COPA' AND
T_05 . "SID" = 25093 AND
T_00 . "CO_AREA" = 'COPA' AND
T_00 . "FISCPER" <= '2005013' AND
T_06 . "SID" <= 13 AND
T_00 . "FISCVARNT" = 'V6' AND
T_07 . "SID" = 100002005 AND
( T_00 . "FM_ACTDETL" = '010' OR T_00 . "FM_ACTDETL" = '110' OR
T_00 . "FM_ACTDETL" = '160' OR T_00 . "FM_ACTDETL" = '170' ) AND
T_00 . "FM_AREA" = 'COPA' AND
T_00 . "FM_STATS" = ' ' AND
T_00 . "FM_VTYPE" = '70' AND
T_00 . "FUND" = '1026105000' AND
T_08 . "S__0FUNDTYPE" = 1 AND
T_09 . "SID" = 13695 AND
T_10 . "SID" = 8
<b>GROUP BY</b>
T_01 . "SID" ,
T_02. "SID"# -
Look for 'Purchase Order' and 'Due date' Tables
Hi Everyone,
iam creating a Form for an automatic payment and i have some difficulties to find the table of these fields :
- Purchase Order (EBELN)
- Due date (NETDT)
Please can u help me?
Regards.I hope you checked these tables.
I found these on Where-used for your NETDT field, Alos these tables have field BELNR which might intrests you.
Table Fields Short descriptn
BWPOS Valuations for Open Items
FAEDT Due Date for Net Payment
DKKOP Balance Audit Trail
NETDT Due Date for Net Payment
DKOKP Open Item Account Balance Audit Trail
NETDT Due Date for Net Payment
DSKOP Balance Audit Trail
NETDT Due Date for Net Payment
MHND Dunning Data
FAEDT Due Date for Net Payment
good luck,
ags. -
Date Formats - Strange behaviour
Has anyone come across this one?
I have a date picker item (DD-MON-YYYY) on a page with an item validation to ensure that the date is in a valid format if typed in. If I type a date with a month format of ‘MM’ instead of ‘MON’ then I get a validation error. I’ve tried removing the item validation but I just end up with an ‘ORA-01843: not a valid month’ error.
However if I change the date picker to a DD-MM-YYYY then the validation and database both accept dates of any format ie MM or MON.
I am sure there is a cunning reason for this and the easy answer is to only use date pickers with an MM month format. That said my industry has a writing policy that states that dates should be DD-MON-YYYY and I try to write applications that comply to that policy.
Any suggestions gratefully received.
SiSi,
I learn something new every day. This is behavior in the underlying database. Here are some results from SQL*Plus:
joel@MRVDEV22> select to_date('02/11/2006','DD-MON-YYYY') from dual;
select to_date('02/11/2006','DD-MON-YYYY') from dual
ERROR at line 1:
ORA-01843: not a valid month
joel@MRVDEV22> select to_date('02-NOV-2006','DD-MM-YYYY') from dual;
TO_DATE('
02-NOV-06So why is the one date conversion failing as expected, yet the other one is succeeding? I don't know. Might be a database bug, might be a database feature. The SQL Reference does not appear to shed any light on this subject.
I thought maybe this was somehow related to the NLS_TERRITORY or NLS_DATE_FORMAT settings, but that does not appear to change this implicit behavior.
Joel -
ACD 23 and Radeon 9800 Pro - strange behaviour with color profiles
Hello,
I have just purchased a 23" Cinema Display. The first one I got in the store exhibited ghosting effects that ceased to exist after a few hours (self healing effect?) and I also noticed after a while using it, that the left side and especially the lower corner were darker than the rest.
So I took it back yesterday and got a new one which is close to perfect. Neither of them had any dead pixels! I am very pleased with it and knocking on wood, hope that it stays that way;-)
My hardware: The display is hooked up to a G4 MDD dual 1,25 with a Radeon 7000 pci card and a Radeon 9800 Pro AGP card. The latter card was put in for the Radeon 9000 pro that came with the computer. So far I have been running a dual display setup with a 21 and a 17 inch CRT.
Now comes my problem:
I calibrated the cinema display hooked up to the 9800 Pro with the eye-one and the eye-one match software. The profile I got was not a smooth curve, but a zigzag curve. Of course that is by no means usable for anything.
By numerous trial and error attempts, I did find out the following:
- If I calibrate with the eye-one, I can have only one monitor hooked up to the computer, otherwise I will always get zigzag curves in the profile.
- If I look at numerous testcharts(greyscale, etc.) with the newly created profile, all looks very good and in specs. As soon as I hook up the second monitor again, something changes on the cinema display, even though the profile has not changed. My testcharts look a bit contrastier and on the greyscale the two darkest and lightest fields do not seperate anymore.
Rebooting does not help either. As soon as I unplug the second monitor, everything looks perfect again.
I know that this is an unusual issue but I hope that someone here has a clue to where the problem could be. I have tested so much and do not find a solution.
I will call the apple hepldesk, but I already know what they will say:"The display is working as designed. Your issue has to do with the graphics card and that is a third party product. You have to call ATI for support".
So, maybe I can get some help here.
Cheers
PeterHi Bryanus,
Did you have an ADC port on your old card? Do you still have your old card? If this is the case, you can verify that the new card is implicated by re-installing your old card and seeing whether the problem repeats itself.
If you only have DVI on your old card, you would have to borrow an adaptor, but then you are relying on the adaptor to function properly.
If the problem doesn't repeat itself with your old card being used, then the new card is the culprit, in which case I'd ask to have it replaced, or get a refund.
If the problem does repeat itself with the old card, then you might want to consider other possible contributing factors such as the physical state of the monitor connection (dirty or tarnished contacts, bent pins etc.).
If the problem repeats itself with a new (replacement) card, you could add AGP slot issues to the above paragraph.
"Sleep" in an Apple Mac often generates issues with third party hardware, so your primary consideration that it is probably the card is (to me anyway) still the most likely.
All the best with the diagnosis!
Cheers!
Karl -
Self re-rendering of a data table
hello !
i am using tomahawk data table which contain a <a4j:commandLink in one of its coloumn .
now this link's action listener delete data from the list that is used for this datatable
the problem is
this data table is not re-rendered even i have specified id of datatable in the reRender attrbute of <a4j:commandLink
note that
i have also specified other ids in the reRender attrbute of <a4j:commandLink And others work fine but the DATATABLE dont .
regards
Shakeel Abbassorry to disturb its working now
i have not written parantheses while calling the jsFunction
Although no one replied but thanks -
Data is not Loading into Active data table on DSO in BI 7.0
Hi,
Iam loading data from a flat file to ODS in BI 7.0, the data is loading up to PSA and New data table , But the DSO is not activating, after all possible steps like, automatically setting/ manualy doing / through Process Chain....still unable to do it....Cud u pls tell the reason and solution.Hi Sri,
Did you get any solution for this issue. Your input is highly appreciated.
We are also running on the same boat, I am using the End-Routine to fill up the 2 fields (one is Key figure and Characteristics) from one DSO to the other. In my case along with all other fields this key figure is also populating before and after the Activation of DSO. But the new Characteristics is populating in the update table (/BIC/A***40) before activating the DSO, once I activated the DSO the new characteristics is not filling up in the (/BIC/A***00), rest are coming without issues.
I built the same logic for other current data DSO (write optimized) from other DSO to fill the same fields with the similar logic in the end routine, it is up and running without any issues.
Thanks,
Dileep -
Strange behaviour of Adobe Forms
Hi Experts,
I am using webdynpro Java with AIF on NW2004s SP9, Adobe Reader 7.0.9 with NWDS 7.0.09.
AIF is working fine when I access using Local area network and I am facing strange behaviour of AIF using dial-up access. I am not able to retrieve the parameters of Adobe forms when I access using dial-up connecting through VPN to portal server. whatever values I entered in Adobe UI fields where not showing up in webdynpro application. Same application is working fine with LAN and able to retrieve all parameter values of Adobe UI elements.
Dial-up is connecting at 50kbps speed and Adobe forms size is around 300kb.
Grab your points with correct answers.
Regards,
Madhanhi,
you should have administration authorization on local PC ( IE activeX should be enabled.)
check below sap note
834573 -
766191
Regards
Shridhar Gowda -
How to View master data & Trasaction data tables for Puchasing Cube
Hi BW masters,
How should I check which tables (Master data tables and Transaction data tables) are involved with Business Content Cube(Purchasing data 0PUR_C01). I would like to know this information in order to go to that table and browse the data in that table. Where should we go and check this out.
I will reward the points for the good answers.:-)
Thanks
Syed.hi Syed,
to view tables' content you can use SE16,
you can try infocube name, dimension tables of cube are store in *d[infocube name]1 to F, fact tables are f[infocube name] and e[infocube name]-compress,
infocube data are stored in star schema, you can use LISTCUBE to view the content (to see the structure/tables in cube, use LISTSCHEMA),
master data (not time-dependent) are stored in text table t[infoobject name], attribute - p[infoobject name] and hierarchy - h[infoobject name],
take a look bw multidimensional data modeling for detail
http://help.sap.com/bp_biv235/BI_EN/documentation/Multi-dimensional_modeling_EN.doc
hope this helps. -
The strange behaviour of the notification
Coherence 3.3.1/389
.Net API 3.3.1.2
I have C++ GUI client with grid. It shows in the grid all updates from Coherence.
I have also the 'server' application, which inserts objects into Coherence (1 - 2 per second).
I use 'near-scheme' with front set to local-scheme and back set to remote-cache-scheme.
I have 3 GUI clients connected to the Coherence and i have the strange behaviour of the clients. The insert comes to one of them three times instead of one. I've checked in the debugger and it's true. The insert really comes three times. But when i've restarted the client all became to work fine.
It's bad that i can't repeat this situation, it happens from time to time.
Does anybody get the same situation?
I've masked it by the checking key and version of object, but it's really strangely.
Thanks.I think it's depended on the situation described in thread CacheEventFilter: Where does the filter part apply?
Many thanks. -
Relation between master and transaction data
Hi experts,
I have a basic question how the relation between masterdata and transction data is maintained in R/3. As I know first we extract master data and later transaction data in a typical R/3 based scenario.
1.How does BW knows that , the transaction data are related masterdata in the same sense as in R/3 ?
I am involved in an enhancement of R/3 extractor. I need to derive 3 more fields and map it to info objects in BW. Cld any one explain me ( with an example plz) how these alignments to be made. How can I establish relation b/w derived fields and transaction data during extractions ?
regs
D BretHi Dave.
Let's see if I can get all of your questions answered. First, when Transactional Data is loaded, BW checks to see if a SID exists for each characterisatic field & value in the load. If one doesn't, it either creates a SID (Surregate ID) in the master data tables (default action) or the load fails (if the enforece referential intgegrity flag is set). It's better to load master data first in either case as it will improve the performance of the transactional load.
In terms of R/3, the data has similar relationships as in BW. There are master data tables and transactional data tables. The difference is that while R/3 uses ~1 master data table per field, BW uses more. Same thing for transactional data.
As for your enhancement, if everything you need for the derivation of the extra field is in R/3, then you can enhance the extractor in RSA6 and do the mapping in R/3. Once you replicate the DataSource to BW and reconnect the transformation & update rules, the load should work. If you can give a bit more information on what sort of enhancement you are attempting, I can give a better example.
Cheers,
Adam -
Nakisa STVN 2.0 Data Table
Hi experts,
Is there a way to add a new field to the configured Data Table In teh Nakisa ADmin Console? Can I change the Data Table, and enter a new one?
I'm talking about the "Data connection Menu" where I gave the Connection String and the Data Table.
The problem is that the field I need is not availabe int he corrent connfiguration. Is there a way to add a new field to the structure? (I'm not talkin gabout the Field menu, I need an extra field which is not in the Field Menu)
Thanks & regards
N.Hi N,
Live means OrgChart connects directly to SAP to get data and Staged means it uses a Database to store data that is extracted from SAP.
If you are just using this on an internal system not at a client then I would recommend getting STVN3.0. This offers much greater functionality than 2.0.
Best regards,
Luke -
In a activity, we have configured actual dates (from/to).
Does anybody know, what is the table where I can find this info for each Activity that were created.
For example, I want to search how many activities were created an specific period (actual dates).
thanks in advance.
ahmHi,
How can I link GUID from an Activity created (table CRMD_ORDERAHM_H) and Actual date (table SCAPPT) ?
Regards,
ahm
Maybe you are looking for
-
Managed Server can not connect to Database
I have a WebLogic cluster with three managed Server on 3 different machines. ManagedServer_1, ManagedServer_2, ManagedServer_3 (on Machine 3) Firstly, everything is ok. But when we changed some configuration on Firewall and make the WebLogic cluster
-
CUP - GRC 5.3 - error during appropriation of an user
hi, <br> <br> <br> when I try to create a user (different of mine) in CUP, I search the user that i want to create, i find it in the result of my search request, and when I selected it,<br> <br> i see an error message : <b>Action failed.</b> <br> an
-
Broken links on Designer Documentation page
On the following page [http://otn.oracle.com/docs/products/designer/content.html] there are incorrect documentaion links.
-
Hi Gurus, Kindly let me know , from which table does delivary date in me22n transaction at the item level gets populated Thanks in advance Deepak
-
Adobe Digital Edition - Can´t be installed on Intel based Mac 1.7.2
Hello! I´ve bought a ebook and have to use Adobe Digital Edition. After the download of Adobe Digital Edition 1.7.2 x86 the program can´t be installed. Directly after starting the installation the program says "The programm will only work with Intel