Automatically stop video when going to next page
Hi,
I have an article with a video with sound on the first page that plays automatically. When I swipe to the next page, I hear the video still playing. Is there a way to turn it off automatically as soon as I swipe to the next page?
Thanks!
Nick
Not without auto startanother (silent) video on second page
(that's a clue for a workaround
(mobil gesendet)
Am 02.09.2011 11:03 schrieb "nbervoet" <[email protected]>:
>
Hi,
>
I have an article with a video with sound on the first page that plays
automatically. When I swipe to the next page, I hear the video still
playing. Is there a way to turn it off automatically as soon as I swipe to
the next page?
>
>
Thanks!
>
Nick
>
Similar Messages
-
Hi!
I need to load a GET url that si very long. On other browsers, I can load the url. In firefox 3.6, no.
There is an addons or a plugin so I can extend this limit? If yes, is possible to load automatically this addons when loading a certain page? thanks
The url is sometingh like this (this is correctly loaded, but it could be longer)Firefox should have problems with long GET data appended to an URL (long would be over 64k).<br />
If there are problems then it is possible that an extension is the cause of that.
Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]] -
How to skip secondary window if main window goes to next page
hi gurus,
i m having a table in main window which lists items and its rate n quantity.
the total price,discount and discount is calculated in secondary window.
now if the list of item get more than window size it goes to next page but with calculation in both page in secondary window . i want to skip the calculation on 1st page.the calculation should only apear in scond page.
thnx in advance.Hi..
******Case 1******************
Suppose if you want display the Totals only in Last page :
In the Secondary window:
/: IF &NEXTPAGE(C)& = '0'
<<DISPLAY YOUR TOTALS HERE>>
/: ENDIF
***********case 2**************
Suppose if you want display the Totals only in Last page :
In the Secondary window:
/: IF &PAGE(C)& = '2'
<<DISPLAY YOUR TOTALS HERE>>
/: ENDIF
reward if Helpful. -
SelectedItem return null when hit the NEXT page or Submit
Hello All,
I try to add the paging to the open source Alfresco content management. We need to process a large dataset (e.g. > 50K files) so after we gather a list of data files we display them with the checkbox and each checkbox has default checked status.
If the value="#{FixItemList.selectedItems} is omitted in the <h:selectManyCheckbox> then the paging is fine when hitting the NEXT page or Submit button. If we set the value in the selectManyCheckbox then it returns null for selectedItems.
Would please point out what I have done wrong? Appreciate for all yours helps.
This is the managed bean object.
public class ToolsContext
private FixItemList fixItemList;
private ToolsContext()
this.fixItemList = new FixItemList();
public void addFix(Fix fix) {
if(fix != null) {
fixItemList.addFixItem(new SelectItem(fix, fix.getPath(), fix.getDetails(), false));
fixItemList.addFixSelectedItems("" + fix + "");
public class FixItemList implements Serializable
private static final long serialVersionUID = 123784764562L;
private List<SelectItem> items;
private List<String> selectedItems;
private int displayItemPerPage;
public FixItemList() {
displayItemPerPage = 100;
items = new ArrayList<SelectItem>();
selectedItems = new ArrayList<String>();
public void setItems(List<SelectItem> items) {
this.items = items;
public List<SelectItem> getItems() {
return this.items;
public int getItemsSize() {
return this.items.size();
public int getDisplayItemPerPage() {
return this.displayItemPerPage;
public void setDisplayItemPerPage(int displayItemPerPage) {
this.displayItemPerPage = displayItemPerPage;
public void addFixItem(SelectItem selectItem) {
items.add(selectItem);
public List<String> getSelectedItems() {
return selectedItems;
public void setSelectedItems(List<String> selectedItems) {
this.selectedItems = selectedItems;
public void addFixSelectedItems(String selectedItem) {
selectedItems.add(selectedItem);
}My faces-config.xml
<managed-bean>
<description>
This bean is to display in the Web Project tool as the pagination. HOPEFULLY SO
</description>
<managed-bean-name>FixItemList</managed-bean-name>
<managed-bean-class>org.alfresco.module.websitetools.util.FixItemList</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>The JSP page.
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
<%@ taglib uri="/WEB-INF/wcm.tld" prefix="w" %>
<w:avmList id="files-list" viewMode="details" pageSize="#{FixItemList.displayItemPerPage}" styleClass="recordSet"
headerStyleClass="recordSetHeader" rowStyleClass="recordSetRow" altRowStyleClass="recordSetRowAlt" width="100%"
value="#{FixItemList.items}" var="row">
<%-- checkbox column --%>
<a:column id="col1" primary="true" width="5" style="padding:2px;text-align:left">
<h:selectManyCheckbox id="wpt" value="#{FixItemList.selectedItems}">
<f:selectItem itemLabel="#{row.label}" itemValue="#{row.value}" />
</h:selectManyCheckbox>
</a:column>
<%-- file name column --%>
<a:column id="col2" primary="true" width="50%" style="padding:2px;text-align:left">
<h:outputText value="#{row.description}" />
</a:column>
<a:dataPager id="pager1" styleClass="pager" />
</w:avmList>When I hit the NEXT page the #FixItemList.selectedItem return null. We use myface version 1.1.5. And below is the stack error
SEVERE: Servlet.service() for servlet Faces Servlet threw exception
java.lang.NullPointerException
at javax.faces.component._SelectItemsIterator.hasNext(_SelectItemsIterator.java:73)
at javax.faces.component.UISelectMany.validateValue(UISelectMany.java:268)
at javax.faces.component.UIInput.validate(UIInput.java:354)
at javax.faces.component.UISelectMany.validate(UISelectMany.java:297)
at javax.faces.component.UIInput.processValidators(UIInput.java:184)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:627)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:627)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:627)
at javax.faces.component.UIForm.processValidators(UIForm.java:73)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:627)
at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:149)
at org.apache.myfaces.lifecycle.ProcessValidationsExecutor.execute(ProcessValidationsExecutor.java:32)
at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:104)Appreciate for all yours helps,
AnhI put the print out statement in the _SelectItemsIterator and found out that the selected item's value doesn't binding. How would I be able to select an item? Attached is the code with debug print out in the SelectItemsIterator.
Would some one please point me a direction? Appreciate.
public boolean hasNext()
if(_nextItem != null)
return true;
if(_nestedItems != null)
if(_nestedItems.hasNext())
return true;
_nestedItems = null;
if(_childs.hasNext())
UIComponent child = (UIComponent)_childs.next();
getLogger().debug("-----_SelectItemsIterator---child is UIComponent---" + child.getChildCount());
getLogger().debug("-----_SelectItemsIterator---child is UIComponent---" + child.getAttributes());
Map m = child.getAttributes();
Set s = m.keySet();
Iterator i= s.iterator();
while (i.hasNext()) {
getLogger().debug("value = " + m.get(i.next()));
if(child instanceof UISelectItem)
UISelectItem uiSelectItem = (UISelectItem)child;
Object item = uiSelectItem.getValue();
getLogger().debug("-----_SelectItemsIterator---child is UISelectItem---getValue()--" + item);
if(item == null)
Object itemValue = ((UISelectItem)child).getItemValue();
String label = ((UISelectItem)child).getItemLabel();
String description = ((UISelectItem)child).getItemDescription();
boolean disabled = ((UISelectItem)child).isItemDisabled();
if(label == null)
label = itemValue.toString(); //////////////////////IT THROWS THE EXCEPTION HERE, BECAUSE THE
///itemValue is null
item = new SelectItem(itemValue, label, description, disabled);
getLogger().debug("-----_SelectItemsIterator---create item - label---" + label);
getLogger().debug("-----_SelectItemsIterator---create item - descp---" + description);
getLogger().debug("-----_SelectItemsIterator---create item - disable---" + disabled);
getLogger().debug("-----_SelectItemsIterator---create item - itemValue--" + itemValue);
} -
Crystal Web Viewer executing stored procedure when going to next/prev page
We are using VS.NET 2005 with SP1 to design reports and embed them in an aspnet web app. Some of them take a while to run, even in the designer. In the designer, however, next page and print operations are speedy. In the web viewer, next page and print operations are agonizingly slow.
Viewing page 2 of a report seems to take about as long as viewing page
1. After running SQL Profiler to trace the report, it is apparent that the entire report (Stored Procedure Call) is being re-run and just page 2 is being sent to the browser.
Is this right?
Shouldn't the report document be stored on the server or event the client so that the desired page can be loaded without having to hit the database again??
We are using Business Objects Crystal Reports XI Release 2
Do you have a sample code on this issue.It still did not work. As you see my code has the Not Page.IsPostBack. It still goes to the database to run the stored procedure over and over again.
Do an example with more than 100 records to have multiple pages. After you go to page #2, change your data by updating one of your fields that will not fit the criteria you are looking for. In this example I changed the strPeriod from 1 to 2 and it gives you a blank report.
update PeriodTable
set fieldPeriod = 2
< h3>Here is the code:</h3>
Imports System.Xml
Imports System.data
Imports System.IO
Imports System.Text
Imports System.Configuration
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Partial Public Class viewreport
Inherits System.Web.UI.Page
Private _dsContacts As DataSet
Dim strUser, strReport, strPeriod, strRegionType, strRegion, strDate, strUnit As String
Private Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
Try
If Not Page.IsPostBack Then
If Not Page.User.Identity.IsAuthenticated Then
Response.Redirect("default.aspx")
End If
strUser = Request.QueryString("strUser")
strReport = Request.QueryString("strReport")
strPeriod = Request.QueryString("strPeriod")
strRegionType = Request.QueryString("strRegionType")
strRegion = Request.QueryString("strRegion")
strDate = Request.QueryString("strDate")
strUnit = Request.QueryString("strUnit")
If strUser <> "" And strReport <> "" Then
ConfigureCrystalReports()
Else
lblMessage.Text = "Values for the report where not received properly.<br /><br />" & strReport & "<br /><br />Please contact your Commissions Reporting Administrator<br /><br />"
End If
End If
Catch ex As Exception
ErrorRoutine(ex, "Page_Load")
End Try
End Sub
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
GlobalCode.DisplayTitle("MetLife - Commissions Administration - Report Viewer", Page)
End Sub
Private Sub ConfigureCrystalReports()
Try
Dim i, j As Integer
Dim ParameterValue As String
_dsContacts = Nothing
_dsContacts = New DataSet
_dsContacts.ReadXml(Server.MapPath("XML\ReportFiles.xml"))
For i = 0 To _dsContacts.Tables(0).Rows.Count - 1
If Trim(UCase(_dsContacts.Tables(0).Rows(i)("FileName").ToString)) = Trim(UCase(strReport)) Then
Dim conn As ConnectionInfo = New ConnectionInfo()
Dim reportPath As String = Server.MapPath("Reports/" & _dsContacts.Tables(0).Rows(i)("FileName").ToString)
If Not File.Exists(reportPath) Then
lblMessage.Text = "Report does not exists in our servers.<br /><br />" & reportPath & "<br /><br />Please contact your Commissions Reporting Administrator<br /><br />"
Exit Sub
End If
conn.DatabaseName = _dsContacts.Tables(0).Rows(i)("Database").ToString
conn.UserID = _dsContacts.Tables(0).Rows(i)("UserID").ToString
conn.Password = _dsContacts.Tables(0).Rows(i)("Password").ToString
Dim ConnInfo As New ConnectionInfo
With ConnInfo
.DatabaseName = _dsContacts.Tables(0).Rows(i)("Database").ToString
.UserID = _dsContacts.Tables(0).Rows(i)("UserID").ToString
.Password = _dsContacts.Tables(0).Rows(i)("Password").ToString
End With
ParameterValue = ""
CRViewer.ReportSource = reportPath
CRViewer.ParameterFieldInfo.Clear()
Dim ParamFields As ParameterFields = CRViewer.ParameterFieldInfo
Dim reportSeparation As New ReportDocument()
reportSeparation.Load(reportPath)
For j = 0 To reportSeparation.ParameterFields.Count - 1
Dim param As New ParameterField
param.Name = reportSeparation.ParameterFields.Item(j).Name
Select Case param.Name
Case "VRPTTYPE"
ParameterValue = strRegionType
Case "VPARAM"
ParameterValue = strRegion
Case "VUSER"
ParameterValue = strUser
Case "VDATE"
ParameterValue = strDate
Case "VUNIT"
ParameterValue = strUnit
Case "VPERIOD"
ParameterValue = strPeriod
Case Else
lblMessage.Text = "<h1>Report has parameters not expected.</h1><br /><br /><h2>" & reportPath & "</h2><br /><br />Please contact your Commissions Reporting Administrator<br /><br />"
Exit Sub
End Select
Dim param_Value As New ParameterDiscreteValue
param_Value.Value = ParameterValue
param.CurrentValues.Add(param_Value)
ParamFields.Add(param)
Next '
For Each cnInfo As TableLogOnInfo In CRViewer.LogOnInfo
cnInfo.ConnectionInfo = ConnInfo
Next
CRViewer.DataBind()
Exit Sub
End If
Next
Catch ex As Exception
ErrorRoutine(ex, "ConfigureCrystalReports")
End Try
End Sub
Public Sub ErrorRoutine(ByVal ex As Exception, ByVal Routine As String)
GlobalCode.ErrorRoutine(ex, Routine, Master)
End Sub
End Class -
How to validate when navigating on next page in a Train
Dear All,
Use Case:
I have pages arranged in a Train.
Supposed in 1 page, I have this code.
<af:selectBooleanRadio text="Enter new transaction details"
label="" id="sbr2"
autoSubmit="true"
value="#{pageFlowScope.myBean.option}"/>
<af:panelFormLayout id="option" labelAlignment="start"
rendered="#{pageFlowScope.myBean.option}">
<af:inputText label="Transaction Date" id="it2"/>
<af:inputText label="Transaction Option" id="it3"/>
<af:inputText label="Confirmation Message" id="it7"/>
<f:facet name="footer"/>
</af:panelFormLayout>If the user selected the boolean radio, I will display the panelformlayout thru PPR.
Now, if the panelformlayout is displayed, user should at least enter one data on at least one
of the inputText. If not, a message is displayed when user navigates to the next page on the
train.
How to do this?
I cannot put a required property on all the input text because not all are required and only at least one input text should be filled up.
I wanted to fire up when user navigates the train button Previous or Next button.
JDEV 11G PS3
Thanksone solution is to build your own Next button in the train and check the condition before you navigate to the next train stop. to navigate to the next train stop in the train check check [url http://www.oracle.com/technetwork/developer-tools/adf/learnmore/82-programmatically-navigate-trains-396873.pdf] How-to programmatically navigate ADF train models
another solution is to set the required property for your input texts as
<af:inputText label="Transaction Date" id="it2"/>
<af:inputText label="Transaction Option" id="it1" required="boolean radio is selected and it2 eq null and it3 eq null ...... and it7 is null"/>
<af:inputText label="Transaction Option" id="it2" required="boolean radio is selected and it1 eq null and it3 eq null ...... and it7 is null"/>
<af:inputText label="Transaction Option" id="it3" required="boolean radio is selected and it1 eq null and it2 eq null ...... and it7 is null"/>
<af:inputText label="Confirmation Message" id="it7" required"boolean radio is selected and it1 eq null and ...... it6 eq null"/> -
Going to next page in smartform
Dear friends,
I need ur help solving a problem in smartform.
I need to add a new page and the first page should goto the next page (page2) on a condition.
1. I created a new page (page2)
2. In first page (in PAGE1 properties) I assigned PAGE2 as next page.
3. At the end of MAIN in first PAGE1 I inserted a COMMAND where as next page
I mentioned PAGE2.
4. In second page (in PAGE2 properties) I assigned PAGE2 as next page.
But this is not working and the command is not routing the first page to the second one. Any suggestions????Dear Anji,
First of all Congratulations ! I see that u are the top contributor for quite some. Keep up the good work.
Generally when the MAiN window info exceeds more than a Page then the print goes to second page . But the case is different here. I want the next page to be triggered each time Movement type (ITAB-bwart) is equal to '101'.
In MAIN window of first page PAGE1 I have used a COMMAND and in command's Condition Tab, I mentioned the condition (if ITAB-bwart = '101') then it should goto the next page (PAGE2) -
How to automatically create a table on the next page?
I was working on my Resume using tables on Pages 13. When the first page is nearing to be filled in, I continue to put more details as I expected the table to be created automatically in the next page, like that of Microsoft Word but it did not happen. What happened was the table continue to elongate only on the first page eventhough the last part cannot be seen anymore. Please advise me how to do this, if possible. Thanks.
You need to make the Table Inline ie part of the text.
Select the Table by clicking on the large dot top left > Cut > Click in the Text > Paste
It will now flow from page to page, but there is a bug in Pages 5.2, which means text may not show in the table after a few pages.
The table will also break at cell boundaries, it will not divide a cell over 2 pages.
Peter -
Stopping video when navigating to another state
Hello Everyone,
I have an issue which I could use some help with. I have two
states in my application:
state_1
state_2
Both states have video content that was done in Flash AS2.
Videos play as they should the issue is that when I navigate to
state_2, state_1's video player is still playing which I need to
stop. I am sure I need to employ a function to make sure I kill the
video before going to state_2. I just don't know what property
should I be looking at.
Appreciate your help.
Thanks a lot."combustion007" <[email protected]> wrote in
message
news:goc8rj$rsr$[email protected]..
> Hello Everyone,
>
> I have an issue which I could use some help with. I have
two states in my
> application:
> state_1
> state_2
>
> Both states have video content that was done in Flash
AS2. Videos play as
> they
> should the issue is that when I navigate to state_2,
state_1's video
> player is
> still playing which I need to stop. I am sure I need to
employ a function
> to
> make sure I kill the video before going to state_2. I
just don't know what
> property should I be looking at.
You'll need to use LocalConnection to talk to the movie. -
How to get the page number when click the(Next page) Icon on Tableview
Hi all,
I had implemented a tableview in one of the Views that I had implemented for a BSP application. I am using MVC framework.
Let us assume when we execute the BSP and a table view got 11 pages.
How I can keep track of the page number when we click the (Next page, Previous page, Bottom , Top) Icons on my tableview . Is there any attribute willstore that corresponding page number of the tableview when we click the corresponding Icon's??
I had checked both CL_HTMLB_TABLEVIEW and CL_HTMLB_EVENT_TABLEVIEW Classes and i don't find any attribute.
Any help will be appreciated.
Thanks in advance.
Thanks,
GreetsonHi Greetson,
I was thinking to write a weblog about that.
But now I would like to have your opinion:
I coded a generic method in my main controller (but you could also insert it in the application class) that save the firstvisible row in the class me->firstvisiblerowlist (that is a table)
DATA: l_firstvisiblerowlist TYPE zmmsp_tableview_1st_visi_row.
DATA: ff TYPE ihttpnvp,
ffs TYPE tihttpnvp.
me->request->get_form_fields( CHANGING fields = ffs ).
LOOP AT ffs INTO ff.
IF ff-name CP 'f*visiblefirstrow'.
READ TABLE me->firstvisiblerowlist INTO l_firstvisiblerowlist WITH KEY name = ff-name.
CASE sy-subrc.
WHEN 0.
l_firstvisiblerowlist-name = ff-name.
l_firstvisiblerowlist-value = ff-value.
MODIFY me->firstvisiblerowlist FROM l_firstvisiblerowlist INDEX sy-tabix.
WHEN 4.
IF sy-tabix = 0.
l_firstvisiblerowlist-name = ff-name.
l_firstvisiblerowlist-value = ff-value.
APPEND l_firstvisiblerowlist TO me->firstvisiblerowlist.
ELSE.
l_firstvisiblerowlist-name = ff-name.
l_firstvisiblerowlist-value = ff-value.
INSERT l_firstvisiblerowlist INTO me->firstvisiblerowlist INDEX sy-tabix.
ENDIF.
WHEN 8.
l_firstvisiblerowlist-name = ff-name.
l_firstvisiblerowlist-value = ff-value.
APPEND l_firstvisiblerowlist TO me->firstvisiblerowlist.
ENDCASE.
ENDIF.
ENDLOOP.
Than you have to provide a generic method to read the firstvisiblerow for each tableview
GET_FIRSTVISIBLEROW
*IM_TABLENAME
*RE_VALUE
DATA: l_firstvisiblerow TYPE zmmsp_tableview_1st_visi_row.
READ TABLE me->firstvisiblerowlist INTO l_firstvisiblerow WITH KEY name = im_tablename.
IF sy-subrc = 0.
re_value = l_firstvisiblerow-value.
ELSE.
re_value = 1.
ENDIF.
And in the DO_REQUSET of each controller you could write something like:
* Paginator
DATA: l_tab1_visiblefirstrow TYPE sytabix.
l_tab1_visiblefirstrow = o_bsp_main->get_firstvisiblerow( 'f019id_tab1_visiblefirstrow' ).
As usual pass the value to the view via:
o_page->set_attribute( name = 'tab1visiblefirstrow' value = l_tab1_visiblefirstrow ).
Did you get it? -
Smartform : line type not working fine when used on Next page
Hi ,
Please help on below :
I have a smartform and have line type which is used in printing the items.
When I use this line type on very first page , it works fine.
But for the next page which is the exact copy of first page ,
the line type does not work fine with printing first line item on next page,
it refreshed the work area which i am printing. so on the next page very first element gets all the values 000
But on the next iteration it works fine and does not refresh work area.
Please see why is such abnormal behavior happening.
Regards,
Uma DaveHi Ameya
there might be syntax error. Try to get what exaclty is an error using following code.
CALL FUNCTION <smartform>
EXCEPTIONS
IF SY-SUBRC 0.
CALL FUNCTION 'SSF_READ_ERRORS'
IMPORTING
ERRORTAB = IT_ERRORLIST.
ENDIF.
In IT_ERRORLIST you will get error message.
Regards
Sachin G Patil -
Coldfusion Error when submit to next page
java.lang.IllegalArgumentException
at coldfusion.filter.FormScope.parseName(FormScope.java:321)
at
coldfusion.filter.FormScope.parseQueryString(FormScope.java:277)
at
coldfusion.filter.FormScope.parsePostData(FormScope.java:246)
at coldfusion.filter.FormScope.fillForm(FormScope.java:197)
at
coldfusion.filter.FusionContext.SymTab_initForRequest(FusionContext.java:345)
at
coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:105)
at
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:249)
at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:192)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
at
jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)Sorry for the previous posting.
When i try to post the current page form variables to the
next page, on and off i do encounter the following error. can you
all coldfusion gurus help? thanks in advance.
The form variables are about 3kb in size.
my coldfusion server is MX6.1(standard edition) host in
Windows 2000 server with MSSQL 2000 server.
java.lang.IllegalArgumentException
at coldfusion.filter.FormScope.parseName(FormScope.java:321)
at
coldfusion.filter.FormScope.parseQueryString(FormScope.java:277)
at
coldfusion.filter.FormScope.parsePostData(FormScope.java:246)
at coldfusion.filter.FormScope.fillForm(FormScope.java:197)
at
coldfusion.filter.FusionContext.SymTab_initForRequest(FusionContext.java:345)
at
coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:105)
at
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:249)
at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:192)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
at
jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) -
NPE error when navigating to next page based on lov selection
hi there am having problem whn navigating to next page based on lov selection,when i select value and click the button to navigate am geting NPE ERROR
{code}
<DCUtil> <findSpelObject> [598] DCUtil, returning:oracle.jbo.uicli.binding.JUFormBinding, for uam_view_pageDefs_SelectOrgPageDef_WEB_INF_Updatetaskflow_definition_xml_Updatetaskflow_definition
<DCIteratorBinding> <releaseDataInternal> [599] Releasing iterator binding:variables
<DCIteratorBinding> <releaseDataInternal> [600] Releasing iterator binding:UpdUamOrganisationLovIterator
<DCIteratorBinding> <releaseDataInternal> [601] Releasing iterator binding:UpdUamOrganisation1Iterator
<DCIteratorBinding> <releaseDataInternal> [602] Releasing iterator binding:UamUserdetailsViewVo1Iterator
<XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
javax.servlet.ServletException: java.lang.NullPointerException
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
... 38 more
Caused by: java.lang.NullPointerException
at showSelectedOrg(OrgDetails.java:2455)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(Unknown Source)
at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
... 45 more
THIS IS THE LINE AM GETING THE ERROR
method.getParamsMap().put("rowKey", newVal);
<af:selectOneChoice value="#{bindings.Orgid1.inputValue}"
required="true"
id="soc1" autoSubmit="true" valuePassThru="true"
contentStyle="width:145px">
<f:selectItems value="#{bindings.Organisationid.items}" id="si1"/>
</af:selectOneChoice>
<af:commandButton text="UpdateOrganisation"
id="cb1"
action="#{pageFlowScope.addMember.showSelectedOrg}"/>
public String showSelectedOrg() {
/* if(getorgids() == null ||getorgids().equals(null)){
JSFUtils.addFacesErrorMessage("Select Atleast One Organisation");
JSFUtils.showFacesErrorMessage("Select Atleast One Organisation");
BindingContext lBindingContext = BindingContext.getCurrent();
BindingContainer bindings = lBindingContext.getCurrentBindingsEntry();
// get the list binding for the Organisation lov
JUCtrlListBinding list = (JUCtrlListBinding)bindings.get("Organisationid");
// get the selected index from the list which is stored in the Orgidd1 attribute
AttributeBinding attr = (AttributeBinding)bindings.getControlBinding("Orgid1");
Integer selid = (Integer)attr.getInputValue();
// load the listdata
Object row = list.getDisplayData();
// get the selected row from the list
Row lFromList = (Row)list.getValueFromList(selid);
// from the row we get the PK the orgnasationId
Object lAttribute = lFromList.getAttribute("Organisationid");
Object orgname = lFromList.getAttribute("Organisationname");
Number newVal = (Number)lAttribute;
String neworg = (String)orgname;
_logger.info("Information: selected Organisation = " + newVal);
System.out.println("neworg " + newVal);
System.out.println("testorg " + neworg);
selectedState = neworg;
// get the MethodAction for setCurrentRowWithKeyValue
OperationBinding method = bindings.getOperationBinding("setCurrentRowWithKeyValue");
// set hte needed parameter as the organisation id
method.getParamsMap().put("rowKey", newVal);
method.execute();
// after execution check for errors
List errors = method.getErrors();
Exception ex = (Exception)errors.get(0);
FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, ex.getMessage(), "Select Atleast One Organisationtest");
FacesContext.getCurrentInstance().addMessage(null, msg);
// keep on page in case of an error
// navigate to the next page
return "show";
{code}
am in jdeveloper 11.1.1.6.0adf009, please read the post I posted the link to in my previous replay. The old code format tag don't work in the new forum!
Still the same error. The stack trace still points to it, you only need to read it carefulle
javax.faces.el.EvaluationException: java.lang.NullPointerException
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
Caused by: java.lang.NullPointerException
OrgDetails.showSelectedOrg(OrgDetails.java:2456)
The origin is
method.execute();
and the real reason is
MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51);
What does it tell you?
Timo -
No video when viewing podcast stream page made with iWeb08
I created a podcast project yesterday with iWeb08. Used compressor 3 ipod 420 preset to enode a .m4v. It plays fine on a Mac but PC users only hear the audio when going to podcast streaming site made with iWeb08.
These are some language lessons that I need to get running today:
http://www.olc.edu/~bchargingcloud/Lak-language/Podcast/Podcast.html
thank youI took a look at your site on a Windows machine, in Internet Explorer - it DOES play the video, but only if QuickTime version 7 is installed. I.E. is not currently designed to alert viewers that they need the QT-7 plug-in - so you may need to add that information to your site.
Anybody with an iPod or iPhone will already have QT-7 installed on their Windows machine.
Fascinating project, by the way! Congratulations! -
Make video stop video when leaving a frame = problem as not all frames have this video
I know how to make a video (instanced as showreel) stop when clicking on a button that that navigates to another section/frame, since otherwise I would still listen to that video while not visible. The problem is when I'm in another frame that doesn't have that video, when clicking on the menu to go to whichever other frame, it looks for that it to stop if it's playing and it and doesn't find it, and so there's an error.
How can solve this? Maybe I should put an order saying something like if there exists a video in that frame instanced as sowreel, stop it, otherwise don't do anything as there is nothing to be stopped. Or assign the order to the frame (which is called motion), but I don't know how to do that, can someone help? The code I have is:
import fl.video.VideoEvent;
function onClick(evt:MouseEvent):void {
if( showreel.playing ){
showreel.stop();}
gotoAndStop(evt.currentTarget.name);
motion.addEventListener(MouseEvent.CLICK, onClick);
web.addEventListener(MouseEvent.CLICK, onClick);
logo.addEventListener(MouseEvent.CLICK, onClick);
photo.addEventListener(MouseEvent.CLICK, onClick);all assets, as far as possible, should be removed from the display list and readied for gc when no longer in use. that includes flvplayback instances.
and yes, when you return to a frame or situation where you create an flvplayback instance, it will be created. the removedfromstage event doesn't do anything except detect when something is removed from the stage:
flv.addEventListener(Event.REMOVED_FROM_STAGE,f);
function f(e:Event){
flv.stop();
that's it.
for a typical beginner to intermediate coder, flv will be on one frame of the main timeline. adding those lines of code will ensure that when you move from a frame that contains flv (and that code), any video playing in flv will be stopped so you won't hear it when you navigate to another frame.
Maybe you are looking for
-
HT4972 I updated to my iPad and now my apps won't open. What can I do?
I updated my iPad operating system and now my apps won't open. How can I fix this?
-
How do I "run" an ldt file for Service Contracts?
Ref. BugNo. 4450150 How do I "run" an .ldt file for Service Contracts? Do I use FNDLOAD and if so is this the way to do it FNDLOAD apps/apps_password 0 Y UPLOAD @FND:OKS_TOP/patch/115/import/US/okskfinv.ldt Thanks
-
I live in Hackney, London, U.k. Until recently my Orange iPhone has been great in the signal department but over the past two weeks it has been getting worse and worse. I have been in many situations where friends o2 have full signal and I have almos
-
"Couldn't reopen AddressBook database"
Once again I got Address Book, Mail and iChat freezing all together, needing to force quit them, and resulting in a complete loss of my Address Book database. My address book is now empty. Looking at the console i get : "Couldn't reopen AddressBook d
-
Recently closed tabs and windows
My 'Recently closed tabs' and 'Recently closed windows' option isn't working. I see it under the 'History' area, but I can't click on it. Is this blocked for a certain reason, and a way for me to unblock it? I just got a new laptop and installed fire