Jdev10.1.3 - is there a suppotr for parametrized code snippets?
Hi,
I am looking to add parameters to the code snippet (simple name value pairs and iterators)
I need to be able to prompt the user to enter these parameters when designing the page (inserting the code snippet results in an editor that prompts for the parameters)
Is such a feature available or planned?
thanks
Vijay
Hi,
depends on what kind of code snippet you need. JDeveloper supports code templates that can have variables in them that are filled in by the developer when adding it with <abbreviation>ctrlenter
See tools --> Preferences --> Code Editor -> Code Templates
If e.g. you create a code template "about" and add the following snippet
* File: $file$
* Date created: $date$
* Author: $author$
then all variables surrounded by $..$ are highlighted (you can have JDeveloper to add default values as well
Frank
Similar Messages
-
Is there another name for printer code?
I do not see where it says "printer code" on anything that I am using with the D110 printer. Is there another name for printer code? Please help me find.
The printer code is the first part of the email address assigned to your printer. For instance ,everything before @hpeprint.com.
******Clicking the Thumbs-Up button is a way to say -Thanks!.******
**Click Accept as Solution on a Reply that solves your issue to help others** -
Java.lang.instrumentation (looking for examples, code snippets)
I'm exploring the use of java.lang.instrumentation, management for a variety of tasks such as profiling, monitoring, etc.
I'm looking for some code snippets and examples to get me bootstrapped. Didn't find any doing a search.Unfortunately there aren't any examples of java.lang.instrument usage available yet. I will try to rectify this.
java.lang.instrument.Instrumentation is an interface, but it is not an interface that users of java.lang.instrument implement. A single instance of a class, internal to the JRE, which implements this interface is created if and only if the -javaagent flag is used. This sole instance is then passed into the premain method.
Robert G. Field
JSR-163 Specification Lead -
Is there a way for html code to be automatically loaded in a html document?
I am using DreamWeaver (CS5.5) what I am looking for is two (2) things:
Most webpages are consistently formatted, Header, Navigation, content and footer. Typically the Header, Navigation and footer are identical from page to page in the website, be it two (2) paages or 2,000 pages.
It would be nice if there were an HTML tag or a JavaScript procedure that would allow the designer to create a series of html pages that only contained one of the page elements, header, navigation or footer and after testing be able to import this code into a page that is under development like you can a snippet.
I know that I could create the code and test it then copy and paste it into each of the new pages being created.
What would be ideal is html tag like the link tag that would automatically import the tested code into the new page, like is done with css, so that the designer and/or the coder only has to create and test this code once.
obvisouly integeration testing would have to be performed.To add to Preran's response, you could also consider using php includes. Look here for an example: http://www.tizag.com/phpT/include.php
The only change is your file extension from .html to .php. You can then let your server handle the parsing of PHP. Note that in order for PHP to work on your local (development) system, you need WAMP (Windows) or MAMP (Mac).
WAMP: http://www.wampserver.com/en/
MAMP: http://www.mamp.info/en/ -
Is there a forum for c code?
I having a problem with threads and sockets in C. The sockets gets crazy after hibernate when using recv. The threads have individual sockets with individual tcp/ip connections but the data is mixed when calling recv (after a hibarnate). I dont find a forum
for this subject, Is there any forum?
RegardsHello marreoragarn.
There is not a specific forum for the C programming language.
You could ask your question in the General Windows Desktop Programming Issues Forum at
http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/home?forum=windowsgeneraldevelopmentissues; I can move it there for you if you want.
Bye.
Luigi Bruno
MCP, MCTS, MOS, MTA -
Is there any alternative for this code to increase performance
hi, i want alternate code for this to increase performance.
DATA : BEGIN OF itab OCCURS 0,
matnr LIKE zcst-zmatnr,
checked TYPE i,
defected TYPE i,
end of itab.
SELECT DISTINCT zmatnr FROM zcst INTO TABLE itab WHERE
zmatnr IN s_matnr AND
zwerks EQ p_plant AND
zcastpd IN s_castpd AND
zcatg IN s_categ.
LOOP AT itab.
ind = sy-tabix.
SELECT COUNT( DISTINCT zcst~zcastn )
FROM zcst INNER JOIN zvtrans
ON ( zcstzcastn = zvtranszcastn AND
zcstzmatnr = zvtranszmatnr AND
zcstzwerks = zvtranszwerks AND
zcstgjahr = zvtransgjahr )
INTO itab-checked
WHERE
zcst~zmatnr = itab-matnr AND
zcst~zwerks EQ p_plant AND
zcastpd IN s_castpd AND
zcatg IN s_categ.
SELECT COUNT( DISTINCT zcst~zcastn )
FROM zcst INNER JOIN zvtrans
ON ( zcstzcastn = zvtranszcastn AND
zcstzmatnr = zvtranszmatnr AND
zcstzwerks = zvtranszwerks AND
zcstgjahr = zvtransgjahr )
INTO itab-defected
WHERE
zcst~zmatnr = itab-matnr AND
zcst~zwerks EQ p_plant AND
zcastpd IN s_castpd AND
zcatg IN s_categ AND
zvtrans~zdcode <> ' '.
MODIFY itab INDEX ind.
ENDLOOP.
i think, select within loop is reducing the performance
pls replyHi,
types : BEGIN OF t_itab ,
matnr LIKE zcst-zmatnr,
checked TYPE i,
defected TYPE i,
end of t_itab.
data : itab type table of t_itab,
wa_itab type t_itab.
and instead of looping as in ur code try to use for all entries and
use nested loop. -
Is there any BAPI for T-CODE:XK05?
The same as the title. Thanks!
Hi,
1.Execute tcode xk05 find a package.
2.execute se80 provide package name
extend BUSINES ENGINERING
BUSINESS OBJECT TYPES
METHODS SELECT RELEASED ONE
DOUBLE CLICK ON RELEASED METHOD
ONE WINDOW WILL OPEN
CLICK ON ABAP TAB
HERE U WILL GET BAPI FOR U R TCODE.
This is the way to find a BAPI for a prticular tcode.
Thanks&Regards,
Phani. -
Is there an constant for ASCII code ? for example '08'.
Because in different kind of systems, the ASCII code is represent by different ways,
for example, in single system, it is represented by '08', while on a unicode system, it is represented by '0008'.
How to do with this case?
Best regards,
BlakeBlake,
Please try this:
DATA : d1 TYPE char1 VALUE 'A'.
DATA : d2 TYPE i.
FIELD-SYMBOLS : <fs> TYPE x.
ASSIGN d1 TO <fs> CASTING.
MOVE <fs> TO d2.
WRITE d2.
Regards
Sabu -
Is there a fix for error code -50 "paramErr"
After a week of succesfully making incremental backups to partitions on an Iomega 2Tb hard disk via CrashPlan and a bootable version of my hard drive using Carbon Copy Cloner, neither program has worked again...citing this paramErr and not recognizing "usr".
Any suggestions?
normanlapazLinc Davis, I' m sorry if those links where virus's. I did not think that they where. I got that from googleing this problem off of a site.
Regards, EpicSkillzMan -
Hi GURU ,
Is there any BAPI for T-Code PA30 .
Please reply me.Hi
Go through This link
bapi for pa30
Ranga -
Any one can tell me, is there any BAPI for t-code F-43.
I have a req to create BDC session for t-Code F-43.
I think instead of BDC,better BAPI.Please anyone knows,tell me.
Thanksthanks for bapi..but in this bapi,there is no field for payee(EMPFB),what it is in t-code f-43.
So if any other bapi,pls send me
Thanks in advance -
BAPI for Transaction Codes FMV1 and FMZ1
hi,
is there any bapi for transaction codes FMV1 and FMZ1?!
please advice!
thanks JEHI,
For FMZ1
use this
FMFR_CREATE_FROM_DATA
FMFR_CHANGE_FROM_DATA
FMFR_CHANGE_COMPLETION_FLAG
Regards
Hiren K.Chitalia -
I have multiple devices in my family. Each of us has an iPhone and an iPad. Is there a way for each of us to have our own Apple ID but one account so we can all get the same music, movies, books, etc. I can't see paying twice for something in the same family.
Welcome to the world of digital media. Your can't really transfer it. I don't know what the rules are about transferring to your spouse but I do know that in some cases when you die, your heirs cannot inherit your digital media. This is why there is still an advantage to buying the CD since the usage rights belong to whomever holds the physical media.
A possible workaround is to burn the songs to a music CD with yout account (tracks only without song titles) and then having your wife upload it as a regular music CD onto her account. It's been a while since i've done this so I'm not sure if it would work now.
Please note that I'm not advocating copyright and/or TOS violations. I'm only suggesting ways to copy music for your own personal use which has traditonally been permitted. I only did this because I wanted to convert iTunes songs to mp3 files so I could burn them onto a data CD for use in my car. It would make sense that since married couples are a joint entity, this would be personal use.
Also, I'm not a lawyer so don't take this as legal advice. -
My friend switched his phone number from an iPhone to a Blackberry. My phone still wants to use iMessage to send him a text and won't let me send it as a text unless I turn off iMessage on my phone. Is there a fix for this?
jengrz wrote:
My friend switched his phone number from an iPhone to a Blackberry. My phone still wants to use iMessage to send him a text and won't let me send it as a text unless I turn off iMessage on my phone. Is there a fix for this?
TechCrunch posted a solution today that applies to this problem, I think.
Go to: https://supportprofile.apple.com/MySupportProfile.do
Click your old iPhone and "unregister" it.
More info here:
http://m.techcrunch.com/2012/01/05/i...d=tc_home_art& -
Hello can someone help me I have an iphone 4 and my daughter has an ipod touch we are on the same email address but somehow with in the last 25hrs all of my contacts are gone and only hers on on my phone is there a way for me to get all my contacts back?
If you need assistance with finding any of your restores or attempting to restore from any that happened prior to his incident follow this article
http://support.apple.com/kb/ht1766
IF you do find a backup that has your contacts; I'd /highly/ recommand turning off your wifi network after the restore is finished because if the issue is with your iCloud your contacts may merge back with her's.
With iCloud you DO NOT want to share the account; bad things happen Evil evil thigns...
But in all seriousness; if two devices have the same iCloud; iCloud is told to merge and sync infomation between hte two and can't tell that it doesn't belong to the same person
Maybe you are looking for
-
OBIEE 10g integration with mapviewer
hello all, i am trying integrate mapviewer map in obiee dashboard. and i am able to show maps which do not use bi answers data for any kind of interaction (i.e,no "nsdp" section in the map file). this works fine. if i am using any dashboard prompt to
-
How to make material code field mandatory in VA01
Dear all, I want to make material code field mandatory while creating sales order (VA01). As of now even if I dont enter material code , and just enter customer code and P.O. number , I am able to save my sales order. I tried to do it with incomplet
-
ast computer i was able to make 3 profiles and run 3 windows. each time it asked for the profile when i wanted to start each window. how can i set that up again
-
Cisco ACE Inspecting RTSP Wowza Service?
Did somebody knows if Cisco ACE in some of their HW and SW versions support Inspect for RTSP of Wowza Service running in the serverfarm? We intend to setup the service in routing mode and without a Firewall or a Web APP Firewall avoiding BW consumpti
-
Hi, here is my program when i run that program, it throws an IOException which is as under. Io Exception : the Network Adaptor could not extablish the connection. Plz help me THANKS IN ADVANCE. import java.sql.*; public class OracleDb { Connection db