Appending param value to the netui:form action URL
Hi there,
I have got very simple problem.
I want to add 'dummyParam=dummyVaule' as a query string to the 'URL' whenever
NETUI form data is posted using submit button.
I have tried <netui:parameter> but it did not work.
I have the following snippet of code
<netui:from action="updateDetails">
<netui:imagebutton value="submit" >
</netui:imageButton>
</netui:form>
Thanks for your help
Regards
Charan
Hello Jonathan,
How are you generating the form action URL for the Struts portlet now? You should be able to include any parameters you want in the URL at that time.
Kevin
Similar Messages
-
Append a value to the URL and send
Hai all,
i want to send some values to the next page appending with the URL like
http://webjava-2k:8080/mydemo/keyword.faces?allow
can i do this?
If yes, then in next page how can i retrieve the value?you might not be able to send parameters thru the url
as jsf uses POST by default and there is no way (that
i know of) of changing this to a GET.Two FYIs. First, you can include parameters in the query string portion of a URL when using a POST. In straight HTML, this looks like:
<form method="POST" action="/xyz.cgi?param=abc">
<input type="text" name="param2" />
</form>Second, some clever people have figured out how to make JSF work on GET requests; try Googling if you are curious.
>
you can try the method mentioned earlierI agree with you here, the <f:param> component is the way to go. -
Filtering a region source based upon a value in the calling form
Hi,
I am calling a report form with the following SQL
select
"RESPONSE_ID",
"ASSIGNMENT_ID",
"QUESTION_ID",
"DATE_CREATED",
"GRADING_1_10",
"RESPONSE"
from "#OWNER#"."CR_QUESTION_RESPONSES"
where assignment_id = NVL(:P17_ASSIGNMENT_ID, assignment_id).
P17_ASSIGNMENT_ID is populated from the calling form, but it is not been recognised when the query is run.
Is there a way to pass values to a query dynamically?
Thanks.Hi,
Most likely :P17_ASSIGNMENT_ID is not set
To check the value of :P17_ASSIGNMENT_ID you can add it to the query:
select
:P17_ASSIGNMENT_ID val_check, -- <-- added to check value
"RESPONSE_ID",
"ASSIGNMENT_ID",
"QUESTION_ID",
"DATE_CREATED",
"GRADING_1_10",
"RESPONSE"
from "#OWNER#"."CR_QUESTION_RESPONSES"
where assignment_id = NVL(:P17_ASSIGNMENT_ID, assignment_id)Regards,
Lev
Edited by: le on Nov 29, 2010 11:32 AM -
How to get the value of the current form values after "save" in MD form
Hi,
I am trying to run a procedure using the form values right after I save the current records in a master-detail form. When I pass the value using p_session.get_value to the procedure, there is only null value passed. I checked the package body generated and found that the OnReset function runs immediately following the saving of the current records and this onReset function is called within the OnSave procedure. So when I save the current changes, I loose the values in the p_session. Any PL/SQL code I write after OnSave, does not get any p_session value.
Interestingly, in case of just one table form, the OnReset is not within the OnInsert function and it is possible to get the p_session values. OnReset runs after OnInsert and within this two functions we can write any pl/sql code on the Insert button PL/SQL handler.
I have the following questions:
1. Why is the procedure written differently in case of master-detail form ? Why is the OnReset inside the OnSave ? How do we write codes which we want to execute before onReset and after OnSave ?
2. I want to run a procedure after onSave and before OnReset. How do I do that ? Do I have to change the package manually ?
3. If the above is not possible, I can also try to store the values I need to run the procedure before I save in some variable. How do I do that ? It seems I cannot declare variables to store session values inside the pl/sql event code on Save button, because it gives me error. The variable declaration code goes in between the begin and end of genesys.. procedure and that is not allowed in pl/sql
Please help me with this. I definitely need to run a procedure after saving for almost all of my forms. Otherwise I am not sure what to do with my development. I am completely stuck with this. Thanks a lot for helping me out.
MainakNever mind. I found the answer.
-
OIM API - How to get the values in the process form (both parent and child)
Hi,
I created an RO with a Process form (both Parent and Child).I created a unconditional process task which takes in the processinstance key and tried to retrieve the process form datas.When i tried to provison the resource,the process task is getting triggered and I could able to get the parent form data but not the child form data.
Any idea why is this happening?.Is it mandatory to have the "Triggers" ON to get the Child Form data.?
Thanks,try this
tcResultSet childResults = formOper.getChildFormDefinition(
formOper.getProcessFormDefinitionKey(procInstanceKey),
formOper.getProcessFormVersion(procInstanceKey));
This should work,
Regards,
Raghav -
Passing Session Values to the Tabular Form Element of a Report Column
Hello,
I'm running application express version 2.0 with a 10.2.0.2.0 database on a 32 bit windows box. I'm trying to figure out sneaky a way to pass the &APP_PAGE_ID., #APP_PAGE_ID# or V('APP_PAGE_ID'); as an element attribute of a Report Tabular Form Element set to display as a Select List (named LOV).
It seems that whatever option I choose, the Element Attributes field will only render the literal value of what I have entered. This is part of the solution but I would like to find a way to pass the current page id.
What I'm trying to do is utilize the ONCHANGE attribute to redirect to a report page in my application when the value from a Select List (named LOV) is selected.
I could work around this by creating my own table output with PL/SQL and HTP.P commands but would really be interested in finding out if I can use the reporting structures which are already available through Application Express.
Any ideas?
Thanks.
Justin.Thanks for the response Earl. To clarify this is what I've done and what I hope to achieve:
I currently have a LOV for my application that identifies a number of database report types: DB Options, DB Parameters, DB Version, and so on.
I have an application express report being generated for the databases I'm monitoring and it displays as follows:
- HOST -- DBTYPE -------- DBNAME - DBREPORTS
=====================================
- SVR 1 - Oracle 9.2.0.1 - DEV -------- [LOV HERE]
- SVR 2 - Oracle 9.2.0.7 - TST --------- [LOV HERE]
I am displaying the LOV on my report the the options under the reports attribute tab in my application builder. I insert my LOV select list by editing the DBREPORTS column and set the "Display As:" option under Tabular Form Element to "Select List (named LOV)"; I have also added my LOV to the "Named LOV" option under List of Values.
So far this achieves everything I would expect and works quite well (a select list with my report types appears in my monitor report for each DB that is returned).
What I'm interested in doing now is opening a DBREPORT for a given database by simply choosing the report type from my LOV. I can set the "Element Attributes" option under Tabular Form Element to execute a javascript call for any valid event (in my case I'm using ONCHANGE).
My only issue is that I cannot find a way to pass any session values from my page to my Element Attribute. If, in the Element Attributes field I enter:
onchange="alert(this.value);" //my dialogue box will display the value of my current selection when I choose a report type.
What I'd love to be able to do is something like:
onchange="alert('&APP_PAGE_ID.');" //so my current page id is written to the element.
Unfortunately, only my literal text seems to be rendered. Rather than having my dialogue come back with my page number, say 75, I receive the literal value &APP_PAGE_ID.
Notwithstanding any quote issues, I've tried to dump a test html attribute to my source html by entering any of the following in the Element Attributes field:
test=&APP_PAGE_ID.
test=#APP_PAGE_ID#
and as a shot in the dark knowing that I'm not using PL/SQL:
test=V('APP_PAGE_ID');
In every case when I view source I see the literal value of what was entered in the Element Attributes field (ie "test=&APP_PAGE_ID." instead of "test=75").
What makes things a little more frustrating is that I can drop &APP_PAGE_ID. into the Column Heading field (ex My Heading &APP_PAGE_ID.), it renders as I would expect; "My Heading 75". If we could find a solution to this, I could see a number of slick uses for this type of functionality.
Hope this helps,
Thanks.
Justin. -
How to pass values of the prompt through Action Link - URL in 11g
Hi All,
I am in OBIEE 11g v6.
Let's say, I have two dashbaord pages P1 and P2.
P1 page contains
1. Prompt PR1 - containing a single column EmpName
2. Report R1
P2 page contains
1. Prompt PR2 - containing a single column EmpName (same column as in PR1)
2. Report R2
Requirement :
Let's say a user select a value = David from the EmpName column in prompt PR1. In the Report R1, on one the measure columns 'Sales', I am using an action link - Navigate to URL ( I can't use Navigate to BI Content for some reasons). In the URL, I am giving the URL to page P2. Can I pass the selected value (which is David) to the EmpName column of the Prompt PR2 of Page P2 so that Report R2 is automatically limited by David when I land on that page through the URL?
Few things to consider are, I can't use EmpName column in my report R1 on page P1, I just want to pass the value of a common column from one prompt on Page1 to another prompt on Page2. Is that possible. Can anybody please help?
Thanks,
RonnyHmm can you give a try one more time with
Add EmpName name and hide it on report R1 on page P1
and set EmpName as Is Prompted on report R2 on page P2 and with my earlier steps should work.
Other option is read this doc once that helps you how to pass value thru url.
http://docs.oracle.com/cd/E21043_01/bi.1111/e16364/apiwebintegrate.htm#z1005224
You need to have a EmpName as Is Prompted on report R2 on page P2
If helps pls mark -
How to change a h:outputText value in the current form on key pressed event
Hello Suners,
Greetings! I'm developing my first JSF web application and i'm trying to figure a way out to change outputText value when key pressed on another inputText so that when the user is typing his name for example he can see the letters showing respectively in the outputText.
I managed to do it onchange but the user must focus out of the inputText to see his name in the outputText which is not right and the form must submit onchange event which is annoying.
<h:inputText value="#{login.username}" title="name" id="name" required="true" onchange="this.form.submit()" >
<f:validateLength maximum="10" minimum="1"/>
<f:validator validatorId="myValidator"/>
<f:valueChangeListener type="classes.MyListener"/>
</h:inputText>Is there any listener i can associate with the "onkeypress" attribute? Can anyone help me to do that with JSF?
King Regards,hi, with JSF 2 you got the ajax tag, just tried it and it works fine :)
<h:inputText id="myinput" value="#{back.name}">
<f:ajax execute="@this" event="keyup" render="outtext"/>
</h:inputText>
<h:outputText id="outtext" value="#{back.name}"/>or before JSF 2
<h:outputScript name="jsf.js" library="javax.faces" target="head"/>
<h:inputText id="myinput" value="#{back.name}" onkeyup="jsf.ajax.request(this, event, {render: 'outtext'}); return false;"/>
<h:outputText id="outtext" value="#{back.name}"/>The name property is a simple String in the bean.
Hope this helps
Edited by: hereps on Aug 21, 2010 7:18 AM -
Digested value of the canonical form of xml soap body. Help!!!
<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-168845">
<par:getBookPP2 xmlns:par="http://parkiranje">
<par:id_parkirno_mesto>1</par:id_parkirno_mesto>
<par:SteviloUr>1</par:SteviloUr>
<par:Uporabnik>Matjazz</par:Uporabnik>
</par:getBookPP2>
</soapenv:Body>
The digested value of this xml part is AN7bue9ilbcfMQCsbmQ2Ci7Hvr0=
What is the correct canonical form of this xml part in order to get this value?
Please help!!!There is a very good article here - http://www.ibm.com/developerworks/library/x-c14n/ and you can get Java and C++ libraries that perform the canonicalization here - http://santuario.apache.org/ .
P.S. I don't get that SHA-1 digest value.
Edited by: sabre150 on Nov 8, 2008 1:48 PM -
Display values in the called form whose data is inserted in calling form
Hi,
We have a custom form (Form 1) wherein we call another form (form2) when a button is pressed in Form1.
Scenario
Form 1 - contains 3 blocks -
-->Header Block - HB,
-->Child Block - CB1 - which is child of HB and is multi records block
-->Child Block CB2 - Child of CB1
The canvas of forms 1 holds only HB and CB1 and due to business reasons we are populating CB2's table (say T2) in the post insert trigger of the CB1.
A button is pressed which opens a new form - a display only form (form 2) .
Form 2 just fetches the records that are inserted into the table T2. Note that Form 2 is also a multi record block.
Issue
Assuming that I update some value in Form 1 - block CB1 and save it ; and then click on the button...how should I make sure that the changed values are reflected in the Form 2.
Questions
1) On updating CB1 values - since this impacts values in CB2 T2 table- which trigger should this be handled.
2) how should we make sure that on clicking the button that opens Form 2, the changed values in T2 are reflected.
Regards
S948611 wrote:
Hi,
We have a custom form (Form 1) wherein we call another form (form2) when a button is pressed in Form1.
Scenario
Form 1 - contains 3 blocks -
-->Header Block - HB,
-->Child Block - CB1 - which is child of HB and is multi records block
-->Child Block CB2 - Child of CB1
The canvas of forms 1 holds only HB and CB1 and due to business reasons we are populating CB2's table (say T2) in the post insert trigger of the CB1.
A button is pressed which opens a new form - a display only form (form 2) .
Form 2 just fetches the records that are inserted into the table T2. Note that Form 2 is also a multi record block.
Issue
Assuming that I update some value in Form 1 - block CB1 and save it ; and then click on the button...how should I make sure that the changed values are reflected in the Form 2.
Questions
1) On updating CB1 values - since this impacts values in CB2 T2 table- which trigger should this be handled.
2) how should we make sure that on clicking the button that opens Form 2, the changed values in T2 are reflected.
Hi S
This is your STATUS
Total Questions: 16 (15 unresolved) YOU didn't keep track your post and also don't close your thread when your problem is solved without marking the right answer. For this when people search this forum and will get similar problem and your post ..they are confused, is there so solutions ???
Hope remember this...
Let's come to your questions.
1) On updating CB1 values - since this impacts values in CB2 T2 table- which trigger should this be handled.You can use post-insert for reflect after insert, and post-update to get reflect the update.
and
2) how should we make sure that on clicking the button that opens Form 2, the changed values in T2 are reflected.when opening the form pass parameter to second form and execute the related data.
For more check the similar post
1. {thread:id=2513529}
2. Calling a form and passing a context
Hope this helps
Hamid
Mark correct/helpful to help others to get right answer(s).* -
How to pass JavaScript variable value throuh netui form ??
Hi All,
I have reqmnt,where in I need to pass the value from JavaScript function through
Form submission.
I could able to pass this through simple HTML form using SIMPLE HTML tags. How
can i do the same thing using NETUI tag (NETUI form)??
Can somebody throw some input on this??
TIA,
RAM.Excellent - Thats what I was also looking.
RAM.
Thomas Cook <[email protected]> wrote:
>
Here's an example of what I think you're trying to do:
<netui:html>
<body>
<netui:form action="submitIt" tagId="myForm">
<netui:button value="Submit It" onClick="return setFormValue()"/>
<script>
function setFormValue()
var form = document.getElementById( getNetuiTagName( "myForm",
this ) );
var newVal = document.createElement( "input" );
newVal.type = "hidden";
newVal.name = "foo";
newVal.value = "bar";
form.appendChild( newVal );
return true;
</script>
</netui:form>
</body>
</netui:html>
Thomas
RAMt wrote:
Hi All,
I have reqmnt,where in I need to pass the value from JavaScript functionthrough
Form submission.
I could able to pass this through simple HTML form using SIMPLE HTMLtags. How
can i do the same thing using NETUI tag (NETUI form)??
Can somebody throw some input on this??
TIA,
RAM.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body>
Here's an example of what I think you're trying to do:<br>
<br>
<tt><nobr><netui:html></nobr><br>
<nobr> <body></nobr><br>
<nobr> <netui:form action="submitIt" tagId="myForm"></nobr><br>
<nobr> <netui:button value="Submit It" onClick="return
setFormValue()"/></nobr><br>
<nobr> <script></nobr><br>
<nobr> function setFormValue()</nobr><br>
<nobr> {</nobr><br>
<nobr> var form
= document.getElementById( getNetuiTagName(
"myForm", this ) );</nobr><br>
<nobr> var newVal
= document.createElement( "input" );</nobr><br>
<nobr> newVal.type
= "hidden";</nobr><br>
<nobr> newVal.name
= "foo";</nobr><br>
<nobr> newVal.value
= "bar";</nobr><br>
<nobr> form.appendChild(
newVal );</nobr><br>
<nobr> return true;</nobr><br>
<nobr> }</nobr><br>
<nobr> </script></nobr><br>
<nobr> </netui:form></nobr><br>
<nobr> </body></nobr><br>
<nobr></netui:html></nobr></tt><br>
<br>
Thomas<br>
<br>
RAMt wrote:
<blockquote cite="[email protected]" type="cite">
<pre wrap="">Hi All,
I have reqmnt,where in I need to pass the value from JavaScript function
through
Form submission.
I could able to pass this through simple HTML form using SIMPLE HTML
tags. How
can i do the same thing using NETUI tag (NETUI form)??
Can somebody throw some input on this??
TIA,
RAM.
</pre>
</blockquote>
</body>
</html> -
netui:form how do i create Action URL in JavaScript
hi,
i want to submit the <netui:form> along with action form data to JPF from the
java script,
i can call the action method from the java script but actionForm is not passing
to JPF....
pls guide me....
vijayThe javascript that you suggested is similar to what we're using. When the onChange
message is fired, both bits of javascript produce the following url;
http://localhost:7001/mpsportal/getVersion.do?product_id=1
This works fine in the weblogic browser but not in portal. If you use an anchor
to fire the action, portal creates the following url;
http://localhost:7001/mpsportal/mpsportal.portal?_nfpb=true&portlet_1_1_actionOverride=/portlets/task/getVersion
So I've tried to put the 'extra bits', namely 'mpsportal.portal?_nfpb=true&portlet_1_1_actionOverride=/portlets/task/'
into the javascript as below;
javascript:window.location='mpsportal.portal?_nfpb=true&portlet_1_1_actionOverride=/portlets/task/getVersion.do?product_id='+document.forms[0][getNetuiTagName('product_id')].value;
When this is run in portal it produces exactly the same url that portal produces
except it has the parameter tagged onto the end;
http://localhost:7001/mpsportal/mpsportal.portal?_nfpb=true&portlet_1_1_actionOverride=/portlets/task/getVersion.do?product_id=1
Unfortunately portal doesn't like the parameter on the end and gives an error
message 'Unable to find action getVersion.do?product_id=1'. The problem is that
the value on the form, the product id in this case is not stored when the javascript
jumps back to the server so it has to be sent in the url.
If we can find a way of sending these values through in the url without portal
complaining OR forcing the form to submit its values then its problem solved.
Thomas Cook <[email protected]> wrote:
Does this work?
onChange="javascript:window.location='getVersion.do?product_id='+document.getElementById(getNetuiTagName('product_id',
this)).value;"
When you say the problem is in the onChange() method in the NetUI tag,
can you elaborate on what you think might be happening?
Thomas
Steve Hicks wrote:
Thomas
We want to get java script to work with a netui:select tag so that whenthe user
selects it, we populate a different netui:select tag (this requiresa call back
to weblogic). Nothing to do with forms in Vijay's post!
Here is a portion of our JSP:
<td>
<netui:select dataSource="{actionForm.product_id}"
optionsDataSource="{pageFlow.taskProduct.taskProductSL}" nullable="false"multiple="false"
onChange="javascript:window.location='getVersion.do?product_id='+document.forms[0][getNetuiTagName('product_id')].value;"
tagId="product_id"></netui:select>
</td>
This works in the workshop debugger but NOT when we use it via portal(where nothing
happens). The problem is in the javascript 'onChange' method in thenetui tag...
Regards
Steve H
Thomas Cook <[email protected]> wrote:
Getting back to Vijay's original post - something like the following
should work (I can't confirm this code works since I'm in the middle
of
a build), but I have done this before. Does this not work? It should
submit the form from javascript, as Vijay requests, passing the field
value to the JPF via the action form.
<netui:form tagId="myForm" action="doSomething">
<netui:textBox dataSource="{actionForm.doSomethingValue}"/>
<netui:button value="Submit" onClick="return doSubmit()"/>
<script language="javascript">
function doSubmit()
var form = document.getElementById( getNetuiTagName( "myForm",
this ) );
form.method = "post";
form.submit();
return true;
</script>
</netui:form>
Steve Hicks wrote:
We have this problem and it seems quite sad that you can not perform
this (typical)
function using portal. Anyone from BEA watching? Could they do something
about
this in sp3?
"Anant Kadiyala" <[email protected]> wrote:
Beware that it is not entirely good idea to have action url in the
Javascript.
I had some problems with it. It works fine when you test it at the
pageflow
level.
But when you pull the pageflow into a portlet, it starts acting strange.
The urls
that the portal generates behind the scenes dynamically, get messed
up
and you
will notice that the new acion opens in a new browser window and
will
not have
the context of the portal.
Although the docs say we could use action urls in Javascript, youmight
want to
make sure it works in the portal context.
Anant
"julie" <[email protected]> wrote:
do you still need help making an action url in javascript?
"vijay patel" <[email protected]> wrote:
hi,
i want to submit the <netui:form> along with action form data to
JPF
from the
java script,
i can call the action method from the java script but actionForm
is
not
passing
to JPF....
pls guide me....
vijay
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body>
Getting back to Vijay's original post - something like the following
should work (I can't confirm this code works since I'm in the middle
of
a build), but I have done this before. Does this not work?
It should
submit the form from javascript, as Vijay requests, passing the field
value to the JPF via the action form.<br>
<br>
<tt><nobr><netui:form tagId="myForm" action="doSomething"></nobr><br>
<nobr> <netui:textBox
dataSource="{actionForm.doSomethingValue}"/></nobr></tt><br>
<tt><nobr> <</nobr><nobr>netui:button value="Submit"
onClick="return doSubmit()"/></nobr><br>
<nobr> <script language="javascript"></nobr><br>
<nobr> function </nobr></tt><tt><nobr>doSubmit</nobr></tt><nobr></nobr><tt><nobr>()</nobr><br>
<nobr> {</nobr><br>
<nobr> var form = document.getElementById(
getNetuiTagName(
"myForm", this ) );<br>
form.method = "post";<br>
form.submit();</nobr><nobr></nobr></tt><tt><nobr></nobr><br>
<nobr> return true;</nobr><br>
<nobr> }</nobr><br>
<nobr> </script></nobr><br>
<nobr></netui:form></nobr></tt><br>
<br>
Steve Hicks wrote:<br>
<blockquote cite="[email protected]" type="cite">
<pre wrap="">We have this problem and it seems quite sad that youcan
not perform this (typical)
function using portal. Anyone from BEA watching? Could they do something
about
this in sp3?
"Anant Kadiyala" <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]"><[email protected]></a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Beware that it is not entirely good idea to have action
url in the Javascript.
I had some problems with it. It works fine when you test it at thepageflow
level.
But when you pull the pageflow into a portlet, it starts acting strange.
The urls
that the portal generates behind the scenes dynamically, get messedup
and you
will notice that the new acion opens in a new browser window and will
not have
the context of the portal.
Although the docs say we could use action urls in Javascript, you might
want to
make sure it works in the portal context.
Anant
"julie" <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]"><[email protected]></a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap="">do you still need help making an action url in javascript?
"vijay patel" <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]"><[email protected]></a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap="">hi,
i want to submit the <netui:form> along with action form data to
JPF
</pre>
</blockquote>
<pre wrap="">>from the
</pre>
<blockquote type="cite">
<pre wrap="">java script,
i can call the action method from the java script but actionForm is
</pre>
</blockquote>
<pre wrap="">not
</pre>
<blockquote type="cite">
<pre wrap="">passing
to JPF....
pls guide me....
vijay
</pre>
</blockquote>
</blockquote>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html> -
Netui:form submit is pointing to the application server
Hi, I have configured apache web server to forward the requests to weblogic portal application. All the pages are working fine. However, where ever there are form submits, the action URL is pointing to application server instead of web server. My code in the JSP is as below.
<netui:form action="login" >
but when i see the view source of the page i see below code:
<form name="loginForm" action="http://10.187.78.125:27002/gactTestProj/appmanager/DemoPortal/gr_en?_nfpb=true&portlet_18_1_actionOverride=%2Fportlets%2Flogin%2Flogin&_windowLabel=portlet_18_1&_pageLabel=login" method="post">
can any one help please ?hi
a. modify url-template-config.xml to not include protocol,host,port for all the portal , pageflow templates. This is probably the best option.
b. I think there was a parameter you had to enable on config.xml for you to specify the apache address, frontendhost or something . Plus WeblogicPluginEnabled was used for I think passing on the client IP address but i cant recollect if it was used for anything else.
regards
deepak -
How to Supply the form field values to a pdf form when loading it
I am working on a web site project using Asp.net where the user has to fill in a PDF eform in acrobat reader. Then when he clicks on submit it returns to my asp.net app and the PDF form supplies the values back to my asp.net app. So my asp.net app has the values that were filled in the PDF form and can save those values and work with them...
OK.
What I need to know is when I am in my asp.net app, and the user wants to go back and reopen the same form, from my asp.net app..... then how do I pass back the values that were saved back to the PDF form??
I know if I had a way to pass the values to the PDF form in some way then in the Doc.open or doc.load event of the form I could easily write a little javascript to plug in the values in the PDF form fields.
but how do I pass those values from my asp.net app to my PDF form???
thanksThanks bcweed for all the info. I fixed my problem, it had something to do with LiveCycle Designer. If I just use Acrobat to add the form fields, then the FDF works fine. As to your situation with the SavToBuf, that happens to be the method that I am using, so I will just post my code here, and maybe you can pick out what is different from yours. The Response.BinaryWrite(FDFin.FDFSaveToBuf)is at the bottom.
Sql = "SELECT * FROM Invoices" & WHERE
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open Db_Conn_Str
Set Rs = Server.CreateObject("ADODB.Recordset")
Rs.Open Sql, Conn, adOpenStatic, adLockReadOnly, adCmdText
If Not Rs.EOF Then
End If
Set FdfAcX = Server.CreateObject("FdfApp.FdfApp")
Set outputFDF = FdfAcX.FDFCreate
'VendorID = VendorName = VendorNum = InvoiceDate = PreparedBy = ""
Gross = 0
For I=0 To Rs.RecordCount-1
If InStr(VendorID,Rs.Fields("VendorID")) = 0 Then
VendorID = VendorID & Rs.Fields("VendorID") & ", "
End If
If InStr(VendorName,Rs.Fields("VendorName")) = 0 Then
VendorName = VendorName & Rs.Fields("VendorName") & ", "
End If
If InStr(InvoiceNum,Rs.Fields("InvoiceNumber")) = 0 Then
InvoiceNum = InvoiceNum & Rs.Fields("InvoiceNumber") & ", "
End If
If InStr(InvoiceDate,Rs.Fields("InvoiceDate")) = 0 Then
InvoiceDate = InvoiceDate & Rs.Fields("InvoiceDate") & ", "
End If
If InStr(PreparedBy,Rs.Fields("PreparedBy")) = 0 Then
PreparedBy = PreparedBy & Rs.Fields("PreparedBy") & ", "
End If
Rs.MoveNext
Next
Rs.MoveFirst
outputFDF.FDFSetValue "VendorID",VendorID,False
outputFDF.FDFSetValue "VendorName",VendorName,False
outputFDF.FDFSetValue "InvoiceNum",InvoiceNum,False
outputFDF.FDFSetValue "InvoiceDate",InvoiceDate,False
outputFDF.FDFSetValue "PreparedBy",PreparedBy,False
For I=0 To Rs.RecordCount-1
outputFDF.FDFSetValue ("Line."&I), Rs.Fields("Amount")&"", False
outputFDF.FDFSetValue ("Company."&I), Rs.Fields("Company")&"", False
outputFDF.FDFSetValue ("GL."&I), Rs.Fields("GL")&"", False
outputFDF.FDFSetValue ("CC."&I), Rs.Fields("CostCenter")&"", False
outputFDF.FDFSetValue ("DocNum."&I), Rs.Fields("DocNumber")&"", False
Gross = CCur(Gross) + CCur(Rs.Fields("Amount"))
Rs.MoveNext
Next
outputFDF.FDFSetValue "Gross", Gross, False
Rs.Close
Set Rs = Nothing
Sql = "UPDATE Invoices SET DatePrinted = '" & Now() & "'" & WHERE
Conn.Execute Sql
Conn.Close
Set Conn = Nothing
outputFDF.FDFSetValue "PrintDate", Date(), False
outputFDF.FDFSetFile "http://admin/invoices/pdf/InvoiceAuthorization.pdf"
Response.ContentType = "application/vnd.fdf"
Response.BinaryWrite outputFDF.FDFSaveToBuf
outputFDF.FDFClose
%> -
Values in the form are not saving
Hi Gurus,
When I enter a value in the Planning form ( Classic Planning 9.3.1) and try to save it, it is not saving and after that save button also getting disable. It is not showing any error. What might be the reason?
Please help me.
Thanks And Regards,
Sravan Kumar.Hi John,
Once I click the save button in the form, it is going to disable mode in that form only. When I open another form I able to use the save button. If I open the previous form, I am able to see the save button again. When I click the save button at that time only it is going to disable mode. This is happening for all forms.
And there is no folder like services in the given path \Hyperion\logs\services\HyS9Planning-sysout.log.
I rebooted the server, even the problem was not fixed.
Thanks & Regards,
Sravan Kumar.
Maybe you are looking for
-
Files with .png images create huge .pdf's
I use .png images in PowerPoint presentations and these seem to create huge .pdf files. (...don't have this problem using .jpg images) For example, I have a 48 slide presentation that has a small .png image in the "slide master" so it will show up on
-
Help with removing pics/videos from my iphone?
First of all hello I have an iphone 3gs and after taking a few videos and pictures the other day i got my son to show me how to upload them to the pc (fine) but somewhere along syncing them on itunes i have a new folder in my photo album under Camera
-
What size is my hard drive?
I have this MBP: http://support.apple.com/kb/SP582 The one piece of information it doesn't provide is the depth of the internal HD. Does anyone know this, please? I want to know so that I can choose the correct SSD replacement for an upgrade from her
-
Materialized views - query rewrite -- optional joins & dimensions
Hi, I've implemented a number of materialized views that are accessible via query rewrite. Most of these views make use of duplicate tables (DD_TIME table is joined via purchase, load, process, ... date columns) I've also created a dimension to make
-
IM: approval request classification
Hi! I need help with classification. Are there some real and helpful examples (help notes, tutorials and other sources) for this issue? How to classify approval request using doc classes, screens and so on? Can anybody explain? Maybe give an example