[svn:bz-trunk] 21661: Avoid calling throwNotSubscribedException() from inside synchronized blocks to prevent potential issues acquiring the lock .
Revision: 21661
Revision: 21661
Author: [email protected]
Date: 2011-07-21 06:21:07 -0700 (Thu, 21 Jul 2011)
Log Message:
Avoid calling throwNotSubscribedException() from inside synchronized blocks to prevent potential issues acquiring the lock.
Checkin-Tests: Pass
QA: Yes
Doc: No
Modified Paths:
blazeds/trunk/modules/core/src/flex/messaging/client/FlexClient.java
Similar Messages
-
Can Anyone help to find a way?
http://answers.acrobatusers.com/How-call-Adobe-Reader-inside-application-avoid-operator-op en-save-doc-q13487.aspx
From inside my application that run on an Automation PC, under Windows O.S, I want to call Adobe Reader using a shell command to open up an PDF Document containing some informations.
Shell command like these
"C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe" /A "<options>" "C:\mydoc.pdf"
or
cmd /c "C:\mydoc.pdf"
Operator is using a touchscreen.
I want to prevent user to access any option that can give him acces to filesystem (Open/save/save as).
I want also to prevent any change/add information to PDF document
Thank you in advance for the time you will spend for me.You can use the Installation Tuner for Reader to customize the UI elements provided to the user. Details on the Adobe web site.
-
Calling java from inside an Active Server Page.
Is it possible to call a java application from inside an ASP ?
I can't write COM. Just Java. But IIS is all I have access to at this time.
thanks,
nupevicYes, I did a year ago (a PDF creating app); however I've forgotten how. Microsoft had a register-tool I believe.
Please wait on someone else's (with a better recall) reply. -
Calling methods from inside a tag using jsp 2.0
My searching has led me to believe that you cannot call methods from in the jsp 2.0 tags. Is this correct? Here is what I am trying to do.
I have an object that keeps track of various ui information (i.e. tab order, whether or not to stripe the current row and stuff like that). I am trying out the new (to me) jsp tag libraries like so:
jsp page:
<jsp:useBean id="rowState" class="com.mypackage.beans.RowState" />
<ivrow:string rowState="${rowState}" />my string tag:
<%@ attribute type="com.mypackage.beans.RowState" name="rowState" required="true" %>
<c:choose>
<c:when test="${rowState.stripeToggle}">
<tr class="ivstripe">
</c:when>
<c:otherwise>
<tr>
</c:otherwise>
</c:choose>I can access the getter method jst fine. It tells me wether or not to have a white row or a gray row. Now I want to toggle the state of my object but I get the following errors when I try this ${rowState.toggle()}:
org.apache.jasper.JasperException: /WEB-INF/tags/ivrow/string.tag(81,2) The function toggle must be used with a prefix when a default namespace is not specified
Question 1:
Searching on this I found some sites that seemed to say you can't call methods inside tag files...is this true?...how should I do this then? I tried pulling the object out of the pageContext like this:
<%@ page import="com.xactsites.iv.beans.*" %>
<%
RowState rowState = (RowState)pageContext.getAttribute("rowState");
%>I get the following error for this:
Generated servlet error:
RowState cannot be resolved to a type
Question 2:
How come java can't find RowState. I seem to recall in my searching reading that page directives aren't allowed in tag files...is this true? How do I import files then?
I realized that these are probably newbie questions so please be kind, I am new to this and still learning. Any responses are welcome...including links to good resources for learning more.You are correct in that JSTL can only call getter/setter methods, and can call methods outside of those. In particular no methods with parameters.
You could do a couple of things though some of them might be against the "rules"
1 - Whenever you call isStripeToggle() you could "toggle" it as a side effect. Not really a "clean" solution, but if documented that you call it only once for each iteration would work quite nicely I think.
2 - Write the "toggle" method following the getter/setter pattern so that you could invoke it from JSTL.
ie public String getToggle(){
toggle = !toggle;
return "";
}Again its a bit of a hack, but you wouldn't be reusing the isStriptToggle() method in this way
The way I normally approach this is using a counter for the loop I am in.
Mostly when you are iterating on a JSP page you are using a <c:forEach> tag or similar which has a varStatus attribute.
<table>
<c:forEach var="row" items="${listOfThings}" varStatus="status">
<tr class="${status.index % 2 == 0 ? 'evenRow' : 'oddRow'}">
<td>${status.index}></td>
<td>${row.name}</td>
</tr>
</c:forEach> -
Calling function from inside function using powershell
In my powershell script, I am using following code, first time it will go in another function and returns back original function, but in next time in loop, it open popup "Process [0]" and asking for input. I want my second function runs for each
site collection. Let me know what I am missing.
function test {
# Get site objects
$site = Get-SPWeb "http://l-1562571"
write-host $site.Url
#Call Function
$admin = AddLevel123($site.Url)
# Walk through each site in the site collection
$site.Url | Get-SPWeb -Limit all | ForEach-Object
$admin = AddLevel($site.Url)
function AddLevel($site)
param([uri]$site)
$web = get-spweb $site
#Dispos off web/site object.
if ($web -ne $null)
$web.Dispose()First thing It seems you there is typo in method name. Anyway better should use like this. It is more easy and straight forward. Hope this helps you
# Get site objects
$webapplication = Get-SPWebApplication "http://l-1562571"
# Walk through each site in the site collection
foreach($site in $webapplication.Sites)
foreach($subWeb in $site.AllWebs)
$_ = AddLevel123($subWeb.Url) -
How can I update cluster items from inside a while loop that does not contain the cluster?
I have a VI that contains front panel clusters and two while loops. The main cluster contains items such as a doubles "distance" and "stepsize" and boolean "step" (a whole buch of this type stuff). The first loop contains an event structure to detect front panel changes and the second contains code and sub VIs to perform operations based on detected events.
The operator can enter data into either double or click the boolean. If distance is changed the second loop does what is required to process the change. The same happens with stepsize. If step is clicked the ±stepsize value is added to distance and the result is processed. In each case the front panel should track the result of the input and subsequent processing.
Because the clusters are outside the while loop, they are not updated unless I click 'highlight execution' which seems to allow updating each time the execution highlight is updated. There are other issues if I move the clusters into one of the loops.
I've tried referencing the clusters and using local variables and nothing works. It looks like overkill to use shared variables for this.
Any ideas would be greatly appreciated.
Thanks,
FrankHi Ben,
Thank you for the response. I followed the link and tried reading everything you posted on AEs but I'm afraid that I didn't understand it all. It seems that each AE example had a single input and a single output (e.g. a double). Is this the case?
What I have is a couple of front panel clusters containing (approximately) 18 control doubles, 8 indicator doubles, 5 boolean radio button constructs and 26 boolean control discretes. I clusterized it to make it readable. In addition I'll eventually have a cluster of task references for hardware handles.
All I want to do is update the front panel values like I would do in a C, VB or any other language. I've tried referencing the cluster and using the reference from inside the loops. I've tied using local variables. Neither works. I'm experimenting with globals but it seems that I have to construct the front panel in the gloabal and then I wouldn't know how to repoduce that on the front panel of the main VI. Sometimes it seems that more time is spent getting around Labview constructs than benefitting from them.
I hope the 'Add Attachment' function actuals puts a copy of the VI here and not a link to it.
Thanks again for the suggestion,
Frank
Attachments:
Front Panel Reference.vi 33 KB -
[svn:fx-trunk] 14834: Merge revision 14833 from 4.x to trunk.
Revision: 14834
Revision: 14834
Author: [email protected]
Date: 2010-03-17 16:43:45 -0700 (Wed, 17 Mar 2010)
Log Message:
Merge revision 14833 from 4.x to trunk.
Fix for http://bugs.adobe.com/jira/browse/SDK-25881. Using states with layoutDirection was broken. The issue was that in commitProperties of UIComponent, states were trying to set layoutDirection after we've already dealt with layoutDirection. The state would try to set layoutDirection, but since we are already in commitProperties, the eventual invalidateProperties call in the layoutDirection setter (through styleChanged) doesn't do anything. The fix is to have states resolved before calling invalidateLayoutDirection in commitProperties, so we can pick up on state-specific values of layoutDirection.
QE notes: No
Doc notes: No
Bugs: SDK-25881
Reviewer: Carol, Hans
Tests run: checkintests
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-25881
http://bugs.adobe.com/jira/browse/SDK-25881
Modified Paths:
flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
Property Changed:
flex/sdk/trunk/ -
Revision: 5076
Author: [email protected]
Date: 2009-02-25 14:29:16 -0800 (Wed, 25 Feb 2009)
Log Message:
Merge revision 5072 from 3.x branch to trunk.
Bug: LCDS-636 - None of the responder get called from the createItem
QA: Yes (LCDS QA)
Doc: No
Checkintests Pass: Yes
Ticket Links:
http://bugs.adobe.com/jira/browse/LCDS-636
Modified Paths:
flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as -
Revision: 9220
Author: [email protected]
Date: 2009-08-11 07:52:34 -0700 (Tue, 11 Aug 2009)
Log Message:
Change call to TLF's compose() to composeToPosition(). They are suppose to be the same but they are behaving differently in edge cases. Reported this to TLF and Rich filed bug 2401112.
QE notes:
Doc notes:
Bugs: SDK-22473
Reviewer: Gordon
Tests run: checkintests, TextInput, TextArea
Is noteworthy for integration: no
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-22473
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/RichEditable TextEditManager.asGordon, it looks like its been a while since you made this post. Not sure how valid it is now... I am particularly interested in the LigatureLevel.NONE value. It seems that it is no longer supported.
How do I turn of ligatures in the font rendering?
My flex project involves trying to match the font rendering of Apache's Batik rendering of SVG and ligatures have been turned off in that codebase. Is there any way (even roundabout) to turn ligatures off in flash?
Thanks,
Om -
[svn:fx-trunk] 10943: Fix to dragging from List with multiple-selection
Revision: 10943
Author: [email protected]
Date: 2009-10-08 15:46:27 -0700 (Thu, 08 Oct 2009)
Log Message:
Fix to dragging from List with multiple-selection
- The fix is to postpone the selection commit until we make sure the user has not started a drag gesture.
- Exclude the dragEnabled, dropEnabled, dragMoveEnabled properties for DropDownList
QE notes: None
Doc notes: None
Bugs: None
Reviewer: Deepa
Tests run: checkintests, mustella List, DropDownList
Is noteworthy for integration: No
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as -
Revision: 5038
Author: [email protected]
Date: 2009-02-23 08:26:24 -0800 (Mon, 23 Feb 2009)
Log Message:
Merge change 5036 from BlazeDS 3.x to BlazeDS trunk.
Modified Paths:
blazeds/trunk/modules/core/src/flex/messaging/endpoints/AbstractEndpoint.java -
[svn:fx-trunk] 15314: Merging revision 15312 from 4.x to trunk
Revision: 15314
Revision: 15314
Author: [email protected]
Date: 2010-04-09 14:02:53 -0700 (Fri, 09 Apr 2010)
Log Message:
Merging revision 15312 from 4.x to trunk
ComboBox bug fix
http://bugs.adobe.com/jira/browse/SDK-26089 - s:ComboBox is not updated correctly when selectedItem is removed from dataProvider
Handle this specific case by overriding itemRemoved and clearing the textInput. Changing updateLabelDisplay messes with the custom selected item logic, which is why I chose a more localized solution.
QE notes: none
Doc notes: none
Bugs: SDK-26089
Reviewer: Kevin
Tests run: ComboBox, checkintests
Is noteworthy for integration: no
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-26089
http://bugs.adobe.com/jira/browse/SDK-26089
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ComboBox.as
Property Changed:
flex/sdk/trunk/ -
[svn:fx-trunk] 14381: Merge revision 14380 from 4.x to trunk.
Revision: 14381
Revision: 14381
Author: [email protected]
Date: 2010-02-23 16:54:43 -0800 (Tue, 23 Feb 2010)
Log Message:
Merge revision 14380 from 4.x to trunk.
Fix for http://bugs.adobe.com/jira/browse/SDK-25622. We were checking against "inherit" instead of null in UIMovieClip.
QE notes: None
Doc notes: None
Bugs: SDK-25622
Reviewed By: Hans
Tests run: checkintests
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-25622
http://bugs.adobe.com/jira/browse/SDK-25622
Modified Paths:
flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as
Property Changed:
flex/sdk/trunk/ -
[svn:fx-trunk] 14371: Merge revision 14369 from 4.x to trunk
Revision: 14371
Revision: 14371
Author: [email protected]
Date: 2010-02-23 14:37:38 -0800 (Tue, 23 Feb 2010)
Log Message:
Merge revision 14369 from 4.x to trunk
Fix for icons that shouldn't be mirroring. This fix is similar to the one found in UITextField Modified FlexBitmap to detect whether the closest parent is mirrored when added to the display list, and adjust the transform matrix accordingly. Also, I overrode the x, width, and height properties to again, adjust the transform matrix when necessary.
http://bugs.adobe.com/jira/browse/SDK-25417 - Button icons
http://bugs.adobe.com/jira/browse/SDK-25498 - Alert icons
http://bugs.adobe.com/jira/browse/SDK-25511 - Accordion icons
http://bugs.adobe.com/jira/browse/SDK-25512 - ComboBox icons
QE notes: None
Doc notes: None
Bugs: SDK-25417, SDK-25498, SDK-25511, SDK-25512
Reviewed By: Hans
Tests run: checkintests
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-25417
http://bugs.adobe.com/jira/browse/SDK-25498
http://bugs.adobe.com/jira/browse/SDK-25511
http://bugs.adobe.com/jira/browse/SDK-25512
http://bugs.adobe.com/jira/browse/SDK-25417
http://bugs.adobe.com/jira/browse/SDK-25498
http://bugs.adobe.com/jira/browse/SDK-25511
http://bugs.adobe.com/jira/browse/SDK-25512
Modified Paths:
flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexBitmap.as
Property Changed:
flex/sdk/trunk/ -
[svn:fx-trunk] 14377: Merging revision 14376 from 4.x to trunk
Revision: 14377
Revision: 14377
Author: [email protected]
Date: 2010-02-23 16:35:29 -0800 (Tue, 23 Feb 2010)
Log Message:
Merging revision 14376 from 4.x to trunk
Mirroring bug fixes
http://bugs.adobe.com/jira/browse/SDK-25427 - HTML AIR component should not be mirrored even when layoutDirection=rtl
Set layoutDirection=ltr in defaults.css
http://bugs.adobe.com/jira/browse/SDK-25626 - The Spark VSlider dataTip is not positioned correctly when layoutDirection=rtl. It obscures the thumb.
Translate the position from mirrored local coordinate to global coordinates.
http://bugs.adobe.com/jira/browse/SDK-25584 - MX MenuBar displays menus offscreen when layoutDirection is rtl
Added logic to keep the menus from going off the left side of the screen.
QE notes: none
Doc notes: none
Bugs: SDK-25427, SDK-25626, SDK-25584
Reviewer: Hans
Tests run: checkintests
Is noteworthy for integration: no
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-25427
http://bugs.adobe.com/jira/browse/SDK-25626
http://bugs.adobe.com/jira/browse/SDK-25584
http://bugs.adobe.com/jira/browse/SDK-25427
http://bugs.adobe.com/jira/browse/SDK-25626
http://bugs.adobe.com/jira/browse/SDK-25584
Modified Paths:
flex/sdk/trunk/frameworks/projects/airframework/defaults.css
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VSlider.as
Property Changed:
flex/sdk/trunk/
Maybe you are looking for
-
Someone help me my iPad and iPod are saying my Apple ID has been disabled and I've tried signing out and signing back in but it won't work..anyone help?
-
Purchase Requisition Date in MM
Hi guys, i want the standard infosource to get this PR date, it exists in EBAN however is there any business logic or some extractor which has it. Thanks, Vijay
-
Conversion call in transformation files is not working
Dear Experts, We are using BPC 7.5 NW SP06. For running master data load from BW, we are using the standard packages available. Whenever we are creating any transformation file keeping the conversion section blank it is working fine and getting valid
-
Guys i am unable to update Muse, When i try to open the Files of Muse First Site template it ask to update the Muse.. But it does not update Muse from anywhere.. Kindly HELP..
-
I am currently struggling to udate OSX mountain lion to 10.8.4, it constantly tells me that an update is available and a restart is required. Please could someone help?