Extension.xml - wizard=true, hideFilePath=false

I've created a new file type and corresponding wizard to allow the user to specify
some parameters required for this file type. The createNewFile(URI uri. String
templateID) method of my file type handler is only ever passed a directory name
in the URI argument if wizard=true and hideFilePath=false in the create-template
section of the extension XML. I want my users to be able to enter a filename
to be created, so am not hiding the filename selection dialog. How do I determine
the filename entered by the user in this case?
I'm using Workshop 8.1 on Linux.
Thanks,
Cath

Cath,
Attached is a reply from Engineering.
Unfortunately, the behavior for the combination hideFilePath=false and
wizard=true is not supported. If you set wizard=true, you should also set
hideFilePath=true. In the next release we will be making numerous
improvements to the new file wizard and we will allow the desired behavior.
You should add code to the wizard to allow the user to type in the filename
as part of the wizard.
Thanks
Raj Alagumalai
Backline Workshop Support
"Raj Alagumalai" <[email protected]> wrote in message
news:[email protected]...
Cath,
I have forwarded your questions to our engineering team. I will let youknow
once I hear from them.
Thanks
Raj Alagumalai
WebLogic Workshop Support
"Cath Allen" <[email protected]> wrote in message
news:[email protected]...
"Raj Alagumalai" <[email protected]> wrote:
Hello Cath,
Can you provide more information on what you are trying to do ? What
is the
type of application/project that you are building ?I am building an extension to workshop to allow the creation and editingof Jain/SLEE
components. These components are just Java files created from templatesaccording
to parameters input by the user through a wizard. For creation of theextension
I'm using a plain vanilla Java project/application setup.
I have a class, EventDocumentFactory, that extends
DefaultDocumentHandler
to handle
the creation of these files. When
EventDocumentFactory::createNewFile(URI
uriFile,
String templateID) is called I'm creating my wizard dialog and gettingadditional
input from the user. The EventDocumentFactory implements theresolveUnknownPriority
method and claims the Jain/SLEE files correctly, leaving other Java
files
for
the default Java handler.
I need the user to input the name of the file to be created, so inaddition to
setting wizard=true to indicate that I'll be displaying a wizard after
the
user
has selected the file name and type I have set hideFilePath=false. Inthis case
the user is prompted for a file name to be created, and I'm expecting
that
the
createNewFile method in my EventDocumentFactory will be given thisfilename (as
a URI object). However, what happens is that the createNewFile method
in
my EventDocumentFactory
is given the directory that the file is to be created in. I need to
know
how
I can get the name of the file the user inputted into thisworkshop-created dialog.
Thanks,
Cath

Similar Messages

  • True or false template

    hi, i am new to flash ,i am finding difficulty for loading  xml in flash as2 for making true or false template through xml only,can anyone help me out please.
    thank u.

    What code are you using for loading the xml that is bot working for you?  HAve you tried searching Google using terms like "AS2 xml tutorial"

  • Comment faire une décision avec true et false ?

    Bonjour,
    actuellement en terminale STI2D et ayant déjà eu une réponse favorable lors de mon dernier post sur votre forum. 
    Je cherche à présent à faire une décision des true et false dans mon labview.
    De façon simple j'ai une 10ene de LED qui s'allument en fonction de décision (TRUE et FALSE).
    Je souhaiterai convertir la seule LED qui s'allume en un texte pour pouvoir l'envoyer sur mon fichier XML.
    Je met mon labview a contribution pour pourvoir m'aider plus facilement.
    Merci d'avance pour votre aide.
    Attachments:
    RecepteurTCP_v2.vi ‏40 KB
    RecepteurTCP_v2.vi ‏40 KB

    Duplicate post.

  • UCCX Scirpt: if statement (true of false)

    Hi there,
    Is it possible to change an if-statement from "true" to "false" or vice versa by calling an extension?
    Thanks.

    Yes.  You will need to practice this first before you try to implement it in your script.  Or, rather, I'm asking that you do.  Just learn the basics first.
    First up, you will need to acknowledge that you will need to store this data somewhere persistent.  I.e., External database, external web server, or possibly even the Document repository.  I'll lead with the repository as it's easy and doesn't require the Premium license that the external database does.
    Now that we've determine where we are going to store the data, you need to know how to store the data.  You do this in a script with a minimum of two steps:
    Authenticate User
    Upload Document
    And one variable
    User my_user = USER[uccxadmin]
    Your user account may be called something different.  Authenticate the user first, then upload the document second.  Practice this in a new blank script using the F10 key (Step Over) via the Active Debugging feature.  No saving, uploading, application, trigger or phone call required.
    Hint: Use the following as your Document to upload TEXT[true], use the following as your Language L[] and use the following for your name "my_file.txt"
    Now that you've figured out how to store the data, let's figure out how to read the data.  In a completely new script, you'll need only two steps:
    Set
    If
    *Three if you count the Annotate step.
    And one variable
    boolean my_value = true
    Drop the Set step in a set it like so:
    Set my_value = DOC[my_file.txt]
    Next, drop in the If step and set it like so:
    If (my_value)
        True
            /* It's TRUE */
        False
            /* It's FALSE */
    Now, kick off that Active Debug again (F10) and check your work.  If you got it working, then the last thing you need to do, is figure out how to present the caller with a menu, 1 for TRUE and 2 for FALSE.  That's it.
    Happy coding.
    I hope that helped.

  • Applescript help with true or false script

    I'm in need of a applescript that will run two different scripts based on the outcome of an existing file.
    I have a folder called Status. Inside this folder is a simple text file called Good.rtf
    I would like a script that would run one or the other script base on the true or false output.  If file exists then:
    true will
    run script A
    false will
    run script B
    I have been searching the web for two days looking for something to help me get started on this and have not had much success.
    Please help me.   I really would appropriate any help or guidance. 
    Thanks....
    Ron

    Ron
    AppleScript calls this kind of script a "Conditional" = if this > then that
    Some templates are in MacintoshHD/Library/Scripts/Script Editor Scripts/Conditionals
    You don't need a value for "false" in binary as it is merely "not true" (else)
    if true then
        -- insert if actions here
    else
        -- insert else actions here
    end if
    If you already have your Scripts A & B working, copy>pastethem into the "insert actions here" part as appropriate
    ÇÇÇ

  • The case structure is not working well on comaring two strings using true or false string matching VI

    I need an execution of commands after the reply from the instrument matches with the string I provided for that i used true or false string match VI on which the true string the matching command and the string is the reply from the instrument. And I put the further executionable commands in frame after frame of sequence loop in the true of the case structure. Amd finally I given all the output strings to the concatenate string to get all the replies as one loop. But when I execute the program the desired result is not available. So kindly please help me to overcome this problem.  
    Attachments:
    basic serial with changes.vi ‏24 KB

    You VI makes absolutely no sense and I would recommend you start with a few simple LabVIEW tutorials before trying to tackle this.
    What is the point of the FOR loop with 1 iteration, it might as well not even be there, same difference.
    Why is there an abort primitive in the FOR loop, this mean the program will unconditionally stop abort before any downstream code will ever go into action. The program will never get past the FOR loop.
    You created a circular data dependency and LabVIEW inserted a feedback node automatically, making things even worse. (see also)
    You need to learn about dataflow, execution order, and data dependency.
    You need to learn about the various types of tunnels (plain, autoindexing, etc.)
    There is a tremendous amount of duplicate code. Large code sections are the same, differeing only by a string. You should only have one copy of that code inside a proper state machine. Have a look at the design templates and examples that ship with LabVIEW.
    LabVIEW Champion . Do more with less code and in less time .

  • Parameter Query for True or False values

    I have what seems like a painfully simple task and it has me stopped dead.  I reviewed a similar thread, and the answers there don't seem to apply. Working in Crystal 11.5 with an MS SQL database.
    I am pulling data from vwCommmittees.  There is a field in this view called IsActive.  I want to create a committee list report that will allow the user to select only the active committees or all committees.
    A SQL select statement that says where dbo.IsActive = '1' will return only the active committees.
    In Crystal reports, if I place the IsActive field on the report, it returns with "True" or "False."
    When I create a parameter for this field, I find that 1) I can't see the parameter in the report expert -- my only choices are Is any value, Is true, Is false or Formula.
    I've made several attempts to create a formula and nothing is working. It's not clear to me wheter I should be creating a static or a dynamic parameter.  When I choose boolean as the type, that doesn't seem to help.  I tried a dynamic parameter which gave me true and false values, but don't seem to work.
    Any pointers on dealing with this kind of parameter query would be greatly appreciated.
    Sincerely,
    Ridge (in New Joisey)

    Hi..
    Create a static parameter and give the default values like
    0 and 1
    In Record Selection check like..dbo.IsActive = {?parameter}
    If the above is not working for you, then create a formula
    like..
    If dbo.IsActive = '1' then
    "Active"
    Else "In Active"
    Place this formula on your report and create a static parameter with default values Active and In Active.
    In record selection filter the above.
    Thanks,
    Sastry

  • [Help plz]Can't set a boolean attribute to true or false

    Hello,
    I'm new in NWDS development. I need to develop a download functionality
    I used a FileDownload UIElement for that and I created a node context (ExcelExport) with 3 attributes :
    - ExcelFile
    - ExcelIcon
    - And ExcelEnabled (Boolean type)
    My problem is that everytime I try to set the attribute ExcelEnabled to true or false, it return me a java.lang.NullPointerException
    I'm binding this attribute with "Enabled" property of the UIElement.
    Have anyone got this error before? Thanks a lot for your help.
    Kind regards,
    Safae.

    Hello Safae,
    Have you tried to put true/false value for the enabled property? I mean without using a context attribute?
    Also try to create the attribute out of the node.
    Regards,
    ImaneA.

  • How to set render true or false in java class

    Use case:
    i have a page in which i have one inputListOfValues attributes and two LOV .initial the LOV render attribute value is false .it means it show only one attribute in run time .inputListOfValues is content two value .suppose if first value A then the first LOV have to show and is it value is B then Second LOV have to show .i bind my LOV to class .but i do not know how to set render attribute at java class.

    <af:inputListOfValues label="Branch Name"
    popupTitle="Search and Result Dialog"
    id="ilov1"
    model="#{pageFlowScope.organizationLOV.param['bindings.Organization'].listOfValuesModel}"
    converter="#{pageFlowScope.organizationLOV.param['bindings.Organization'].convert['latinDesc']}"
    valueChangeListener="#{viewScope.salaryBenefitsReportForm.branchChange}"
    binding="#{viewScope.salaryBenefitsReportForm.branchName}"
    rendered="true" visible="false"/>
    <af:inputListOfValues label="Department Name"
    popupTitle="Search and Result Dialog"
    id="ilov2"
    model="#{pageFlowScope.objectLOV.param['bindings.Department'].listOfValuesModel}"
    converter="#{pageFlowScope.objectLOV.param['bindings.Department'].convert['latinDesc']}"
    valueChangeListener="#{viewScope.salaryBenefitsReportForm.departmentChange}"
    binding="#{viewScope.salaryBenefitsReportForm.departmentName}"
    rendered="true" visible="false"/>
    this is code in jsff .
    and class code are following
    public void reportBy(ValueChangeEvent valueChangeEvent) {
    String value=(String)valueChangeEvent.getNewValue();
    System.out.println(value);
    if(value.equals("Branch")){
    branchName.setVisible(true);
    departmentName.setVisible(false);
    AdfFacesContext.getCurrentInstance().addPartialTarget(branchName);
    AdfFacesContext.getCurrentInstance().addPartialTarget(departmentName);
    if(value.equals("Department")){
    departmentName.setVisible(true);
    branchName.setVisible(false);
    AdfFacesContext.getCurrentInstance().addPartialTarget(departmentName);
    AdfFacesContext.getCurrentInstance().addPartialTarget(branchName);
    }

  • Extension.xml and cue cards - Webcenter on Snow Leopard

    Hi,
    I have installed JDeveloper 11.1.1.5.0 on my MacBook Pro (OSX 10.6.7).
    It installed smoothly after (1) I set up the environment.plist to establish JAVA_HOME
    (2) I set up and tested a symlink to rt.jar
    to match the "IBM" java structure
    expected by the install program (thank you google).
    The hello_world works fine, and webcenter seems to be working at first blush.
    I have two problems that I was hoping to get advice on:
    (1) The Extensions window shows me two issues with the webcenter extension.xml
    oracle.webcenter.app
    Warning: Classpath entry /Users/steve_coleman/Oracle/javahome/jdk/lib/tools.jar not found.
    Warning: Classpath entry /Users/steve_coleman/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.4.0.jar not found.
    I can quickly see that :
    "javahome" is present in the first entry (not sure why the path was mangled like this, but I can path it to the rt.jar easily)
    weblogic.server.modules_10.3.4.0.jar does not exist ( I have 10.3.5 )
    I can fix both entries by editing the extension.xml and substituting working path name. I is this the best way to do this or are these errors best corrected another way or is this a symptom of a greater problem in my setup?
    (2) from HelpCenter /Search / Build a Fusion Application / Part 1 .. I cannot "Launch the cue cards" and get the following exception:
    Performing action About[ from oracle.ide.log.MessagePage ]
    Invoking command: [ from oracle.ide.log.MessagePage ]
    Performing action Search[ from oracle.ideimpl.extension.MessagePresenter$ManifestExtensionLogPage ]
    Uncaught exception
    java.lang.NullPointerException
    ice.pilots.html4.AccessibleHyperPanel$ListInfo.getChildNodeCountByTagName(AccessibleHyperPanel.java:1323)
    ice.pilots.html4.AccessibleHyperPanel$ListInfo.setListInfo(AccessibleHyperPanel.java:1288)
    ice.pilots.html4.AccessibleHyperPanel$ListInfo.printChildren(AccessibleHyperPanel.java:1226)
    ice.pilots.html4.AccessibleHyperPanel$ListInfo.setAllListInfo(AccessibleHyperPanel.java:1200)
    ice.pilots.html4.AccessibleHyperPanel$ListInfo.setAllListInfo(AccessibleHyperPanel.java:1203)
    ice.pilots.html4.AccessibleHyperPanel._buildDocumentData(AccessibleHyperPanel.java:705)
    ice.pilots.html4.AccessibleHyperPanel.handleEvent(AccessibleHyperPanel.java:519)
    ice.pilots.html4.DNodeListeners.handleEvent(DNodeListeners.java:103)
    ice.pilots.html4.DDocument.processEventImpl(DDocument.java:561)
    ice.pilots.html4.DDocument.processEvent(DDocument.java:541)
    ice.pilots.html4.ThePilot.onLoadingDone(ThePilot.java:984)
    ice.storm.Viewport$4.run(Viewport.java:996)
    j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    j.a.EventQueue.dispatchEventImpl(EventQueue.java:678)
    j.a.EventQueue.access$000(EventQueue.java:86)
    j.a.EventQueue$1.run(EventQueue.java:639)
    j.a.EventQueue$1.run(EventQueue.java:637)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.a.EventQueue.dispatchEvent(EventQueue.java:648)
    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
    j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
    j.a.EventDispatchThread.run(EventDispatchThread.java:122)
    Thank you for looking at these two items.
    Steve Coleman

    You want to see this single volume on all machines without some type of SAN clustering software?

  • Is this TRUE or FALSE ?

    Hi all,
    Pls tell me whether this sentence is true or false.
    A transaction used by a BMT bean MUST have been started by the bean.
    In book this question is marked as false, but as far as I think it should be true.
    Pls update.
    Regards,
    Sanjeev

    As it's written I would say it's true as well.
    Bean-managed transactions are only allowed for session beans(stateful and stateless) and message-driven beans. Furthermore, if there is any client transaction context propagated on the call to the BMT bean, the container is required to suspend the client tx before calling the business method. So, BMT beans cannot inherit client transactions.
    For BMT stateless session beans and message-driven beans, there cannot be an active user transaction when the business method completes. If there is, the container is required to treat it as an error.
    The slightly more interesting case is for stateful session beans. For BMT SFSBs, it's o.k. for the transaction to still be active when the business method returns. In that case, the container suspends the tx and assoicates it with the SFSB. Whenever the SFSB is invoked again, the previously associated transaction is resumed before the business method is called. ( The same rule holds for client transactions. If there is one, it will be suspended and resumed when the business method completes. ) However, even if the container resumes a previously suspended transaction before invoking the SFSB, it can only be a transaction that was started by that bean.
    --ken

  • Can we save a True or False state in Labview?

    I'm using Labview 4.01 and I'm trying to control my testing process. In
    this case, I have 3 gas cylinders and every one of them can be turned on
    or off through the digital out lines. After one tank is empty, I can
    turn it off and turn on another one. My question is, how we can save
    this status either it's true or false so next time, we can open the
    other one instead of this empty one. After this one is turned off, I can
    show its state with an indicator, but the program can not read an
    indicator, so we still can not check the state of this tank. Any one
    have a solution for this problem?
    Thanks in advance,
    Guangde Wang

    Guangde Wang wrote:
    >
    > I'm using Labview 4.01 and I'm trying to control my testing process. In
    > this case, I have 3 gas cylinders and every one of them can be turned on
    > or off through the digital out lines. After one tank is empty, I can
    > turn it off and turn on another one. My question is, how we can save
    > this status either it's true or false so next time, we can open the
    > other one instead of this empty one. After this one is turned off, I can
    > show its state with an indicator, but the program can not read an
    > indicator, so we still can not check the state of this tank. Any one
    > have a solution for this problem?
    >
    > Thanks in advance,
    >
    > Guangde Wang
    Your version is too old. So I believe that saving data in any kind of
    configuration file will
    do the job (like .ini or .conf).
    It also depends on if you are closing application between your vi runs.
    If you don't remove the vi from memory, you have a chance to use global
    or functional global to store your state.
    In latest versions you can do it another way.
    Sergey Krasnishov
    Automated Control Systems
    National Instruments Alliance Member
    Moscow, Russia
    [email protected]
    http://acs.levsha.ru

  • DisAppointed news  Sun Solaris  forum ????????? True or False

    hello Friends ,
    I read some disappointed news on this forum
    that sun would not continue support for intel edition
    i donot know it is true of false
    Any tell me what is exact matter on
    following email :- [email protected]
    or reply this letter

    Cross-posted
    Sun Solaris 5.10 - SSH 1.1.3-Not able to connect to server with ssh -Urgent
    @O.P.
    Don't do that.
    In the future, pick the most appropriate forum and make your post.
    Cross-posting is considered to be the same as rude spamming.
    I'm not aware of any forum web-site-of-value that would encourage cross-posting in its etiquette guidelines.
    ... and as far as "Urgent" goes?
    This web site is for the end-user community to gather and discuss various topics in general conversations. Your self-imposed time pressures are irrelevant. If you need actual technical support for something, then log a support case and pay for a speedy answer.
    See the FAQ link at the top of the page.

  • Item Event - BeforeAction - true or false?

    Hi,
    Is there a basic rule for BeforeAction?
    I know you can play with BeforeAction for personal use; but it is there a basic rule like:
    et_CLICK: then it is BeforeAction == false
    I like to know for following event:
    et_CLICK
    et_COMBO_SELECT
    et_MATRIX_LINK_PRESSED
    et_MATRIX_LOAD
    et_CHOOSE_FROM_LIST
    et_MENU_CLICK
    Is there a Pattern for BeforeAction for ALL Item Events?
    Thank you,
    Rune

    Hi Rune,
    there's no real rule, because the events are different.
    but usual it is before/after displaying or before/after mouseup
    EventType | beforeaction = true | beforeaction = false
    et_CLICK | before you release the mouse button/Button is pressed | after you release the mousebutton
    et_ITEM_PRESSED | before you release the mouse button | after you release the mousebutton
    et_COMBO_SELECT | Selection has not changed | Selection has changed
    et_MATRIX_LINK_PRESSED | before you release the mouse button/Button is pressed | after you release
    et_MATRIX_LOAD | matrix is empty | matrix is loaded
    et_MENU_CLICK | Button is pressed/before release on menu item (without submenus)  | after release
    et_CHOOSE_FROM_LIST | before the Choose From List form is displayed | displayed
    any other questions ?
    greetings to montreal
    David

  • Is that True or False ?

    I recieved a message from e-mail told me that the nokia can Detect Radar on the road
    Nokia Speed Trap Detector
    The settings for radar speed traps detector.
    Your Nokia cell phone can be programmed to pick
    up radar speed traps, when programmed your cell
    phone picks up the radar and alerts you on the
    message alert tone. ( Doesn't work with Nokia
    7110! )
    1. Enter your menu
    2. Select settings
    3. Select security settings
    4. Select closed user group
    5. Select on
    6. Enter 00000
    7. Press ok
    8. Clear back to normal, within a few seconds
    your phone will display a radar sign with five
    zero's next to it. It is now activated.
    Unfortunately only Nokia phones have this
    function. Cell info display needs to be de-
    activated. Settings -> Phone Settings -> Cell
    Info display
    Each time you turn off your phone, or even each
    time you loose contact with your carrier, you'll
    have to activate it again... It is done by steps
    1 through 5, but the number (00000) will be
    already on the field as default.
    Is that True or False ?

    It is false.closed user group is an operator based service by which your phone can be made to make phone calls only to those numbers in that group id.it is service provides dependant.contact your operator.

Maybe you are looking for

  • Error  while export data from a xml file to an relational table

    Hi, I am Creating an ODI Project: Developing an ODI XML to Database Transformation Using Interface with ODI Constraint following this link http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/odi_project_xml-to-table/odi_project_

  • Performance issue related to EP 6.0 SP2 Patch 5

    We have implemented SAP EP6.0 SP2 Patch5.We have also configured IIS 6.0 to access our portal from internet. When we access the portal from the internet,it is very slow.Sometime,pages are taking 5-10 minutes to load. I am using the cacheing technique

  • Installing USB Serial Driver on Windows XP

    Have a new XP based pc. No serial port for my old PalmPilot (circa 1997) to dock to though. No worries I thought. Bought a USB-Serial connector and downloaded the USB-Serial Adaptor software from the Pilot website. Only problem is, the hardware doesn

  • Scheduling and e-mailing to multiple recepients

    Hi, Currently i am scheduling a job and mailing the list to an external mail address. Now i have to do the same but the mail has to go to 3 mail addresses........ Can i do this and if so please hlp........ Regards, Will.

  • Unwanted trovi & bing on mac. How to remove?

    Hi, I had downloaded some youtube downloader apps and suddenly Trovi was my homepage on chrome, safari,... and bing is my search engine. I know how to remove them from my browser and set google back to my default search engine, but I read they are ma