Using Flex items of JHeadstart

Hi,
Greetings to all.
I have a requirement of having flex fields on an adf application we already have. So is there any way that we can customize Jheadstart to use only the flex items? i.e I would like to use JHeadstart only to define to flex region so i can control manually what goes into the screen and other things happening in View controller ?
Thanks,
Sam

Sam,
Well, not a trivial task but it can be done.
You could create a dummy application and generate the flex regions there, and then move over the generated flex-region-related artefacts to your existing ADF application.
Steven Davelaar,
Jheadstart Team.

Similar Messages

  • Defining complex validations for flex items

    Hi,
    We've defined a flex regions and a number of flex items. We would like to define more complex validation logic at the entity object level, whereby we'd like to reference both 'fixed' entity attribute values as well as values of the flex items.
    Could you please indicate how this can be achieved in the validateEntity method of the EntityImpl.java class.
    We know beforehand which flex items will be displayed based on the value of one of the fixed entity attributes (e.g. if the attribute request_type='assist' then display flex items A and B, if request_type='info' then display flex items D, E and F). We use flex items because the number of request_types and corresponding 'dynamic' attributes is too large (and subject to frequent additions, deletions or modifications) to incorporate in a fixed static db table structure.
    If you can suggest alternatives to using JHeadstart flex items, these are more than welcome, of course.
    Many thanks beforehand,
    Ibrahim

    Dear Steven,
    First of all many many thanks for your prompt reply. We can use JSF EL expressions to conditionally render flex items. I'd like to illustrate my question with a simple example:
    We have three fixed entity attributes displayed:
    RequestType
    Birthday
    Sex
    and two flex items (rendered at runtime for a specific runtime value of RequestType):
    Smoker (Y/N)
    Weight
    Before saving the record I'd like to check a number of validation business rules that depend on the fixed entity attributes as well as the two flex items being displayed.
    Consequently, I'd need to be able to access the flex item values provided by the user, inside my validateEntity method (right ?).
    I can define simple validations for the flex items, but I can only access the flex item value and possibly the DependsOnItemValue.
    PS: When I define a flex item of type 'inputtext' and try to access its value using a bind variable in the validation query of the flex item e.g.
    :ItemValue = 'blabla'
    Suppose the user fills in the value Abracadabra, the validation logic substitutes as follows:
    Abracadabra = 'blabla' (which generates an Oracle error). I'd expect the following substitution to take place:
    'Abracadabra' = 'blabla'

  • How to display JHeadstart flex item default values

    Dear All,
    I have defined a number of FlexRegions and FlexItems and I'd like to display the default values (specified by a SQL query in the Flex Item Def Editor) next to the input text field using the JSF EL expression #{row.defaultValue}.
    This works fine as long as the user has not provided a new value for the flex item. Once (s)he has done this, the default value gets cleared. I've been able to programmatically obtain the default value by invoking the method executeDynamicQuery("somename", row.getDefaultValueQuery()) on the FlexItemDefsOuterJoinedWithFlexItemsRowImpl instance, but
    I'd like to be able to always display the original default value in the .jspx page.
    Any suggestions would be greatly appreciated.
    I'm using JDeveloper 10.1.3.3. and JHeadstart 10.1.3.2.52.
    Regards,
    Ibrahim

    Hi Steven,
    Thanks for your reply. You're absolutely right of course. We wanted to provide functionality to submit 'request for change' requests, whereby we would display the current value of a given attribute (e.g. salary) next to the new value provided by the user.
    We wanted to 'misuse' the default value query aspect of flex items for this purpose. The flex item default value query would be used to retrieve the current value each time the request for change record is displayed.
    We managed to achieve this via a trick, so please consider this post as solved.
    Once again many thanks for a marvelous product.
    Regards,
    Ibrahim

  • Wizard Style layout and flex items

    Dear JHeadstart team,
    We have several pages where the "Wizard Style Layout" is checked and where a flex item region is defined.
    However, the generator generates the flex item region correctly, but the page definition misses the flexitems methodAction and invokeAction.
    Standard pages work correctly with the flex item regions.
    Current fix:
    1. Switch off "Clear page definition before generation"
    2. Manually add entries in the page definition.
    Am I correct?
    Remco Moolenaar
    Connexys

    Hi Remco,
    We also use wizard-style layout with flex item regions successfully. In our JHeadstart application definition, we have defined one Item Region in the Regions region container for each page. Within each Item Region,
    we have included one item with display type = flexRegion.
    For each Item Region, one page is generated and all methodAction and invokeAction tags are included in the page definition file.
    Could you please provide more details on your application definition structure?
    Regards,
    Ibrahim

  • Flex with webdynpro for java using Flex Island

    Hi Friends,
    I am on Netweaver/SAP Enterprise Portal 7.0 SPstack12, I am developing UI for BI reports using VC, I am interested in developing UI using flex and want to integrate those apps with EP, I came to know flux Island supports flux with webdynpro java,  basically I am a webdynpro for java developer, I want to develop flux applications with webdynpro for java in NWDS. And i want to know how to use Flex Island with webdynpro for java. So could u please post some useful links.
    Thank in advance
    Regards
    samba

    Hi
    If you want to try out using ADOBE Flash Islands with WDJ, you would need to download SAP CE 7.1 EhP1 trial version, if not done so already.
    The following link may help you in building the WDJ component with Flash Islands..
    The specified item was not found.
    If you donot want to develop the Flex project you can download the .swf file provided by the SAP mentors:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10989ef6-968c-2b10-50a9-eb34a5267163
    Thanks.
    Chitrali

  • Using Flex/PHP to Display MYSQL data and Images

    Does anyone have any good examples of using Flex 3 in conjunction with PHP to display data and images from a mysql database? I've searched a lot and it seems hard to find this combination. I have manged to create a login system using this which allows users to login via usernames and passwords that are stored in my mysql database (Grizzz helped me out a lot with this).
    But I now want to create a product selection in the site with the categories down the left hand side and the products related to these categories displayed in the other panel once each of these products are clicked. The guy I'm making it for wants to be able to add and delete categories as well as add and delete products so obviously it needs to be done using php and mysql. I'm looking for something similar to the way the online shop is laid out in the following example:-
    https://www.whitestonecheese.co.nz/Radshop/bin/Whitestone.html
    Thanks for any suggestions.

    To solve this problem I had to use labelFunction.  The working line was this:
    <mx:DataGridColumn headerText="Description" labelFunction="dataGrid_labelFunc"  dataField="messageDetail"/>
    The function looks like this:
    private function dataGrid_labelFunc(item:XML, col:DataGridColumn):String {
         var qN:QName = new QName(vm, col.dataField);
         return item[qN].text();

  • How to create tshirt design tool using flex

    hi all,
    i want to create a tshirt design tool using flex,user can customize using this tool to create his tshirts and designs,
    how to get the layouts and requiremnts in flex?
    if any useful suggesion please share guys,
    cheers,
    B.venkatesan.

    Shanila,
    I cannot open the document reference you provided. However, in my view, a workflow design document is no difefrent than any other technical design documen (TDD)t. It may have few different sections to enumerate the process and actual steps.
    I have always used a standard TDD, per my client templates, and then added the sections needed to list the workflow specific items.
    Prasanna Adavi,PMP,MCTS,MCITP,MCT TWitter: @prasannaadavi Blog: http://www.prasannaadavi.com

  • Using Flex 2 for dynamic creation of a Flex 2 application at runtime

    We're looking to replace our existing end-user development
    environment and believe Flex 2 may be able to satisfy our
    requirements. However, without spending a month trialing the
    product I thought some existing user(s) could suggest (based on
    personal experience) whether we'd be straining Flex 2 in expecting
    it to be able to provide dynamic runtine generation and execution
    of an application based on the meta-data associated with each
    component. The generation of each component includes automatic form
    and code generation, with end-user tailoring facilities to maintain
    the meta-data (tabs, fields (visibility, location, business rules,
    actions, validation etc.), display format, drill-down, work-flow
    etc.), for use in the next instantiation of each conponent.

    I know of at least one of our customers (not sure if I can
    say which) is doing this. They use Flex to compose MXML files and
    then send that to a server. The server than compiles that into a
    SWF.
    So it is possible, just a lot of work.

  • Problem in creating client side PDF with image using flex and AlivePD

    I need a favor I am creating client side PDF with image using flex and AlivePDF for a web based application. Images have been generated on that pdf but it is creating problem for large size images as half of the image disappeared from that pdf.I am taking the image inside a canvas . How do i control my images so that they come fit on that pdf file for any image size that i take.
    Thanks in advance
    Atishay

    I am having a similar and more serious problem. It takes a
    long time to execute, but even attaching a small image balloons the
    pdf to 6MB plus. After a few images it gets up to 20MB. These are
    100k jpeg files being attached. The resulting PDF is too large to
    email or process effectively. Does anyone know how to reduce
    size/processing?

  • Silent print a PDF from a web page using Flex. We are targeting Windows and Mac with Arcobat reader installed

    We are planning to Silent print a PDF from a web page using Flex. We are targeting Windows and Mac with Arcobat reader installed. I have tried using the AIR appliaction and it worked, But our requirement is NO INSTALL to the user machine for the silent printing. It is just from web page and silent printing to the default printer to the desktop/Laptop. Can anyone share your thoughts and experience with us. It will be very helpful..
    For AIR : I tried the thread Re: AIR and PDF showing/silent printing

    Hey CodeMonkey & Ross,
    Did you either of you ever find a solution? I'm stuck too, it seems I can get remote printing on all these PDFs to work but it just prints a blank page since I've been using Javascript in the browser, not Adobe's (they are Engineering drawings that I do not have permission to edit so I can't just insert code into them but I need to make work instructions). I've been scouring the internet for hours now, it seems that this thread is the only relevant/useful one at this point. No one else was trying to achieve this for similar reasons to mine.
    Thanks guys,
    Lox

  • How to find Mobile device OS name and version using Flex?

    is there anyway to get device information like OS name and version using flex 4.5.1 or 4.6 SDK. i am developing a project in Flex which needs to identify the end user mobile platform like Android, iOS.. and its version like Android means 2.1,2.2,etc..
    Anyone can help me on this?

    I don't know that there is a proprietary driver. In fact, I'm sure there isn't because I never installed one. I figured there was some code file somewhere that dealt with keyboards. Yes, I have dealt with the developer, they say to tell Apple there is a problem. I have been putting it off and waiting to update since 10.6.3, so the problem is getting a little old. Do I even know there is a problem? I'm not sure what this means. I do know that when I update my operating system past 10.6.2 my keyboard no longer works, and I have to use a stock Apple keyboard to run a time machine reinstall. Why else would I be going through this?

  • To load a pdf file in popup window using flex

    Hi All,
    Can anyone send me the code for loading pdf file in a popup
    window using flex.
    Regards,
    Dharma

    try this action script
    var pdfUrl:URLRequest = new URLRequest("assets/file.pdf");
    navigateToURL(pdfUrl,"_blank");

  • Please help me, I need to use Flex with CF

    Hi everyone,
    I am starting to retract my brain from an intense 2 days to
    figure out how to use Flex with Coldfusion. I am using Coldfusion 8
    Beta (this part is good, don't need help for CF itself). I am also
    using Flex Builder 2 (with chart but this not the topic). I
    installed FDS 2.5 before to install ColdFusion 8 but I think CF8
    have is own FDS or something like that... anyway, it might help to
    mention it!
    Well, I tried HTTPService, RemoteObject, WebSer vice -
    NOTHING WORKS!!! Argh! Did I mention I spent 2 days? ;-)))
    Well, I start with the basic: a login form with an email (as
    a username) and a password to be validated. I have a CFC to do the
    validation and return a simple message (string): "OK' when it is
    valid and a custom message when it is not valid; depending if it is
    the password and/or the email which is not valid.
    I always got an error. Since the error is different depending
    of the method I use, I will explain the latest method I used in
    this message and try to concentrate on that method specifically!
    The method is WebService and here is the error:
    faultCode:Server.Error.Request
    faultString:'HTTP request error'
    faultDetail: 'Error: [IOErrorEvent type="ioError"
    bubbles:false cancelable=false eventPhase=2
    text="Error #2032: Stream Error .
    URL=http://localhost:8501/iDashboard/login.cfc"].
    URL: http://localhost:8501/iDashboard/login.cfc'
    Any help will be very useful!!!
    Thank's

    Cyber,
    This may be what you are looking for. It worked well for me.
    Flex is sweet, but with the number of people confused about setup
    with CF they sure aren't making any friends.
    Flex/ColdFusion
    setup

  • Using flex for air 2.0

    Hi,
    I don't know if anybody will be able to help. I use a company to create software for me. They have been using Flex to create a menu system that runs in the Air application. The software was running fine when using Air 1.5. However, since the update to 2.0 there are now issues with the software.
    Are the coding practices of the company I am using wrong? Should they be designing with Air 2.0 in mind?
    Obviously i understand that this isn't an issue with Adobe. But I am concerned that this company will not tell me the whole truth and if this would be better solved using legal advice?
    I appreciate any help you can give.
    Thanks!

    Hi,
    Sorry your running into problems with Voddler.  There aren't any known issues with AIR on Danish XP systems.  Have you tried contacting Voddler to see what they have to say?
    Chris

  • Feedback on impementing second horizontal axis using Flex 2.0.1

    I am attempting to use the concept of a second horizontal
    axis using Flex 2.0. It is not clear to me if it is supported by
    the Flex 2.0.1 sdk although livedocs does provide an example using
    secondVerticalAxis. A snippet of my code is attached with this
    message. At runtime, the second series does not display. Any
    feedback about usage of the component would be greatly appreciated.
    Thanks.

    >>That data base is fine for a development environment.
    Thanks edbrendel.
    So, since I am able to run Apache 2.2 as I want to, would I
    be better of to use MySQL 5 or MS SQL Express if I want it to be
    largely development, but also for my own stuff (my galleries etc.)
    actually running pages served to the web?
    I know of the technotes, a couple of them (incl. the MySQL
    note on installing V. 5 as a datasource and all that), but never
    saw that one...so thanks very much. I've manually added the Apache
    2.2 file line in httpd.conf and added the file in the config area,
    which always worked in the past with XP Pro and XP64...hope it does
    with 2003 I had 2003 server when I first started playing, it was a
    nightmare, I hope now that I've bought everything I can wrap my
    head around it!). I just make sure I don't try to configure CF
    until after manually adding the files, and changing the Apache
    config file and restarting. Then I go into the administrator for
    the first time.
    Shawn

Maybe you are looking for

  • Passing a float from one class to another?

    ok i have an app that i have started from scratch several times on. I have a xib file containing anywhere from 3 - 10 textfields. i want to be able to pass data input in those textFeilds to another xib to display in a label, but also i want to be abl

  • Drop and recreate table in stored procedure

    Hi all When creating tables using Transact-SQL scripts, I have always preferred to drop the table if it exists and then create it explicitly using CREATE TABLE.  For two reasons: 1) It does not matter if it is the first time the SP is run ie. if I cr

  • X11/xterm: can't launch from terminal in Tiger 10.4.11 PPC

    [Copied over from another part of this forum (wrong place)] I have set up my .profile PATH so that 'which' finds xterm via the terminal command line, but invoking 'xterm' gets the response: xterm Xt error: Can't open display: What do I need to config

  • How to disable GroupSpace once installed in 10.3.2

    We recently created a domain using the wizard. Now that our domain is up and running, we want to disable groupspace as we don't plan to use it and don't want to incur the overhead. When our server starts up, we get an error "The DataSource appsGroupS

  • Errors in Interfaces

    How errors in interface is handled ? different methods of doing it? how to go , if flat file given from legacy systems is too large? thanks Newbie