Error message without a template
ERROR: You cannot edit an item that was not submitted by you in the first place.
I encountered this error message that was expected by my action. However the way the error message was presented in a blank page without any template.
I would prefer that it at least uses the default template. Is there any way to fix that? I can't seem to find this error message in the System Pages section.
Thanks
Originally posted by: richkulp.NO.SPAM.us.ibm.com
1) You would use $$Revision$$
2) I don't think you can. But I won't swear to it.
Thanks, Rich Kulp
Similar Messages
-
Error message without blocking Input fields
Hi,
I want to display an error message in the selection screen. The error is for input date validation. But the once error displays in the status bar, it blocks the input fields in the selection screen. I want to display the error message without blocking any of the input parameter in the selection screen. Where should i write the code?
Thanks in advance.
EzhilHi Ezhilhrh
I think you could have done a trial with different message types before posting this question.
Please try with success message(Type - S) and DISPLAY LIKE 'E'.
And also control the program flow using a flag or by checking the initiality of your internal table.
Regards
Hareesh Menon -
"Error Message" without interrupting the transaction
We use a VB application to insert/update records in a Oracle database.
Any user is allowed to see all fields, but not every user is allowed to update all fields. We check the right to update in a database trigger and raise an error if a user wants to update a field for which he has no rights.
User X has the right to update field A, but he has not the right to update field B.
Now we want to change the application
If X tries to update fields A and B, we want to accept the new value for A, leave B unchanged and inform the user with a message like an error message without interrupting the transaction.
Has anybody an idea how to implement this?In the project it's presented:
1) how the servlet can send JSON data depending on the request's parameter
2) how to obtain this data on the client side and show in on the page using jQuery without refreshing the whole site
What You need to do is just to send the error (as JSON data) insetad of the values that are passed now and display this error on the page. -
When i open the MS word, it is showing error message " THe global template, Normal, is already open as an add-in program. How to clear this error?
Post on the MS Mac forums as it's their software you have a question about: http://answers.microsoft.com/en-us/mac
-
How can I fix an invalid sibling link error message without my original install disk?
How can I fix an invalid sibling link error message without my original install disk?
Hi Jeff,
It's not even likely the Install Disc could fix that, but if you want to try...
Does it boot to Single User Mode, CMD+s keys at bootup, if so try...
/sbin/fsck -fy
Repeat until it shows no errors fixed.
(Space between fsck AND -fy important).
Resolve startup issues and perform disk maintenance with Disk Utility and fsck...
http://docs.info.apple.com/article.html?artnum=106214
You must repair the HD, your best bet is likely DiskWarrior.
BTW, you might enjoy these DiskWarrior review/recommendations...
http://discussions.apple.com/thread.jspa?messageID=9645801�
http://discussions.apple.com/thread.jspa?messageID=10541019#10541019
http://discussions.apple.com/thread.jspa?messageID=11918925�
http://discussions.apple.com/thread.jspa?messageID=12684129#12684129
http://discussions.apple.com/thread.jspa?messageID=12744794�
http://discussions.apple.com/thread.jspa?messageID=12912879#12912879
Finally, you should run DiskWarrior if your Mac explicitly warns you of a problem with your disk in the form of an error message. Most of these errors are reported by the built-in Disk Utility whether your Mac OS X version is 10.3 Panther, 10.4 Tiger, 10.5 Leopard, 10.6 Snow Leopard or 10.7 Lion. Here are some of the most common messages:
Disk Repair: The disk was not repairable by this computer. It is being made available to you with limited functionality. You must back up your data and reformat the disk as soon as possible.
The underlying task reported failure on exit.
Invalid node structure.
Keys out of order.
Invalid key length.
Invalid directory item count.
Invalid extent entry.
Invalid record count.
Invalid index key.
Invalid sibling link.
http://www.alsoft.com/DiskWarrior/details3.html -
WORD Error message -- Report from Template
Hello everyone,
I try to generate a "Report from Template" with transaction CG03.
I can select the generation variant and the parameter values in the next two pop-ups.
WORD is starting but then there is the error message:
"Word cannot read this document. Maybe it is corrupted. Try the following:
- open and repair the file
- open file with repair-textconverter".
This message is a translation from german to english so the correct messagt might differ from this.
When I look at my frontend PC in the local settings I see that the respective files are written, but I can´t open them.
This problem started two days ago out of nowwhere.
Additional information: Visual Basic pops up after the error message is closed with "runtime error '1055'.
A debugger is opened and this is the content of the window:
Private Sub TmpDDE()
Dim Template
WordBasic.FileOpen "C:DOKUME1chgiLOKALE1TempRehsfil0.WWI"
WordBasic.FileTemplates Template:="C:ProgrammeSAPFrontEndsapguiwwiwwi.dot"
WordBasic.Call "wwiES.S", "S", ""
End Sub
Any ideas?
Thank you in advance for your help!!!!
Best regards,
Christoph
Edited by: Christoph Giehl on Nov 25, 2010 1:04 PMHello Christoph
any change happened on your client? New Windows version? New Word Version? New WWI Version installed? Did you manupulated Standad Dot path etc.? Did you change Standard.dot of Word?
Can you open in cg54/cg50 any document (ready, released or historic) without a problem and the problem is related only to "report from template"?
During WWI process a number of files are passed on to your client. Can you use Wordpad to open the files? I am not sure but I believe per WWI document there should be something like 4 or 5 documents in your local WWI path. One containing the data, one containing the template and some others (named something like resfil, lesfil etc.).
An error like you described is normally related to one of the above mentioned changes. Can you use "Report from template "regarding the same spec, same genvariant same language with a different client without a problem => then it is clear you have a local problem
With best regards
C.B. -
Error message without link to field
I have a page where I am entering some information and saving it. I am using a VO which is based on an EO. I have two instance of this VO. One is being populated from the page and other one is being populated in the background.
I have put some validation in EO and using following code in validateEntity()
if (getTotEngHrs() == null)
throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
getEntityDef().getFullName(),
null,
"TotEngHrs",
getTotEngHrs(),
"CRM",
"CINT_CRM_TOT_ENG_HRS_NULL");
When I try to save data without entering any value in TotEngHrs field. I do get the error but without any link to this field (just get the plain message). I then enter value in some other field and save it again and I start getting the error with link to those field.
Is there anyone who can help me in this?
Thanks in advanceJust in case it's not clear from above.
If I don't enter value for TotEngHrs I get error as I should be but without link to the field ..when I hit save second time the link to error field does appear. -
Error message without error status matching
Hi Gurus,
I have a error message from process chain as follows:
Failure Group EREC01 Special FULL - Job 1 Process Group EREC01 Special FULL - Job 1 Of Type Local Process Chain Has Status Ended with errors (Process Chain Encapsulate EREC01 GRP) It is now 21:19:54 on 05/05/2010 (time zone PST) Current Process Chain Run: D80JW1WN91Q0OEZ3K0ZGF3MS5 in System BIP (Host biprd03)
but when I get into rspc to check the status for this running, it shows green for status in the log view. why does this error message come up without any error status matching?
Many thanksHi,
Please check if your are looking the correct process chain and in correct transaction. you may look at the logs of this process chain in RSPCM and not in RSPC.
If you can not find this error status message in RSPCM, them check SM37 and SM12 by providing the proper timeinterval for the message you got.
Regards,
Pratap Sone -
Error Message Creating Site Template
Hello,
When I go to Site Actions --> Site Settings --> Site Actions --> Save site as template, I receive an error message. I have asked several people to help me out with this, but I have received paths to find the ULS and locate the issue with the message.
Instead I went to Galleries --> Solutions. When I went to 'Activate' the page, I viewed the following error message:
Feature definition with Id 8a754d6e-e081-4d24-bfb8-7e4a7c5136f8 failed validation, file '1ProjectCharterListInstances\ElementsFields.xml', line 3166, character 82: The 'BdcField' attribute is not allowed.
I have gone to Central Administration -->Manage Service Applications--> Business Data Connectivity Service Application, but this is where ECT's were created and there were no ECT's created for this project. I even tried re-creating the site on a Parent
Level and I still received the same error message. I have gone to \Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML, per another person having a similar issue here on MSDN, but I have no Idea where to go from here.
I see there is a 'BDCMetadata' and a 'BDCMetadataResource' files that will open up in Visual Studio.
Someone else told me that I need to go to 14/TEMPLATE/FEATURES, went there too, but I have no clue what I am looking for. Someone else told me that I
needed to check c:\program files\common files\microsoft shared\web server extensions\14\logs, and I
did and see the log and am trying to view it for why the issue may have arisen.
I am still new to SharePoint and any help would be greatly appreciated.
Richell A. GrantHere is what I found from the ULS Viewer:
w3wp.exe (0x1E30) 0x26F0
SharePoint Foundation Monitoring
nasq Medium
Entering monitored scope (Request (POST:http:// /Project/_layouts/savetmpl.aspx))
w3wp.exe (0x1E30) 0x26F0
SharePoint Foundation Logging Correlation Data
xmnv Medium
Name=Request (POST:http:// /Project/_layouts/savetmpl.aspx)
42ea0094-cd5c-49ea-bfa6-932843c2ff36
w3wp.exe (0x1E30) 0x26F0
SharePoint Foundation Logging Correlation Data
xmnv Medium
Site=/ 42ea0094-cd5c-49ea-bfa6-932843c2ff36
w3wp.exe (0x1E30) 0x26F0
SharePoint Foundation Monitoring
b4ly High
Leaving Monitored Scope (EnsureListItemsData). Execution Time=12.7525294395875
42ea0094-cd5c-49ea-bfa6-932843c2ff36
OWSTIMER.EXE (0x1CAC) 0x10D4
SharePoint Foundation Monitoring
nasq Medium
Entering monitored scope (Timer Job job-application-server)
f280be4d-f2fe-4695-8d6e-31a7ce3cc012
OWSTIMER.EXE (0x1CAC) 0x10D4
SharePoint Foundation Monitoring
b4ly Medium
Leaving Monitored Scope (Timer Job job-application-server). Execution Time=2.53074859543453
f280be4d-f2fe-4695-8d6e-31a7ce3cc012
OWSTIMER.EXE (0x1CAC) 0x2A44
SharePoint Foundation Monitoring
nasq Medium
Entering monitored scope (Timer Job Health Statistics Updating)
4913212b-0774-4fef-9318-a86b32086e58
OWSTIMER.EXE (0x1CAC) 0x2A44
SharePoint Foundation Topology
8xqz Medium
Updating SPPersistedObject
SearchServiceApplicationMonitoring Name=Monitoring_7F19A5D194F942e6A9856FCFD6EE6F63. Version: 639018 Ensure: False, HashCode: 1614248, Id: 3ee4d239-4cc9-4539-9e13-4dfb012df03f, Stack: at Microsoft.SharePoint.Administration.SPPersistedObject.BaseUpdate()
at Microsoft.Office.Server.Search.Monitoring.TraceDiagnosticsProvider.UpdateServiceApplicationHealthStats() at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean
isTimerService, Int32& result) at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result)
4913212b-0774-4fef-9318-a86b32086e58
06/07/2011 09:06:30.74 OWSTIMER.EXE (0x1CAC)
0x2A44 SharePoint Foundation
Monitoring b4ly
Medium Leaving Monitored Scope (Timer Job Health Statistics Updating). Execution Time=40.8853780327531
4913212b-0774-4fef-9318-a86b32086e58
06/07/2011 09:06:30.78 w3wp.exe (0x1A50)
0x2E90 Access Services
Data Layer 8jg2
Medium ResourceManager.PerformCleanup: Memory Manager: CurrentSize=681357312.
53fed7f1-f8f4-2342-0000-000050f7b00c
06/07/2011 09:06:31.45 w3wp.exe (0x1E30)
0x26F0 SharePoint Foundation
Monitoring b4ly
High
Leaving Monitored Scope (Team Discussion). Execution Time=204.276441523127
42ea0094-cd5c-49ea-bfa6-932843c2ff36
06/07/2011 09:06:31.45 w3wp.exe (0x1E30)
0x26F0 SharePoint Foundation
Monitoring b4ly
High
Leaving Monitored Scope (Add WebParts#86). Execution Time=204.367548472562
42ea0094-cd5c-49ea-bfa6-932843c2ff36
06/07/2011 09:06:31.52 w3wp.exe (0x1E30)
0x26F0 SharePoint Foundation
Monitoring b4ly
High
Leaving Monitored Scope (EnsureListItemsData#5). Execution Time=12.5685701968573
42ea0094-cd5c-49ea-bfa6-932843c2ff36
06/07/2011 09:06:31.52 w3wp.exe (0x1E30)
0x26F0 SharePoint Foundation
Monitoring b4ly
High
Leaving Monitored Scope (EnsureListItemsData#6). Execution Time=9.59136264231098
42ea0094-cd5c-49ea-bfa6-932843c2ff36
06/07/2011 09:06:31.53 w3wp.exe (0x1E30)
0x26F0 SharePoint Foundation
Monitoring b4ly
High
Leaving Monitored Scope (EnsureListItemsData#7). Execution Time=12.5647304403677
42ea0094-cd5c-49ea-bfa6-932843c2ff36
06/07/2011 09:06:31.55 w3wp.exe (0x1E30)
0x26F0 SharePoint Foundation
Monitoring b4ly
High
Leaving Monitored Scope (EnsureListItemsData#8). Execution Time=9.07508992884233
42ea0094-cd5c-49ea-bfa6-932843c2ff36
06/07/2011 09:06:31.56 w3wp.exe (0x1E30)
0x26F0 SharePoint Foundation
Monitoring b4ly
High
Leaving Monitored Scope (EnsureListItemsData#9). Execution Time=13.0384167636787
42ea0094-cd5c-49ea-bfa6-932843c2ff36
06/07/2011 09:06:31.58 w3wp.exe (0x1E30)
0x26F0 SharePoint Foundation
Monitoring b4ly
High
Leaving Monitored Scope (EnsureListItemsData#11). Execution Time=11.7018324365175
42ea0094-cd5c-49ea-bfa6-932843c2ff36
06/07/2011 09:06:31.59 w3wp.exe (0x1E30)
0x26F0 SharePoint Foundation
Monitoring b4ly
High
Leaving Monitored Scope (EnsureListItemsData#12). Execution Time=11.2941201110737
42ea0094-cd5c-49ea-bfa6-932843c2ff36
06/07/2011 09:06:31.59 w3wp.exe (0x1E30)
0x26F0 SharePoint Foundation
Monitoring b4ly
High
Leaving Monitored Scope (EnsureListItemsData#13). Execution Time=10.8448686017876
42ea0094-cd5c-49ea-bfa6-932843c2ff36
06/07/2011 09:06:31.81 w3wp.exe (0x1A50)
0x2C54 Access Services
Data Layer 8jg2
Medium ResourceManager.PerformCleanup: Disk Manager: CurrentSize=0.
11c5f189-f8f4-2342-0000-000050f7b00c
06/07/2011 09:06:32.72 OWSTIMER.EXE (0x1CAC)
0x0654 SharePoint Foundation
Monitoring nasq
Medium Entering monitored scope (Timer Job Search Health Monitoring - Trace Events)
e64e2b2a-32b6-402a-be85-bc939eb9ff8b
06/07/2011 09:06:32.72 OWSTIMER.EXE (0x1CAC)
0x0654 SharePoint Foundation
Monitoring b4ly
Medium Leaving Monitored Scope (Timer Job Search Health Monitoring - Trace Events). Execution Time=10.2877548420202
e64e2b2a-32b6-402a-be85-bc939eb9ff8b
06/07/2011 09:06:33.64 w3wp.exe (0x1E30)
0x26F0 SharePoint Foundation
Monitoring b4ly
High
Leaving Monitored Scope (EnsureListItemsData). Execution Time=12.4373203386665
42ea0094-cd5c-49ea-bfa6-932843c2ff36
06/07/2011 09:06:33.72 w3wp.exe (0x1E30)
0x26F0 SharePoint Foundation
Monitoring b4ly
High
Leaving Monitored Scope (EnsureListItemsData#17). Execution Time=10.7935554923353
42ea0094-cd5c-49ea-bfa6-932843c2ff36
06/07/2011 09:06:33.90 w3wp.exe (0x1E30)
0x26F0 SharePoint Foundation
Topology umad
Medium Solution Deployment : Looking for 'ReceiverAssembly' attribute in manifest root node for solution 'Project Charter2.wsp'.
42ea0094-cd5c-49ea-bfa6-932843c2ff36
06/07/2011 09:06:33.90 w3wp.exe (0x1E30)
0x26F0 SharePoint Foundation
Topology umae
Medium Solution Deployment : Looking for 'ReceiverClass' attribute in manifest root node for solution 'Project Charter2.wsp'.
42ea0094-cd5c-49ea-bfa6-932843c2ff36
06/07/2011 09:06:33.90
w3wp.exe (0x1E30) 0x26F0
SharePoint Foundation Topology
umal Medium
Solution Deployment : Missing one or more of the following attributes from the root node in solution Project Charter2.wsp: assembly '', type ''.
42ea0094-cd5c-49ea-bfa6-932843c2ff36
06/07/2011 09:06:33.93 w3wp.exe (0x1E30)
0x26F0 SharePoint Foundation
General 9fjj
Monitorable SPSolutionExporter: Microsoft.SharePoint.SPException:
Feature definition with Id 110e214c-5235-4a79-b8fd-3a3244743122 failed validation, file '1ProjectCharterListInstances\ElementsFields.xml', line 3166, character 82:
The 'BdcField' attribute is not allowed. at
Microsoft.SharePoint.Administration.SPSolutionPackage.SolutionFile.FeatureXmlValidationCallBack(Object sender, ValidationEventArgs evtargs) at System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(String code, String arg)
at System.Xml.Schema.XmlSchemaValidator.ValidateAttribute(String lName, String ns, XmlValueGetter attributeValueGetter, String attributeStringValue, XmlSchemaInfo schemaInfo) at System.Xml.XsdValidatingReader.ValidateAttributes()
at System.Xml.XsdValidatingReader.ProcessElementEvent() at System.Xml.XsdValidatingReader.Read() at System.Xml.XmlReader.MoveToContent() at System.Xml.XmlReader.IsStartElement() at Microsoft.SharePoint.Utilities.SPUtility.XsdValidateXml(XmlTextReader
xmlStreamReader, String friendlyName, String pathXsdFile, String tagExpectedRootNode, ValidationEventHandler xsdValEventHandler) at Microsoft.SharePoint.Administration.SPSolutionPackage.SolutionFile.ValidateFeatureXmlFile(String rootTagElement)
at Microsoft.SharePoint.Administration.SPSolutionPackage.AddFeatureElementsCore(XmlNodeList nodeList, String strFeatureDirRelativeToCabFile, Guid featureId, Dictionary`2 filesAdded) at Microsoft.SharePoint.Administration.SPSolutionPackage.AddFeatureElements(XmlNode
root, String strFeatureDirRelativeToCabFile, String strFeatureXmlFilename, Guid featureId) at Microsoft.SharePoint.Administration.SPSolutionPackage.WspSolutionFeature.ProcessFeatureXml() at Microsoft.SharePoint.Administration.SPSolutionPackage.InitSolutionFeatures(XmlNode
root) at Microsoft.SharePoint.Administration.SPSolutionPackage.ProcessSolutionManifest() at Microsoft.SharePoint.Administration.SPSolutionPackage.Load() at Microsoft.SharePoint.Administration.SPSolutionLanguagePack.CreateSolutionPackage(SPRequest
request, String name, String signature, Byte[] fileBytes) at Microsoft.SharePoint.SPUserSolutionCollection.<>c__DisplayClass1.<AddOrUpgrade>b__0() at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated
secureCode) at Microsoft.SharePoint.SPUserSolutionCollection.AddOrUpgrade(SPListItem item, SPUserSolution existingSolution) at Microsoft.SharePoint.SPUserSolutionCollection.Add(Int32 solutionGalleryItemId) at Microsoft.SharePoint.SPSolutionExporter.ExportWebToGallery(SPWeb
web, String solutionFileName, String title, String description, ExportMode exportMode, Boolean includeContent, String workflowTemplateName, String destinationListUrl)
42ea0094-cd5c-49ea-bfa6-932843c2ff36
06/07/2011 09:06:33.93 w3wp.exe (0x1E30)
0x26F0 SharePoint Foundation
Runtime tkau
Unexpected System.InvalidOperationException:
Error copying temporary solution file to solutions gallery: _catalogs/solutions/Project Charter2.wsp at Microsoft.SharePoint.SPSolutionExporter.ExportWebToGallery(SPWeb web,
String solutionFileName, String title, String description, ExportMode exportMode, Boolean includeContent, String workflowTemplateName, String destinationListUrl) at Microsoft.SharePoint.SPSolutionExporter.ExportWebToGallery(SPWeb web, String
solutionFileName, String title, String description, ExportMode exportMode, Boolean includeContent) at Microsoft.SharePoint.ApplicationPages.SaveAsTemplatePage.BtnSaveAsTemplate_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs
e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
42ea0094-cd5c-49ea-bfa6-932843c2ff36
06/07/2011 09:06:33.95 w3wp.exe (0x1E30)
0x26F0 SharePoint Foundation
Performance nask
Monitorable An SPRequest object was not disposed before the end of this thread. To avoid wasting system resources, dispose of this object
or its parent (such as an SPSite or SPWeb) as soon as you are done using it. This object will now be disposed. Allocation Id: {FD36747E-91CF-43D5-A512-D6302254D976} To determine where this object was allocated, set Microsoft.SharePoint.Administration.SPWebService.ContentService.CollectSPRequestAllocationCallStacks
= true. 42ea0094-cd5c-49ea-bfa6-932843c2ff36
06/07/2011 09:06:33.95 w3wp.exe (0x1E30)
0x26F0 SharePoint Foundation
Performance nask
Monitorable An SPRequest object was not disposed before the end of this thread. To avoid wasting system resources, dispose of this object
or its parent (such as an SPSite or SPWeb) as soon as you are done using it. This object will now be disposed. Allocation Id: {2949D429-CD91-431F-9F52-37A89F11B3BD} To determine where this object was allocated, set Microsoft.SharePoint.Administration.SPWebService.ContentService.CollectSPRequestAllocationCallStacks
= true. 42ea0094-cd5c-49ea-bfa6-932843c2ff36
06/07/2011 09:06:33.95 w3wp.exe (0x1E30)
0x26F0 SharePoint Foundation
Performance nask
Monitorable An SPRequest object was not disposed before the end of this thread. To avoid wasting system resources, dispose of this object
or its parent (such as an SPSite or SPWeb) as soon as you are done using it. This object will now be disposed. Allocation Id: {34651BFE-E7C8-48EA-9BFA-583E11E02F40} To determine where this object was allocated, set Microsoft.SharePoint.Administration.SPWebService.ContentService.CollectSPRequestAllocationCallStacks
= true. 42ea0094-cd5c-49ea-bfa6-932843c2ff36
06/07/2011 09:06:33.95 w3wp.exe (0x1E30)
0x26F0 SharePoint Foundation
Monitoring b4ly
Medium Leaving Monitored Scope (Request (POST:http:// /Project/_layouts/savetmpl.aspx)). Execution Time=5219.04728660117
42ea0094-cd5c-49ea-bfa6-932843c2ff36
I (BUI) what I don't understand or I know it's an error but I have no idea how to fix these. This is what I found in the ULS Viewer! This is so much easier than how I was looking at this log yesterday and Friday.
Richell A. Grant -
End-of-file error message in a template
I am receiving the following error message as I try to update a template. "There is an error at line 561, column 1 (absolute position 37746)...and then it give the file on my local server.
This is the page with the difficulty that uses the template.
http://aqsperformance.com/pages/training2.htm
Any suggestions?You have a bunch of errors, one of them is an unclosed comment just before your end </html> that could be causing problems, you appear to be using an "m" dash instead of double hyphen...
<!-- end ad widget —>
</html>
Run your page through the validator at http://validator.w3.org to get a complete listing. If it's still happening after the code is cleaned, post back. -
Display error message without refreshing the entire jsp
Hi,
I want to display the server side error messages in the jsp without refreshing the entire jsp. How can this be achieved?
I think there is some way with use of AJAX. If yes can you please elaborate on the same as to how to do this.
Regards,
ShwethaIn the project it's presented:
1) how the servlet can send JSON data depending on the request's parameter
2) how to obtain this data on the client side and show in on the page using jQuery without refreshing the whole site
What You need to do is just to send the error (as JSON data) insetad of the values that are passed now and display this error on the page. -
How do I stop MobileMe error message without a Preference Panel?
This MacBook running 10.6.8 has no MobileMe preference panel and no "ByHost" folder, so I can't follow the instructions found elsewhere here to stop the error message "You entered an invalid MobileMe member name or password. Verify your MobileMe member name and password in MobileMe System Preferences."
The error message keeps popping up and I can't figure out what program is producing it. I have removed the MobileMe account from iMail. I've checked iCal and Address Book, and they don't have MobileMe syncing turned on.Removing the MobileMe account from Mail (not iMail) won't remove the account's setting for Outgoing Mail Server (SMTP). Look at the list in your remaining Mail accounts and delete the one for MobileMe. Otherwise, everytime you open Mail, that server connection will attempt to connect.
-
Encountered the symbol "COLLECT" error message, without a collection?
Okay, once again I'm confused and lost.
I'm working on a 'variation' of the Issue Tracker sample application at:
http://apex.oracle.com/pls/otn/f?p=23133
Once there, select "Projects", then on the "Projects" page, click the edit button.
The error appears in the "Add or Edit Project Tasks" region.
The region source is:
select
x.del,
x.task_name,
x.status,
x.dependent_upon,
x.task_scope,
x.task_comments,
x.task_lead,
x.ck ck
from (
select
apex_item.checkbox(1,task_id) del,
apex_item.text(2,task_name,30,70) TASK_NAME,
apex_item.display_and_save(3,ht_tasks_getstatus(task_id)) STATUS,
apex_item.select_list_from_lov(4,dependent_upon,'select task_name d, task_id r from ht_tasks where project_id = :P3_PROJECT_ID') DEPENDENT_UPON,
apex_item.textarea(5,task_scope,4,40) TASK_SCOPE,
apex_item.textarea(6,task_comments,4,40) TASK_COMMENTS,
apex_item.select_list_from_lov(7,task_lead,'PEOPLE') TASK_LEAD,
apex_item.hidden(8,project_id)||
apex_item.hidden(9,wwv_flow_item.md5(task_name,status,dependent_upon,task_scope,task_comments,task_lead)) ck
from HT_TASKS_VIEW
where project_id = :P3_PROJECT_ID
union all
select
apex_item.checkbox(1,null) del,
apex_item.text(2,null,30,70) TASK_NAME,
apex_item.display_and_save(3,null) STATUS,
apex_item.select_list_from_lov(4,null,'select task_name d, task_id r from ht_tasks where project_id = :P3_PROJECT_ID') DEPENDENT_UPON,
apex_item.textarea(5,null,4,40) TASK_SCOPE,
apex_item.textarea(6,null,4,40) TASK_COMMENTS,
apex_item.select_list_from_lov(7,null,'PEOPLE') TASK_LEAD,
apex_item.hidden(8,to_number(:P3_PROJECT_ID))||
apex_item.hidden(9,null) ck
from dual) x
Which appears to be working correctly. When I click the debug link, the following appears:
0.04: add row query: select x.del, x.task_name, x.status, x.dependent_upon, x.task_scope, x.task_comments, x.task_lead, x.ck ck from ( select apex_item.checkbox(1,task_id) del, apex_item.text(2,task_name,30,70) TASK_NAME, apex_item.display_and_save(3,ht_tasks_getstatus(task_id)) STATUS, apex_item.select_list_from_lov(4,dependent_upon,'select task_name d, task_id r from ht_tasks where project_id = :P3_PROJECT_ID') DEPENDENT_UPON, apex_item.textarea(5,task_scope,4,40) TASK_SCOPE, apex_item.textarea(6,task_comments,4,40) TASK_COMMENTS, apex_item.select_list_from_lov(7,task_lead,'PEOPLE') TASK_LEAD, apex_item.hidden(8,project_id)|| apex_item.hidden(9,wwv_flow_item.md5(task_name,status,dependent_upon,task_scope,task_comments,task_lead)) ck from HT_TASKS_VIEW where project_id = :P3_PROJECT_ID union all select apex_item.checkbox(1,null) del, apex_item.text(2,null,30,70) TASK_NAME, apex_item.display_and_save(3,null) STATUS, apex_item.select_list_from_lov(4,null,'select task_name d, task_id r from ht_tasks where project_id = :P3_PROJECT_ID') DEPENDENT_UPON, apex_item.textarea(5,null,4,40) TASK_SCOPE, apex_item.textarea(6,null,4,40) TASK_COMMENTS, apex_item.select_list_from_lov(7,null,'PEOPLE') TASK_LEAD, apex_item.hidden(8,to_number(:P3_PROJECT_ID))|| apex_item.hidden(9,null) ck from dual) x
0.04: determine column headings
0.04: parse query as: ARIA
0.04: binding: ":P3_PROJECT_ID"="P3_PROJECT_ID" value="1"
0.04: print column headings
0.04: rows loop: 15 row(s)
report error:
ORA-06550: line 1, column 13:
PLS-00103: Encountered the symbol "COLLECT" when expecting one of the following:
:= . ( @ % ;
So, it looks like the error is happening when it starts the loop to grab the rows. I'm not using a collection, so I'm assuming that for the pagination, Apex is using a collection internally, and somehow, somewhere, that's generating the error?
I've deleted the region and everything associated with it, buttons, processes, etc. and the rebuilt the region without the other 'stuff', but I still get the error. I'm completely lost now, as I really don't what else to try, other than dropping the page an trying to recreate it. But if that doesn't work, any idea what would?
Also, to log in and see the code, my workspace is wbfergus, and the id and pwd are both htmldb.
Thanks.
Bill FergusonBill - Try apex_item.select_list_from_query when a query (not a named lov) is the source: apex_item.select_list_from_query(4,dependent_upon,'select task_name d, task_id r from ht_tasks where project_id = :P3_PROJECT_ID') DEPENDENT_UPON,BTW, nothing do do with collections in this case. The parsing hit a 'bulk collect' probably.
Scott -
Getting Unexpected Error message while Uploading template
Hi,
I am updating one of the .*rtf* template. The origional size of the the template file is 49.6MB. However if I made any changes in the template file(even if I add/remove space) and save it, the template size increases to 80+ MB.
And when I tried to upload this file, I'm getting the 'UnExpected Error'. Probably due to time out as file size is big.
Does anyone faced the same issue? I tried updating file on different machines but still the template size increases dramatically. Help.
Thanks and Regards,
Ravindrahi,
how are you uploading the file and where ?
u can use open dataset , read dataset or gui_upload
check this link
http://help.sap.com/saphelp_nw04/helpdata/en/c8/e92637c2cbf357e10000009b38f936/frameset.htm -
Error message when savinig template file
Hello there,
Hope you can help - i was originally having problems with my Spry menu bar but thanks to 'Gramps' that is now fixed.
Now when saving my template filet is reports:
There is an error at line 169, column 17 (absolute position 6487) of template: unbalanced body tag.
Have no idea how this has happened.
Code from line 167-170:
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
</script>
</body></html>
Can anyone help? Thank you.
NicolaThe problem is here (on or about line 107)
<link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
</head></html>
<div class="container">
<div class="content">
To be correct, this should be
<link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
</head><body>
<div class="container">
<div class="content">
When learning, there is one important thing to remember, that is when you open a tag, close it immediately. That way you will not forget. Another important method is to indent the code to highlight the elements (element is the opening tag + the closing tag). The following is your document as I would do it as far as indenting is concerned. Please note the highlighted line in the content class. This is to make sure that the background extends to all of the contents. Also not that I have placed all of the JavaScript at the bottom of the document. The reason is that the page is rendered prior to loading the scripts, allowing for faster visual experience. The placing of the JavaScript at the bottom is not neccessary and therefore not widely done.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Nicola Neo - Art Direction & Design</title>
<style>
body {
margin: 0;
padding: 0;
color: #000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 100%;
line-height: 1.4;
background-color: #CCC;
margin-left: 0px;
margin-top: 0px;
.nav_bar {
background-color: #000;
text-align: center;
width: 800px;
height: auto;
background-image: none;
background-repeat: no-repeat;
float: left;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 80px;
color: #FFF;
font-size: small;
font-weight: lighter;
word-spacing: 40em;
white-space: pre;
.footer {
width: 950px;
background-color: #999;
height: auto;
bottom: auto;
/* ~~ Element/tag selectors ~~ */
ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
padding: 0;
margin: 0;
h1, h2, h3, h4, h5, h6, p {
margin-top: 0; /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
padding-right: 15px;
padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
border: none;
/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
a:link {
color: #666;
text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
a:visited {
color: #000;
text-decoration: underline;
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
text-decoration: none;
/* ~~ this fixed width container surrounds all other elements ~~ */
.container {
width: 950px;
background: #FFF; /* the auto value on the sides, coupled with the width, centers the layout */
margin-top: 0;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
/* ~~ This is the layout information. ~~
1) Padding is only placed on the top and/or bottom of the div. The elements within this div have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.
.content {
background-color: #FFF;
text-align: center;
padding-top: 20px;
padding-right: 0;
padding-bottom: 10px;
padding-left: 0;
margin-top: 20px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
overflow: hidden;
/* ~~ miscellaneous float/clear classes ~~ */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
float: right;
margin-left: 8px;
.fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
float: left;
margin-right: 8px;
.clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the overflow:hidden on the .container is removed */
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
</style>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="container">
<div class="content">
<h1><img src="images/nicola neo.gif" alt="nicola_neo_logo"></h1>
<p><img src="images/ART DIRECTION & GRAPHIC DESIGN.gif" alt="art director & design"></p>
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="01_home.html">HOME</a></li>
<li><a href="02_About.html">ABOUT</a></li>
<li><a class="MenuBarItemSubmenu" href="../03_WORK/catwalk01.html">WORK</a>
<ul>
<li><a href="#">Personal</a></li>
<li><a href="#">Asos.com</a></li>
<li><a href="#">Harper's Bazaar</a></li>
<li><a href="#">Wallpaper*</a></li>
</ul>
</li>
<li><a href="../04_Contact.html">CONTACT</a></li>
</ul>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<!-- end .content --></div>
<!-- end .container --></div>
<script src="SpryAssets/SpryEffects.js"></script>
<script src="SpryAssets/SpryMenuBar.js"></script>
<script>
function MM_effectAppearFade(targetElement, duration, from, to, toggle) {
Spry.Effect.DoFade(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
function MM_effectHighlight(targetElement, duration, startColor, endColor, restoreColor, toggle) {
Spry.Effect.DoHighlight(targetElement, {duration: duration, from: startColor, to: endColor, restoreColor: restoreColor, toggle: toggle});
function MM_popupMsg(msg) { //v1.0
alert(msg);
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
</script>
</body>
</html>
To center the menubar have a look here http://labs.adobe.com/technologies/spry/samples/menubar/CenteringHorizontalMenuBarSample.h tml
Gramps
Maybe you are looking for
-
ITunes 11.1 crashes on Apps tab of connected iPhone
With an iPhone 4S (iOS7) connected and selected in iTunes 11.1.0.126, clicking the Apps tab causes iTunes to crash with the message "iTunes has stopped working." Running Windows 7 Ultimate 64-bit, all MS updates applied. Information from Windows Eve
-
Windows 7 and ThinkVanta​ge System Update
I updated to the most recent release of the LSC (2.3.002) and now my warranty is showing. So that is good. However, when I go to the fix option for the Lenovo Software updates, and I click "launch" to fix the issue, all I get is a small pop up that s
-
ive tryed different search engine but getting no where
-
VL02N Batch INPUT, change field LFIMG
HI gurus, On a selection screen i have those: parameters: p_vbeln select-options: s_posnr parameter: p_lfimg I did a BATCH input on VL02N on a delivery that has 2 items. When i'm trying to change the delivery quantity using the parameters and the sel
-
How are multiple duplicate songs deleted from albums? I've followed iTunes Help instructions but wasn't successful. I command clicked the duplicate songs to select them, and pressed "delete" on the keyboard, but nothing happened. I also tried dra