Help needed when dynamically creating new stage sprites
Morning folks,
I'm feeling very rusty when asking this question! It feels
like I should
know the answer but simply unable to comprehend where I'm
going wrong at the
moment!!
I'm in the process of creating a Director piece that involves
the user
having to drag "shapes" onto a pre-defined grid [drag and
drop style] --
there are currently three different types of shape that can
be dragged of
which many of the shapes can be of the same type. So I need
to display the
three shape types on one side of the screen and allow the
user to drag and
drop as many as they wish to the girded area.
I've written the drag and drop routine but now having
difficulty in
producing the dynamic creation of a new draggable shape; so
far I've managed
to create a new "shape" sprite from my cast library and
placed it in the
correct location. Then I create and add a new instance of my
"Drag and Drop"
behaviour onto the newly created sprite, but this is where it
goes wrong --
although I can drag the dynamically created sprite, once
dropped Director
complains of not knowing what its local properties are, for
example I'm
unable to reference the locH and locV of the newly created
sprite!
I'm really at a loss on this one and would appreciate any
kind of guidance!
Many thanks in advance, Mark ;-)
Hi Saravanan,
>>>><b>First column - Welcome message , below Date , time and place</b>
It is possible to add date, time and location in the welcome area. Jus add a table to the <td> of the welcome area container. Like this.
<% Date d= new Date(); %>
<TD nowrap class="prtlHdrWelcome" ti="0" tabIndex="0" id="welcome_message"><%=StringUtils.escapeToHTML(GetWelcomeMsg(componentRequest, welcomeClauseStr))%><table width="100"><tr><td nowrap><%=d%></td><td>INDIA</td></tr></table></TD>
Hope it helps.
Regards,
Saravanan
P.S: Hope you remember the thread
<a href="http://">https://www.sdn.sap.com/irj/sdn/thread?threadID=152135&messageID=1703666</a>
Similar Messages
-
I have a problem with my iPad 1 . When I create new g Id , I have a Clam requied update iOS last vesion while this version is 5.11 . Help me. Thanks
Before I update my iOS auto is 5.11 . Apter I reset my iPad and crease new Id then error Appear . I can not fix it . Thanks your support
-
The spanning-tree add strange value when I create new Vlans
Hi,
On all switchs access, the spanning-tree add strange value when I create new Vlans from Distrib Layer,
and no association is created with any interface with spanning-tree vlan 700, see below in this exemple,
until I reboot the switch.
somebody already saw this values ?
DSFDS112#sh span sum
Switch is in rapid-pvst mode
Root bridge for: none
EtherChannel misconfig guard is enabled
Extended system ID is enabled
Portfast Default is disabled
PortFast BPDU Guard Default is disabled
Portfast BPDU Filter Default is disabled
Loopguard Default is enabled
UplinkFast is disabled
Stack port is StackPort1
BackboneFast is disabled
Configured Pathcost method used is long
Name Blocking Listening Learning Forwarding STP Active
VLAN0001 0 0 0 3 3
VLAN0002 0 0 0 22 22
VLAN0006 0 0 0 3 3
VLAN0007 0 0 0 8 8
VLAN0009 0 0 0 4 4
VLAN0010 0 0 0 3 3
VLAN0011 0 0 0 3 3
VLAN0012 0 0 0 3 3
VLAN0013 0 0 0 3 3
VLAN0090 0 0 0 15 15
VLAN0109 0 0 0 3 3
VLAN0200 0 0 0 4 4
VLAN0300 0 0 0 26 26
VLAN0302 0 0 0 4 4
VLAN0700 - 253 -1872756560 2087191206 -1872756549 2080375982
VLAN0702 - 253 -1872756560 2087191206 -1872756549 2080375982
VLAN0704 0 0 0 4 4
VLAN0710 - 253 -1872756560 2087191206 -1872756549 2080375982
VLAN0816 0 0 0 3 3
VLAN0820 0 0 0 3 3
20 vlans - 759 -1323302384 1966606322 -1323302237 1946160764
DSFDS112#sh span vlan 700
VLAN0700
Spanning tree enabled protocol rstp
Root ID Priority 4796
Address 0008.e3ff.fcbc
Cost 10000
Port 608 (Port-channel1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 62140 (priority 61440 sys-id-ext 700)
Address 885a.9213.6880
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
Po1 Root FWD 10000 128.608 P2p
DSFDS112#sh run int Gi1/0/25
Building configuration...
Current configuration : 194 bytes
interface GigabitEthernet1/0/25
description Station12
switchport access vlan 700
switchport mode access
end
DSFDS112#sh span interface Gi1/0/25
no spanning tree info available for GigabitEthernet1/0/25
DSFDS112#sh int status interface Gi1/0/25
Port Name Status Vlan Duplex Speed Type
Gi1/0/25 Station12 connected 700 full 100 10/100/1000BaseTX
Thanks for your help,
Regards.Venki,
The ORA-00942 is okay because there is no existing object. But what stuck me is the ORA-01921 error which may indicate that this might not be a new database.
CREATE ROLE exp_full_database
ERROR at line 1:
ORA-01921: role name 'EXP_FULL_DATABASE' conflicts with another user or role name
CREATE ROLE imp_full_database
ERROR at line 1:
ORA-01921: role name 'IMP_FULL_DATABASE' conflicts with another user or role name
Are there any existing databases on this server? Have you tried to create it on other machine?I searched on Metalink too and found Doc ID: 237486.1 ORA-29807 Signalled While Creating Database using DBCA which say that eroror could be ignored. You may want to review that as well.
Ittichai -
Project Server default groups when we create new project site
Hi,
When we create new project site in project server 2013 in site settings page some default groups are already present with some default permissions and some default members.
Interesting thing is that the members of these group are same when ever we create a new site.
Can you please help me understand, what these groups are, how they get created and how they are having some default members. Where are these members coming from.
Our project server is having project server permission mode.
Thanks,
Bhawna.I briefly searched the MSTechNet but was not able to find a succinct article on this point for 2013, if someone has that, can they pls share. However, if you read most of the articles under this area,
you get the idea.
http://technet.microsoft.com/en-us/library/fp161361(v=office.15).aspx
From 2010 this applies and is still "similar"
http://technet.microsoft.com/en-us/library/cc197668(v=office.14).aspx
In 2013, for every Project Site (connected SharePoint site as it is now called in 2013), 2 Site specific SharePoint security groups are created: "SiteProjectName Project Managers (Project Web App Synchronized)"
& "SiteProjectName Team Members (Project Web App Synchronized)".
And Web Administrators (Project Web App Synchronized) is also created.
In addition, the default SharePoint groups for: Site Members, Site Owners, Site Visitors are present but remain empty.
Project Server controls the creation of these groups and the membership. The membership is a "formula" that goes something like this: If the user is the Project Owner then put them in the PM group.
If the user is a PWA Administrator, then put them in the Administrators group. If the user is a team member on the project, then put them in the Team Members group. There are other factors like RBS that are used in the formula.
Reading the descriptions of the groups reveals that for Project Managers =
Users who have Published this project or who have Save Project Permission in PWA.
For Team Members = Users who have assignments in this project in PWA.
I believe these are the old 2010 descriptions and actually Team Members = anyone who is part of the Build Team even if no assignments.
Further complicating matters is that if you are a site collection admin, you will see all the groups, for PWA and for all the project site (b/c you are actually seeing the site collection groups).
But only the ones mentioned above apply specifically to this project site.
Hope this sheds some light on the topic,
Thanks, Eric S. Pcubed -
Alert and second alert when you create new event
problem with alert and second alert when you create new event on calendar. but only in russian iphone language!
this problem starts iOS 7 up to the present time iOS 8.1.1. this problem has been seen on iPhone 4,iphone 4s,iphone 5, iphone 5s,iphone 6,iphone6+Settings>General>Reset> Reset all Content and Settings
standard fixing such bugs, but not in this time -
Urgent help in coding of creating New Business partner?
Hi Friends,
I need urgent help on this.Please give me the solution.
This is the coding which i written for creating new BP.
FUNCTION ZCTS_NEW_CONTACT.
""Local interface:
*" IMPORTING
*" VALUE(BUSINESSPARTNER) LIKE BAPIBUS1006_HEAD-BPARTNER
*" VALUE(CNEWINFO) TYPE ZCTS_CONTACTS
*" VALUE(CDATA) LIKE BAPIBUS1006_CENTRAL STRUCTURE
*" BAPIBUS1006_CENTRAL
*" VALUE(BUSPART1) LIKE BAPIBUS1006_RELHEAD-BUSINESSPARTNER1
*" VALUE(BUSPART2) LIKE BAPIBUS1006_RELHEAD-BUSINESSPARTNER2
*" VALUE(RELCAT) LIKE BAPIBUS1006_RELHEAD-RELATIONSHIPCATEGORY
*" EXPORTING
*" VALUE(MESG) TYPE CHAR100
DATA: lt_return like bapiret2 occurs 0 with Header line.
DATA: CTPERS LIKE BAPIBUS1006_CENTRAL_PERSON OCCURS 0 WITH HEADER LINE.
DATA : PARTN_GRP TYPE BAPIBUS1006_HEAD-PARTN_GRP.
DATA : PARTN_CAT TYPE BAPIBUS1006_HEAD-PARTN_CAT.
DATA: BEGIN OF ADADD.
INCLUDE STRUCTURE BAPIBUS1006_ADDRESS.
DATA: END OF ADADD.
DATA: BEGIN OF ADTEL OCCURS 0.
INCLUDE STRUCTURE BAPIADTEL.
DATA: END OF ADTEL.
DATA: BEGIN OF ADSMP OCCURS 0.
INCLUDE STRUCTURE BAPIADSMTP.
DATA: END OF ADSMP.
CTPERS-FIRSTNAME = CNEWINFO-FNAME.
CTPERS-LASTNAME = CNEWINFO-LNAME.
PARTN_CAT = 1.
PARTN_GRP = 002.
ADADD-CITY = CNEWINFO-CITY .
telephone info **
ADTEL-TELEPHONE = CNEWINFO-PHONE.
ADTEL-CONSNUMBER = '001'.
APPEND ADTEL.
ADTEL-TELEPHONE = CNEWINFO-MOBILE.
ADTEL-CONSNUMBER = '002'.
APPEND ADTEL.
email information **
ADSMP-E_MAIL = CNEWINFO-EMAIL .
APPEND ADSMP.
CALL FUNCTION 'BAPI_BUPA_CREATE_FROM_DATA'
EXPORTING
PARTNERCATEGORY = PARTN_CAT
CENTRALDATA = CDATA
PARTNERGROUP = PARTN_GRP
CENTRALDATAPERSON = CTPERS
ADDRESSDATA = ADADD
IMPORTING
BUSINESSPARTNER = BUsinessPartner
TABLES
TELEFONDATA = ADTEL
E_MAILDATA = ADSMP
RETURN = lt_return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.
*PARTN_CAT = 1.
*PARTN_GRP = 002.
*ADADD-CITY = CNEWINFO-CITY .
telephone info **
ADTEL-TELEPHONE = CNEWINFO-PHONE.
ADTEL-CONSNUMBER = '001'.
APPEND ADTEL.
ADTEL-TELEPHONE = CNEWINFO-MOBILE.
ADTEL-CONSNUMBER = '002'.
APPEND ADTEL.
email information **
ADSMP-E_MAIL = CNEWINFO-EMAIL .
APPEND ADSMP.
CALL FUNCTION 'BAPI_BUPR_PFCT_CREATEFROMDATA'
EXPORTING
BUSINESSPARTNER1 = BUSPART1
BUSINESSPARTNER2 = BUSPART2
RELATIONSHIPCATEGORY = RELCAT
TABLES
RETURN = lt_return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.
LOOP AT lt_return WHERE TYPE = 'E'.
MESG = ' NOT CREATED NEW CONTACT'(020).
EXIT.
ENDLOOP.
ENDFUNCTION.
Early reply is highly appriciable.
Regards,
BONAHi,
Thanks for early reply.
When i tested created new BP.
Wheni check wether it is created or not its not created.
What is the problem.is there modifications i have to do int he coding.
Thanks,
BONA. -
How do I make it so my client can edit Links in business catalyst when they create new pages?
Okay so essentially I have built a site in Muse uploaded to business catalyst and I've setup a site template so that the client can create new pages as each new course arrives, but how do I get the link from the homepage to link to the new page? basically I need the link to be editable.
What would be ideal is a kind of portfolio layout where there is a thumbnail and a new page but for my client to be able to add a new project adn it would create a thumbnail on the homepage and a new page that he can edit. Does anyone know of something like that possible in Business catalyst?Hi
Editing with Business Catalyst only works with image or text editing , we cannot add new page or page items using in browser editing.
However, you can manage the site from BC end when your client and login to admin and add pages, modify etc, but if you re-publish the site from Muse then then changes will be overwritten.
Thanks,
Sanjit -
Help! Unable to create new native thread
Ok I see this problem all over the web but most of the posts are many years old and still leave me a little confused. Often at random times on the same tags like CFLDAP I get the error "Unable to create new native thread". Then a few minutes later the same tag on the same page works just fine.
I have 4GB of memory in this box with 1400 MB set as the maximum Java heap size by the way.
Here are my arguments from the jvm.config file.
# Arguments to VM
java.args=-server -Xmx1400m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=192m -XX:+UseParallelGC -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/../lib,{appli cation.home}/../gateway/lib/,{application.home}/../wwwroot/WEB-INF/flex/jars,{application. home}/../wwwroot/WEB-INF/cfform/jars,"C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\InterWeb-Prod\\includes\\classes"
Here is a typical error that comes through.
struct
Browser Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.70 Safari/533.4
DateTime {ts '2010-06-23 10:07:44'}
Diagnostics unable to create new native thread null <br>The error occurred on line 122.
GeneratedContent
HTTPReferer http://--------------------/index.cfm?FuseAction=HR.main
Mailto interweb@---------------------
Message unable to create new native thread
QueryString fuseaction=ManagedLists.MailSubscriptions
RemoteAddress 192.168.250.124
RootCause struct
Message unable to create new native thread
StackTrace java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:597) at com.sun.jndi.ldap.Connection.<init>(Connection.java:208) at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:112) at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2504) at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:263) at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:76) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.<init>(InitialContext.java:197) at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:82) at coldfusion.tagext.net.LdapTag.do_ActionQuery(LdapTag.java:839) at coldfusion.tagext.net.LdapTag.doStartTag(LdapTag.java:616) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661) at cfadfunctions2ecfm1473603830$funcADLOOKUPUSERNAME.runFunction(C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\InterWeb-Prod\includes\adfunctions.cfm:122) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2471) at cfadfunctions2ecfm1473603830$funcADLOOKUPMULTIPLEUSERNAMES.runFunction(C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\InterWeb-Prod\includes\adfunctions.cfm:54) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2471) at cfdsp_managedlists2ecfm55598920.runPage(C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\InterWeb-Prod\hr\managedlists\dsp_managedlists.cfm:232) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661) at cffbx_switch2ecfm2121232114.runPage(C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\InterWeb-Prod\hr\managedlists\fbx_switch.cfm:23) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661) at cffbx_fusebox30_cf502ecfm1180471387._factor4(C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\InterWeb-Prod\fbx_fusebox30_cf50.cfm:241) at cffbx_fusebox30_cf502ecfm1180471387._factor5(C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\InterWeb-Prod\fbx_fusebox30_cf50.cfm:1) at cffbx_fusebox30_cf502ecfm1180471387.runPage(C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\InterWeb-Prod\fbx_fusebox30_cf50.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661) at cfindex2ecfm749274359.runPage(C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\InterWeb-Prod\index.cfm:23) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:273) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.CfmServlet.service(CfmServlet.java:175) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 ) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
I could really use some help figuring this out. We are getting random errors a few times a day and usually in places where we are using CFLDAP.
Thanks,
DavidAbsolutely unbelievable that this has been going on for 4 YEARS and there are still NO definitive answers from Adobe!!
There's no definite answer from Adobe, because there's no definitive single question. These errors come up because - for any number of possible reasons - the JVM becomes overloaded. And it's almost always down to an issue with the application code being run, and nothing to do with CF, per-se. So what's Adobe supposed to do? Come and fix your application for you? There are plenty of diagnostic tools out there - some built into CF itself - which you could use to sort the problem out. Or you could hire someone like Mike Brunt to come and have a look at your set up. All it takes to fix these things is to actually do something about fixing it, rather than slamming one's fist on the desk saying "why doesn't Adobe do something!"
I thought - and my knowledge in the area isn't expansive - the inability to allocate threads was down to the app being choked up: threads are a finite commodity, and if requests are queuing up faster than the JVM can clear them, you're gonna get errors eventually. What causes this sort of thing? More traffic than the server can process. This could be because of server kit, or it could be due to code that doesn't scale to the requirement. Usually the latter. Basically one cannot polish a turd.
I have a 24x7 production server that services 180,000 clients in 300 countries around the clock that cannot afford to be down for more than a few minutes at a time.
I'm running Windows 2008 32-bit with 4GB of RAM because I have some graphics software that cannot tolerate a 64-bit OS. Everything has been running fine for the past few months, but now it's starting to crash more and more frequently. I have CF 8.0.1.195765 and Java 1.6.0_04
How many concurrent requests for 180000 clients generate? The number of clients matters less than how heavily the site is used. But, to be honest, I get the impression the implication is "it's a busy site", in which case I think your hardware is a bit on the lean side. Also, if it's a mission-critical app, running it on a single server is probably ill-advised, just from a fault-tolerance perspective even before one starts thinking about performance.
If I was in your situation, I'd consider the following options:
* upgrade your JVM to the most recent version (1.6.0_21?)
* put more RAM in the box, and run a second CF instance on it.
* get another box.
* refactor the environment so the graphics software runs on a different box, upgrading the CF server to 64-bit (again, with more RAM)
* run some diagnostics on the server, seeing what's taking up threads and where any bottlenecks might be
* get an expert in to do the analysis side of things.
* stop expecting Adode to fix "something".
One of my other symptoms I have noticed is that any work done using RDP starts getting really really bogged down. Opening Windows Explorer and searching for files can take minutes. Restarting the CF service will sometimes fail to complete, and you have to wait a few minutes before the manual Start option appears in the dropdown. Maybe coincidentally, the Performance Monitor will fail to add any of the ColdFusion metrics, for example Running Requests and Queued Requests, and the Event Monitor shows an error relating to an 8-byte boundary not being maintained.
You don't, by any chance, store your client variables in the registry do you? The only time I've seen this happen is when the CF box is munging the OS environment, and the only way I can think this could happen if it was clogging the registry. Never store client variables in the registry.
Adam -
HELP: Problem when programmatically creating a proxy portlet
All,
I am programmatically creating a proxy portlet from a registerd WSRP Producer portlet. The problem is that when I create the proxy portlet, and then add the portlet to the page I don't get any mode icons in the portlet (i.e. maximize/minimize icons). Everything else works okay in the portlet though. When I create the same proxy portlet from the Admin Portal and add it to a page, I get the maximize/minimize icons so therefore I assume it's something in my code. Here is the method I wrote to create the proxy portlet:
public String registerPortlet (HttpServletRequest request, String producerHandle, WSRPPortlet portlet) throws Exception
ProxyPortletManager portletManager = ProxyPortletManager.Factory.getAdapter ();
PortletDescription portletDescription = PortletDescription.Factory.newInstance ();
portletDescription.setPortletHandle (portlet.getHandle ());
LocalizedString lString = LocalizedString.Factory.newInstance ();
lString.setLang ("en");
lString.setValue (portlet.getName ());
portletDescription.setTitle (lString);
portletDescription.setDoesUrlTemplateProcessing (true);
portletDescription.setTemplatesStoredInSession (true);
log.info ("Registering portlet for producer: " + producerHandle);
log.info ("+++++ Portlet Handle: " + portlet.getHandle ());
log.info ("+++++ Portlet Name: " + portlet.getName ());
int portletId = portletManager.createProxyPortlet (producerHandle, portletDescription, ProxyPortletManager.LocaleHelper.findLocale ("en"), request, PORTAL_NAME);
return String.valueOf (portletId);
}Any help you can offer is very much appreciated. Thank you.
- T.C.I dug into this a little more myself, and THOUGHT I found the answer, but it didn't work. I saw that the PortletDescription object has a method called:
setMarkupTypesArray (MarkupType[])
...and MarkupType has a method called:
addWindowStates (String)
So I added the following code portion before i call portletManager.createProxyPortlet (...):
MarkupType mt = MarkupType.Factory.newInstance();
mt.setMimeType("text/html");
mt.addWindowStates("maximized");
mt.addWindowStates("mimimized");
portletDescription.setMarkupTypesArray(new MarkupType [] {mt});...and still when I add the proxy portlet to a page it doesn't have the proper maximize/minimize icons. Can anyone help???
Thank you.
- T.C. -
Access Denied when Exporting, Creating new folder.
My normal workflow on some occasions is that I work on images then making a selection, I will export then to a folder on my desktop. I normally hit the Export and on the pop up I click on create new folder and export the images to the folder.
Since the new update, when I try to create a folder it gives me Access Denied. If I create the folder first, there is no problem.Hi,
I would like to suggest you run the following commands with elevated privilege.
takeown /f {Folder Path}
cacls { Folder Path} /G administrators:F
Note: please replace {Folder Path} with the real folder path.
After that, please try to delete the folder again.
Does it work?
Regards,
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
When ever create new version specified User should get intimation Mail
Hi,
My requirement is when ever user create new DIR version, system should send some intimation Mail to specified user.
If it's not possible in standard system, Pls let me know it is possible through development or not.
Thanks & Regards,
SunnyDoes the specific user, u want to send the mail, keeps changing?
At the time of creation of a DIR if reqd value is maintained in User Responsible then he'll get the mail in his SAP Inbox stating "The Document for which u r responsible has been created/modified".
For this certain linkages in workflow needs to be activated.
If you want to send the mail in specific format with some more details, then u may use messages functionality of DMS in which mails are sent based on Document Type & Status combination.
Another option is using workflow. For this u need to define a simple workflow task which can be triggered based on status. you need to maintain this task in Status settings.
Points Appreciated. -
I am a rookie. This worked on previous pics but I apparently have clicked something I shouldn't have. Thanks for any help.
The problem with Actions is that as a new user, you are not going to know what steps are happening when the Action runs. The action could be deleting the background layer, for instance. Is the action one that came with Photoshop? If you sourced it from somewhere else, can you give us a link?
There is also some ambiguity in the language you use. Not your fault. But when you say 'create new layer from background' to me that probably means you are copying the background layer. If that is not the case, could you give a more detailed description of the steps you are taking?
Do you know how to upload a screen shot? If you are using Windows 7 or 8, you can use the Snipping tool to drag across your image and layer panel. Save the image, and upload to this thread using the little camera icon. -
I want to use gmail calendar as a default instead of iCal when I create new appointments
So, I love the fact that my macbook calendar also shows my gmail calendar items. But I like many of the features that gmail offers over ical. I setup my iphone so that new calendar entries that I create a defaulted as gmail instead of ical. But I can't seem to find out how to do this on my macbook.
I went into the settings (calendar, mail) - tried to disable the icloud calendar, but it tells me that if I do this all my ical events will be deleted. I don't want to go back and fix each and every prior entry before doing this.
Any suggestions on how I can best accomplish this?
Even if you feel I'm best not using gmail over iCal, let me know that too. I'm new to macs - having been a PC developer for over 20 years.
Help?
Thanks!!I might not have made sense trying to ask this question.
Here's an example: When I create a calendar event on my mac - I can choose, via an event dropdown item, which calendar to apply the event. By default, its set to the iCloud calendar. I am now finding myself clicking this listbox and changing it to my gmail calendar for every appt I create. I was hoping there would be a way for me to have this default to my gmail calendar instead of the icloud.
Does that make better sense??
Thx -
Help Needed.. Creating custom calendar problems
I am trying to create a calendar like this
DateRun Shift
10/27/2004 06:30 A
10/27/2004 18:30 B
10/28/2004 06:30 C
10/28/2004 18:30 D
and so on.. except that there is a small login inside for day when it is Thursday. One week Shift 'A' works and the next week Shift 'B' works..
Here is the procedure; Appreciate your help immediately.,..
CREATE OR REPLACE procedure create_calendar as
STARTDATE VARCHAR2(20);
shifter1 varchar2(5);
shifter2 varchar2(5);
shiftcycle number;
counts number;
begin
startdate := '11/09/2000';
counts:= 0;
shiftcycle:= 14;
delete from calendar;
commit;
for counts in 0..1000
loop
dbms_output.put_line(counts);
if to_char(sysdate + counts,'DAY') = 'MONDAY' or to_char(sysdate + counts,'DAY') = 'TUESDAY' or to_char(sysdate + counts,'DAY') = 'WEDNESDAY'
then
dbms_output.put_line('Code in here 1');
shifter1:= 'A';
shifter2:= 'B';
insert into calendar (daterun, shift) select to_char(sysdate + counts,'mm/dd/yyyy') || ' 06:30',shifter1 from dual;
insert into calendar (daterun, shift) select to_char(sysdate + counts,'mm/dd/yyyy') || ' 18:30',shifter2 from dual;
elsif to_char(sysdate + counts,'DAY') = 'THURSDAY' and mod((to_char(sysdate + counts,'mm/dd/yyyy') - startdate),shiftcycle) = 0
then
dbms_output.put_line('Code in here 2');
shifter1:= 'A';
shifter2:= 'B';
insert into calendar (daterun, shift) select to_char(sysdate + counts,'mm/dd/yyyy') || ' 06:30',shifter1 from dual;
insert into calendar (daterun, shift) select to_char(sysdate + counts,'mm/dd/yyyy') || ' 18:30',shifter2 from dual;
elsif to_char(sysdate + counts,'DAY') = 'THURSDAY' and mod((to_char(sysdate + counts,'mm/dd/yyyy') - startdate),shiftcycle) <> 0
then
dbms_output.put_line('Code in here 3');
shifter1:= 'C';
shifter2:= 'D';
insert into calendar (daterun, shift) select to_char(sysdate + counts,'mm/dd/yyyy') || ' 06:30',shifter1 from dual;
insert into calendar (daterun, shift) select to_char(sysdate + counts,'mm/dd/yyyy') || ' 18:30',shifter2 from dual;
elsif to_char(sysdate + counts,'DAY') = 'FRIDAY' or to_char(sysdate + counts,'DAY') = 'SATURDAY' or to_char(sysdate + counts,'DAY') = 'SUNDAY'
then
dbms_output.put_line('Code in here 4');
shifter1:= 'C';
shifter2:= 'D';
insert into calendar (daterun, shift) select to_char(sysdate + counts,'mm/dd/yyyy') || ' 06:30',shifter1 from dual;
insert into calendar (daterun, shift) select to_char(sysdate + counts,'mm/dd/yyyy') || ' 18:30',shifter2 from dual;
end if;
--exit when counts >1000;
end loop;
commit;
end create_calendar;You don't say what your problem is, so it is kind of difficult to help.
As a guess, I would say that your code only inserts rows for Wednesdays. TO_CHAR(date, 'DAY') returns a string padded with spaces to the length of the longest day name, in English, that is Wednesday (9 characters).
SQL>DECLARE
2 x DATE := sysdate;
3 BEGIN
4 IF TO_CHAR(x, 'DAY') = 'THURSDAY' THEN
5 DBMS_OUTPUT.Put_Line('Is Thursday');
6 ELSE
7 DBMS_OUTPUT.Put_Line('Is Not');
8 END IF;
9
10 IF TO_CHAR(x, 'DAY') = 'THURSDAY ' THEN
11 DBMS_OUTPUT.Put_Line('Now it is Thursday');
12 ELSE
13 DBMS_OUTPUT.Put_Line('No it is not!');
14 END IF;
15 END;
16 /
Is Not
Now it is ThursdayTTFN
John -
When to create new authorization objects
Hi Experts,
I am learning SAP Security.
I have one question , what is the necessity of creating new authroization field and object , when SAP gives a huge list of objects /fields.
Is there any reason behind like, whenever a customised transaction is created, a new authorization object or filed has to be created?
Regards,
RekharajTrick is to find not only a standard authorization object with the same field you are looking for, but an object already assigned to the users with those roles with the same semantic for all it's fields - so that you can simply reuse the existing concept which is also assigned to the sets of users.
Often you will find "base" function modules and classes you can use to do all that work for you. Just call them at the correct location in the code and dont forget to check the return code and react to it.
If you use BAPI APIs to access or process data, then many of them make these same semantically correct checks "out of the box".
Cheers,
Julius
Maybe you are looking for
-
App-V packages won't run until they are fully download - App-V 5.0 SP2
Hey guys we're using App-V 5.0 in our Pooled VDI environment we waited for HF4 for a long time to be able to upgrade from SP1 to SP2 now we have a new Base Image with that client and with %APPDATA% folder redirection (unlike the Base Image with SP1 c
-
i bought the photoshop cs2 cs3 cs5 and lightroom and lightroom 4. i can't install on may new macbookpro 13inch?
-
Add object to transport in ABAP
Hi All, I'd like to generate entries in a transport I have been using function module RS_TOOL_ACCESS but it gave me some problem with LIMU DYNP Objects After debugging std I found out this fm TRINT_APPEND_TO_COMM_ARRAYS but it gave me an error saying
-
HI, Could you please explaing why do we need BlazeDS. When do we go for BlazeDS or LCDS? Can't we make use of the httpservice, remoteobject and webservices that is available in Flex. Please explain.
-
Preview Build failed to download 0x80246018
Running Windows Technical Preview for Enterprise Build 9841. After I enabled the Preview Builds option in Update and Recovery, I attempted to download Build 9860 but received the error "Failed to download the new preview build, please try again lat