Horizotal toolbar on form
Is there any way to disply horizontal toolbat @ bottom of form it by default display top of form but i need to display it @ bottom of Form
see
re:Position a horizontal tool bar on a window
Similar Messages
-
Mouse Over Toolbar In Forms 4.5 and Registry stuff too
Is it possible to create an MS Office 97 /ie3/ie4 type of mouse
over toolbar in forms 4.5.....
I'm trying (with litlle success) to use images as buttons ...
unfortunately i have a lot of problems
1. each button has 4 states: flat, up, down, disabled... which
leads to 4 bitmaps...... 16 buttons * 4 bitmaps = 64 bitmaps to
be loading depending on what buttons are doing....
2. 1 could be solve by an array of images ( i think.... )
which would be loaded at runtime and swapped into the buttons as
i'd go.....
3. programming all those triggers... to deal with the mouse
states is very labourious and tricky (so what) but also i would
think quite ineffient.......
so if anyone could help me i'd really appreciate it
Also... does forms 5 maybe suppourt mouse over toolbars????
and lastly..... does oracle provide any mechanism for reading
from the windows registry..... to allow username and company
name to be extracted at runtime for use in a splash screen a la
MS word/excel/vis c++ etc
all help would be greatly appreciated....
Thanks
John Lanigan
Core.
null1. Check the tnsnames entry in forms 4.5 and 10g home
2 open a command/dos prompt
set the ORACLE_HOME (eg set %ORACLE_HOME%=C:\dev10g
set the TNS_ADMIN
3 Run tnsping <Enter your hostname>
4 Also check if you have recently installed any virus scanner /any other appln
5 Also run sqlplus from the command/dos prompt
Rajesh Alex -
GIF files not being cached for toolbar (WEB Forms)
I realized that the GIF files we are using
in our toolbars are not being cached by the
browser. I analyzed the file XLF.LOG and
the files always have access code "200"
(not cached). The file REGISTRY.DAT has
the same problem. Only the JAR file has
access code "304" (cached). Although these
GIF files are small (~900 bytes), it takes
many seconds to open each form when someone
executes our application using a low speed
line (many of our forms have toolbars
with more than 30 icons). Is there any
special configuration I have to do or this
will be corrected in future versions?
XLF.LOG (first and second execution):
#Version: 1.0
#Software: Oracle WRB Log Server
#Fields: clf
1.0.5.57 - - [24/Jan/2000:07:45:48 -0300] "GET /htm/sales HTTP/1.0" 200 1440
1.0.5.57 - - [24/Jan/2000:07:45:51 -0300] "GET /htm/ HTTP/1.0" 200 760
1.0.5.57 - - [24/Jan/2000:07:45:51 -0300] "GET /forms_code/f60all.jar HTTP/1.0" 304 0
1.0.5.57 - - [24/Jan/2000:07:45:53 -0300] "GET /forms_code/javax/swing/JInternalFrame.class HTTP/1.0" 404 99
1.0.5.57 - - [24/Jan/2000:07:45:55 -0300] "GET /forms_code/oracle/forms/registry/Registry.dat HTTP/1.0" 200 4122
1.0.5.57 - - [24/Jan/2000:07:46:06 -0300] "GET /img/PASSWORD.gif HTTP/1.0" 200 853
1.0.5.57 - - [24/Jan/2000:07:46:06 -0300] "GET /img/HELP.gif HTTP/1.0" 200 898
1.0.5.57 - - [24/Jan/2000:07:46:06 -0300] "GET /img/KEYS.gif HTTP/1.0" 200 864
1.0.5.57 - - [24/Jan/2000:07:46:06 -0300] "GET /img/EXIT.gif HTTP/1.0" 200 888
1.0.5.57 - - [24/Jan/2000:07:47:28 -0300] "GET /htm/sales HTTP/1.0" 304 0
1.0.5.57 - - [24/Jan/2000:07:47:30 -0300] "GET /htm/ HTTP/1.0" 304 0
1.0.5.57 - - [24/Jan/2000:07:47:30 -0300] "GET /forms_code/f60all.jar HTTP/1.0" 304 0
1.0.5.57 - - [24/Jan/2000:07:47:32 -0300] "GET /forms_code/javax/swing/JInternalFrame.class HTTP/1.0" 404 99
1.0.5.57 - - [24/Jan/2000:07:47:32 -0300] "GET /forms_code/oracle/forms/registry/Registry.dat HTTP/1.0" 200 4122
1.0.5.57 - - [24/Jan/2000:07:47:45 -0300] "GET /img/PASSWORD.gif HTTP/1.0" 200 853
1.0.5.57 - - [24/Jan/2000:07:47:45 -0300] "GET /img/HELP.gif HTTP/1.0" 200 898
1.0.5.57 - - [24/Jan/2000:07:47:45 -0300] "GET /img/KEYS.gif HTTP/1.0" 200 864
1.0.5.57 - - [24/Jan/2000:07:47:45 -0300] "GET /img/EXIT.gif HTTP/1.0" 200 888
nullHave you tried turning on the "File Caching" setting under the "Server" branch for you Listener under OAS?
-
Horizontal toolbar on forms - wrong orientation
Hi All,
I was able to get the horizontal toolbar on the canvas, however when I use it the record orintation is vertical rather than horizontal. I have dispalyed 15 rows and when i move the scroll bar it goes from record 1 to 15. Please help. Thanks,did you search in metalink for such a problem. This seemed to be the fastest way, because the environment is not typical for our WE8ISO-environments
-
How to handle events on standard toolbar
hi, the following code i worte is to load a form and fill data from db table ..but i'm getting only one record and the buttons on standard toolbar like next, previous, first and last are not enabled and not working...what should i do? plz give me the code....
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim SboGuiApi As SAPbouiCOM.SboGuiApi
Dim sConnectionString As String
Dim SBO_Application As SAPbouiCOM.Application
Dim oDICompany As SAPbobsCOM.Company
Dim ret As Long
SboGuiApi = New SAPbouiCOM.SboGuiApi
sConnectionString = Environment.GetCommandLineArgs.GetValue(1)
sConnectionString = Command()
SboGuiApi.Connect(sConnectionString)
SBO_Application = SboGuiApi.GetApplication
oDICompany = New SAPbobsCOM.Company
Dim sCookie As String
sCookie = oDICompany.GetContextCookie()
Dim conStr As String
conStr = SBO_Application.Company.GetConnectionContext(sCookie)
ret = oDICompany.SetSboLoginContext(conStr)
If Not ret = 0 Then
Exit Sub 'the operation has failed.
End If
ret = oDICompany.Connect()
If ret <> 0 Then
SBO_Application.MessageBox("Failed")
Else
SBO_Application.MessageBox("Connected to Database")
End If
' loading(Form)
Dim oForm As SAPbouiCOM.Form
Dim creationPackage As SAPbouiCOM.FormCreationParams
Dim oxmldoc As New Xml.XmlDocument 'u2026when using .netu2019s system.xml
'create the formcreationparams object
creationPackage = SBO_Application.CreateObject( _
SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
'please note: these parameters override corresponding data in the xml
creationPackage.UniqueID = "Sales 111"
creationPackage.FormType = "Sales Order"
creationPackage.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Sizable
'just a sample for an xml string describing a formu2026 same as used for loadbatchactions
oxmldoc.Load("c:program filessapsap business oneSales Order.srf")
creationPackage.XmlData = oxmldoc.InnerXml
'add the form to the sbo application
oForm = SBO_Application.Forms.AddEx(creationPackage)
'set the form title and set it visible!
oForm.Visible = True
''''''''''''''''''''''''''''''Data Binding
'''''''''''binding data from DBDataSource to form items
Dim oDBDataSource As SAPbouiCOM.DBDataSource
Dim oItem As SAPbouiCOM.Item
Dim oEdit As SAPbouiCOM.EditText
'''''1st edit box
oItem = oForm.Items.Item("4")
oEdit = oItem.Specific
oForm.DataSources.DBDataSources.Add("AACT")
oEdit.DataBind.SetBound(True, "AACT", "AcctCode")
' getting the data sources bound to the form
oDBDataSource = oForm.DataSources.DBDataSources.Item("AACT")
oDBDataSource.Query()
'''''2nd edit box
oItem = oForm.Items.Item("5")
oEdit = oItem.Specific
oForm.DataSources.DBDataSources.Add("AACT")
oEdit.DataBind.SetBound(True, "AACT", "AcctName")
' getting the data sources bound to the form
oDBDataSource = oForm.DataSources.DBDataSources.Item("AACT")
oDBDataSource.Query()
''''3rd edit box
oItem = oForm.Items.Item("6")
oEdit = oItem.Specific
oForm.DataSources.DBDataSources.Add("AACT")
oEdit.DataBind.SetBound(True, "AACT", "CurrTotal")
' getting the data sources bound to the form
oDBDataSource = oForm.DataSources.DBDataSources.Item("AACT")
oDBDataSource.Query()
End SubYou have to enable the menus on toolbar as
form.EnableMenu(1288, True)
form.EnableMenu(1289, True)
form.EnableMenu(1290, True)
form.EnableMenu(1291, True)
If zou have the datas as UDO, use
form.DataBrowser.BrowseBy = "code" - specifies the logic for getting next, previous,... record
dont forget to take
ObjectType="your udo name"
to the form for specify from which UDO will be the datas.
If you dont have udo, you need enable themenus in toolbar and in menuevent catch the events and create own logic for this. -
Can we move InfoPath forms from development site to production site?
From the question I mean only the form, not the site itself.
Is there any way to move a InfoPath form from SharePoint development site to production site?
Thanks,just publish it to production site
http://office.microsoft.com/en-in/infopath-help/move-a-published-form-template-to-a-new-sharepoint-library-HP010102446.aspx
Step 1: Publish the form template to the new document library
Open the working copy of the form template in design mode.
On the File menu, click Publish.
In the Publishing Wizard, click To a SharePoint server with or without InfoPath Forms Services, and then click
Next.
In the Enter the location of your SharePoint or InfoPath Forms Services site box, type the location of the SharePoint site that contains the new document library that you want to move your form template to, and then click
Next.
On the next page of the wizard, click Document Library, and then click
Next.
Click Create a new document library, and then click
Next.
On the next page of the wizard, type a name and description for the new document library, and then click
Next.
Choose the fields in the form template that you want to appear as columns in the default view of the document library.
How?
Click Next.
On the next page of the wizard, verify that the information shown is correct, and then click
Publish.
To open the document library and test the process for filling out a form that is based on this form template, select the
Open this document library check box, and then click Close.
The document library will open in a browser. When you click New on the list toolbar, a form based on this form template will open in Microsoft Office InfoPath.
http://sharepoint.stackexchange.com/questions/17383/infopath-change-publish-location
If this helped you resolve your issue, please mark it Answered -
Form Automanaged/Modes, how do they work?
Hi,
i have to manage a form which table stands on a different DB than SAPB1 DB.
I set Automanaged to false, but when i press find button on the toolbar the form mode switches to fm_FIND_MODE.
All fields become yellow (some fields becomes yellow only when they get focus...!) and when i return from my search form i set values to fields but they don't display value even if i manually set form mode to fm_UPDATE_MODE.
Comboboxes strangely display correct value.
Can someone help me please?!?
Thanks
PaoloHi,
Do you want to use the toolbar buttons for Find etc - or not?
To disable the buttons set SupportedModes to 0.
To avoid that the OK button switches to "Update" when you change e.g. an input field or select another value in a ComboBox - set AffectsFormMode for these items to False - or have the OK button have a different UID!
Regards,
Frank
Message was edited by: Frank Moebius -
ADF form login vs. press enter
I use the default ADF form login, however, it requires a mouse click, and not responding to the "press enter/return". Any idea?
Thanks,Thanks, Frank. I actually used a custom LoginPage.jspx, NOT the default HTML form login:
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document title="Form Login" id="d1">
<af:form id="f1">
<af:message id="m1"/>
<af:panelBox text="Login" id="pb1"
inlineStyle="width:300px; height:200.0px;">
<af:panelFormLayout id="pfl1">
<f:facet name="footer">
<af:panelBorderLayout id="pbl1"
inlineStyle="height:20.0px; "
styleClass="AFStretchWidth">
<f:facet name="start">
<af:commandButton text="Login" id="cb1"
action="#{loginBean.doLogin}"/>
</f:facet>
</af:panelBorderLayout>
</f:facet>
<af:inputText label="User Name" id="it1" required="true"
value="#{loginBean.username}"/>
<af:inputText label="Password" id="it2" required="true"
secret="true"
value="#{loginBean.password}"/>
</af:panelFormLayout>
</af:panelBox>
<f:facet name="toolbar"/>
</af:form>
</af:document>
</f:view>
</jsp:root> -
Please help me on Debugging the Form
Hi All,.
Can anyone please give the steps for Debugging the Form:
-Actually i am trying to know what is happening when we are working with the Forms(Front End) and
-what are the triggers firing in the backend
- What are the Program Units are calling
-What is complete flow,..
-How the data get populated on to the screen from backend
Please give the complete steps, coz i am new to the Forms & Resports.
Please help me on this with complete steps & Documentation.
Thanks,
grachi
i hope it will help u too.
here is the instructions.
-Click on Button “Debug” on toolbar of forms, (icon like a “bug”), will active debug_mode;
2-Execute the forms (Run);
3-The Forms will show a windows “Forms Debugger” with 3 panels: -The first is “SOURCE PANE”, showing your source code of procedure or trigger that is running; - The second, is “Navigator Pane”, shows a tree of objects to debug; - The third is “INTERPRETER PANE”, where you do pl/sql code to run; Go to second frame(Navigator Pane) and expand node “+MODULE”, select your forms module(click on it);
4-Open the tree, navigate until your trigger that you want to debug (or to debug ALL CODE select menu “DEBUG” -> “Trigger” and choose Location=”Every Statement”, and write “raise debug.break;” on field trigger_boddy)
5-If you want to debug a specific trigger of a text_item, go to block, select the text_item, then select the trigger, the source code will show in “source pane”;
6-Go to menu “DEBUG” -> “TRIGGER” and write “raise debug.break;” on field trigger_boddy (or do a double click over a line code that can be debuged); When the forms run, and run this trigger, the run mode will be “suspend” and forms return to this page of “DEBUG”, where you can view values of any variable, values of block_itens, values of SYSTEM variables and go to a “step by step” running your code line to line, and view changes on variables;
7-In this step, you setup the debugger, to run now, click on red “X” to close debugger, the forms will be run;
8-You go run until the code marked to break; The cursor will stop on first line that is running (Source pane) with a signal => on the line;
9-Now you can run line by line; entire block or return to normal run (see buttons enables);
When debugging, explore the Navigator, and see anothers variables values like :system.current_record; :system.record_status; :sytem.message_level; Global variableshttp://www.orafaq.com/forum/t/140073/0/
sarah -
How to print the smartform as in the data of tablecontrol...?
Hi,
1.I create 2 tabs in Modulepool Programming.
2.In First Tab, I enter the data and when i click the SAVE button the data should be saved in my custom table ZDILEEP.
3.In Second Tab,I put an Tablecontrol and DISPLAY the data what i have to save in first tab and i do 3 operations as DELETE,UPDATE,ADD A RECORD.
4. I Create a button in Application Toolbar as FORM,whenever i click this button the SMARTFORM will be triggered.
5.In SmartForm, I put an TableControl and display the data and i put SUM of SALARY.
6.Now My Requirement is At run time, if i add a record or update a record that should be displayed in smartform,
without clicking the pushbuttons UPDATE,ADD A RECORD i.e. without using custom table ZDILEEP the data
should be displayed in smartform as of Tablecontrol.
where I want to write these code....? and what code i want 2 write...?
can anybody help me
Moderator message - Cross and duplicate posting is not allowed in the forum. This is at least the second post of yours that I have locked for this reason. If you continue, your userid may be deleted - thread locked
Edited by: Rob Burbank on May 12, 2010 3:23 PMDid u look at the system fields of smartform ?
Look at the structure SFSY.
Amandeep -
ActionListener not working in JSF
Hi
The use case for my application is as follows:-
CommandToolbarButton - Clicked
Quick Logic in Backing Bean using ActionListener / LaunchListener
Popup Dialog opens up which has some data given by above code in Backing Bean
For this my code in jspx is
<af:toolbar>
<af:commandToolbarButton immediate="true"
icon="/ico_delete.gif"
launchListener="#{TestBean.launchListener}" partialSubmit="true">
<af:showPopupBehavior popupId="popupDialog"/>
</af:commandToolbarButton>
</af:toolbar>
<!--Pop -->
<af:popup id="popupDialog" contentDelivery="lazyUncached">
<f:subview id="popupSubview">
<jsp:include page="ShowPopup.jsff"/>
</f:subview>
</af:popup>
and code in the TestBean is
public void launchListener(LaunchEvent launchEvent) {
System.out.println("TEST");
// Add event code here...
But, I am not able to invoke this Listener as I am getting the TEST message. I even tried the same thing by writing a ActionListener as
public void actionListener(ActionEvent actionEvent) {
System.out.println("TEST");
// Add event code here...
Even this is not working. I have also tried to use <af:commandImageLink> instead of commandToolbarButton, but it is still not working.
Any help on this problem will be highly appreciated.Hi,
I guess, I couldn't explain my problem clearly, so re-posting the code and the query.
JSPX Page
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<f:view>
<af:document>
<af:form>
<af:popup id="popupDialog">
<af:dialog title="Test Dialog">
<af:outputText value="TEST Dialog" />
</af:dialog>
</af:popup>
<af:outputText value="test"/>
<af:toolbar>
<af:commandToolbarButton immediate="true" icon="/ico_delete.gif"
launchListener="#{TestBean.launchListener}"
partialSubmit="true"
actionListener="#{TestBean.actionListener}">
<af:showPopupBehavior popupId="popupDialog"/>
</af:commandToolbarButton>
</af:toolbar>
</af:form>
</af:document>
</f:view>
</jsp:root>
Backing Bean
public void actionListener(ActionEvent actionEvent) {
System.out.println("actionListener called");
// Add event code here...
public void launchListener(LaunchEvent launchEvent) {
System.out.println("launchListener called");
// Add event code here...
I want to execute some code in one of these listeners, so that I can display corresponding data in
<af:popup id="popupDialog">
<af:dialog title="Test Dialog">
<af:outputText value="TEST Dialog" />
</af:dialog>
</af:popup>
I have tried keeping only one Listeners(from actionListner and launcListener), but it doesn't work.
Any help will be highly appreciated. -
Hi
1.I create 2 tabs in Modulepool Programming.
2.In First Tab, I enter the data and when i click the SAVE button the data should be saved in my custom table ZDILEEP.
3.In Second Tab,I put an Tablecontrol and DISPLAY the data what i have to save in first tab and i do 3 operations as DELETE,UPDATE,ADD A RECORD.
4. I Create a button in Application Toolbar as FORM,whenever i click this button the SMARTFORM will be triggered.
5.In SmartForm, I put an TableControl and display the data and i put SUM of SALARY.
6.Now My Requirement is At run time, if i add a record or update a record that should be displayed in smartform,
without clicking the pushbuttons UPDATE,ADD A RECORD i.e. without using custom table ZDILEEP the data
should be displayed in smartform as of Tablecontrol.
where I want to write these code....? and what code i want 2 write...?
can anybody help me>
dileepbandla wrote:
> Hi
>
>
> 1.I create 2 tabs in Modulepool Programming.
> 2.In First Tab, I enter the data and when i click the SAVE button the data should be saved in my custom table ZDILEEP.
> 3.In Second Tab,I put an Tablecontrol and DISPLAY the data what i have to save in first tab and i do 3 operations as DELETE,UPDATE,ADD A RECORD.
> 4. I Create a button in Application Toolbar as FORM,whenever i click this button the SMARTFORM will be triggered.
> 5.In SmartForm, I put an TableControl and display the data and i put SUM of SALARY.
> 6.Now My Requirement is At run time, if i add a record or update a record that should be displayed in smartform,
> without clicking the pushbuttons UPDATE,ADD A RECORD i.e. without using custom table ZDILEEP the data
> should be displayed in smartform as of Tablecontrol.
You need to read the table control data along with Custom table data before you call the smartform and passing data to smartform.
> where I want to write these code....? and what code i want 2 write...?
>
In PAI. What code? - Probably, loop at table control and get the data into another internal table then pass this data into smartform interface.
>
> can anybody help me -
I have an Apple16GB with BT Yahoo home page which had a box for mail and weather and further down I had my local weather, I have touched something and lost these boxes and my home page has changed and I would like to get it back as it was. I have to admit to being useless at computers although I love my I Pad.
Is this the website that you are looking for? According to the very little bit of research that I did on this before responding to you, there have been changes made to the website and to the way that works ...if I read everything correctly.
http://home.bt.com/
Did you have a shortcut to the website on your iPad home screen? If that is what you want to create again, navigate to that website in Safari and then tap the arrow icon next to the address/URL field at the top of the Safari toolbar. Form the window that will pop up, select - Add to Home Screen. That will put an icon on your home screen that will allow you to open directly to that page in Safari when you tap on it. -
How to pass object from JSF to backing bean
Hi,
I have a JSF page using repeater and RichFace Toolbar:
<h:form id="professional-profile">
<a4j:repeat value="#{profilesBean.profiles}" var="lang" binding="#{profilesRepeaterBean.repeater}">
<rich:togglePanel styleClass="data-input-panel" switchType="client" stateOrder="closed, opened">
<f:facet name="closed">
<rich:toolBar>
<rich:toggleControl switchToState="opened">
<h:graphicImage style="border-width:0" value="../Images/open_btn.gif" />
<rich:toolTip value="#{pp_msg.tooltipOpensPanel}" direction="top-right" showDelay="${config.toolTipDelay}" styleClass="tool-tip"/>
</rich:toggleControl>
<h:outputText value="#{lang.language}"/>
</rich:toolBar>
</f:facet>
<f:facet name="opened">
<h:panelGrid style="width: 100%" columns="1">
<rich:toolBar>
<rich:toolBarGroup location="left">
<rich:toggleControl switchToState="closed"
onclick="if(!ConfirmUnsavedForAction('#{common_msg.unsavedDataWarning}')){return false;}">
<h:graphicImage style="border-width:0" value="../Images/close_btn.gif" />
<rich:toolTip value="#{pp_msg.tooltipClosesPanel}" direction="top-right" showDelay="${config.toolTipDelay}" styleClass="tool-tip"/>
</rich:toggleControl>
<h:outputText value="#{lang.language}"/>
<font class="counterColor">
(#{pp_msg.remainingChars}:</font><h:outputText class="counterColor" id="charsCounter" value="${config.profestionalProfileMaxLength-fn:length(lang.profile)}"/>
<font class="counterColor">)</font>
</rich:toolBarGroup>
<rich:toolBarGroup location="right">
<a4j:commandLink id="submit"
action="#{cvData.editUsr}" <<<<<<<<<<<<<<<<<< THIS LINE
value="#{common_msg.buttonSave}"
messagePlace="textarea"
onclick="CommandOnClick(#{rich:element('textarea')},'#{common_msg.dataSaving}','#{common_msg.dataSaved}');"
data="#{facesContext.maximumSeverity.ordinal ge 2}"
oncomplete="CommandOnComplete(#{rich:element('textarea')},data,1500); DataSaved();">
</a4j:commandLink>
</rich:toolBarGroup>
</rich:toolBar>
<h:inputTextarea
id="textarea"
rows="10"
styleClass="professional-profile-input-area"
binding="#{profilesRepeaterBean.profileInput}"
value="#{lang.profile}"
label="#{pp_msg.header}"
</h:inputTextarea>
</h:panelGrid>
</f:facet>
</rich:togglePanel>
<br/>
</a4j:repeat>
</h:form>Currently all data are stored for all panels at "Save" button click. I want to change it to save only changed panel. For each toolbar an instance of "lang" object is created which i want to send to backing bean where I planned to merge with JPA.
public void SaveCVProfile(ICvProfileLang profile) {
cvData.editChangedProfile(profile);
}All combinations I try gave me just String as parameter value, not an Object reference.
Any ideas?Thanks BalusC,
I must have messed up my previous tries.
I used you hint with "f:setPropertyActionListener ".
<a4j:commandLink id="submit"
value="#{common_msg.buttonSave}" <<<<<< "action" - REMOVED
messagePlace="textarea"
onclick="CommandOnClick(#{rich:element('textarea')},'#{common_msg.dataSaving}','#{common_msg.dataSaved}');"
data="#{facesContext.maximumSeverity.ordinal ge 2}"
oncomplete="CommandOnComplete(#{rich:element('textarea')},data,1500); DataSaved();">
<rich:toolTip value="#{pp_msg.tooltipButtonSave}" direction="top-left" showDelay="${config.toolTipDelay}" styleClass="tool-tip"/>
<f:setPropertyActionListener target="#{profilesBean.saveCVProfile}" value="#{lang}" />
</a4j:commandLink>I removed "action" from commandLink and passed the object to action listener.
It works as intended now, even without using UIData#getRowData(). -
Anybody know anything about integrating birt into an adf project in jdeveloper?
I got the page to run in scrollable mode,.
But now I have memory issuse;
Here is my page:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
xmlns:jsfbirt="http://jsf4birt.components" xmlns:h="http://java.sun.com/jsf/html">
<af:document title="BIRTTest.jsf" id="d1">
<af:form id="f1">
<af:panelStretchLayout id="psl1">
<f:facet name="center">
<af:panelGroupLayout layout="scroll">
<!-- id="af_one_column_stretched" -->
<!--af:panelGroupLayout id="mainGroup">
<af:panelFormLayout id="titleForm">
<af:inputText label="Title" id="titleInput" value="#{pageFlowScope.title}"/>
<f:facet name="footer">
<af:group id="g1">
<af:commandButton text="Submit" id="submitButton"/>
</af:group>
</f:facet>
</af:panelFormLayout-->
<!--af:panelGroupLayout id="reportGroup" partialTriggers="titleInput"-->
<jsfbirt:birtWrapper id="helloWorld" reportDesign="/reports/demo.rptdesign">
<!--f:param value="#{pageFlowScope.title}" name="title" id="titleParam"/-->
</jsfbirt:birtWrapper>
<!--/af:panelGroupLayout-->
<!--/af:panelGroupLayout-->
<!--/f:facet-->
</af:panelGroupLayout>
</f:facet>
</af:panelStretchLayout>
<af:resource type="javascript">
function showPDFReport(actionEvent) {
actionEvent.cancel();
JSF4Actuate.pdf('helloWorld');
function showMSWordReport(actionEvent) {
actionEvent.cancel();
JSF4Actuate.doc('helloWorld');
</af:resource>
<af:toolbar id="reportToolBar">
<af:commandToolbarButton text="PDF" id="pdfReport">
<af:clientListener type="action" method="showPDFReport"/>
</af:commandToolbarButton>
<af:commandToolbarButton text="MSWord" id="MSWordReport">
<af:clientListener type="action" method="showMSWordReport"/>
</af:commandToolbarButton>
</af:toolbar>
</af:form>
</af:document>
</f:view>
When I try to run the word version I get out of heap memory error. Is this jdev or wls or browser?
Since it says heap, i think it is jdev.
Thanks,
Veena
Edited by: user597294 on Aug 8, 2011 8:51 AM
Maybe you are looking for
-
Error while checking the command ttcwadmin -status
Hi Getting error while checking the status of timesten cluster agent Any clue [ttadmin@VFS1UUP02 bin]$ ttcwadmin -status TimesTen Cluster status report as of Wed Jun 26 15:03:42 2013 (ttCWAdmin:) crsctl.c(715): TT48004: clsssinit failed with status =
-
16 phones in 4.5 years!
The following is my tale, based on email written to Verizon ahead of a small claims case I will soon be filing against Verizon, of how I came to be known as “14-phone guy”: In 4.5 years, Verizon has sent me 16 warranty replacement phones – this does
-
Address Book: contact pictures gone
I have a couple of hundred contact pictures in my Address Book. After I did a lot of syncing back and forth recently between 2 Macs and an iPhone, I notice that a lot of them don't show any more. From inspecting the Images folder in my Library, I thi
-
Show Running Rules and Monitors for this Health Service task for Unix/Linux agents?
I know there is a way to do this for Windows agents, but is there a way to do this for Unix/Linux agents? When I click on the agent I dont see the option in the task pane. Is there something else that I can use? If you're going to answer my questio
-
How to save files by using swing
how to complete a JFileChooser which I can save the file that I create as we click save button when we are windows.the JFileChooser also have the function that I can choose the path where I want to save my file.thank you