Examples of using flashbuilder/flex tags

can anybody recommend some resources for examples on using some of the flashbuilder/flex tags.
as a cold fusion web developer, there are tons of resources with snippets or simple examples on using most the cold fusion tags and functions.
liveedocs.adobe.com is a great reference guide but sometimes I need examples and snippets ; reference material is not very useful for learning.
is there or will there be something similar with flex/flashbuilder?

I assume you're asking specifically about Flex4 examples? There are tons of resources (Adobe and non-Adobe) for pre-Flex 4 coding, so I won't go into those. For some examples and info on Flex 4, you might check out the Adobe devnet site - we're recently posted some articles talking about various aspects of Flex 4, with sprinklings of code and demos to help illustrate the points:
http://www.adobe.com/devnet/flex/
Also, there were a few talks at a Flashcamp event a couple of weeks ago - it might be worth checking out the videos that were posted:
http://labs.adobe.com/technologies/flash/videos/#flashcamp
(more about the event and links to some of the slides here: http://www.flashcamp.org/)
You can also follow some of the blogs out there that are talking about Flex 4. A few of us on the SDK team have blogs, but there are also non-Adobe bloggers out there talking about it and posting code and examples.
Hope that helps.
Chet.

Similar Messages

  • Examples for using the Flex-Ajax-Bridge

    All samples that ship with BlazeDS use pure Flex on the
    client-side; what I would like to
    have are samples that show the Flex-Ajax-Bridge in action;
    using BlazeDS/LCDS as the data
    exchange engine; and then use this engine's capabilities to
    do Ajax stuff on the
    client-side; I have found one example where Ajax delivered
    data is pumped into Flex using
    the Flex-Ajax-Bridge; but not the other way round ...
    Another question: Can I use the Flex-Ajax-Bridge shipped with
    BlazeDS with the standalone
    LCDS and the CF8 integrated LCDS, too ? Or are there
    different versions of the
    Flex-Ajax-Bridge available ?

    - get an instance of weblogic.management.MBeanHome for the WLS server from
    JNDI, using weblogic.management.MBeanHome.JNDI_NAME+"."+"yourServerName"
    - get MBeanServer from MBeanHome
    To register your mbeans...
    - invoke registerMBean() on MBeanServer as in javax.management.MBeanServer
    - Note that the objectname which is passed to registerMBean() should be an
    instance of weblogic.management.WebLogicObjectName
    To get values from weblogic mbeans.....
    - use various getters in weblogic.management.MBeanHome
    pls see relevant javadocs for details
    Michael Guillory <[email protected]> wrote in message
    news:3a5e155b$[email protected]..
    I would like to revisit Peter's question from 1/2/2001. I need to be ableto
    access the
    Mbeans from the Administration Server, please let me know where I can find
    some
    information.
    Thank you
    Mike

  • Can you use a flex application as part of a whole web page?

    Hello all,
    Have a quick question. I am coming over from a flash developing background, and I commonly used smaller flash files as 'part' of a entire web page.  For example, a small flash video player section with a combo box to select the video to play; this swf file would be sized at about 600px wide by 400px high. Then I would just put that in a div tag and add it to my web page.  I am trying to do this with flex, but I am running into issues. It seems that the actual published swf wants to run at 100% of the browser window size. I tried adjusting these dimensions; first trying within flex in the <application> height and width props, but that didnt do the trick; then tried to just use the published .swf file in the web page, and set its <object> properties to my required height and width, which 'almost' works but still falls apart when the video player's full screen button is pressed.
    So, is it possible to use a flex 'app' as part of a web page, or was flex intended to run on its own and 'not' as part of a web page? Thanks in advance!

    You definitely can. I typically drop the Flash/Flex app into a "mainContent" div within my larger page structure, so my page would look something like this:
    <html>
    <style type="text/css">
         #mainContent {height: 600px; width: 900px;}
    </style>
    <body>
    <div id="topNav">BLAH</div>
    <div id="sideNav">BLAH</div>
    <div id="mainContent">
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
                id="MyFlashApp" width="100%" height="768"
                codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
                <param name="movie" value="MyFlashApp.swf" />
                <param name="quality" value="high" />
                <param name="bgcolor" value="#FFFFFF" />
                <param name="allowScriptAccess" value="sameDomain" />
                <embed src="MyFlashApp.swf" quality="high" bgcolor="#FFFFFF
                    width="100%" height="100%" name="MyFlashApp" align="middle"
                    play="true"
                    loop="false"
                    quality="high"
                    allowScriptAccess="sameDomain"
                    type="application/x-shockwave-flash"
                    pluginspage="http://www.adobe.com/go/getflashplayer">
                </embed>
        </object>
    </div><!-- close mainContent -->
    </body>
    </html>
    Note that I'm only using the HTML approach, but the Javascript should work just as well. With the flash set to width=100% and height=100%, it will fill the enclosing div, but that's it. So, if you wanted to make this expand vertically but not horizontally, just set your CSS style to height: 100% and leave width a px or em value. Note that the enclosing divs (i.e. if you had a wrapper div around the navs and mainContent) would also have to expand/contract.
    I don't know about the effects of going full screen, though.

  • Flashbuilder/flex with ecommerce

    as a fairly new convert to flashbuilder/flex, I am curious if there is a component that works well with products in an ecommerce site.  For example, I have the ability to navigate through an ecommerce web site with categories, sub categories, and products.  First, I would like to find a component for the products, then add navigation for paging through the products.
    Is something like this build into Flashbuilder or would you have to build a custom component.  If you know of components available for purchase, I would be interested in this.
    I want to learn Flashbuilder but my resources are limited.  I don't mind spending money on components if they will help me achieve my objective in building something useful.

    thank you very much for your feedback
    Yes, I would like to learn how to build a full fledged ecommerce, shopping cart application in Flex.  Unfortunately, I don't have the skills, knowledge, experience, or resources to do it.
    I would like to start with a few products in a database, add databinding (using Cold Fusion) to get the records, then incorporate navigation (first, previous, next, last) with only those products.  I have a basic grasp of databinding after going through a few tutorials using databinding with Cold Fusion.
    There's so much cool stuff in Flex, such as displaying detail level data but that will come later.
    To summarize what I am trying to do is learn how to build a full fledged shopping cart in Flashbuilder/Flex.  I am not the type of person who builds custom components.  Plus, I don't have the tools right now to build a custom component.  I learn best with simple examples and snippets, then incorporate the simple examples into projects.
    I welcome all advise.  Remember when you were first learning Flex.  That may have been a couple of years ago.  Today, you now have the tools and skills to build something sophisticated.  But, if you had to start all over again, what advice would you give?

  • [svn] 4128: Fix for - Examples imported by the @ includeExample tag are truncated after the first or second XML comment

    Revision: 4128
    Author: [email protected]
    Date: 2008-11-17 12:53:34 -0800 (Mon, 17 Nov 2008)
    Log Message:
    Fix for - Examples imported by the @includeExample tag are truncated after the first or second XML comment
    examples-path option is now public and adding period at the end of Constructor.
    QE Notes: baselines need to be updated.
    Doc Notes: None
    Bugs: SDK-18125, SDK-18077, SDK-18126
    tests: checkintests
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18125
    http://bugs.adobe.com/jira/browse/SDK-18077
    http://bugs.adobe.com/jira/browse/SDK-18126
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va
    flex/sdk/trunk/modules/compiler/src/java/flex2/configuration_en.properties
    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/ASDocConfiguration.java

    I have the same problem except almost every song I bought from Itunes has this problem. Not only that, but somehow some of the music, about $125 worth has been deleted form my 3 back up discs. This is only happening with my purchases and not any songs I uploaded from cd. How on earth did this happen, and how did it wipe clean 3 different back ups? I have found some of the music where it belongs, but like I said some of them are gone, gone, gone. I run three different back ups and they are on 24/7. Where is all of this music? I still have it on my ipod, but it will not load back into itunes the way purchases used to. Some of the music is purchased straight to my ipod touch, but shouldn't i be able to reload them into itunes? I spent 3 hours going 1 song at a time reloading them from their original location. But I cannot locate about $125 worth of music that I purchased from itunes. I have 6 macs in my family and preach the good news to all who will listen about hows macs are flawless. Now I have egg all over my face and have thrown away a nice sum of money on missing music. Please help!

  • How to use the Wire-Tag in Cairngorm 3 Observer Library?

    Dear Observer-Lib coders,
    Maybe I am posting my issue into the wrong forum, see this thread:
    http://forums.adobe.com/thread/756046
    I'd like to know how to use the Wire-Tag mentioned in the Observer-Lib docu, see:
    http://sourceforge.net/adobe/cairngorm/wiki/HowToUseCairngormObserver/
    Please let me know if there is anybody who knows how to use
    this Wire-tag. A small code example would be great, too!
    Thank you,
    masu

    Ok ... I solved it!
    see this thread: http://forums.adobe.com/thread/756046

  • How to use logic:present tag in struts el tag

    Hi
    I am trying to use struts el tags in the jsp page.I am struggling with the following exception: Cannot find bean: "result" in any scope.I couldn't understand why this error is coming even i had the property "result" in my ActionForm.
    ActionForm:
    package com.finocus.cam.struts.bean;
    import java.util.List;
    import javax.servlet.http.HttpServletRequest;
    import org.apache.struts.action.ActionError;
    import org.apache.struts.action.ActionErrors;
    import org.apache.struts.action.ActionMapping;
    import com.finocus.cam.common.ValidateFormat;
    public class DetailsForm extends org.apache.struts.action.ActionForm {
         private final static String LOG_TAG = DetailsForm.class.getName() + ".";
         private static final long serialVersionUID = 1L;
         // VARIABLES DECLARATION
         private String name = null;
         private String searchField = null;
         private String searchCriteria = null;
         private String phonenumber = "";
         private String email = "";
         private List results = null;
         private String adminUserName = "";
         private String adminUserEmail = "";
         public DetailsForm() {
         // GETTER AND SETTER METHODS
         public String getName() {
              return name;
         public void setName(String name) {
              this.name = name;
         public String getSearchCriteria() {
              return searchCriteria;
         public void setSearchCriteria(String searchCriteria) {
              this.searchCriteria = searchCriteria;
         public String getSearchField() {
              return searchField;
         public void setSearchField(String searchField) {
              this.searchField = searchField;
         public String getEmail() {
              return email;
         public void setEmail(String email) {
              this.email = email;
         public List getResults() {
              return results;
         public void setResults(List results) {
              this.results = results;
         public String getPhonenumber() {
              return phonenumber;
         public void setPhonenumber(String phonenumber) {
              this.phonenumber = phonenumber;
         public String getAdminUserEmail() {
              return adminUserEmail;
         public void setAdminUserEmail(String adminUserEmail) {
              this.adminUserEmail = adminUserEmail;
         public String getAdminUserName() {
              return adminUserName;
         public void setAdminUserName(String adminUserName) {
              this.adminUserName = adminUserName;
         // DUMPING THE VALUES IN THE CONSOLE
         public void dumpValues() {
              StringBuffer sb = new StringBuffer();
              sb.append("Name'");
              sb.append(name);
              sb.append("SearchField");
              sb.append(searchField);
              sb.append("searchCriteria");
              sb.append(searchCriteria);
              sb.append("'");
              sb.append(" ");
              System.out.println(sb.toString());
         // RESET() METHOD IS USED FOR STORE FORM'S CURRENT VARIABLES DECLARATION
         public void reset(ActionMapping actionMapping, HttpServletRequest request) {
              System.out.println("reset() method is called");
              this.email = null;
              this.searchCriteria = null;
              this.searchField = null;
              this.results = null;
         // VALIDATE() METHOD IS USED TO VALIDATE THE FORM DATA
         public ActionErrors validate(ActionMapping actionMapping,
                   HttpServletRequest request) {
              ActionErrors errors = new ActionErrors();
              System.out.println("Validate()is called");
              // Determine if name has been entered.
              if (getName() == null || getName().length() == 0
                        || getName().equals(" ")) {
                   errors.add("accountText", new ActionError("searchText.error"));
              } else if ((getSearchField().equals("name") == true)
                        && (ValidateFormat.isValidText(getName()) == false)) {
                   errors.add("validAccountName", new ActionError("validName.error"));
              if (getSearchField() == null || getSearchField().length() == 0) {
                   errors.add("accountSearchField", new ActionError(
                             "searchField.error"));
              } else if ((getSearchField().equals("email") == true)
                        && (ValidateFormat.isValidEmail(getName()) == false)) {
                   errors
                             .add("validAccountEmail", new ActionError(
                                       "validEmail.error"));
              } else if ((getSearchField().equals("phonenumber") == true)
                        && (ValidateFormat.isValidPhoneNoFormat(getName()) == false)) {
                   errors.add("validPhoneFormat", new ActionError(
                             "validPhoneFormat.error"));
              if ((getSearchField().equals("searchallfields"))
                        && ((ValidateFormat.isValidText(getName()) == false)
                                  && (ValidateFormat.isValidEmail(getName()) == false) && (ValidateFormat
                                  .isValidPhoneNoFormat(getName()) == false))) {
                   errors.add("validNameEmail",
                             new ActionError("validNameEmail.error"));
              return errors;
    Action class:
    package com.finocus.cam.struts.action;
    import java.util.ArrayList;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    import com.finocus.cam.db.CAMDbAccess;
    import com.finocus.cam.struts.bean.DetailsForm;
    public class DetailsAction extends org.apache.struts.action.Action implements
              com.finocus.cam.common.CAMConstants {
         private final static String LOG_TAG = DetailsAction.class.getName() + ".";
         // Global Forwards
         public static final String GLOBAL_FORWARD_search = "login";
         // Local Forwards
         public static final String SUCCESS_search = "success";
         private boolean dumpRequestParams = true;
         public DetailsAction() {
         public ActionForward execute(ActionMapping mapping, ActionForm form,
                   HttpServletRequest request, HttpServletResponse response)
                   throws Exception {
              System.out.println("SearchAccount execute() is called");
              HttpSession session = request.getSession(true);
              ArrayList results = null;
              DetailsForm search = (DetailsForm) form;
              String name = search.getName();
              String searchField = search.getSearchField();
              String searchCriteria = search.getSearchCriteria();
              // Dumping the values of input patameters
              if (dumpRequestParams == true) {
                   request.setAttribute("SearchCriteria", searchCriteria);
                   request.setAttribute("SearchField", searchField);
                   request.setAttribute("Text", name);
                   search.dumpValues();
              // Perform search based on what criteria and search Field was entered.
              CAMDbAccess dbAccess = CAMDbAccess.getInstance();
              if (null != searchCriteria && searchField != null) {
                   System.out.println("Search Criteria =" + searchCriteria
                             + "Selected Option =" + searchField);
                   if (searchCriteria.equals(Search_Account) && searchField != null) {
                        results = dbAccess.searchByAccountInfo(name, searchCriteria,
                                  searchField);
                        System.out.println(" Search criteria :Exact Match was selected.<BR>");
              // Place search results in SearchForm for access by JSP.
              search.setResults(results);
              // Forward control to this Action's input page.
              return mapping.findForward(SUCCESS_search);
    My jsp page:
    <%@ taglib uri="/WEB-INF/tld/struts-bean" prefix="bean" %>
    <%@ taglib prefix="logic" uri="http://struts.apache.org/tags-logic-el" %>
    <%@ taglib uri="/WEB-INF/tld/struts-html" prefix="html" %>
    <html:html>
    <head>
    <title>Search Page</title>
    </head>
    <body colorants="LightGreen">
         <table width="100%" bgcolor="LightGreen">
              <tr>
                   <td align="left"><font color="brown"><h3><b>Search Info</b></h3></font><hr></td>
              </tr>
                   <tr>
              <td align="left"><h4><font color="brown"><b>Search Text:</b></font><%=request.getAttribute("Text")%></h4></td>
                   </tr><tr>
              <td align="left"><h4><font color="brown"><b>Search Field:</b></font><%=request.getAttribute("SearchField")%></h4></td>
              </tr><tr>
                   <td align="left"><h4><font color="brown"><b>Search Criteria:</b></font><%=request.getAttribute("SearchCriteria")%></h4></td>
                   </tr><tr>
                   <html:form action="/results.do">
                        <td><center><html:submit value="AllSearchOptions " /></center></td>
                        </html:form>
                   </tr>
              <tr>
                   <td align="left"><font color="brown"><hr><h2><b>Search Results</b></h2></font></td>
              </tr>
              <tr>
              <td>
              <table border="1" cellspacing="1" cellpadding="3" width="70%"
                   bgcolor="white">
                   <logic:present name="searchbyaccount" property="results">
                   Results exists
                        <c:if test="${size==0 }">
                   <center><font color="red"><b>No Results Found</b></font></center>
                   </c:if>
                   <br>
                        <c:if test="${size>0}">
                        Size is greater than ZERO
                             <table border="1" cellspacing="1" cellpadding="3" width="70%"
                                  bgcolor="white">
                                  <tr>
                                      <th>Customerid</th>
                                       <th>First Name</th>
                                       <th>Last Name</th>
                                       <th>Email</th>
                                       <th>phone Number</th>
                                       <th>Details</th>
                                  </tr>
                                       <c:forEach var="result" items="${results}">
                                        <c:out value="${result}"/>
                                       <tr>
                                            <td><bean:write name="result" property="customerid"></bean:write></td>
                                            <td><bean:write name="result"
                                                 property="accountAdminFirstName"></bean:write></td>
                                            <td><bean:write name="result"
                                                 property="accountAdminLastName" /></td>
                                            <td><bean:write name="result" property="accountability" /></td>
                                            <td><bean:write name="result" property="accountAdminPhone" /></td>
                                            <td><html:form action="/accountDetails.do">
                                                      <html:submit value="Details" />
                                            </html:form></td>
                                       </tr>
                                  </c:forEach>
                             </table>
                        </c:if>
              </logic:present>
              </table>
              </td>
              </tr>
         </table>
    </body>
    </html:html> Please refer me where i done a mistake.Thanks in Advance

    hi all,
    I am doing programs in sturts. My program
    My program purpose is to retrieve data from the
    database.My database is MySql. I know that we can
    write connection code in Action Class, it is ok for
    some less prog's if i want to use the sane connection
    code in more Action Classes it is vasting time and
    so.I don't think it's a good idea to put database code in Action classes. (That's one of the biggest drawbacks of Struts - it's completely tied to Actions, HTTP, and the Web.) Better to move that code into plain old Java objects and let the Actions call them.
    You'll be able to test them without the container or Struts, and you'll be able to reuse those objects in other, non-Web contexts.
    So i want to use <data-sources> tag that is available
    in struts-config.xml. I know that thre is tag withThis is the wrong place to configure a connection pool, too. Struts should have nothing to do with it. What if you change Web frameworks to WebWork or Spring? The connection pool should be configured in the container that hosts your app, not Struts.
    this name, but the problem is i don't know how to use
    this tag. If any budy know how to use this please
    tell me the syntax or any example.
    plese... reply soon..Don't do it. Think about doing it in your container, not Struts.
    %

  • WORKING example of BlazeDS with Flex 3 and FlexBuilder

    Can someone point me to an actual working example with BlazeDS used with Flex 3 and Eclipse?
    The examples on livedocs are broken or imcomplete. Others work to varying degrees but fail at some point.
    What I'd like to see is the following:
    1. How to create a project using
         a. Flex 3.0
         b. BlazeDS
         c. Eclipse - FULL project creation and deployment instructions.
         d. An example where the project is NOT created within the BlazeDS webapp that comes with the BlazeDS/Tomcat combo.
         e. An example where the ENTIRE project can be compiled and deployed to Tomcat in one shot.
         f.  An example where a DB can he altered using standard CRUD methods with the display displaying updated records without and event being used to
             refresh the view of the records.
    This shouldn't be too much to ask if Flex is to be expected to be taken seriously in data-driven applications. I've looked all over the web for weeks for something likethis and have come up with nothing. I don't need Spring or Hibernate at this point. Any help would be greatly appreciated as I'm working on a proof-of-concept at this time and the pressure is mounting to come up with something.
    Thanks!

    here is some stuff I wrote while back(they both have recorded video you can watch);
    http://ledtechdesign.com/2009/02/blazeds-tutorial-part-i-simple-remoting/
    http://ledtechdesign.com/2009/02/tutorial-blazeds-simple-remoting-part-ii-flex/

  • Should I use the FLOAT tag here?

    Hello again-  Should I be using the FLOAT tag in cases where I have several vertically stacked DIVs that have the WIDTH set at 100%? Or am I just being silly in thinking I should?  Thanks in advance-

    No.
    float is something you use when you need text to flow around something. And if you're trying to do a column or an aside, you'd definitely not want it to float, unless it sits inside a larger <div> or element with text.
    Here's an example:
    .container {
              width: 960px;
              margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
              background-image: url("../images/bkg.png");
              -webkit-box-shadow: 0 0 20px #111;
              box-shadow: 0 0 20px #111;
              padding: 1px;
    .sidebar1 {
              float: left;
              width: 180px;
              padding-bottom: 10px;
              color: #fff;
    .content {
              padding: 10px 0;
              width: 780px;
              float: left;
    Here, you have a container and a sidebar and main content area. Both are floated left, in that they start at the left hand side of the container.
    -Mark

  • How to use data-sources tag in struts-config.xml

    hi all,
    I am doing programs in sturts. My program purpose is to retrieve data from the database.My database is MySql. I know that we can write connection code in Action Class, it is ok for some less prog's if i want to use the sane connection code in more Action Classes it is vasting time and so.
    So i want to use <data-sources> tag that is available in struts-config.xml. I know that thre is tag with this name, but the problem is i don't know how to use this tag. If any budy know how to use this please tell me the syntax or any example.
    plese... reply soon..

    hi all,
    I am doing programs in sturts. My program
    My program purpose is to retrieve data from the
    database.My database is MySql. I know that we can
    write connection code in Action Class, it is ok for
    some less prog's if i want to use the sane connection
    code in more Action Classes it is vasting time and
    so.I don't think it's a good idea to put database code in Action classes. (That's one of the biggest drawbacks of Struts - it's completely tied to Actions, HTTP, and the Web.) Better to move that code into plain old Java objects and let the Actions call them.
    You'll be able to test them without the container or Struts, and you'll be able to reuse those objects in other, non-Web contexts.
    So i want to use <data-sources> tag that is available
    in struts-config.xml. I know that thre is tag withThis is the wrong place to configure a connection pool, too. Struts should have nothing to do with it. What if you change Web frameworks to WebWork or Spring? The connection pool should be configured in the container that hosts your app, not Struts.
    this name, but the problem is i don't know how to use
    this tag. If any budy know how to use this please
    tell me the syntax or any example.
    plese... reply soon..Don't do it. Think about doing it in your container, not Struts.
    %

  • h1 The Use Of Header Tags

    I'm becoming more aware of the importance of using header tags to help the visually impaired navigate your site.  Obviously the main header should be wrapped in an <h1> tag, however after that does it flow from <h1> all the way to <h6>, and what if you have more than six paragraphs to we return to using <h1> and go through them all again.  
    Or do we stick with <h2> all the way down the page.
    Do understand better I will provide the link to were I wish to use this, the line I want to header is Boxing Schedule, all the way down the page.  Here is the link.  http://www.theboxinghistorian.com/schedule.html

    The proper use of heading tags <h1> - <h6> depends on your content.  I never use more than one <h1> tag per page, reserved for the page title, and often only use up to h2 and h3 because my pages are mostly limited to one topic.
    An example might look like this:
    <h1>Website Design Basics </h1>
    <p>Here is some text</p>
    <h2>HTML</h2>
    <p>Here is some text</p>
    <h2>CSS</h2>
    <p>Here is some text</p>
         <h3>CSS Hacks</h3>
         <p>Here is some text</p>
    <h2>Javascript<h2>
    <p>Here is some text</p>
    Another semantic markup example might look like this:
    <h1>North America</h1>
    <h2>United States</h2>
    <h3>California</h3>
    <h4>Orange County</h4>
    <h5>Anaheim</h5>
    <h6>Disneyland, the happiest place on Earth</h6>
    Use as many tags as needed, but don't overcrowd your pages with them.  I like to think of heading tags as an outline to my page.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Urgent Pls - Using BC4J Intermedia tags

    Hi,
    I am using BC4J Intermedia tag EmbedImage to display images stored in Databases. When I try to display I get only a blank picture equivalent to the size of the image and not the image itself. The type of the image is JPG. The Image datatype in the database is ORDSYS.ORDIMAGE.
    Is it to do something with the project settings? I am using Oracle 9.0.3 version of JDeveloper.
    Any help is appreciated.
    Thanks
    Priya

    Right, that's because the oracle.ord.html.URLBuilder class builds the URL for the images by using the current JSP directory level.
    For example: if your JSP page that uses <jbo:EmbedImage> is located under http://hostname.com/contextRoot/mydir/. Then the generated URL for the image will be http://hostname.com/contextRoot/mydir/ordDeliverMedia?....
    But in web.xml, the <url-pattern> element defines the url pattern value, which by default is "/ordDeliverMedia". So the media delivery servlet only handles the requests like these: http://hostname.com/contextRoot/ordDeliverMedia?...
    So, in order to make your sample work, you need to modify the web.xml in your project. There are two alternatives:
    1. Change the <url-pattern> element to this:
    <url-pattern>/kerfisumsjon/ordDeliverMedia</url-pattern>
    This will correctly handle the JSPs located under kerfisumsjon.
    Or
    2. Change the <url-pattern> element to this:
    <url-pattern>*ordDeliverMedia</url-pattern>
    This will handle any requests for ordDeliverMedia regardless of their directory location.
    Hope this solves your problem.
    Richard

  • How to use HTML 'pre' tag in ADF pages

    Hi,
    I am using adf 11.1.1.6.0 and trying to print some formatted text from log files. It can contain either xml / log file with new lines / tabs.
    When I use hte UIX / Regular jsp, I am able to use the <pre> tag and retain the output format form end user.
    When I am migrated the same application to ADF, I am not able to get the desired output format.
    Here are my trials:
    <af:outputYext> with escape="true" : Entire output is displayed in a single paragraph. All new line/formatting has gone.
    <af:outputYext> with escape="false" : Page itself is not painting as the logout put has some special characters.
    <af:richTextEditor> readonly = true : Taking out all xml tags with in the output log
    I tried with f:verbatim as shown
    <f:verbatim><pre> </f:verbatim>
    #{dojStep.displayStepOutput}
    <f:verbatim></pre></f:verbatim>
    In this case, I get the following error: "End tag does not match start tag 'pre'."
    Can you please suggest the alternative to use the html pre tag in ADF world to print the el expression data as it is.
    Thanks,
    -Jaya.

    Hi,
    have a outputText.. with escape="false"
    and in #{dojStep.displayStepOutput} have it like this
      public String displayStepOutput(){
    StringBuilder sb = new StringBuilder();
    sb.append("<pre>");
    sb.append("your text");
    sb.append("</pre>");
    return sb.toString();
    }example-
    <af:outputText value="#{dojStep.displayStepOutput}"/>

  • Using the CellRepeater Tag

    Hi
    Is it possible to specify a table header using the cellRepeater Tag ? i am bale
    to get my table rendered dynamically using a cellRepeater tag but am not able
    to get the table header.
    The doc does not specify any attribute for table header . Wonder why it was omitted
    as this is such a cool tag .
    Any inputs to the above would be great
    Thanks
    Kar

    Eddie
    The whole reason for me using the cellrepetaer tag is that we have a requirement
    to dynamically create a table and its columns depending on the total number of
    result objects returned from domain . I was able to get the table dynamically
    created with the dynamically provided number of columns but was not able to incorporate
    table headers for the same . For example if we have 3 columns then we need 3 headers
    , if 2 cols then we need 2 headers etc.
    The way i got around it it have a separate cellrepeater tag and its purpose is
    just to render the column headers depending on the number columns available .
    Is there any struts equivalent to cellrepeater tag ? I wish there were :) but
    hey i still love this tag as it made my job a lot easier .
    Thanks
    Kar
    Eddie O'Neil <[email protected]> wrote:
    Kar--
    This isn't something that the cellrepeater supports in 8.1. It was
    really intended to just
    render cells without the top row set aside as the table header.
    You might be able to accomplish something similar using the repeater
    and occasionally rendering a
    </tr><tr> to close the current row, but I haven't tried this case myself.
    How would you want the table header on the cellrepeater to work?
    Eddie
    kar piyush wrote:
    Hi
    Is it possible to specify a table header using the cellRepeater Tag? i am bale
    to get my table rendered dynamically using a cellRepeater tag but amnot able
    to get the table header.
    The doc does not specify any attribute for table header . Wonder whyit was omitted
    as this is such a cool tag .
    Any inputs to the above would be great
    Thanks
    Kar

  • Using a tomahawk tag library.

    The problem of displaying rows as columns in h:dataTable has been solved using the t:dataList tag.
    I need a way to be able to rearrange components (dynamically) and display. I need some examples using the tomahawk tags. help will be appreciated.

    take a look at this this

Maybe you are looking for

  • Cookie Problem  With JSP and Tomcat

    I have a tiny web application developed for my project thing. I am facing a problem while maintaining sessions with Cookie. I use Tomcat 3.2.1 Web Server and JSP 1.2 Specifications for my web application. I have created a page which creates a cookie

  • Sign pdf document - no allowe new signature id

    hi together, i do have a workflow planned where several people should sign task cards on a pdf document (using acrobat reader version 9) i would like to have the signatures for the people who will be allowed to sign the document to be created my own.

  • Bad mistake = BIG prob w/ gray !

    Hello everyone- I am new here, & desperately need some help. I've read several threads concerning the dreaded gray exclamation points, but no other problem seems to be the same as mine... I have an overloaded HD (do have an external, but it has quit

  • FM Derivation form cost center to fund center

    Hi, I have defined in FM DERIVE cost center = fund center. In pm order cost center is derived from the work center. But the fund center is not coming there, which is defined in FMDERIVE for this cost center . Please help to resolve the issue. Thanks

  • Database Transaction In SAP

    Hi, Does SAP support database transations, what I am doing is getting the values from one Zdatabase table , and taking a value which holds the total, adding one to this , and placing the record in a differnt ztable, and then incrementing the 'total'