High Level Question - Why create a tag?

We have been using a component architecture for about three years that seems to be very similar to the JSP component architecture. We have UI components (such as a listbox, entryfield, table, tree, etc) and an associated renderer. In our JSPs we directly call the renderer though to render the component (the component delegates to it's renderer).
<%= pagebean.getEntryfield().render() %>
I still can't see the great benefit of hiding that in a tag, especially considering our developers and page designers are the same people, and they are very good at Java. I wanted to simplify the developer APIs as much as possible (avoiding XML, etc). That's why we've stuck with the above API versus using tags, not to mention debugging Java is much easier. I am really excited about JSF, hoping we can move to a standard API versus our propriatary one. What do you all think?
Dave

We have been using a component architecture for about
three years that seems to be very similar to the JSP
component architecture. We have UI components (such
as a listbox, entryfield, table, tree, etc) and an
associated renderer. In our JSPs we directly call the
renderer though to render the component (the component
delegates to it's renderer).
<%= pagebean.getEntryfield().render() %>
I still can't see the great benefit of hiding that in
a tag, especially considering our developers and page
designers are the same people, and they are very good
at Java. I wanted to simplify the developer APIs as
much as possible (avoiding XML, etc). That's why
we've stuck with the above API versus using tags, not
to mention debugging Java is much easier. I am really
excited about JSF, hoping we can move to a standard
API versus our propriatary one. What do you all
think?
DaveInteresting question ... and I hope the answer is equally illuminating.
JavaServer Faces has many aims, but an important aim relevant to this question is broadening the attractiveness of the Java platform to page authors and others who are not Java developers, and would find the syntax of your scriptlet to be totally opaque and not understandable. Further, what you haven't shown is how you configure the characteristics of your component (probably <jsp:set-property> or scriptlet expressions or something?).
One of the mechanisms to improve this attractiveness will be to have high quality tools support for JavaServer Faces components -- not just the standard ones, but anyone's third party library. Picture the user who wants to use, say, a Calendar component, and your page author is using a GUI. What the user wants to be able to do is drag a Calendar off a template, drop it into their page, pop open a properties window, and configure all the detailed settings -- never seeing a line of code. The tag class (and the associated metadata in faces-config.xml) are what makes it possible for the tool to know what properties go in the property sheet.
In your environment, where the page author is also a Java developer, you still get a little benefit (configuring components through tag attributes is still more concise than <jsp:setProperty> or scriptlets). But there are many many many more page authors in the world who don't know Java, and don't want to know Java. JavaServer Faces is after those folks too.
Craig McClanahan
PS: JavaServer Faces components can also be accessed at the Java API level, so you can use scriptlets to do so in your pages if you really want to.

Similar Messages

  • Very High-Level Question on Approach (PI ccBPM or CE7.1?)

    All -
    I have a very high-level question. I am not current on what would be the appropriate tool for my scenario.
    My scenario...
    Transitioning business to use new sales order system.
    This will be a phased roll-out, not Big Bang.
    Company ordering website needs to send orders to one of two systems (new and old).
    Assume order has a flag or some other value that is an indicator to which backend application it should be sent.
    Each recieving application has an order insert web service, which would be in PI 7.1's ESR.
    What we "envision" is that there would be some kind of fronting web/enterpise service that would read the "flag", then pass the message to the appropriate web service (and on to the appropriate application).
    But I really am not clear how to architect this, if any rules "engines" (ccBPM or in CE 7.1) would be  or should be used.
    You opinions are welcome...
    Thank you for your time...

    Hi Eric,
    It would be more elegant , if you can classify this orders logically and provide two user interfaces one for each type.
    But coming back to your question , if you are planning to implement the process in BPM , you could utilize the capabilities of BRM for this purpose . BRM comes with CE 7.1 and works in conjunction with BPM.
    [BRM Help|https://www.sdn.sap.com/irj/sdn/nw-rules-management]
    Once you want a complete roll out , you can remove the BRM  decision making.Logically this would solve the purpose. ccBPM is not really positioned for this approach. It can be used when you need to interact with multiple systems using different protocols.
    Caveat : The use of BPM will restrict your UI to WebDynpro Java (atleast for now). The whole process needs to be built around webservices or RFCs.
    Regards
    Bharathwaj

  • ME9F generates authorisation High level risks, why?

    Hi All!
    Please, advise why transaction ME9F - Message Output: Purchase Orders generates High level risks with such transactions as
    MK01     Create vendor (Purchasing)
    MK02     Change vendor (Purchasing)
    XK02     Change vendor (centrally)
    MIGO     Goods movement
    ME54     Release Purchase Requisition
    MI04     Enter Inventory Count with Document
    ME28     Release Purchase Order
    etc. As I understand this transsaction is used for view and printing of output. Why such risks as "Enter Purch Agreements & create/modify fictious Vendor " or "Ability to create a purchase contract and release PO" come up?
    In what conditions such risks can be reasonable?
    Thank you

    Looking through really old posts of mine I saw that I had given this question a brain-dead answer years ago. I seriously doubt the poster is still looking for a solution (I certainly hope not) :) Almost assuredly the problem is because of a mismatch in data types. TRUNC(s1.date1,'DD') won't produce a number but rather a date truncated to midnight. TO_CHAR(TRUNC(s1.date1,'DD'), 'DD') will produce a number. It's difficult to tell from the code what the poster is trying to do, so I can't tell if that's the answer.
    P.S. I wasn't actually trying to bring this post to the top of the thread -- I was just editing what was clearly an incorrect answer.
    Edited by: matthew_morris on May 9, 2012 8:31 AM

  • High Level Thread Implementation Questions

    Hi,
    Before I take the plunge and program my software using threads, I have a few high-level questions.
    I plan on having a simulation class that intantiates software agents, each with different parameters. There is an agent class, with constructor, methods etc. Each agent has a sequence to go through. Once completed, the iteration number is increased and the sequence is repeated. That's simple enough to do.
    The question is, is it worth executing each agent on a different thread?
    If there is around 500 - 1000 lines of code (crude measurement, I know) how many can I expect to thread efficiently?
    One parameter allows an agent to execute n cycles for each global iteration. (i.e. in one iteration, agent A runs once, agent B runs 5 times). Could this be a problem? Should this be controlled outside the agent, or inside it?
    Can I write the code without having to worry about threading, or do I have to design the agent code with threading in mind?
    Will they really run in parallel? It is important that there is no bias to the execution order. I can solve this messily without using threads by randomising the execution order - but that is a messy work around - and why I'm looking at threads.
    Can threaded objects interact easily with non threaded one when execution order is important?
    Are there any other points that I should consider?
    Thanks in advance - any information before I enter this unchartered territory will be truly appreciated!!

    I think you are better off running this all in a single thread.
    Threads make no guarantee as to scheduling. Threads do not increase efficiency (unless your agents block on i/o, or sleep). Threads come with an overhead cost.
    Threads don't guarantee no bias to execution order.
    Threads require synchronization to ensure safe interaction between each other. This is a bit of extra work, and can be a bitch if you're not familiar with it.
    Yes, threads run in parallel. If you have multiple processors then they can truly run in parallel, otherwise they run in time slices.

  • Basic  XML Publisher Question: How to access tags in the higher levels?

    Hi All,
    We have a basic question in XML Publisher.
    We have a xml hierarchy like below:
    <CD_CATALOG>
    <CATALOG>
    <CAT_NAME> CATALOG 1</CAT_NAME>
    <CD>
    <TITLE>TITLE1 </TITLE>
    <ARTIST>ARTIST1 </ARTIST>
    </CD>
    <CD>
    <TITLE> TITLE2</TITLE>
    <ARTIST>ARTIST2 </ARTIST>
    </CD>
    </CATALOG>
    <CATALOG>
    <CAT_NAME> CATALOG 2</CAT_NAME>
    <CD>
    <TITLE>TITLE3 </TITLE>
    <ARTIST>ARTIST3 </ARTIST>
    </CD>
    <CD>
    <TITLE> TITLE4</TITLE>
    <ARTIST>ARTIST4 </ARTIST>
    </CD>
    </CATALOG>
    </CD_CATALOG>
    We need to create a report like below:
    CATALOG_NAME     CD_TITLE     CD_ARTISTCATALOG 1     TITLE1     ARTIST1
    CATALOG 1     TITLE2     ARTIST2
    CATALOG 2     TITLE3     ARTIST3
    CATALOG 2     TITLE4     ARTIST4
    So we have to loop at the level of <CD> using for-each CD. But when we are inside this loop, we cannot access the value of CAT_NAME which is at a higher level.
    How can we solve this?
    Right now, we are using the work-around of set_variable and get_Variable. We are setting the value of CAT_NAME inside an outer loop, and using it inside the inner loop using get_variable.
    Is this the proper way to do this or are there better ways to do this? We are running into troubles when the data is inside tables.

    you can use
    <?../CAT_NAME?>copy past to your template
    <?for-each:CD?> <?../CAT_NAME?> <?TITLE?> <?ARTIST?> <?end for-each?>

  • Why does OWB 9.2 generate UK's on higher levels of a dimension?

    When you specify levels in a dimension, OWB 9.2 generates unique key constraints in the table properties for every level, but only the UK on the lowest level is visible in the configuration properties. Why then are these higher level UK's generated? Is this a half baked attempt to implement the possiblility to generate a snow flake model in OWB?
    Jaap.

    Piotr, Roald and others,
    This is indeed a topic we spend a lot of our time on these past months. We are addressing this as (in my old days I had the same problem as a consultant) we know that this is a common problem.
    So the solution is one that goes in 2 directions:
    - Snowflake support
    - Advanced dimension data loading
    Snowflake is obvious, may not be desired for various reasons but we will start supporting this and loading data for it in mapping.
    If you want a star table, you will know that a completely flattened table with day at the lowest level will not be able to get you a unique entry for month. So what people tend to do is one of the following:
    - Proclaim the first of the month the Month entry point (this stays closest to the star table and simply relies on semantics on both ETL and query side).
    - Create extra day level entries which simbolize the month, so you have a day level with extra entries
    - Create views, extra tables etc to cover the extra data
    - Create a data set within the tables that solves the key problem
    We have opted for the last one. What you need to do for this is a set of records that uniquely identify any record in any level. Then you add a key which links to the dimension at the same point (a dimension key), so all facts always use this surrogate key to link (makes life in query tools easier).
    For a time dimension you will have a set of day records with their months etc in them (the regular star). Then you add a set of records with NULL in the day having months and up. And you go up the hierarchy. For this we will have the ETL logic (in other words you as a designer do not worry about this!). On the query tool you must be a little cautious on counts but this is doable and minor.
    As you can see none of the solutions are completely transparent, but we believe this is one that solves a lot of problems and gives you the best of all worlds. We will also support the same data structure in the OLAP dimensions for the database as well in the relational dimension. NOTE that there are some disclaimers with this as we are doing software here...
    In principal however we will solve your problem.
    Hope this explains some of our plans in this area.
    Jean-Pierre

  • High level description of why an Enterprise Admin account is required for DirSync config

    Hi all,
    I understand that as part of the Azure AD Sync tool config wizard you are required to enter the credentials of an Enterprise Admin account.  These credentials are required for the creation of the MSOL_AD_Sync service account within the Users OU of Active
    Directory.  This account is granted read and synchronization permissions to the local Active Directory.
    Is someone able to provide a high-level description of what this actually means i.e exactly which permissions are granted and on which objects.  Are we talking about having to modify the permissions of every single object within Active Directory?
    Many thanks in advance,
    Graham

    Hi,
    To start with, I guess you would know that this is a Kind of a Temporary.
    I have some details from previous conversations and blogs
    Hope this puts some light on your query.
    When configuring the Microsoft Online Services Directory Synchronization Tool, you are asked to provide the credentials for an account that has
    Enterprise Admin permissions on your organization's local Active Directory directory service. It accepts credentials in either of the following forms:
    [email protected]
    Example\someone
    These Enterprise Administrator credentials are not saved. They are erased from the computer's memory after the service account is created.
    How the Active Directory Credentials Are Used
    The Microsoft Online Services Directory Synchronization Tool Configuration Wizard uses the Enterprise Admin credentials to create the directory
    synchronization service account, MSOL_AD_Sync. This service account is created as a domain account with directory replication permissions on your local Active Directory and with a randomly generated complex password that never expires.
    Note:
    Changing the password associated with the service account is not recommended.
    How the Service Account Is Used
    When the directory synchronization service runs, it uses the service account credentials to read from your local Active Directory and write to the
    synchronization database. The contents of the synchronization database are written to Microsoft Online Services using the Microsoft Online Services credentials requested on the
    Microsoft Online Services Credentialspage of the Microsoft Online Services Directory
    Synchronization Tool Configuration Wizard.
    Note:
    If you add a domain to your Active Directory forest, you must run the Microsoft Online Services Directory Synchronization Tool Configuration Wizard
    again to add the new domain to the list of domains to be synchronized.
    Thanks & Regards
    John Chris

  • High-Level JTS/TopLink design question

    I've gone through the "using JTS with TopLink" docs, and it mostly makes sense. However, I still don't understand how TopLink "knows" when I call acquireUnitOfWork() whether or not I'm participating in a distributed 2PC transaction.
    Said another way:
    Let's say I've got an application based on TopLink (registering appropriate JTS stuff) that exposes an API that can be accessed remotely (RMI, SOAP, whatever).
    And, I've got another, separate application using a different persistence-layer technology (also supporting JTS) that also has an API.
    Now, I create a business method that uses the APIs from both of these applications, and I want them to participate in a single, distributed transaction.
    At a high level (source code is unnecessary), how does that work?
    Would the API need to support an ability to specifiy a TransactionContext or is this all handled behind the scenes by the 2 systems registering with the Transaction Service?
    If this is all handled through registration, how do these 2 systems know that these specific calls are all part of the same XA transaction?

    Nate,
    TopLink particiaptes in JTA/JTS transactions but dows not control them. When you configure TopLink to use the JTA/JTS services of the host application server you are deferring TX control to the J2EE container. TopLink will in this case register each acquired UnitOfWork in the current active TX from the container. The container will also ensure that the JDBC connection provided to TopLink is also bound by the active TX.
    In order to get 2PC you must register multiple resources into the same JTA TX. The TX processing during commit will then make the appropriate call backs to the underlying data source as well as the necessary call backs to listeners suchs as TopLink to have its SQL issued against the database.
    In short: The J2EE container manages the 2PC TX and TopLink is just a participant.
    Doug Clarke

  • High level contract and orders created with reference

    Dear All,
    The client is an integrated flat steel manufacturer. They have entered into quantity contract with high level products like for example Hot rolled coils + Cold rolled coils + Heat Treated plates 5000 T per month. There is no clear cut quantity breakup of each product. On monthly basis customer releases purchase orders with exact grade and dimensions. The requirement is to capture contact for 5000T and create orders with reference to the contract with necessary completion rule. Since exact break up of the high level products is not known controlling of order quantity to 5000T will involve lot of manual intervention. I was thinking in the contract we have high level material "X with 5000T and orders created with reference with actual materials like Hot rolled coils, Cold rolled coils and exact dimension/grade mentioned. Is this possible to have different materials in contract and order with enhancement?
    Any other idea of fulfilling the requirements is welcome.
    Thanks,

    Hi Ramesh,
    Go through  EKPO there is a Table BANFN it will update when you create a PO with reference to PR
    Do se11 > Table EKPO> CtrlShiftF10 > Assign any of PO no. in the EBELN > Execute > you will find BANFN table
    it indicates Purchase Requisition Number. it will update when you create PO with reference to PR.
    Regards,
    Vraj

  • Create Sales order Error 'Higher-level item is a product selection item'

    Hi, Experts, below is the detail for the case.
    1. We post Sales order from one client to another.
    2. The items of sales order contains Item A and B, and A is high-level item of B.
    3. It can post OK if itmes without reject reason, but it will show the error in subject when we set the reject reason for the items A and B.
    Any ideas? Thanks in advance.

    No replies?

  • Errors in the high-level relational engine. The data source view does not contain a definition for the table or view. The Source property may not have been set.

    Hi All,
    I have a cube in which i'm using the TIME DIM that i created in the warehouse. But now i wanted a new measure in the cube which is Average over time and when i wanted to created the new measure i got a message that no time dim was defined, so i created a
    new time dimension in the SSAS using wizard. But when i tried to process the new time dimension i'm getting the follwoing error message
    "Errors in the high-level relational engine. The data source view does not contain a definition for "SSASTIMEDIM" the table or view. The Source property may not have been set."
    Can anyone please tell me why i cannot create a new measure average over the time using my time dimension? Also what am i doing wrong with the SSASTIMEDIM, that i'm getting the error.
    Thanks

    Hi PMunshi,
    According to your description, you get the above error when processing the time dimension. Right?
    In this scenario, since you have updated the DSV, it should have no problem on the table existence. One possibility is that table has been specified for tracking in the notifications for proactive caching, but isn't available any more for some
    reason. Please change the setting in Proactive Caching into "MOLAP".
    Reference:
    How To Implement Proactive Caching in SQL Server Analysis Services SSAS
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
    TechNet Community Support

  • Where can I find various high level examples of workflows being used

    I am about to start a project with TCS 3.5 and have been participating in the Adobe webinars to help learn components and specific techniques but what I am lacking is an understanding of various workflows I can model my project after or take bits from various sources. Why start with Framemaker in this workflow versus RoboHelp or even Word? Questions like this I think come from experience with the process and I am thinking that what I am getting myself into is a chessgame with all these pieces and don't want to paint myself into a corner by traveling down one route. I have seen this graphic:
    And this one:
    And this one:
    But they are too generic and do not contain enough information to really understand the descision making process one must go through on various projects.
    Can we have a series of webinars made, all with the underlining theme of defining a working process or workflow, by having guests describe how they have or are using this suite in real life on their own projects? One that might include a graphic showing the routes taken through the suite with reasons why?
    My project hopes to make a single source internal site that will tie together various 3D portable industrial coordinate metrology systems (hardware and software). It would be used as a dispersal site for help, communications between users and SME, OEM information, QA requirements, established processes, scripting snipet downloads, statistics, and training (including SOJT). Portable industrial metrology has 8 different softwares that are used and right now about 8 different instruments. These include laser trackers and radars, articulated arms, scanners, structered white and blue light to name a few. The softwares include Spatial Analyzer, Veriserf, CompIT, eMscon, AXYZ to a few there as well. I want to be able to participate and add content to an internal Sharpoint site, push content to users for stand-alone workstations, ePub, capture knowledge leaving the company through attrition, develop easy graphic rich job aid sheets, and aid in evaluations of emergent software and hardware. I would also like to leave the option open to use the finished product as a rosetta stone like translator between the software packages; doing this is the equivelent of doing this in these other software pacages for example.

    PDF is definately a format I want to include, to collaborate with other divisions and SME for one reason, but also for the ease in including 3D interactive target models with in it and portability. I plan on being able to provide individual PDFs that are very specific in their topics and to also use them to disperse user guides, cheat sheets or job aids... something the user may want to laminate on their own and keep with them for reference, printed out. Discussion in these sheets would be drasticly reduced to only the elements, relying heavely on bullet points or steps, usfull graphs, charts and tables... and of course illustrative images. I am thinking that these should be downloadable buttons to print on each topic section, not in a general apendix or such. They would hopefully be limited to one page, double sided 8x10.
    The cheet sheet would have a simplistic flow chart of how or where this specific topic fits in the bigger picture,
    The basic steps,
    Illustrations, equipment, setup
    Software settings for various situations in a table or chart,
    Typical result graph to judge with,
    Applicable QA, FAA regulation settings or concerns,
    Troubleshooting table,
    Topic SME contact info
    On the back, a screen shot infographic of software process
    The trouble here is that I have read that FM has a problem sometimes in succesfully transfering highly structured or formatted material to RoboHelp. Does this then mean that I would take it from FM straight to PDF?
    Our OEM material is very high level stuff... basicly for engineers and not shop floor users... but that is not to say they don't have some good material that could be useful. Our internal content is spread out across many different divisions and continents, with various ways of saying the same thing. This leads QA to interpret the information differently depending where the systems are put to work. We also have FAA requirements that need to be addressed and reminded to the user.
    Our company is starting to also see an exodus of the most knowledagble of the users through retirement. Capturing the knowledge and soft skill packages they have developed working here for 20-30 years is something I am really struggling with. I have only come up with two ideas so far:
    Internal User Web based Forum
    Interviews (some SMEs do not want to make the effort in transfering knowledge by participating in anything if it requires an effort they don't see of benefit to themseleves), to get video, audio or transcription records

  • Assign a Position in CRM to an Organization Unit at a higher level.

    Hi,
    While configuring the Organizational Management in CRM 5.1, I have copied the sales areas created in ECC to CRM.
    The resulting structure is a freely definable Org Unit at the top level called Sales Area (as is was created in ECC) and under that all the Sales Organizations are existing.
    I need to create positions for the Sales Organizations and assign employees to these positions created.
    As per our client requirement, I need to create the positions at the higher level (probably the Org unit level) and assign the employees to these positions created.
    The reason for doing this is that the same employees work across different Sales Orgs.
    Is it possible to create the positions at the highest level so that they can be inherited by the Sales Orgs defined below or do i need to create the positions and the employees separately for each Sales Org.
    I would appreciate if you could answer at the earliest. I need to complete the configuration at the earliest.
    warm regards,
    Rohan Bhate

    Hello,
    Try this SAP CRM: Webclient UI - Framework for this kind of question.
    Regards,
    Fred

  • If a material reports to two higher level assemblies in the BOM /Is there a

    Hi, 
    If a material reports to two higher level assemblies in the BOM would creates two planned orders for it. Each of the orders has a different date?
    For example
    Z is final assembly
    In that Y is one assembly in that says X1material in level 2
    And the again same material X1 is reporting to Y in levels 5 so here my question is it would create two planned order with different dates?
    And
    Is there any report to see confirmed time to say machine time / labor time or shall we go for report.
    Thx....Srini

    Srini,
    CS15 can be usefull to check the usage of component in assemblies.
    if its used then more then once it can be easily located through this report.
    another concern what you expressed is not clear.
    But what i understand is same component is used at level 2 and level 4 of a BOM.
    assumption from the word levels is , X is used in  level 2 its used directly in BOM of Y and Y have some differnt component G which inturn again have X in it .
    so at both this levels if the dependent requirement is different, you can get 2 differnet orders use individual /collective indicvator for this material as individual .
    If your concern is for BOM position (Item Number) field in BOM then system will create a single plan order even if you set it for individual requirement in material master.here some work around can be possible by maintaining lead time offset IN BOM in item detail screen.
    check and come back
    Hope it helps you
    Regards
    Ritesh

  • Summing up the price of the sub items and put it in the Higher level item

    Dear Experts,
            I have got one requirement from my customer.
    The requirement is while creating the Sales order (in VA01), in the line item the customer will enter the Material, Quantity and Higher level item for the line item.In Condition Tab page price and Condition will be entered.
    My requirement is at the time of saving the sales order the price of the lower level items has to be summed up and this price has to be put in condition tab page of the higher level item.
    This is my requirement.Is it possible?if yes please explian me how to do this.
    If anybody not able to understand my question please reply back to me.
    Thanks & Regards,
    Ashok.

    Hi
    Here u need to find user exit that suits ur requirement like user exit that will trigger while saving that sale order and in that user exit u are able to access that tables where all the lower level item prices stored and condition table where price stored. Then u can do sum and update that sum into condition price table. So search for user exit that suits ur requirement.
    Regards,
    KP.

Maybe you are looking for

  • How To Insert Data into a Access Database from a PDF File

    Hi All, Could anyone help me to insert PDF form data to an MS Access database.I am new to this and I would appreciate if anyone can help me at the earliest. Thanks, Deepti

  • Setting Additional JMS Parameters ...

    Hi experts, We are using PI 7.1 and I've set up a communication Channel using JMS Adapter to send messages to a Sonic MQ queue. I need to send some values as JMS parameters, two of which are constants and two are values from the Sender message. I tri

  • The best practice when backing up your files

    Hi, I recently started using Carbon Copy Cloner after using only Time Machine as my back up solution.  I do understand the purpose of each application TM and a cloner utility such as Super Duper or CCC but I was wondering what the best process is whe

  • Lion Causes Stuttering Video, All Formats, All Browsers, On Current Generation MacBook Pro

    Since I installed Lion I've had a problem with video within my browzer almost freezing, i.e., advancing in the manner of a slide slow skipping every couple of seconds to display a video frame as opposed to smoothly playing video. It happens accross S

  • I've been a consumer of yours for a long time

    I'm not going to complain i just want an honest answer. And as a side note... it would be nice to be able to e-mail you guys instead of just posting on a forum and hoping someone reads this. Should I find some other audio card that won't pop crackle