Population of webflow tags

I am creating an edit page, and I have a checkbox that I am trying to make checked.
The method that I am using is the following:
<webflow:getProperty id="bord" property='borderpactMember' type='java.lang.String'
scope='session' namespace='login'/>
                                   <td><webflow:checkbox name="borderpact" value="1" <% if(bord.equals("Y"){
%> checked="true" <% } %> /></td>
The checkbox doesn't show up. Is there a problem with my code, or can you not
treat the id in the webflow:getProperty as a java variable?

If the values on the process form are correct then it is likely that the connector uses hard coded values.
There is an instruction for how to add extra fields to AD provisioning in the latest version of the AD connector. That might be one way to solve the problem.
You could also use a custom JNDI connector to just overwrite the values that the standard connector writes. Contact me if you want codes that demos how to do this.
Best regards
/Martin

Similar Messages

  • Outbound Proxy is triggered from CRM 4.0,  tag is missing in the payload

    Hi,
    A Outbound Proxy is triggered from CRM 4.0, one of the tag is missing in the payload. I had checked the SXMB_MONI in CRM and in XI as well both seems to miss that. I checked the BADI which triggers this PROXY the data is rightly populated to the PROXY method. Also, this problem is not occuring regularly but few times it misses the same tag. The occurrance defined in the datatype is 0 to 1. Can anyone help why this is happening..
    Many Thanks..

    This could rather be a logical error. May be the logic is not populating the XML tag on those occassions. I would suggest to debug in that direction.
    VJ

  • Webflow Web Application Configuration Problem

    I am trying to use BEA&#8217;s webflow tool to handle navigation within a series
    of JSP pages, input processors, and pipeline components. The JSP pages will capture
    user profile information beyond the normal User ID and Password (user interests,
    etc). This information will be stored in the database, and be used to customize
    the user experience.
    I am using the validated form tag, and the webflow tag libraries in the JSP in
    order to take advantage of some pre-built validation tools.
    My web application is named conahec, and my namespace is called test.wf.
    The JSP page comes up perfectly, but when I enter data on the page to test it,
    and hit the save button, I get the following error:
    <Mar 8, 2002 8:48:54 AM MST> <Error> <Webflow> <Error while parsing uri
    /conahec/application, path null, query string null - Webflow XML does not exist,
    is not loaded properly,or you do not have a configuration-error-page defined.
    Exception[com.bea.p13n.appflow.exception.ConfigurationException: The
    configuration-error-page node was not found in the webflow xml file. for webapp
    [null], namespace [portal]. While trying to display
    CONFIGURATION ERROR:
    [Exception[com.bea.p13n.appflow.exception.ConfigurationException: Bad
    Namespace - namespace [test] is not available for webflow execution. Make sure
    the[test.wf] file is deployed in webapp [null].]],]
    As you can see, it appears that the webapp is not defined. The only way the web
    app wouldn&#8217;t be defined (that I know of from reading previous posts to this
    group) is if the data synchronization was not successful.
    However, the DataSync page appears to show that the synchronization was successful.
    Here are the results I see on the DataSync page:
    - /webapps/conahec/test.wf
    Schema URI http://www.bea.com/servers/p13n/xsd/webflow/2.0
    Creation Date 2002-03-08 10:13:25.039
    Modification Date 2002-03-08 10:13:25.039
    Name test.wf
    Description E:\bea\ebcc4.0\applications\portal\application-sync\webapps\conahec\test.wf
    Author (omitted)
    Data
    <?xml version="1.0"?>
    <webflow-configuration xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    is-complete="true" xsi:schemaLocation="http://www.bea.com/servers/p13n/xsd/webflow/2.0
    webflow.xsd" xmlns:data="http://www.bea.com/servers/p13n/xsd/datalink/1.0" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance">
    <namespace xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">test</namespace>
    <begin-origin xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <destination xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0" node-type="jsp"
    namespace="test" node-name="customer_profile"></destination>
    </begin-origin>
    <configuration-error-page xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="portal_error"></configuration-error-page>
    <presentation-origin xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" node-name="customer_profile">
    <node-processor-info xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="customer_profile.jsp" page-relative-path="/portlets/testIntl"></node-processor-info>
    <event-list xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <event xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0" event-name="button.save">
    <destination xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="inputprocessor" namespace="test" node-name="CustomerRegIP"></destination>
    </event>
    </event-list>
    </presentation-origin>
    <presentation-origin xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" node-name="customer_success">
    <node-processor-info xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="customer_success.jsp" page-relative-path="/portlets/testIntl"></node-processor-info>
    </presentation-origin>
    <presentation-origin xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" node-name="error">
    <node-processor-info xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="error.jsp" page-relative-path="/framework/error"></node-processor-info>
    </presentation-origin>
    <processor-origin xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="inputprocessor" node-name="CustomerRegIP">
    <node-processor-info xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    class-name="com.bea.conahec.customer.CustomerRegIP"></node-processor-info>
    <event-list xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <event xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0" event-name="success">
    <destination xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="pipeline" namespace="test" node-name="customerRegPC"></destination>
    </event>
    </event-list>
    <exception-list xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <exception xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    exception-name="com.bea.p13n.appflow.webflow.forms.InvalidFormDataException">
    <destination xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" namespace="test" node-name="customer_profile"></destination>
    </exception>
    </exception-list>
    </processor-origin>
    <processor-origin xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="pipeline" node-name="customerRegPC">
    <node-processor-info xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    pipeline-name="customerRegPC" pipeline-namespace="customerreg"></node-processor-info>
    <event-list xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <event xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0" event-name="success">
    <destination xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" namespace="test" node-name="customer_success"></destination>
    </event>
    </event-list>
    <exception-list xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <exception xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    exception-name="com.bea.p13n.appflow.exception.PipelineException">
    <destination xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" namespace="test" node-name="error"></destination>
    </exception>
    </exception-list>
    </processor-origin>
    </webflow-configuration>
    I have tried to remove the data repository, and re-synchronize the data.
    Can you please help by pointing me in a direction to continue to research this
    problem?
    Thanks.

    Thank you, Daniel.
    Support got back to me 24 hours later, and gave me the patch I needed. Early
    testing shows that this patch has fixed this problem.
    Scott Peterson
    "Daniel Selman" <[email protected]> wrote:
    Scott,
    Please contact support. We have seen (and fixed) a CR related to the
    web
    application name not being retrieved correctly (null) in all cases:
    The
    configuration-error-page node was not found in the webflow xml file.for
    webapp
    [null], namespace [portal]Sincerely,
    Daniel Selman
    "Scott Peterson" <[email protected]> wrote in message
    news:[email protected]...
    I am trying to use BEA&#8217;s webflow tool to handle navigation withina
    series
    of JSP pages, input processors, and pipeline components. The JSP pageswill capture
    user profile information beyond the normal User ID and Password (userinterests,
    etc). This information will be stored in the database, and be usedto
    customize
    the user experience.
    I am using the validated form tag, and the webflow tag libraries inthe
    JSP in
    order to take advantage of some pre-built validation tools.
    My web application is named conahec, and my namespace is called test.wf.
    The JSP page comes up perfectly, but when I enter data on the pageto test
    it,
    and hit the save button, I get the following error:
    <Mar 8, 2002 8:48:54 AM MST> <Error> <Webflow> <Error while parsinguri
    /conahec/application, path null, query string null - Webflow XML doesnot
    exist,
    is not loaded properly,or you do not have a configuration-error-pagedefined.
    Exception[com.bea.p13n.appflow.exception.ConfigurationException: The
    configuration-error-page node was not found in the webflow xml file.
    for>webapp>> [null, namespace [portal]. While trying to display
    CONFIGURATION ERROR:
    [Exception[com.bea.p13n.appflow.exception.ConfigurationException: Bad
    Namespace - namespace [test] is not available for webflow execution.Make
    sure
    the[test.wf] file is deployed in webapp [null].]],]
    As you can see, it appears that the webapp is not defined. The onlyway
    the web
    app wouldn&#8217;t be defined (that I know of from reading previousposts
    to this
    group) is if the data synchronization was not successful.
    However, the DataSync page appears to show that the synchronizationwas
    successful.
    Here are the results I see on the DataSync page:
    - /webapps/conahec/test.wf
    Schema URI http://www.bea.com/servers/p13n/xsd/webflow/2.0
    Creation Date 2002-03-08 10:13:25.039
    Modification Date 2002-03-08 10:13:25.039
    Name test.wf
    DescriptionE:\bea\ebcc4.0\applications\portal\application-sync\webapps\conahec\test.wf
    Author (omitted)
    Data
    <?xml version="1.0"?>
    <webflow-configuration
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    is-complete="true"
    xsi:schemaLocation="http://www.bea.com/servers/p13n/xsd/webflow/2.0
    webflow.xsd" xmlns:data="http://www.bea.com/servers/p13n/xsd/datalink/1.0"
    xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance">
    <namespace
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">test</namespace>
    <begin-origin xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <destination
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0" node-type="jsp"
    namespace="test" node-name="customer_profile"></destination>
    </begin-origin>
    <configuration-error-page
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="portal_error"></configuration-error-page>
    <presentation-origin
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" node-name="customer_profile">
    <node-processor-info
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="customer_profile.jsp"page-relative-path="/portlets/testIntl"></node-processor-info>
    <event-list
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <event xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    event-name="button.save">
    <destination
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="inputprocessor" namespace="test"node-name="CustomerRegIP"></destination>
    </event>
    </event-list>
    </presentation-origin>
    <presentation-origin
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" node-name="customer_success">
    <node-processor-info
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="customer_success.jsp"page-relative-path="/portlets/testIntl"></node-processor-info>
    </presentation-origin>
    <presentation-origin
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" node-name="error">
    <node-processor-info
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="error.jsp"page-relative-path="/framework/error"></node-processor-info>
    </presentation-origin>
    <processor-origin
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="inputprocessor" node-name="CustomerRegIP">
    <node-processor-info
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    class-name="com.bea.conahec.customer.CustomerRegIP"></node-processor-info>
    <event-list
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <event xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    event-name="success">
    <destination
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="pipeline" namespace="test"node-name="customerRegPC"></destination>
    </event>
    </event-list>
    <exception-list
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <exception
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    >
    exception-name="com.bea.p13n.appflow.webflow.forms.InvalidFormDataException"
    <destination
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" namespace="test"node-name="customer_profile"></destination>
    </exception>
    </exception-list>
    </processor-origin>
    <processor-origin
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="pipeline" node-name="customerRegPC">
    <node-processor-info
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    pipeline-name="customerRegPC"pipeline-namespace="customerreg"></node-processor-info>
    <event-list
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <event xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    event-name="success">
    <destination
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" namespace="test"node-name="customer_success"></destination>
    </event>
    </event-list>
    <exception-list
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <exception
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    exception-name="com.bea.p13n.appflow.exception.PipelineException">
    <destination
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" namespace="test" node-name="error"></destination>
    </exception>
    </exception-list>
    </processor-origin>
    </webflow-configuration>
    I have tried to remove the data repository, and re-synchronize thedata.
    Can you please help by pointing me in a direction to continue to researchthis
    problem?
    Thanks.

  • Using webflow

    Hi!
    I've worked with portal, for sometime, but I have never used
    webflow. Can someone please guide me how to create the following
    simple scenario:
    1. I have a JSP with a form (only one field)
    2. User fills the form and clicks a button
    3. Data is written to the DB
    4. Another JSP with refreshed data and confirmation is displayed
    Thanks a lot
    S.

    Hi
    Anyone correct me if i miss anything...
    1. Create your JSP, use <webflow /> tag to create the form and the input
    form
    2. Create the InputProcessor to validate the form and put the value into
    the pipeline session
    3. Create the Pipline Component to access the Database (you will need to
    either write a EJB or write a Java Class and Package it inside a dummy EJB).
    4. Create your Result JSP and use the tag to access the Pipeline Session
    value to get the result
    5. Use the EBCC to create a new Webflow to link all the pages/components
    together.
    6. Sync it and try.
    Sound complicated!? You need to ref to the doc on how to create a
    InputProcessor and Pipeline Component, if you don't know what is event and
    namespace you will need to refer to the doc "Webflow" section.
    -Stephen Yau
    "Suzann" <[email protected]> wrote in message
    news:3cd388f5$[email protected]..
    >
    Hi!
    I've worked with portal, for sometime, but I have never used
    webflow. Can someone please guide me how to create the following
    simple scenario:
    1. I have a JSP with a form (only one field)
    2. User fills the form and clicks a button
    3. Data is written to the DB
    4. Another JSP with refreshed data and confirmation is displayed
    Thanks a lot
    S.

  • Parameterized mapping GUI to XSLT

    Hi I am using parameterized message mapping in PI 7.1, in which I am passing values to message (graphical mapping). The graphical mapping is receiving those values and storing them to DynamicConfiguration key/value pairs. I have written a UDF for that and the UDF does all the job of setting DynamicConfiguration and returns empty string to the target message root element.
    Then, in operation mapping I am placing the above message mapping first followed by the XSLT mapping step. The XSLT mapping is reading the Dynamic parameters set earlier by the message mapping step and using the same populating the XML tags. The objective of the XSLT mapping is to create SOAP envelope with the above fields (parameters) as custom header fields in the SOAP header.
    I see that the SOAP envelope is created correctly by the XSLT with the SOAP body containing all values. But the SOAP header is not the getting the values from the DynamicConfiguration set by the message mapping.
    Question: Is it possible to pass values like this between message(graphical) mapping to XSLT mapping? Are they stored in memory or is it that the moment the next mapping is called, the DynamicConfiguration values are lost?
    Thanks for your help

    Hi saisach,
    I can tell you the easiest way to achive your requirenment.
    In First Message Mapping.:
    Add a filename field under header node in the receiver structure
    Suppose your receiver structure is:
    <Test>
    <Name>Sai</Name
    </Test>
    Then modify it like below.
    <Test>
    <DummyHeader>
    <FileName>TestFile.txt</FileName>
    </DummyHeader>
    <Name>Sai</Name
    </Test>
    And also map the dynamic confuration value to FileName Field.
    Then in your SOAP envelope creation XSLT  mapping read the Dynamic value from this FileName Field and do what you want.
    Create Third simple XSLT mapping to remove the DummyHeader Field.

  • Can we build custom code in xsl-xml

    Hi, We are using one of the .xml dump which is stored as a row in the table iby_trxn_documents
    We are mapping .xsl (a custom template with the above .xml tags)
    We are getting the below tags in .xml (which is stored in table iby_trxn_documents) but the value is not populated in the tags,
    We have build one one sequence in the database, where we need to map the incremented value of the sequence in that place.
    My (xml looks like any of the below two options)
    - <PaymentSequence>
    <SequenceName />
    <LastValue />
    </PaymentSequence>
    In this case i am getting output as W
    - <PaymentSequence>
    <SequenceName>XX_SEQ</SequenceName>
    <LastValue>1</LastValue>
    </PaymentSequence>
    in this case i am getting output as W1, but for next run i want it as W2 etc... or is there any option we can get incremented values in <Creation_Module>
    as my above value is coming null, in my output also i am getting null.
    Is there a way i can get the value of sequence in my xsl template.
    I am writing some thing like this in my (.xsl)
    - <Creation_Module>
    <xsl:value-of select="concat('W',/PaymentSequence/LastValue)" />
    </Creation_Module>
    For every run i want this last value to be incremented by 1
    Appreciate if some one has any knowledge in this.
    Thanks...
    Edited by: 902157 on Aug 27, 2012 9:18 AM

    Hi, We are using one of the .xml dump which is stored as a row in the table iby_trxn_documents
    We are mapping .xsl (a custom template with the above .xml tags)
    We are getting the below tags in .xml (which is stored in table iby_trxn_documents) but the value is not populated in the tags,
    We have build one one sequence in the database, where we need to map the incremented value of the sequence in that place.
    My (xml looks like any of the below two options)
    - <PaymentSequence>
    <SequenceName />
    <LastValue />
    </PaymentSequence>
    In this case i am getting output as W
    - <PaymentSequence>
    <SequenceName>XX_SEQ</SequenceName>
    <LastValue>1</LastValue>
    </PaymentSequence>
    in this case i am getting output as W1, but for next run i want it as W2 etc... or is there any option we can get incremented values in <Creation_Module>
    as my above value is coming null, in my output also i am getting null.
    Is there a way i can get the value of sequence in my xsl template.
    I am writing some thing like this in my (.xsl)
    - <Creation_Module>
    <xsl:value-of select="concat('W',/PaymentSequence/LastValue)" />
    </Creation_Module>
    For every run i want this last value to be incremented by 1
    Appreciate if some one has any knowledge in this.
    Thanks...
    Edited by: 902157 on Aug 27, 2012 9:18 AM

  • Error Writing Less Than Sign with FileAdapter

    Hello.
    Looking at the Flow Trace I can that the input variable of the FileAdapter is being populated correctly (XML tags). When looking at the file's contents though, the result of the less than sign is its character entity: '&lt';.
    Is there a way to force it to print the less than sign? Also, why does it write the character entity for the less than sign and not the greater than sign?
    Thanks.
    Edited by: oracleistheway on May 24, 2013 6:32 AM

    Hi Arik. Thank you for that information but it is not working. I think it is not working because the DOE feature is done during an XSL process.
    I was able to get my desired result by creating a native file and Delimited type. I then selected File contains only one record and had it delimited by Single Space and no optional delimiter.
    Thank you all for looking at this thread.
    Edited by: oracleistheway on May 26, 2013 10:33 AM

  • Random picture folders missing after import

    I am running a Macbook pro. I use a 120gb external drive to store my photos as i have about 40 gb of both RAW and JPEG images.
    I have attempted to import these as referenced images as per the Aperture guide but when the folders are imported random ones are missing.
    I have also tried importing a limited number selected folders folders as managed images into aperture but random folders still disapear.
    Acoording to the pro DVD that came with aperture importing referanced files by clicking import > "folders as projects" should create a mirror image of my file system on my external hardrive but with thumbnails as opposed to the full sized raw file.
    Is this random file import a problem with aperture, or am i doing something wrong?
    thanks,
    Rob

    A possibility is that the files have multiple tags, i.e. both id3v1 and id3v2.x. iTunes seems to behave best when there is a single properly populated id3v2.3 tag.
    If you move you library properly there is no need to "Add Folder to Library" on the new system and such problems don't arise.
    tt2

  • Multiple recordsets on a page?

    I have a data-driven photo gallery that some of you are
    probably sick of
    reading about. But, it's coming along nicely, and I'm quite
    happy with it.
    Ultimately this gallery will contain hundreds of images.
    Extracting so many
    images from the database to build the gallery page is quite a
    lengthy
    process, and to manage this, I have broken the images into
    separate gallery
    categories.
    So, the main gallery page will open with a drop-down list of
    other galleries
    that can be chosen (the list is also data driven). I would
    like to adapt
    the loading of that list so that if any given gallery is not
    currently
    populated with images, its name will not appear in the list.
    The only way I
    can think of to do this would be to place a recordset for
    each of those
    galleries on the page and test the size of the recordset
    before populating
    the <select> tag with gallery names. Am I missing
    something, or is this
    about the size of it? Won't that add a significant burden to
    the loading of
    the page?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================

    > sorry about your data management
    Yeah - me too. I'm not ready to tackle that one yet....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Dave Buchholz" <[email protected]> wrote
    in message
    news:[email protected]...
    > <snip>So, the joining table would have a recordID
    from the images table,
    > and a
    > galleryID from the gallery table, right? And then what
    would the SELECT
    > look like?</snip>
    >
    > correct
    >
    > the SELECT would look something like
    >
    > SELECT DISTINCT galleryName
    > FROM ((galleries INNER JOIN jointable USING (galleryID))
    INNER JOIN images
    > USING (imageID))
    >
    > sorry about your data management
    >
    > --
    > Dave Buchholz
    > I-CRE8
    > www.i-cre8.co.uk
    > Skype ID: I-CRE8
    >
    >
    >
    > "Murray *ACE*" <[email protected]>
    wrote in message
    > news:[email protected]...
    >> That would be the way to do it.
    >>
    >> So, the joining table would have a recordID from the
    images table, and a
    >> galleryID from the gallery table, right? And then
    what would the SELECT
    >> look like?
    >>
    >> But - ugh, this means that I have to revise ALL the
    management
    >> routines....
    >>
    >> --
    >> Murray --- ICQ 71997575
    >> Adobe Community Expert
    >> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >> ==================
    >>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >> ==================
    >>
    >>
    >> "Dave Buchholz"
    <[email protected]> wrote in message
    >> news:[email protected]...
    >>> Why not use a joining table and then you can
    associate any image with
    >>> any gallery
    >>>
    >>> --
    >>> Dave Buchholz
    >>> I-CRE8
    >>> www.i-cre8.co.uk
    >>> Skype ID: I-CRE8
    >>>
    >>>
    >>>
    >>> "Murray *ACE*"
    <[email protected]> wrote in message
    >>> news:[email protected]...
    >>>> Ahh - right, well, it's complicated by the
    fact that any given image
    >>>> can be assigned to 2 galleries, so there are
    two fields - imgsGallery
    >>>> and imgsGallery2. The value of imgsGallery2
    can be null, but not
    >>>> imgsGallery, which must have a value.
    >>>>
    >>>> --
    >>>> Murray --- ICQ 71997575
    >>>> Adobe Community Expert
    >>>> (If you *MUST* email me, don't LAUGH when
    you do so!)
    >>>> ==================
    >>>>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >>>> ==================
    >>>>
    >>>>
    >>>> "Dave Buchholz"
    <[email protected]> wrote in message
    >>>> news:[email protected]...
    >>>>> Assuming the gallery name is a foreign
    key in the images table then a
    >>>>> recordset with an inner join e.g.
    >>>>>
    >>>>> SELECT DISTINCT galleryName
    >>>>> FROM galleries INNER JOIN images USING (
    galleryID )
    >>>>>
    >>>>> would list only the Galleries which have
    images associated with them.
    >>>>>
    >>>>> I am sure there is probably a more
    subtle way of doing this but it
    >>>>> works for me :-)
    >>>>>
    >>>>>
    >>>>> --
    >>>>> Dave Buchholz
    >>>>> I-CRE8
    >>>>> www.i-cre8.co.uk
    >>>>> Skype ID: I-CRE8
    >>>>>
    >>>>>
    >>>>>
    >>>>> "Murray *ACE*"
    <[email protected]> wrote in message
    >>>>>
    news:[email protected]...
    >>>>>>I have a data-driven photo gallery
    that some of you are probably sick
    >>>>>>of reading about. But, it's coming
    along nicely, and I'm quite happy
    >>>>>>with it. Ultimately this gallery will
    contain hundreds of images.
    >>>>>>Extracting so many images from the
    database to build the gallery page
    >>>>>>is quite a lengthy process, and to
    manage this, I have broken the
    >>>>>>images into separate gallery
    categories.
    >>>>>>
    >>>>>> So, the main gallery page will open
    with a drop-down list of other
    >>>>>> galleries that can be chosen (the
    list is also data driven). I would
    >>>>>> like to adapt the loading of that
    list so that if any given gallery
    >>>>>> is not currently populated with
    images, its name will not appear in
    >>>>>> the list. The only way I can think
    of to do this would be to place a
    >>>>>> recordset for each of those
    galleries on the page and test the size
    >>>>>> of the recordset before populating
    the <select> tag with gallery
    >>>>>> names. Am I missing something, or is
    this about the size of it?
    >>>>>> Won't that add a significant burden
    to the loading of the page?
    >>>>>>
    >>>>>> --
    >>>>>> Murray --- ICQ 71997575
    >>>>>> Adobe Community Expert
    >>>>>> (If you *MUST* email me, don't LAUGH
    when you do so!)
    >>>>>> ==================
    >>>>>>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>>>>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>>>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>>>>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >>>>>> ==================
    >>>>>>
    >>>>>>
    >>>>>>
    >>>>>
    >>>>>
    >>>>
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >

  • GWT javascript client side RPC Call

    Greetings, I'm currently developing a web application with Google Web
    Toolkit. Basically i need to call a RPC from GWT from the client side,
    in order to get some kind of data.
    I've been currently searching and I've found JSNI which can write
    javascript code in the java, but i can't seem to get it work the right
    way.
    Thank you in advance.

    Steve,
    Webflow is a server side technology. The only way to affect the invocation of
    webflow from the client side is to change the origin and event parameters sent
    to the webflow engine. These parameters must be passed via a request. There simply
    is no way to interact with the webflow engine without a request/response.
    OK, you may be able to hack something together using an Applet, RMI, and by using
    internal webflow APIs. But you don't want to do that; that's not really an option.
    Is there a way to call javascript methods
    from BEA's tag libs? No.
    Do I need to write my own tags and make
    references to the objects that are used for webflow?I assume you mean that you would create custom JSP tags that would invoke directly
    IPs and PCs. This would not accomplish what you want and would defeat the webflow
    architecture.
    Here is what you can do:
    1) you could create your own custom JSP taglib that would insert JavaScript into
    the HTML form along with the <input> tag. I don't know how hard this would be.
    2) you could forget about using JSP tags, and simply use a JavaScript library.
    You would need to code your HTML properly to use this technique. I did a search
    on www.google.com and found a good article on exactly how to do this:
    http://www.zdnet.com/devhead/stories/articles/0,4413,2326270,00.html
    Post back if you have more questions.
    PJL
    Steve Lewis <[email protected]> wrote:
    Okay, webflow is cool and all, but I'd like to be able to do both client-side
    and server-side validation. Server-side is taken care of with the InputProcessors,
    but there's not a way to do onSubmit or onChange using the proprietary
    webflow tags.
    Question: How do I do this? Do I need to write my own tags and make
    references to the objects that are used for webflow?
    I'd really like to be able to encapsulate all this at once.
    Maybe I just need to ask this: is there a way to call javascript methods
    from BEA's tag libs? Maybe there's a trick I don't know.
    Thanks,
    Steve Lewis
    CTI, Inc.

  • Embedding External XML

    Hey guys. Based of the ModestMap API example for flex, I want to be able to embed an external XML file instead of directly populating the xml tags on the main app. i have tried different approaches, the markers are not showing up. thanks in advance!
    here is the sample code from modestmap
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/halo"
      minWidth="1024" minHeight="768" creationComplete="init()" viewSourceURL="srcview/index.html" xmlns:mx1="library://ns.adobe.com/flex/mx">
       <fx:Script>
      <![CDATA[
       import mx.core.UIComponent;
       import com.modestmaps.TweenMap; 
       import com.modestmaps.mapproviders.OpenStreetMapProvider;
       import com.modestmaps.mapproviders.yahoo.YahooHybridMapProvider;
       import com.modestmaps.geo.Location;
       import com.modestmaps.extras.ZoomSlider;
       import com.modestmaps.extras.HandCursor; 
       import com.custom.PointMarker;
       import com.custom.infoPanel;
       [Bindable]private var _map:TweenMap; 
       private var _mapUI:UIComponent;
       [Bindable]private var _initialLat:Number = 40.668903;
       [Bindable]private var _initialLong:Number = -111.680145;
       [Bindable]private var _initialZoom:Number = 6;
       private var _mouseWheelZoomCenter:Location;
       private var _mouseWheelZoom:int;
       private var resortMarker:PointMarker; 
       private var _panel:infoPanel;
       [Embed("img/marker.png")]
       protected var MarkerImage:Class;
       private var srcXML:XML =
       <root>
      <location>
      <name>Alta Ski Resort</name>
      <lat>40.588063</lat>
      <long>-111.637659</long>
      <description>Home of the Greatest Snow on Earth</description>
      </location> 
      <location>
      <name>Crested Butte Resort</name>
      <lat>38.899932</lat>
      <long>-106.964249</long>
      <description>Amazing skiing with small town charm</description>
      </location>
      </root>; 
       private function init():void
       _map = new TweenMap(mappanel.width, mappanel.height, true, new OpenStreetMapProvider()); 
       _map.setCenterZoom(new Location(_initialLat, _initialLong), _initialZoom);
       mapCore();
       private function mapCore():void
       _map.addEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler); 
       _mapUI = new UIComponent();
       _mapUI.addChild(_map); 
       var zoomslider:ZoomSlider = new ZoomSlider(_map);
       zoomslider.x = mappanel.width - zoomslider.width*2;
       zoomslider.y = 30;
       _mapUI.addChild(zoomslider); 
       var handcursor:HandCursor = new HandCursor(_map);
       _mapUI.addChild(handcursor);
       mappanel.addElement(_mapUI);
       _panel = new infoPanel();
       _panel.containerHeight = mappanel.height;
       _panel.containerWidth = mappanel.width;
       mappanel.addElement(_panel); 
       addMarkers();
       private function addMarkers():void
       for each (var resort:XML in srcXML.location){
       resortMarker = new PointMarker(); 
       var markerImage:Bitmap = new MarkerImage() as Bitmap;
       markerImage.x = -markerImage.width/2
       markerImage.y = -markerImage.height/2
       resortMarker.addChild(markerImage);
       resortMarker.resortName = resort.name;
       resortMarker.resortDesc = resort.description;
       resortMarker.addEventListener(MouseEvent.CLICK, handleMouseClick); 
       _map.putMarker(new Location(resort.lat, resort.long), resortMarker); 
       private function mouseWheelHandler(e:MouseEvent):void {
       if (e.delta < 0) {
       _map.zoomOut();
       else if (e.delta > 0) {
       _map.zoomIn();
       _mouseWheelZoomCenter = _map.getCenter();
       _mouseWheelZoom = _map.getZoom();
       private function handleChangeProvider(event:Event):void
       mappanel.removeAllElements();
       if(event.target.label == "Virtual Earth")
       _map = new TweenMap(mappanel.width, mappanel.height, true, new YahooHybridMapProvider());
       else
       _map = new TweenMap(mappanel.width, mappanel.height, true, new OpenStreetMapProvider());
       if(_mouseWheelZoomCenter != null && _mouseWheelZoom > 0)
       _map.setCenterZoom(_mouseWheelZoomCenter, _mouseWheelZoom); 
       else
       _map.setCenterZoom(new Location(_initialLat, _initialLong), _initialZoom);
       mapCore();
       private function handleMouseClick(event:MouseEvent):void
       _panel.ptitle = event.target.resortName;
       _panel.pdesc = event.target.resortDesc;
       ]]>
       </fx:Script>
       <s:BorderContainer id="mappanel" width="100%" height="97%"/>
       <mx1:HBox width="100%" horizontalAlign="right">
       <mx1:Button label="Open Street Map" click="handleChangeProvider(event)"/>
       <mx1:Button label="Virtual Earth" click="handleChangeProvider(event)"/>
       </mx1:HBox>
    </s:Application>
    ///////////////////////////////////////I tried for the external XMl//////////////////////////////
    [Embed("img/marker.png")]
      protected var MarkerImage:Class;
    [Embed(source="data.xml", mimeType="application/octet-stream")]
      [Bindable]
      private var srcXML:Class;
      function some_func():void {
      var my_xml:XML = XML(new srcXML);
    ////////////////////////////////and/////////////////////////////////////////////////////// ///
    private function addMarkers():void
      for each (var resort:XML in srcXML){
      resortMarker = new PointMarker();                                             
      var markerImage:Bitmap = new MarkerImage() as Bitmap;
      markerImage.x = -markerImage.width/2
      markerImage.y = -markerImage.height/2
      resortMarker.addChild(markerImage);
      resortMarker.resortName = resort.name;
      resortMarker.resortDesc = resort.description;
      resortMarker.addEventListener(MouseEvent.CLICK, handleMouseClick);                     
      _map.putMarker(new Location(resort.lat, resort.long), resortMarker);                                                           

    Import a schema with the <xs:import/> element.
    <xs:import
    namespace=namespaceURI
    schemaLocation=schemaLocationURI/>

  • Listing all the populated variables when a swf is loaded from an embed tag ?

    Hello,
    well, everything is in the title, I've been wondering how I
    could possibily do this for some time now.
    and all I tried or thought of went nowhere.
    I'd like to list all the variables an html embed tag passes
    on to the swf file called, whatever they are named and how many
    there is.
    <EMBED
    src="example.swf?var="varcontent",var2="var2content">
    it's not life-threatening, but I hate using things that work
    when I have an idea for things that would work better x)

    thanks, I didn't think it would be this simple to list all
    var in _root.
    the only issue remaining is the case where I have more than
    one url passed on to my swf file, and how to distinguish which one
    is the one to use, but that's not really feasible (and anyway I
    can't think of a case where more than one var would be passed to
    the swfs I work on, let alone populated with an url).

  • Values having html tags not getting populated while using AJAX in APEX

    Hi,
    I am using AJAX to populate certain values in a tabular report.
    I have a java script of this form (I have taken this example from Denes's example http://apex.oracle.com/pls/otn/f?p=31517:241:1400877312570049)
    <script language="JavaScript" type="text/javascript">
    function f_set_multi_items_tabular(pValue, pRow){
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=Set_Multi_Items_Tabular',0);
    if(pValue){
    get.add('TEMPORARY_APPLICATION_ITEM',pValue)
    get.add('T_ROWNUM',pRow)
    }else{
    get.add('TEMPORARY_APPLICATION_ITEM','null')
    gReturn = get.get('XML');
    if(gReturn){
    var l_Count = gReturn.getElementsByTagName("item").length;
    for(var i = 0;i<l_Count;i++){
    var l_Opt_Xml = gReturn.getElementsByTagName("item");
    var l_ID = l_Opt_Xml.getAttribute('id');
    var l_El = html_GetElement(l_ID);
    if(l_Opt_Xml.firstChild){
    var l_Value = l_Opt_Xml.firstChild.nodeValue;
    }else{
    var l_Value = '';
    if(l_El){
    if(l_El.tagName == 'INPUT'){
    l_El.value = l_Value;
    }else if(l_El.tagName == 'SPAN' && l_El.className == 'grabber'){
    l_El.parentNode.innerHTML = l_Value;
    l_El.parentNode.id = l_ID;
    }else{
    l_El.innerHTML = l_Value;
    get = null;
    </script>
    And I have the application process as follows
    BEGIN
    OWA_UTIL.mime_header ('text/xml', FALSE);
    HTP.p ('Cache-Control: no-cache');
    HTP.p ('Pragma: no-cache');
    OWA_UTIL.http_header_close;
    HTP.prn ('<body>');
    HTP.prn ('<desc>this xml genericly sets multiple items</desc>');
    HTP.prn ('<item id="f05_000' || :T_ROWNUM || '">' || :TEMPORARY_APPLICATION_ITEM || '</item>');
    HTP.prn ('</body>');
    END;
    If I have :TEMPORARY_APPLICATION_ITEM as 'Vikas' it gets displayed properly but if I have '&lt;b&gt;Vikas&lt;b&gt;' it shows null. if it has any HTML tags function l_Opt_Xml.firstChild.nodeValue is not working properly .Please tell me what modiifcation can I use in function l_Opt_Xml.firstChild.nodeValue to get Values with HTML tags also to get displayed.
    Thanks,
    Vikas

    Vikas,
    Try escaping special characters: htf.escape_sc(:TEMPORARY_APPLICATION_ITEM)Regards,
    Dan

  • Populating combobox in jsp page from javabean using jsp:getProperty tag

    hi,
    i am new to jsp, so i don;t know how to populate a combobox in jsp page with productid attribute from a javabean called Bid . i want to have a code to automatically populating combobox using the attribute value from javabean.
    please reply me.
    <jsp:useBean id="bidpageid" class="RFPSOFTWARE.Bid" scope="session" />
    <jsp:setProperty name="bidpageid" property="*"/>
      <table  width="50%" align="center" border="0">
       <tr>
        <td  width="30%" align="left"><h4><b><label>Date (dd/mm/yyyy) </label></b></h4> </td>
        <td><input type="text" name="date" size="11" maxlength="10" readonly="readonly" value="<jsp:getProperty name="bidpageid" property="date"/>"  > </td>
      </tr>
      <tr> <td > </td> </tr>
      <tr>
        <td  width="30%" align="left"><h4><b><label>ProductId </label></b></h4> </td>
        <td><select name="productid" tabindex="1" size="1" >
          <option  value="<jsp:getProperty name=bidpageid" />Sachin</option>
          <option value="Hello">Vishal</option>
        </select></td>
      </tr>  and the javabean for Bid is as follow :
    import java.util.Date;
    import RFPSOFTWARE.Product;
    public class Bid{
    private Product product;
    private Integer bid_id;
    private String description;
    private Date date= new Date();
    public Integer getBid_id() {
    return bid_id;
    public Date getDate() {
    return date;
    public String getDescription() {
    return description;
    public Product getProduct() {
    return product;
    public void setBid_id(Integer bid_id) {
    this.bid_id = bid_id;
    public void setDate(Date date) {
    this.date = date;
    public void setDescription(String description) {
    this.description = description;
    public void setProduct(Product product) {
    this.product = product;
    }

    No Sir,
    I think I did not explained clearly.what I try to say is I dont want to use JSTL.I am using only Scriptlets only.I can able to receive the values from the database to the resultset.But I could not populate it in Combobox.
    My code is :
    <tr>
    <td width="22%"><font color="#000000"><strong>Assign To Engineer</strong></font></td>          
    <td width="78%">
         <select NAME="Name" size="1">
    <option><%=Username%></option>
    </select> </td>
    </tr>
    in HTML
    and in Scriptlets:
    ps1 = con.prepareStatement
              ("SELECT Username FROM Users");
              rs2=ps1.executeQuery();
              System.out.println("SECOND Succesfully Executed");
              while(rs2.next())
                   System.out.println("Coming inside rs2.next loop to process");
                   Username=rs2.getString("Username");
                   System.out.println("Success");
                   System.out.println("The value retrieved from UsersTable Username is:"+Username);
    In the server(Jboss console) I can able to display the username but I could not populate it in the Combobox .
    Can you now suggest some changes in my code,Please..
    Thanks a lot
    With kind Regds
    Satheesh

  • Populating Title Tag - Content or metadata?

    I've noticed that many sites use the same information for the title tag (<title>) as well as the title of the content displayed. I've created a regional definition with two elements: Title and Content. I've then tried to embed the content of the Title element between the <title> tags like so:
    <title>MacEwan | <!--$wcmElement("Title")--></title>
    but the element doesn't display. Any suggestions how to make this work?
    Is this the best practice? Should I be looking at creating a separate metadata field instead?
    In advance, thanks for your help and suggestions!

    Thanks Bex for the solution for the NodeID. Here's the solution for secondary pages that was sent to us: assuming we have a placeholder called Content with an element called Title, we would use:
    <!--$contentTitle = ssIncludeXml(Content,"wcm:root/wcm:element[@name='Title']/text()")-->
    <!--$contentTitle-->
    and place this between the <title> tags - perfect! Now the trick is to display the text without the <p> tags which even the plain text element definition includes. If you create a customized element definition and link it to a text field form, you can get the text without the html tags - and it all works! :-)
    You can also create an element called MetaDescription that will allow users to enter this meta data for search engines.

Maybe you are looking for