Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Jquery modal causing page protection violation error

William WallaceMay 30 2013 — edited May 30 2013
Hi,

I am using Apex 4.2.2.

I tried to move away from built in plugin template as it doesnt work in IE 7 (this is in theme 26) to use Jquery modal.


In page Header: I put the following code:
<link rel="stylesheet" href = "http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/redmond/jquery-ui.css" type="text/css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"> </script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js"> </script>

<script language="JavaScript1.1" type="text/javascript">

	$( function() 
	{
	   $('#modal-1').dialog(
	   {
			width: 500,
			height: 400,
			modal : true ,
			autoOpen : false ,
			buttons  : {
							Cancel 	: function() {
										closeDialog('modal-1');
									}
					    }

	   });
	});
</script>

<script language="JavaScript1.1" type="text/javascript">		
	function openDialog(pId)
	{
		var dialog_id = '#'+pId;
		$(dialog_id).dialog('open');
		
	}
	function closeDialog(pId)
	{
		var dialog_id = '#'+pId;
		$(dialog_id).dialog('close');
	}

</script>
Then created my Modal region (type HTML + No Template) with a

Region Header: <di v id="modal-1" style="display:none;">
Region Footer: </di v >

Modal comes up fine as soon as I run the page and submit or click on any other links on tabs (to go to other page) I am getting the error:
Session state protection violation: This may be caused by manual alteration of protected page item P17_RELEASE_ID. If you are unsure what caused this error, please contact the application administrator for assistance.

Contact your application administrator.
I know this is the main cause because if I remove the code from page header, the error dissappears.

Anyone encountered this? Please share how you fixed it (if you were able to ) thanks.

Edited by: William Wallace on 29/05/2013 21:47

Comments

Sudipto Desmukh
See if below posts help you , looks like some minor issue with migration / extensions -

2433625
https://kr.forums.oracle.com/forums/thread.jspa?threadID=2376404
959008
Re: How can i upgrade a source code???
Posted: 30 Αυγ 2012 9:56 μμ in response to: Jang-Vijay Singh Reply

Thank you very very much for replying, and for replying so soon.

I have done already only the last step from the second post!!!!
So, it is obvious that I have to do all the others.

Once more thank you very much,
I hope I will not lose my time once again.
959008
Is there anyone that can help??

I want to develop a portlet for oracle Portal 11.1.1.1. I can not end up o a solution.
I can not set up pdk java developer.
Jdeveloper remains with the server not running.
Eclipse not enough documentation.
Netbeans not enough and updated documentation.
Can I use somethin like netbeans, for java producers and then produce the portlet?

Thank you in advance.
Sudipto Desmukh
Pl check on webcenter forum : 3356
959008
Thank you very very much!!!!
I have tryied all the other solutions and end up again in jdeveloper!!!
It looks like jdeveloper after studing forums and all the ohter solution possibles, is nearest in Oracle Portal 11.1.1. than all the others. So, if it is
1 - 5
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 27 2013
Added on May 30 2013
5 comments
2,403 views