Adding Parameters in a Filter
On a scale of one to "Dear God, what is that *thing*!?", how bad is
it to add parameters to an HttpServletRequest in a Filter?
I'm not entirely sure why there isn't an addParameter method in
the request class, so it's hard for me to judge. Is it an optimization,
or part of the contract?
Also, does anybody have a good name for such
a class? :)
I'm not entirely sure why there isn't an addParameter
method in
the request class, so it's hard for me to judge. Is
it an optimization,
or part of the contract?There are two types of values that can exist in HttpServletRequest: parameters and attributes. The parameters are the values that are sent from the client side (in submit) and these values can't be modified. Also no other parameters can be added on server side in the request object. Their scope is request.
The attributes are the values that can be added to the HttpServletRequest on the server side. They can be removed. They exist in the request only during the first forward (Attributes are reset between requests).
So, it sound like a contract.
If you need in the request an attribute (that behave as previously described), it is not uncommon to set it in a filter class.
>
Also, does anybody have a good name for such
a class? :)The name of the class generally depends on the functionality the class encapsulates. Fiters names generally ends with 'Filter': "SessionFilter".
Similar Messages
-
Will LR get the new brush feature added to the graduated filter and radial filter like the latest version of Camera raw?
OK, at least I can look forward to it and use Photoshop & CR instead of LR for these filters until then.
Thanks -
Application adding '\' to the group filter
Hi,
We have two groups created in Oracle Internet Directory server.here are the details
cn=user_group_1,cn=organisation,cn=groups,dc=oracle,dc=com
cn=user_group_2,cn=organisation,cn=groups,dc=oracle,dc=com
we are using the below configurations from our portal to pull the users from the above two groups,but we couldn't do that.
Group Path = cn=organisation,cn=groups,dc=oracle,dc=com
Group scope = SUB_TREE
Group Filter = (cn=user_*)
I am getting an error with above configurations and error message saying that "Please make sure Group path is correct".But the Group path is correct.Our LDAP admin said that my portal itself adding '\' to the group filter.
Below is the request comes to LDAP server.
ldapsearch -h ldap_server_name -p 636 -U 1 -b "cn=organisation,cn=groups,dc=oracle,dc=com" "(&(objectclass=groupofuniquenames)(cn=user\_*))"
Please let us know how can i remove this '\' at portal level (or) how can i handle at LDAP server level.
Thanks in Advance.
Regards,
LaxmanIt seems that it is not allowing _ .
Whenever some special characters comes then it add \ in front of it.
It happens in OIM but that is Java so we can handle.
Escape character before dot in dn entry after OID provisioning
I don't know how request are coming to portal. You can see the link below. It may help you.
http://docs.redhat.com/docs/en-US/Red_Hat_Directory_Server/8.2/html/Administration_Guide/Finding_Directory_Entries-Using_ldapsearch.html -
Adding parameters to xcelsius dashboard
Hello All,
I am new to xcelsius and would like to have advises and help regarding my needs.
I have selected the columns which I want from the "Universe Query" and get the data in the excel sheet in xcelsius. Now, I have added a scorecard and it is reading perfectly from the xcel sheet. The user had requested for additional requirements that they want parameters to select the dates which they want for example "1-1-2011"-"2-1-2011"-"3-1-2011"-"10-1-2011". So, how do I implement this? Any advises? Tutorials?
Thanks for the helpHello Maas,
I think there are several ways to do so, but I can only think about two ways by the moment:
One way is by using a Selector component, select as Labels the colunm with the dates, and on Data Insertion, Insertion Type select Filtered Rows. This option will filter the Source Data you select from the choosen date, and use the Destination to put it on another sheet. Then you can create your Charts over this flltered data.
The other way is by using the query filter, as explained below:
http://myxcelsius.com/2008/12/25/part-ii-live-dashboards-using-bo-liveoffice-creating-a-liveoffice-document-and-connect-it-to-businessobjects-universe-data/
http://myxcelsius.com/2009/01/04/create-an-xcelsius-2008-dashboard-bound-to-live-office-data-using-prompt/
Hope it helps!
Regards.
Bruna Dupim -
How to remove request parameters in a filter
Hello,
I wanted to make a filter that removes all the GET parameters except for a few exceptions.
How do I remove parameters from a ServletRequest or HttpServletRequest? I am trying to make a webapp that only uses POST variables, and not GET (except a few exceptions).
Can someone point me in the right direction?
Thanks!Arrowx7 wrote:
Hey, thanks for the replies.
Actually, I have a bunch of action forms in my webapp, which use request.getParameter(). This method doesn't distinguish between get and post. For security reasons, I don't want any of those parameters coming in with the URL as GET.
At first I wanted to have the filter take the request URL, parse the variables, loop through them, and remove ones that aren't on the EXEMPT list.
So a request like this:
http://myweb.com/messageAction.do?method=send&to=bahuser&subject=i+am+stupid&body=you+stink
would be turned into this:
http://myweb.com/messageAction.do?method=send
because the 'method' param is the only one that is on the EXEMPT list.
Perhaps there is a way I can get the request URL with the GET params, and then redirect to the safe URL after taking out parameters?If you actually mean take out those parameters (ie make them not attainable anymore) then yes, you can do
if ("get".equals(request.getMethod().toLowerCase()) {
response.sendRedirect("http://myweb.com/messageAction.do?method="+request.getParameter("method"));
} else {
filterChain.doFilter(request, response);
}>
Thanks!
Edited by: Arrowx7 on Jul 24, 2008 9:03 AM -
Adding Parameters to RXi Report
Hi All,
I need to do a modification to Receipt Register Report in AR. This report is a spawned program. I need suggestions to modify this program. The requirement is I need to add the company segments low and high as parameters. I have modified the package to suit my requirement. But while running with out giving values to the company segments the program running smoothly. But if I give values to the company segment the program ends up with the error message "ORA-01006: bind variable does not exist". But I have added my requirement in all the stages of the package. Please help me out.
Thanks,
RajaHi Praveen,
This report is used by standard functionality for Mass change in Background. Since caller program again can only be enhanced at end. Then how will I tell stardard code to call the Z program instead of standard one?
One alternative is to do the create Z program and do same functionality for our custom attributes. Then call this program also in same caller program. But this will be too much of processing overhead and may consume more time to process.
Regards, -
Hi All,
I would assume this is a common problem.
I am a having problems using filters on SharePoint 2013 Lists on a custom site page.
I am using the Filter (text, date, Choice) Web Parts, however due to the limitations of the filter web parts, I am also using Parameters and the Filters from within SharePoint designer. Using this method, I am able to search date ranges and partial
text on set columns. The problem is that I have to fill out all the filter fields in order to get any results. If a filter is left blank then the list should only filter on the other filters. Instead it no results are returned.
In addition, if I do set the filters, how do you reset the filters to show all records again?
ThanksThe only way I've figured out is to create a field that is always empty, e.g., a calculated text field, and use that field to "test" if the parameter is blank. Here's an example CAML query fragment:
<Or>
<Contains>
<FieldRef Name="WorkflowDocsDescription"/>
<Value Type="MultiLookup">{DocDescriptionTextFilterValue}</Value>
</Contains>
<Eq>
<FieldRef Name="Empty"/>
<Value Type="Text">{DocDescriptionTextFilterValue}</Value>
</Eq>
</Or>
This may not perform well in a large list, but perhaps an index on the Empty field would remedy.
GShore -
Adding parameters to button programmatically
H All,
I have an requirement to pass the parameters of an single row selected by user to the next page. It is an advance table in iReceivables page. I have created an button in the advance table using personalization and when the user clicks on the button the values(1 to 3) will be forwarded to the next page.
Can some one assist me on how to add parameters to an button programmatically.
Regards,
RamakrishnanYou cannot achieve this without Action (PPR)
1. You need to extend the controller and programmatically configure the PPR on Button Click.
Add Following code in PR:
OAButtonBean button = (OAButtonBean) webBean.findChildRecursive("<ID of Button added by personalization>") ;
// Assuming you need to pass just one parameter, PK of VO.
Hashtable paramsWithBinds = new Hashtable(1);
paramsWithBinds.put ("PKparam", new OADataBoundValueFireActionURL((OAWebBeanData)webBean,
"{$<View Attribute name of the PK>}"));
button.setFireActionForSubmit("<EVENT NAME OF PPR ON BUTTON CLICK>", null, paramsWithBinds,false, false);
2.
Add following Code in PFR:
if("<EVENT NAME OF PPR ON BUTTON CLICK>".equals(pageContext.getParameter("event"))) {
System.out.println("WE ARE IN HANDLE OF BUTTON CLICK");
System.out.println( pageContext.getParameter("PKparam")) ;
// PKParam is set in PR for the Primary Key of VO.
//Now you can pass this as a parameter to your Next page.
Regards,
Prince
http://princekapoor82.blogspot.com
typo fixed.
Edited by: Prince on Oct 11, 2011 11:20 PM -
Adding parameters to Netbeans generated code
I'm new to Netbeans and I'm sure this functionality exists, I just don't know what properties to select...
I'm using the MigLayout and cannot figure out how to get the .add(Component) to pass additional parameters in the generated code.
Netbeans Generated Code: jPanel4.add(jButton1);
Desired Code: panel.add(comp3, "wrap");
There are custom code options for "pre-adding" and "post-adding" however that puts code in the lines above/below the .add(component) line. XXX.add(...) can take one - several parameters, how control them in Netbeans? I am finding the Netbeans support documentation to be extremely difficult to search and google usually turns up better results.
Any suggestions??Thanks for the reply...
Following these instructions,
Right clicking on Component in the Object Browser
Selecting Customize Code (edit only edited text on the component)
I could only edit:
jPanel4 = new javax.swing.JPanel();
jRadioButton1.setText("jRadioButton1");
but not:
jPanel4.add(jButton1);
Have a screen capture but don't see a way to attach files... -
Essbase 7.1.6 - filter maxl script commands -adding multiple rows to filter
how do i add multiple lines to a maxl scrpt for a filter update -
"HIST_FCST","1_2011":"12_2011";
"FORECAST","1_2011":"12_2011";
i tried these two lines, but the 2nd overlays the first.
Create or replace filter capmgt11.capmgt11.lockflt2 read on '"HIST_FCST","1_2011":"6_2011"';
Create or replace filter capmgt11.capmgt11.lockflt2 read on '"FORECAST","1_2011":"6_2011"' ;
also tried to separate by a comma, but doesn't work - syntax error 1242021 - and doesn't like the 2nd set of parameters?
thanks - kt543.Did you happen to look at the technical reference?
http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_tech_ref/maxl_crefilt.html
The first example shows you how to do it
create filter sample.basic.filt1 read on 'Jan, sales', no_access on '@CHILDREN(Qtr2)';
Edited by: GlennS_3 on May 19, 2011 12:09 PM -
Read Scripting Parameters within a Filter
Hello,
I'd like to have a Plug In which can read Scripting Parameters and run accordignly.
One of the code samples in the SDK is called "PoorMansTypeTool".
In its documentation it is said to be able to "Read scripting parameters".
I look into its code yet I couldn't figure how it does it.
Let's say I have a script with a variable 'a'.
The script launches a filter from the filter lists and want to pass the valu of the parameter 'a' to the filter.
How could that be done?
Are there any constraints on the parameter type, size, etc?
Has anyone tried it before?
If someone could guide me through the plug in code I'd be happy.
Thank You.// make this a function so we can hide these from harness script
main();
function main() {
// Save the current preferences
var startRulerUnits = preferences.rulerUnits;
var startTypeUnits = preferences.typeUnits;
var startDisplayDialogs = displayDialogs;
// Set Photoshop to use pixels and display no dialogs
preferences.rulerUnits = Units.PIXELS;
preferences.typeUnits = TypeUnits.PIXELS;
displayDialogs = DialogModes.NO;
// make this stuff controlled by the harness
var maxTime = 1 * 60;
var iterations = 5;
var percIncrease = 20;
var timeIt = new Timer();
var tests = 0;
var errors = 0;
var eArray = new Array();
var dissolveLog = new File( "~/Desktop/Dissolve.log" );
dissolveLog.open( "w", "TEXT", "????" );
dissolveLog.writeln( "width,\theight,\tdepth,\tpercent,\tdoc create time,\tdissolve time" );
var maxWidth = 30000;
var minWidth = 256;
var incWidth = parseInt( (maxWidth - minWidth) / iterations );
if ( incWidth == 0 )
incWidth = 1;
var maxHeight = 30000;
var minHeight = 256;
var incHeight = parseInt( (maxHeight - minHeight) / iterations );
if ( incHeight == 0 )
incHeight = 1;
// start clean
while (documents.length) {
activeDocument.close(SaveOptions.DONOTSAVECHANGES);
var d = BitsPerChannelType.EIGHT;
for ( var w = minWidth; w < maxWidth; w += incWidth ) {
for ( var h = minHeight; h < maxHeight; h += incHeight ) {
try {
var timeImport = new Timer();
if ( d == BitsPerChannelType.EIGHT )
d = BitsPerChannelType.SIXTEEN;
else
d = BitsPerChannelType.EIGHT;
app.documents.add(UnitValue(w, "px"), UnitValue(h,"px"), undefined, "Dissolve Test", undefined, undefined, undefined, d);
timeImport.stop();
if ( activeDocument.width != w )
error++; // alert( activeDocument.width + ", " + w );
if ( activeDocument.height != h )
error++; // alert( activeDocument.height + ", " + h );
if ( d == 16 && activeDocument.bitsPerChannel != BitsPerChannelType.SIXTEEN )
error++; // alert( activeDocument.bitsPerChannel + ", " + d );
if ( d == 8 && activeDocument.bitsPerChannel != BitsPerChannelType.EIGHT )
error++; // alert( activeDocument.bitsPerChannel + ", " + d );
if ( activeDocument.bitsPerChannel == BitsPerChannelType.ONE )
error++; // alert( activeDocument.bitsPerChannel + ", " + d );
FitOnScreen(); // this makes everything really slow
var historyState = activeDocument.activeHistoryState;
for ( var dPerc = 0; dPerc <= 100; dPerc += percIncrease ) {
tests++;
var timeDissolve = new Timer();
Dissolve(dPerc);
timeDissolve.stop();
// WaitForRedraw(); // guess what this does to our slowness ness er
dissolveLog.write(w + ",\t" + h + ",\t" + d + ", " + dPerc );
dissolveLog.writeln(",\t" + timeImport.getTime() + ", " + timeDissolve.getTime() );
WaitForRedraw();
activeDocument.activeHistoryState = historyState;
if ( timeIt.getElapsed() > maxTime ) {
w = maxWidth + 1;
h = maxHeight + 1;
dPerc = 101;
catch(e) {
alert(e + ":" + e.line);
if ( e.message.search(/cancel/i) != -1 ) {
w = maxWidth + 1;
h = maxHeight + 1;
eArray[eArray.length] = e;
errors++;
// debugger;
} // end catch
} // end for height
} // end for width
dissolveLog.writeln( errors + " errors. " + tests + " tests in " + timeIt.getElapsed() + " seconds. " + tests/timeIt.getElapsed() + " tests/sec.");
dissolveLog.close();
dissolveLog.execute();
// end clean
while (documents.length) {
activeDocument.close(SaveOptions.DONOTSAVECHANGES);
// Reset the application preferences
preferences.rulerUnits = startRulerUnits;
preferences.typeUnits = startTypeUnits;
displayDialogs = startDisplayDialogs;
// 1) " FAIL" for failures
// 2) " PASS" for test results OK
// 3) " BUG" for known bugs, have the file name give the bug number
// 4) "ERROR" this comes from the harness if the script barfed/exception,
return errors == 0 ? ' PASS' : ' FAIL';
} // end function main
Function WaitForRedraw
Usage: Use it to force Photoshop to redraw the screen before continuing
Example:
WaitForRedraw();
function WaitForRedraw() {
var keyID = charIDToTypeID( "Stte" );
var desc = new ActionDescriptor();
desc.putEnumerated( keyID, keyID, charIDToTypeID( "RdCm" ) );
executeAction( charIDToTypeID( "Wait" ), desc, DialogModes.NO );
// WaitNSeconds, slow the script down so you can watch and figure out issues
function WaitNSeconds(seconds) {
startDate = new Date();
endDate = new Date();
while ((endDate.getTime() - startDate.getTime()) < (1000 * seconds))
endDate = new Date();
// FitOnScreen, fits the document and redraws the screen
function FitOnScreen() {
var id45 = charIDToTypeID( "slct" );
var desc7 = new ActionDescriptor();
var id46 = charIDToTypeID( "null" );
var ref1 = new ActionReference();
var id47 = charIDToTypeID( "Mn " );
var id48 = charIDToTypeID( "MnIt" );
var id49 = charIDToTypeID( "FtOn" );
ref1.putEnumerated( id47, id48, id49 );
desc7.putReference( id46, ref1 );
executeAction( id45, desc7, DialogModes.NO );
// Dissolve, given a percentage
function Dissolve( dPercent ) {
var id18 = stringIDToTypeID( "d9543b0c-3c91-11d4-97bc-00b0d0204936" );
var desc3 = new ActionDescriptor();
var id19 = charIDToTypeID( "Amnt" );
var id20 = charIDToTypeID( "#Prc" );
desc3.putUnitDouble( id19, id20, dPercent );
var id21 = charIDToTypeID( "disP" );
var id22 = charIDToTypeID( "mooD" );
var id23 = charIDToTypeID( "moD1" );
desc3.putEnumerated( id21, id22, id23 );
executeAction( id18, desc3, DialogModes.NO );
// DissolveOld, our old scripting params was this
// an interesting test would be to see the old plug-in vs the current one
function DissolveOld( dPercent ) {
var id12 = charIDToTypeID( "disS" );
var desc3 = new ActionDescriptor();
var id13 = charIDToTypeID( "Amnt" );
var id14 = charIDToTypeID( "#Prc" );
desc3.putUnitDouble( id13, id14, dPercent );
var id15 = charIDToTypeID( "disP" );
var id16 = charIDToTypeID( "mooD" );
var id17 = charIDToTypeID( "moD1" );
desc3.putEnumerated( id15, id16, id17 );
executeAction( id12, desc3, DialogModes.NO );
// Library for timing things in JavaScript
function Timer() {
// member variables
this.startTime = new Date();
this.endTime = new Date();
// member functions
// reset the start time to now
this.start = function () { this.startTime = new Date(); }
// reset the end time to now
this.stop = function () { this.endTime = new Date(); }
// get the difference in milliseconds between start and stop
this.getTime = function () { return (this.endTime.getTime() - this.startTime.getTime()) / 1000; }
// get the current elapsed time from start to now, this sets the endTime
this.getElapsed = function () { this.endTime = new Date(); return this.getTime(); }
// end Dissolve.jsx -
Need Help Adding Parameters to addWatermarkFromText using VBA
After three days of banging my head on a wall, I got this to work:
Public Sub AddText()
Dim pdApp As Acrobat.AcroApp
Dim pdDoc As Acrobat.AcroPDDoc
Dim jso As Object
Set pdDoc = CreateObject("AcroExch.PDDoc")
pdDoc.Open ("c:\Test\Test.pdf")
Set jso = pdDoc.GetJSObject
jso.addWatermarkFromText ("Test")
pdDoc.Save 1, "c:\Test\Test.pdf"
pdDoc.Close
Set pdDoc = Nothing
MsgBox "Done"
End Sub
However, every time I try to add parameters to jso.addWatermarkFromText I get an error message - something is wrong with my syntax I suppose but i have tried every example I could find and nothing is working for me. Please help - all of the default parameters are find, just need the text to be at the top of the page, not the center.Where did you get the impression that you can execute JavaScript in Acrobat
using this method? You really (let me repeat that REALLY) have to read the
SDK documentation. There no no way around that. Anything that is not
described in the documentation will not work. There is only one way to
execute JavaScript using the IAC API, and that is using this call:
http://livedocs.adobe.com/acrobat_sdk/11/Acrobat11_HTMLHelp/IAC_API_FormsIntro.108.45.html
However, in this case there is no need to use the executeThisJavaScript
function, you can use the JSO to add your watermark. Everything you need is
in the documentation, and as I mentioned before, there is no way around
reading and understanding the docs. You cannot just google your way through
a complex problem and try to piece together a solution based on bits and
pieces you find online. Why do I know this? Because oftentimes I get called
in after somebody tries that approach to save some money. I then get to
clean up the mess they made, and then it's not going to be cheap... And
this is one of the reasons why people are reluctant to provide code samples
in this forum.
Using a complex API as the Acrobat SDK requires you to climb a pretty steep
learning curve, and you have to spend weeks and months (and sometimes
years) reading and experimenting until you understand how things work. And
that is why it's usually cheaper and faster to hire somebody to do that
work for you.
Back to your problem. What have you tried? I only remember seeing your
call to addWatermarkFromText using just the text argument. BTW: There was
no need to start a new thread, you should have kept everything in the first
thread you started, this way everything is in one place. If you've posted
more in the other thread, then you are making it much harder for us to
provide help.
So again, what have you tried and what results have you gotten? What error
messages did the system produce? When? When you compiled the code, or when
you tried to execute it?
Karl Heinz Kremer
PDF Acrobatics Without a Net
PDF Software Development, Training and More...
[email protected]
http://www.khkonsulting.com
On Sat, Jul 27, 2013 at 8:31 AM, I Love Mustangs -
Adding parameters in the Template
Hi,
How can i add the parameters in Template.
RegardsPut this line in the beginning of the template:
<?param@begin:P_PARAMETER?>
Then refer the parameter any place you need:
<? $P_PARAMETER?> -
Adding Parameters (Inspectable) to a Custom Component?
Hi --
I am attempting to build a custom component just to learn a
little more
about AS 3.0. I can not figure out where / how in my package
declarations I
can "expose" parameters that will be visible to the user in
the Flash IDE
when using my component.
Thanks
RichHi Richard ,
there is a pretty cool livedoc about component creation in as
3 :
http://www.adobe.com/devnet/flash/articles/creating_as3_components.html
setting up the inspectables is the same as it was in as2
i am doing it in my controller :
[as]
package mat3d.yugopReel {
import flash.display.*;
import flash.text.TextField;
import flash.events.Event;
import flash.events.MouseEvent;
import fl.core.InvalidationType;
import fl.core.UIComponent;
import fl.data.DataProvider;
import fl.events.ComponentEvent;
import fl.containers.UILoader;
import mat3d.yugopReel.model.MainModel;
public class ScrollReel extends UIComponent {
public var dataProvider : DataProvider;
public var RIG : Sprite;
public var LeftBTN : Sprite;
public var RightBTN : Sprite;
public var myModel : mat3d.yugopReel.model.MainModel;
private var _background : Sprite;
private var _tf : TextField;
public var _AutoScroll : Boolean;
public var _StepControl : Boolean;
private var _FileType : String;
public var _File : String;
private var _text : String;
public var _ScrollInit : String;
public var _StepBehaviour : String;
public var _PictureSize : String;
public var _ScrollTime : Number;
public var abstand_x : Number = 90.3;
public var abstand_y : Number = 125;
public var ConfigData : Array;
public function ScrollReel() {
super();
alpha = 0;
myModel = new mat3d.yugopReel.model.MainModel(this);
>> start get set INSPECTABLES
AutoScroll start
public function get AutoScroll() : Boolean {
return _AutoScroll;
myPropInit.AutoScroll = true;
public function set AutoScroll(value : Boolean) : void {
_AutoScroll = value;
myPropInit.AutoScroll = true;
[Inspectable(name="AutoScroll",defaultValue="false",type="Boolean")]
AutoScroll end
FileType start
public function get FileType() : String {
return _FileType;
myPropInit.FileType = true;
public function set FileType(value : String) : void {
_FileType = value;
myPropInit.FileType = true;
[Inspectable(name="FileType",defaultValue="XML",type="String")]
FileType end
Filestart
public function get File() : String {
return _File;
myPropInit.File = true;
public function set File(value : String) : void {
_File = value;
myPropInit.File = true;
init();
[Inspectable(name="File",defaultValue="",type="String")]
File end
Width start
public function get Width() : Number {
return width;
myPropInit.Width = true;
public function set Width(value : Number) : void {
width = value;
//trace("setWidth >>>" + width);
myPropInit.Width = true;
[Inspectable(name="Width",defaultValue="250",type="Number")]
Width end
Height start
public function get Height() : Number {
return height;
myPropInit.Height = true;
public function set Height(value : Number) : void {
height = value;
trace("setHeight >>>" + height);
myPropInit.Height = true;
[Inspectable(name="Height",defaultValue="50",type="Number")]
Height end
ScrollTime start
public function get ScrollTime() : Number {
return _ScrollTime;
myPropInit.ScrollTime = true;
public function set ScrollTime(value : Number) : void {
_ScrollTime = value;
myPropInit.ScrollTime = true;
[Inspectable(name="ScrollTime",defaultValue="0.2",type="Number")]
ScrollTime end
ScrollInit start
public function get ScrollInit() : String {
return _ScrollInit;
myPropInit.ScrollInit = true;
public function set ScrollInit(value : String) : void {
_ScrollInit = value;
myPropInit.ScrollInit = true;
[Inspectable(name="ScrollInit",defaultValue="_x",type="String")]
ScrollInit end
PicSize start
public function get PictureRatio() : String {
return _PictureSize;
myPropInit.PictureSize = true;
public function set PictureRatio(value : String) : void {
_PictureSize = value;
myPropInit.PictureSize = true;
[Inspectable(name="PictureSize",defaultValue="",type="String")]
PictureSize end
Step Controll start
public function get StepControl() : Boolean {
return _StepControl;
myPropInit.StepControl = true;
public function set StepControl(value : Boolean) : void {
_StepControl = value;
myPropInit.StepControl = true;
[Inspectable(name="StepControl",defaultValue="false",type="Boolean")]
Step Controll end
Step Behaviour start
public function get StepBehaviour() : String {
return _StepBehaviour;
myPropInit.StepBehaviour = true;
public function set StepBehaviour(value : String) : void {
_StepBehaviour = value;
myPropInit.StepBehaviour = true;
[Inspectable(name="StepBehaviour",defaultValue="easeInOutQuad",type="String")]
Step Behaviour end
DataProviderstart
public function get DataProvider() : Object {
return DataProvider;
public function set DataProvider(value : Object) : void {
DataProvider = value;
myPropInit.StepBehaviour = true;
[Inspectable(name="DataProvider",defaultValue="",type="Collection")]
DataProvider end
>> end get set INSPECTABLES
private function init() : void {
myModel .handleData();
public override function toString() : String {
return super.toString();
[/as]
bw
matthias -
Adding Parameters to a generated URL
Hi All,
We have a client requirement to send email to a set of users with a link to a specific page. When the user clicks on the link, it should ask for the
login, and once the user enters the credentials, it should take the user to the specific page.
The link which we are generating is like this
http://<host_name>:<port>/OA_HTML/RF.jsp?function_id=1043559&STMT_ID=116
This is asking for the login and once the user logs in , it says
"You have insufficient privileges for the current operation. Please contact your System Administrator."
But if we try with the below link (No additional Parameters)
http://<host_name>:<port>/OA_HTML/RF.jsp?function_id=1043559
It works and the page is getting loaded. (Data is not coming and the expected ID is not coming)
The Client env details are :
Product/Component Version
OA Framework :12.0.4
Oracle OA Extension : 10.1.3 - build 1028
Business Components : 10.1.3.3
UIX (Cabo) : 2_3_6_2
BiBeans Runtime : 3.1.1.7 nondebug BI Beans 3.1.1.x
MDS : 9.0.6.0.0_26
Both the URL works fine in the local instance which we have.
The local instance details are :
OA Framework :12.0.4
Oracle OA Extension : 10.1.3 - build 1028
Business Components : 10.1.3.3
UIX (Cabo) : 2_3_6_2
BiBeans Runtime : 3.1.1.5 nondebug BI Beans 3.1.1.x
MDS : 9.0.6.0.0_26
Are we doing something wrong ?
Do we need to encrypt the extra parameters ? If So how to do that ?
Or is there any Profile Options which we need to set ?
The OA Page is not Self Secured. Its Security Mode is set to Standard only.
Any Pointers to the above is highly appreciated.
We even tried the standard API to generate the URL.
declare
url varchar2(32767);
begin
url:= fnd_run_function.get_run_function_url ( p_function_id =>1043608,
p_resp_appl_id =>-1,
p_resp_id =>-1,
p_security_group_id =>0,
p_parameters =>'STMT_ID=82',
p_encryptParameters =>true ) ;
dbms_output.put_line(url);
end;
Output was
http://<host_name>:<port>/OA_HTML/RF.jsp?function_id=1043608&resp_id=-1&resp_appl_id=-1&security_group_id=0&lang_code=US¶ms=sRiTnbMeFRFcc4C63WzatA
This also the same behavious.
IF we remove the last parameter "params=sRiTnbMeFRFcc4C63WzatA", its works fine.
Thanks in advance,this is a link that works which I essentially entered by hand:
updatebook.php?bookindex=<?php echo $row_rsBooks['bookindex']; ?>
I can't show you the one that doesn't work because the process in dreamweaver to create one doesn't let me create it. Here is the process I have always used (Dreamweaver user since 2001)
1) Select the text for the link and begin building the link.
2) Click the parameters button to get to the next step. Enter a name and when I click on the lightning bolt I get the error describer originally described. Even if I click yes and select php it still won't get past this point.
Maybe you are looking for
-
I looked around for the answer, but couldn't find it. I have an old plan, "family national freedom 900", with two lines on it. The total is 59.99 + 9.99 (talk only, no texting). My contract ends 9/29. We have two samsung hues. When my contract ends
-
Motion blur issue once exported to DVD through Encore
I have 59.94 HD footage. I edit it, export it through Adobe Media Encoder to Mpeg-2 DVD at 29.97, drop-frame, lower field dominance. I then import that .m2v file into Encore, and then export to DVD, without re-transcoding or encoding anything. The DV
-
Why can't i access my Lumia Phone memory after connecting to windows 8 laptop. why it is so much protected that even owner become limited in its full use it reserves pdf files sucks,any one can't find it anywhere except adobe reder installed in phone
-
Installing iSync conduit for HotSync 3.2.1
Hello, I got a Powerbook G4 with OS X.4.8 I've just bought a Palm T|X with Palm OS 5.4.9. I've dowloaded the last package Palm Desktop 4.2.1 for Mac with HotSync Manager 3.2.1 Hotsync functions well with Palm Desktop. In iSync, I go to "Device / Acti
-
Autofocus on rebel t3 doesn't work
I can't take a picture in autofocus. A flashing green circle appears in the lower right of the viewfinder and it doesn't take a picture. I can take a picture in manual focus. What is wrong? I tried turning camera off and reinserting the battery a