Cannot update not rendered column
Hello,
I have an adf bc/jsf application in jdev 10.1.3. In jsf page there are master (author) and detail (author's books) adf tables. Detail adf table has 2 columns: "id" and "name" of book. Using edit button and dialog I can change book id and commit changes without problem (name of book is "refreshed" after commit - name of book is lookup item).
I have two problems with this:
1. I don't want to have book id visible, so I set id column rendered property to false. Problem is I cannot commit changes now. Why?
2. I want to have the name of book updated immediately after edit dialog, in the same way as book id is. So I changed edit button return listener. It works but after commit all the names in all rows are changed to the same chosen name. Why?
Rado
I solved the problem.
I started to change iterator current row attributes instead of backing bean CoreInputText fields.
Rado
Similar Messages
-
Error in updating not null column
hi,
I am getting the following error when i run the below query,
SQL> SQL> SQL> SET (a.rate_center_nm,a.rate_center_state_cd,a.load_status_cd) =
ERROR at line 2:
ORA-01407: cannot update
("MKDM"."MASTER_ADRS_RATE_CENTER_XREF"."LOAD_STATUS_CD") to NULL
Query
UPDATE /*+ PARALLEL(a,6) */ master_adrs_rate_center_xref a
SET (a.rate_center_nm,a.rate_center_state_cd,a.load_status_cd) =
SELECT /*+ PARALLEL(b,6) */
b.rate_center_nm
,b.rate_center_state_cd
,'4'
FROM
xref_temp b
WHERE
a.mast_pri_address_id = b.mast_pri_address_id
WHERE EXISTS
SELECT 1
FROM
master_adrs_rate_center_xref b
,xref_temp c
WHERE b.mast_pri_address_id = c.mast_pri_address_id
Can anyone help me in identifying the error?
BenevenI would change your WHERE EXISTS clause to look exactly like your subquery (except for the column list of course):
UPDATE master_adrs_rate_center_xref a
SET (a.rate_center_nm
,a.rate_center_state_cd
,a.load_status_cd) =
(SELECT b.rate_center_nm
,b.rate_center_state_cd
,'4'
FROM xref_temp b
WHERE a.mast_pri_address_id = b.mast_pri_address_id
WHERE EXISTS (SELECT 1
FROM xref_temp b
WHERE a.mast_pri_address_id = b.mast_pri_address_id
; -
Customization - Additional column inserted in Inbox - value not rendered
Hello,
I have a requirement for customizing the inbox and populating the new inbox column with additional value. I made coding updates and everything looks good but the inbox does not render the new value at all. I made these updates and overrides.
Added the column name and value in \apps\cq\workflow\components\inbox\list\json.jsp . When I go to http://localhost:4502/libs/cq/workflow/content/inbox/list.json?_dc=1358787785033&start=0&l imit=40, I am able to see the addition variable and value added and displayed in list.json. For e.g. view of list.json
"payloadPath": "/content/dam/geometrixx-outdoors/articles/a-simple-plan.jpg",
"payloadPath_xss": "/content/dam/geometrixx-outdoors/articles/a-simple-plan.jpg",
"payloadSummary": {
"lifestage": "Authored",
"payloadTitle": "a-simple-plan.jpg",
"payloadType": "dam:Asset",
2. Override and updated \apps\cq\workflow\extensions\inbox\cols. Added a new column, lifestage.js. Code in that js file is
"header":CQ.I18n.getMessage("LifecycleStage"),
dataIndex:"lifestage",
ranking:30
3. The inbox/list.json shows the value lifestage correctly. But still it doesnot populate 'lifestage' value in the inbox column. If I replace the dataIndex:"lifestage" with dataIndex:"currentassignee" or any other thing, the Lifestage column in Inbox is populated with the "CurrentAssignee".
Why is the lifestage value though visible through list.json not visible in Lifestage column? What else needs to be additionally done?
Thanks,Sham,
I followed exactly all steps like you mentioned. The value was not rendered. I put the alert messages. Please see the code below.
As lifestage is not subpart of payloadSummary, tried both record.get("lifestage") and (record.get("payloadSummary").lifestage but still both alerts shows undefined.I see alerts for 'Inside renderlifestage' but the next alert shows 'undefined'.
renderLifestage: function(value, p, record) {
alert('Inside renderlifestage');
alert(record.get("payloadSummary").lifestage);
alert(record.get("lifestage"));
return lifestageTpl.apply({
"lifestage": record.get("payloadSummary").lifestage
Here is the output from inbox/list.json
"item": "/etc/workflow/instances/2013-01-22/model_360104180212070/workItems/node4_etc_workflow_in stances_2013-01-22_model_360104180212070",
"title": "Authorship Workflow",
"description": "Select author for the authorship workflow.",
"dialog": "/apps/lexmark/dialog/authorshipDueDateDialog",
"participant": "",
"currentAssignee": "Administrator",
"startTime": 1358880950665,
"metaData": {
"workItem": {
"historyEntryPath": "/etc/workflow/instances/2013-01-22/model_360104180212070/history/1358880950664"
"instance": {
"currentJobs": "",
"currentJobs_xss": "",
"workflowTitle": "authorship_workflow_test",
"workflowTitle_xss": "authorship_workflow_test",
"startComment": "authorship_workflow_test",
"startComment_xss": "authorship_workflow_test"
"payload": "/damadmin.html#/content/dam/geometrixx-outdoors/articles/downhill-ski-conditioning.jpg",
"payload_xss": "/damadmin.html#/content/dam/geometrixx-outdoors/articles/downhill-ski-conditioning.jpg",
"payloadPath": "/content/dam/geometrixx-outdoors/articles/downhill-ski-conditioning.jpg",
"payloadPath_xss": "/content/dam/geometrixx-outdoors/articles/downhill-ski-conditioning.jpg",
"payloadSummary": {
"icon": "/content/dam/geometrixx-outdoors/articles/downhill-ski-conditioning.jpg/jcr:content/rend itions/cq5dam.thumbnail.48.48.png"
"lifestage": "Authored",
"payloadTitle": "downhill-ski-conditioning.jpg",
"payloadType": "dam:Asset",
"lastModifiedBy": "admin",
"lastModified": 1323947520464,
"lockedBy": "",
"lockedBy": "",
"timeUntilValid": 0,
"onTime": 0,
"offTime": 0,
"monthlyHits": 0,
"replication": {
"numQueued": 0,
"publishedBy": null
"scheduledTasks": [
"inWorkflow": true,
"workflows": [{
"model": "Authorship_Workflow",
"started": 1358880950439,
"startedBy": "admin",
"suspended": false,
"workItems": [{
"item": "Authorship Workflow",
"assignee": "admin"
"scheduledTasks": [
"comment": "authorship_workflow_test",
"workflowTitle": "authorship_workflow_test", -
ADF Faces - Table update not completely rendered
Hi,
[ myfaces 1.1.3 + ADF version 10.1.3.0.4 ]
I have a problem with Table component, changing a value of the inputText components will not update the output component also inside the table. At least not rendered to HTML, the view-tree contains the updated values. Below I have added a part of the jsp-code + a part of the view-tree of the log.
Changing the value of the inputText with id="salesInput" should trigger an update to the otherSales value in the footer facet in the same column, but it isn't (in the browser).
So I added multiple outputText components on different places in the table to find out if they were updated. I have also added an inputText component with id="test" outside of the table component, this one is properly updating all the otherSales values.
If I change the values on the inputText component with id="salesInput" only the outputText with "salesOutput2" is updated in the browser, the one in the footer facet still contains the previous value. (only a browser refresh is fetching the correct values).
What's the problem why it's not rendered to HTML, tree-view contains right values. Can I force the rendering ?
Did I miss properties, attributes ?
Any ideas...
Your Help is really appreciated.
Thanks,
Bas van Oudenaarde
part of the jsp:
<af:table id="data" value="#{myManagedBean.allGeographicalData}"
var="row" partialTriggers="salesInput test" varStatus="myTable">
<af:column id="salesColumn" sortProperty="sales" sortable="true" width="30%">
<f:facet name="header">
<af:outputText value="#{msg._column_3_Header}"/>
</f:facet>
<af:inputText id="salesInput" immediate="true" value="#{row.sales}" columns="8" autoSubmit="true" valueChangeListener="#{myManagedBean.updateOtherSales}" />
<af:outputText id="salesOutput2" partialTriggers="salesInput" value="#{myManagedBean.otherSales}" />
<f:facet name="footer">
<af:outputText id="salesOutput" partialTriggers="salesInput" value="#{myManagedBean.otherSales}"/>
</f:facet>
</af:column>
<af:table>
<af:inputText id="test" value="#{myManagedBean.bla}" immediate="true" columns="8" autoSubmit="true" valueChangeListener="#{myManagedBean.updateOtherSales}" />
<af:outputText id="outsideTheTable" partialTriggers="salesInput" value="#{myManagedBean.otherSales}"/>
Log output, changing the value of inputText component within the table component. Here you can see that all values are updated to 92 in the view-tree!!! On the screen however it still shows the previous value in the outputText components expect for the outputText with id=salesOutput2 :
<UIViewRoot id="NULL" FORMER_CHILD_IDS="[_idJsp0]" family="javax.faces.ViewRoot" locale="en" renderKitId="oracle.adf.core" rendered="true" rendererType="NULL" rendersChildren="false" transient="false" viewId="/pages/panel.jsp">
<oracle.adf.view.faces.component.core.data.CoreColumn id="salesColumn" FORMER_CHILD_IDS="[salesInput, salesOutput2]" partialTriggers="[Ljava.lang.String;@67e9f0f6" width="30%" FORMER_FACET_NAMES="[footer, header]" sortProperty="sales" sortable="true" rendererType="oracle.adf.Column" attributeChangeListener="NULL" attributeChangeListeners="NULL" bandingShade="NULL" facesBean="NULL" facetCount="NULL" facetNames="NULL" family="NULL" footer="NULL" formatType="text" gridVisible="true" header="NULL" headerNoWrap="false" headerText="NULL" inlineStyle="NULL" noWrap="false" onclick="NULL" ondblclick="NULL" onkeydown="NULL" onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" partialTriggers="[Ljava.lang.String;@67e9f0f6" rendered="true" rendererType="oracle.adf.Column" rendersChildren="NULL" rowHeader="false" separateRows="false" shortDesc="NULL" sortProperty="sales" sortable="true" styleClass="NULL" transient="NULL" width="30%">
<oracle.adf.view.faces.component.core.output.CoreOutputText id="salesOutput2" value="92" partialTriggers="[Ljava.lang.String;@600d70f6" rendererType="oracle.adf.Text" attributeChangeListener="NULL" attributeChangeListeners="NULL" converter="NULL" description="NULL" escape="true" facesBean="NULL" facetCount="NULL" facetNames="NULL" family="NULL" inlineStyle="NULL" localValue="NULL" onclick="NULL" ondblclick="NULL" onkeydown="NULL" onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" partialTriggers="[Ljava.lang.String;@600d70f6" rendered="true" rendererType="oracle.adf.Text" rendersChildren="NULL" shortDesc="NULL" styleClass="NULL" transient="NULL" truncateAt="0" value="#{myManagedBean.otherSales}"/>
<oracle.adf.view.faces.component.core.output.CoreOutputText id="salesOutput" facetName="footer" value="92" partialTriggers="[Ljava.lang.String;@679eb0f6" rendererType="oracle.adf.Text" attributeChangeListener="NULL" attributeChangeListeners="NULL" converter="NULL" description="NULL" escape="true" facesBean="NULL" facetCount="NULL" facetNames="NULL" family="NULL" inlineStyle="NULL" localValue="NULL" onclick="NULL" ondblclick="NULL" onkeydown="NULL" onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" partialTriggers="[Ljava.lang.String;@679eb0f6" rendered="true" rendererType="oracle.adf.Text" rendersChildren="NULL" shortDesc="NULL" styleClass="NULL" transient="NULL" truncateAt="0" value="#{myManagedBean.otherSales}"/>
</oracle.adf.view.faces.component.core.data.CoreColumn>
<oracle.adf.view.faces.component.core.output.CoreOutputText id="outsideTheTable" value="92" partialTriggers="[Ljava.lang.String;@73e070f6" rendererType="oracle.adf.Text" attributeChangeListener="NULL" attributeChangeListeners="NULL" converter="NULL" description="NULL" escape="true" facesBean="NULL" facetCount="NULL" facetNames="NULL" family="NULL" inlineStyle="NULL" localValue="NULL" onclick="NULL" ondblclick="NULL" onkeydown="NULL" onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" partialTriggers="[Ljava.lang.String;@73e070f6" rendered="true" rendererType="oracle.adf.Text" rendersChildren="NULL" shortDesc="NULL" styleClass="NULL" transient="NULL" truncateAt="0" value="#{myManagedBean.otherSales}"/>
</oracle.adf.view.faces.component.html.HtmlCellFormat>
</oracle.adf.view.faces.component.html.HtmlRowLayout>
</oracle.adf.view.faces.component.html.HtmlTableLayout>
</oracle.adf.view.faces.component.core.CoreForm>
</oracle.adf.view.faces.component.core.CoreDocument>
</UIViewRoot>In EA14, the return from the dialog required a full-page refresh (whether the dialog was launched with PPR or not didn't matter). In EA15, it's done with PPR if possible. This avoids the flash (and re-scrolling, etc.), but means you do need to tell us what's going to get changed because of the return. You can use partialTriggers on the table with the "id" of the button to make this happen.
-
ADF FACES: af:table not rendering all columns
I'm using ADF EA 17 with myFaces 1.0.9 on JBoss 4.0.1/JVM 1.4.2_07-b05. The af:table is embedded within an af:panelgroup (being body of af:panelbox).
The af:table is not rendering all columns (only last 2 out of 8 cols total). The model behind the af:table is a java.util.List. Debugging shows that the list is filled up with beans correctly and that each of the properties of such a bean corresponding to a table column are also set correctly.
Strange thing is that sometimes all columns are rendered ok. Especially if i make heavy changes on the jsp (e.g. removing all but 2 cols from the af:table) and dropping it into the .../jboss/server/../tmp/deploy/tmpXYZ-exp.war directory. Restarting JBoss results in the old behaviour. Also closing browser and re-opening it yields to the missing columns again.
I've set breakpoints on the bean properties representing on table column and i can see, that the getter methods aren't called (all but those 2 that get rendered finally)
Table has multiselection enabled with 1 command button.
This happens with both IE 6 and Firefox 1.0.4; no oracle, myFaces exceptions visible on console or any log file.
Has anybody made same experiences so far or an idea what the problem really is ?
best regards,
Christoph.I've tried it also with a plain af:table without any surrounding af:panelgroup or/and af:panelbox. Same result.
The bean holding the table-model (the java.util.List) is in session-scope. the table-model is update by an actionListener fetching values from an EJB. Could the session-scope be a problem ?
Potential candidates from my point of view, that might cause trouble here:
--) Caching (i've seen that sort of "CachedRenderers" are used
--) partial page rendering
--) multi-threading issue.
--) or any silly mistake of mine :-)
best regards,
Christoph -
All, I'm trying fix an issue with transactional replication where replication monitor is showing the push to the subscriber is failing because of the error, "Cannot update identity column." I've tried to use sp_browsereplcmds to pull up the
command that's failing based on the xact_seqno but when I try that I get the error:
Number: 102, State: 1, Procedure: , LineNumber: 0, Server: , Source: .Net SqlClient Data Provider
Message: Incorrect syntax near '┻'.
I'd like to fix the issue without having to rebuild replication during a maintenance window. I know you cannot publish tables with primary keys, but I'm wondering if dropping the identity column on this table might fix the issue. I'm considering
that but I would prefer to be able to pull the command that's trying to update the identity column, throw in SET IDENTITY_INSERT ON and remove the commands from the distribution database, but if that doesn't work I'm open to ideas of just dropping the primary
key on the replicated table. I think that should be fine.
Does anyone have any recommendations on how to view the command that's failing?
Or if dropping the primary key on the subscriber table would create issues with the publisher (since it is also the primary key)?
Or, know of any other ways in which to address this issue? Thanks.Unfortunately, no. The error was a bit of a red herring. In the end the subscriber was missing all of the stored procedures needed to update data in the published tables (i.e., the procedures for performing inserts/updates/deletes were missing
for every table in the subscriber database). Additionally, I could not recreate these stored procedures using sp_scriptpublicationcustomprocs
because another procedure which was required for that proc to work was also missing. In short, there were hundreds of missing stored procedures in the subscriber database on which transactional replication is dependent in order to replicate DML changes and
function normally and this includes system sprocs which would've been used to recreate the missing DML procs. In short, the subscriber was badly damaged and deemed to be unrecoverable within a reasonable time frame.
The solution was to tear down and start over, which we did successfully later in the evening. -
How can apple send out an os update that renders an important function of the software/hardware to not work? They knowingly have sent out this new os update for iPad which makes airplay nonfunctining! I need this for my business! I could understand if they didn't know, but it is all over the Internet! When I went in to have it revert back to os6 (which worked fine!) I was actually asked if I had done any research before I installed the upgrade! As if this is the consumer's fault for being dumb enough to fall for the upgrade!
That is not what I have discovered, nor what others have discovered, nor what I was told when I went the Genius Bar. I cannot remotely mirror to my MacBook Pro and it only started the day after I installed the upgrade. We tested it with an iPad that had not been upgraded, no problem.
-
I cannot update my ipad2 to ios5. Updating through iTunes on pc Windows Vista, Error message reads "cannot connect to iPad Software Update Server. Tried resetting network settings, still not connecting. Tried updating iTunes, still not connecting.
Look at iOS Troubleshooting Wi-Fi networks and connections http://support.apple.com/kb/TS1398
Additional things to try.
Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
How to Quickly Fix iPad 3 Wi-Fi Reception Problems
http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
If none of the above suggestions work, look at this link.
iPad Wi-Fi Problems: Comprehensive List of Fixes
http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
Cheers, Tom -
Please can someone help me. I have been using my present account card for almost 2 years. Recently when purchasing free apps from store, I put in my password, then it takes me to my account to enter the security code for my card I do this and I have even re-entered the new card and it's still not accepting it.
Hence I cannot update or buy until I do this. The same thing happened with my daughters account and had to use her dads card.Please can someone help me. I have been using my present account card for almost 2 years. Recently when purchasing free apps from store, I put in my password, then it takes me to my account to enter the security code for my card I do this and I have even re-entered the new card and it's still not accepting it.
Hence I cannot update or buy until I do this. The same thing happened with my daughters account and had to use her dads card. -
mail account cannot update because home directory is full. But I can not get into mail without freezing. Is there a back door entry?
Do you mean that your startup disk is full?
-
I cannot update or install updates on itunes. It says that the location for that file does not exist. I cant even uninstall itunes as the same error message comes up.
Hi vindog60,
Thank you for using Apple Support Communities.
To troubleshoot this issue where you get an installation error with iTunes on your Windows PC, please follow the steps in the article linked to below.
Issues installing iTunes for Windows - Apple Support
Cheers,
Alex H. -
Cannot update to 3.5 on older MacPro and 3.5 not compatible with 3.4.5
It appears that you cannot update Aperture to 3.5 on older Macs. Worse yet the new update is not compatible with the previous version.
The questions are ---
Is this a temproary issue or a permanent issue?
Can I regress back to version 3.4.5 to get my compatibility back ?
I have multiple computers I use to work on my photography.
I use a older Mac Pro Vintage late 2007 that cannot be updated beyond OS 10.7.5. This is currently my primary photo computer.
With 3ghz Quad cores and over a terabyte of drive space no need to update yet except for not being able to load the latest OS.
I also use a MacBookPro Vintage Late 2011 and it was just updated to Mavericks. I use this to edit my photos on the go.
I will consider updating to the latest Mac Pro when it becomes available but what to do until then and a warning to others.Actually, I had this same problem - accidentally upgraded my library on my Mac Air to 3.5, but am not running Aperture 3.5 on any of my other, older Macs. I *was* able to downgrade the library back to 3.4.5. BAsically, I had to open the library on a computer running Aperture 3.4.5 in library repair mode (holding down command and option when opening). In the ensuing dialog I had to choose to rebuild the library. I first tried just repairing, and it seemed to work, but next time I opened Aperture I got the "library can't be opened iwth an older version of Aperture" message. Rebuilding it seems to have done the trick.
A more detailed explanation (though not written for this particular scenario) is here:
http://www.apertureexpert.com/faq/common-aperture-questions-issues-and-rep/how-d o-i-repair-or-rebuild-my-aperture-library-or-permission.html
Having restored the library to 3.4.5 format, I downgraded Aperture on my Air to 3.4.5 as well and it's been smooth sailing. Just make sure you have Mavericks set up to *NOT* automatically update your apps, or you'll end up in the same situtation all over again when it silently upgrades Aperture to 3.5 again.
Good luck! -
cannot update username on ipod for itunes
why are they all different. Why don't I have just one id?
I cannot update apps.
password for username not recognized
I want one apple id for everything
one password for everything
I cannot retrieve or reset anything for itunes to update appsIt appears that you have apps on the iPod that wer purchased with more than one iTunes account. If one from more than one iTunes account need updating, you need to update them one at a time (not update all) until all the remianing apps were purchased from one account. You may need to change the accont the iPId is signed into by go to Settings>Store and signing out and in.
Accounts can't be merged. -
I did not authorize 2 in app purchases and because my credit card is at its limit, and i dont know how to reverse the in app purchases, i cannot update any app or do just about anything in the appstore or itunes store. I dont care if i owe apple's itunes appstore a few dollars over 2 in app purchases i never meant to download in fact the whole app itself i wanted to delete...but out of the hundreds (maybe lower thousands) fof dollars in music and apps and whatever else, that i rightfully purchased over the passed couple of years....should *NOT* have the upgrades and/or previous purchased songs withheld from me over $3 in accidently purchased add ons through an existing app i deleted an disliked anyway
Same thing happened to me with my peruvian credit card in the peruvian app store, I want to buy an app, but it says that my credit card is "not supported in the Peruvian app store"
-
"The file 'iTunes Library.itl' cannot be read because it was created by a newer version of iTunes." Updates were only offered by Apple when I'd open iTunes. Now I can't open iTunes. How can I access the newest iTunes as an update, not a new program?
this just started w/ me yesterday. I was running 10.5.3, and nothing changed - the message just appeard out of nowhere. I update to the latest iTunes 10.6 but the message is the same.
Sounds like probably some sort of Library file corruption.
The two options available in the message box are "Download" and "Quit". Download is useless because I'm already running the latest. Quit is pretty useless.
I was going to just create a new Library and re-import all my music. Of course, all my iPhone sync settings are going go have to be recreated.
Maybe you are looking for
-
Hi , I have the masterdata loaded and activated to the infoobject acttype. when i am loading data to the ods it is giving an error message No sid found for acttype. The master data loaded to the acttype and it is activated. What could be the reason f
-
Parent folder doesn't show the number of pics in subfolders
I organized my pictures in folders like this: Bilder/2014/Examples until today I've seen the number of all pictures in the subfolders behind "Bilder" now there is 0 although all pics are still there. What happened?
-
i started the update through i tunes. it didnt work. said it needed to restore my phone. ive tried a few times. it gets stuck! nothing will happen!!!
-
Stopping Data Reception/Synchronization at the Phone
I have a user that will be traveling out of the country and does not want email redirection being stopped at our BES server - he wants to be able to use the phone but not receive emails unless he turns a setting on the phone on (and conversely wants
-
Hi All, I have a string field that is formatted in XML format. What I want to be able to do is pull a specific element from the xml formatted string. Example string: <customer><name>john</name><id>25636</id></customer> I want to retreive just the