Is it possible to pass dynamic values to custom tag?

Hi there, I'm trying to build a calendar custom tag so I can drop the calendar into an existing webpage easily.
I have got the calendar displaying on the page but the problem I have is when I try to create 'previous' and 'next' links. Is it possible to pass parameters to a custom tag that have dynamic values?
In PHP it would looks something like:
<a href="bla.php?page=$pagenumber">next page</a>When I create the calendar object I set it to the current date so when I try to increase or decrease the month (next/prev month) it doesn't work because the code is run again and hence setting the current date again.
Any ideas?
Cheers in advance
Message was edited by:
MajorMahem

for eg
<a href=" Display.jsp?id='+<%=customerId%>">Result Page</a>
Please try this,
i didn't work out, any how apply this sample to your code

Similar Messages

  • Pass dynamic values to search-query in wlp-syndication-config for RSS

    Hi All,
    I want to pass dynamic values to the <search-query> element for the <syndication-feed> node in the wlp-syndication-config.xml file for implementing RSS feeds.
    Here's a sample
    <syndication-feed>
              <name>RSSFeed</name>
              <search-query>cm_objectClassInstance=='Node' &amp;&amp; date == 'x'_</search-query>
              <search-type>pubmeta</search-type>
         </syndication-feed>
    I tried passing the parameter in the url but the feed doesn't read it. The only option i have is to manually put the value to get the content from the repository, which sucks...because the values can change any time. is there any way that I can avoid it
    Any help on this would be appreciated.
    Thanks,
    K

    James:
    Passing filters to an IR within the URL is described here
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/app_comp.htm#sthref989
    Varad

  • How to Pass Dynamic values to XML in flex

    Hi,
    i just want to pass dynamic values. it must be stored in XML
    List or XML .for Ex: In my App i want to pass
    Edu_Institute,From_date,To_Date,Qualification fileds to
    Education table. I have used Webservices to connect with the
    Backend.
    At that time of processing, i want to pass 2 or more sets of
    Dynamic Values of Edu_Instiute,From_Date,To_Date....... to my
    webservice .
    i fetch the Edu_Institute value from text1.text From_Date
    from Datefield1.text etc... when i click the Add Button it must be
    stored in XMLnode[0],XMLnode[1]......& i will pass this nodes
    to my table
    How to do that??
    Can anyone please find out the solution for me??
    Thanks
    Regards,
    Thenmalar v

    Are you asking how to build XML in Actionscript?
    If so, the "literal" syntax is easy:
    var xmlData:XML = <root><text
    myAttr={test1.text}</root>
    You can also work directly with the XML class methods.
    Tracy

  • Is it possible to pass selected value from one jsp to another jsp page?

    In my welcome page(in jsp), if the user is selecting some values, is it possible to pass those values to another jsp page and display?
    If yes, how can it be done?
    please help..

    Yes, you would have to make the motion from one page to the next submit a form. Then on the second JSP you can use request.getParameter("nameOfInputField") to get the value the user selected.

  • How to pass src value into img tag in ADF

    Hi,
    My Dev : 11.1.2.3.0
    How to pass row values into <img> tag.,I used the below code but it's taking empty.,
    I tried both ways like #{row.CdFilePath}   and   ${row.CdFilePath}
    <af:iterator var="row"
                      value="#{bindings.xxx.collectionModel}"
                     id="i2">
         <img src='/ShowImage?src=#{row.CdFilePath}' border='0' style="width:100px; height:100px; margin:5px;"/>
    </af:iterator>
    Please tell me any other option is there..
    Thanks

    This works if you use a normal table so I guess it should work here too.
    Are you sure the el #{row.CdFilePath} return something?
    Why don't you use the adf image tag <af:image source="/ShowImage?src=#{row.CdFilePath}".../> instead of the html img tag?
    Should the src property not be enclosed with " instead of your '?
    Timo

  • How to pass dynamic values to JDBC Database adapter in PureSQL operation?

    I want to fetch the records from the table via JDBC database adapter with the criteria but I should not hardcode the values inside my query. I am using Execute by PureSQL operation. Values might change in future and it is the reason I should not hardcode the values and instead I should pass it dynamically.
    This is my query:
    SELECT FROM Table0 t0, Table1 t1 WHERE t0.Field1= 'ABC' AND t0.Field2= 'DEF' AND t0.Field3 = 'CBA' AND t1.FLAG IS NULL AND t1.Field1 = t0.Field4*
    The values 'ABC', 'DEF', 'CBA', 'NULL' are not fixed and it can be changed. Hence, I need to pass the values for these fields dynamically. What must be passed in the query and where to pass the User Defined Values during the run time.
    Please can anyone suggest how to resolve this. I am using SOA 11g.
    Thanks in advance.

    Hi,
    Ensure that you use the Adapter Configuration Wizard to do the query modification suggested by Arik. This will allow the schema for the DB Adapter getting created automatically. Also revisit this schema to assure that the data types of the bind parameters (parameters with #) have been correctly populated in the schema.
    You can get some help from this too although this doesn't fully match your use-case.
    Regards,
    Neeraj Sehgal

  • Passing dynamic values in WebElements

    Hi
    I have created a report with webelement using WESelect. For drop down values we are creating a sting of values with allelements.Is there a way i can get the values from a database column or dynamic values.
    For example a Week WESelect is created with values as follows:
    string allelements:= ("week","wk01|wk02","wk01|wk02",{?week},"")
    instead of this values can we get values from database column like {week.weeknumber} ?
    How can this be solved.
    Thanks & Regards
    Mahesh

    hello Mahesh,
    in the tips and tricks section of the webelements user guide there is the following information...
    Can webElements be used with live data?
    Yes. Controls such as select menus that require that data be rolled up or
    amalgamated before the control is created are populated by running a
    Report Header subreport that rolls the data up. The data is then passed
    to the main report via a shared variable which is used in the control.
    Please see the DCP reports in the webElements .zip package for ideas on
    how to do this.
    Controls such as check boxes or radio buttons can be populated by
    placing the formula containing the control in the Details section or the
    Group Header / Footer section where the control is needed. Ensure that
    the controls do not span more than one page. See the Requirements
    section of the User Guide for more information.
    i hope this helps,
    jamie

  • Is it possible to pass  a value from the list to another page..

    Hi everyone,
    I created a (list region) on a page and there is a FORM on the same page.I am trying to pass a value from that page to another page when the user selects one of the list entries.I tried with SET THESE ITEM.. WITH THESE VALUES in the list entries like
    SET THESE ITEMS--P13_TESTING_ID
    WITH THESE VALUES --&P10_ID.
    but its not working for me.I want to pass that value only when the user hits that list entry.Is it possible to do.
    Thanku
    phani

    Assuming P10_ID is an item on the FORM, I think , the form would have to be posted (submitted) for the item's vaue to be available in session state.

  • How to pass dynamic values in standard text......

    Hello,
    I have no idea that how to create the standard text with transaction SO10,and how to pass the dynamic values to that standard text.Will you guide me with step-by-step procedure.
    Thanking you in advance,
    Regards,
    Asmitha.

    Hi,
        Goto SO10 Tcode
    Give :- Text Name:- any Name
               Text Id :- ST
                Language:- required language
    Now the Text which you want to print along with the Dynamic variable,
    Ex:-  Sales order number is &VBAK-VBELN&
    Save and Activate
    above is i have given it VBAK-VBELN, you can give field name which hold dynamic value.
    Now call the above created Standard text in your Form and check it.
    Regards
    Bala Krishna

  • Passing Dynamic Values to a Stored Procedure

    I have a stored procedure to create a Table. How to I pass a
    value to the procedure to name the Table. This SP works except the
    name of the table is @newcomm not the value I am trying to pass in.
    What is the proper syntax to make this happen.
    CREATE PROCEDURE [dbo].[sp_newcommenttbl]
    @newcomm varchar (50)
    AS
    BEGIN
    CREATE TABLE [dbo].[@newcomm] (
    [configid] [int] IDENTITY (1, 1) NOT NULL ,
    [email] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS
    NULL ,
    [adminemail] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [erroremail] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [toCommentFormEmail] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dsn] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS
    NULL ,
    [gmdsn] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS
    NULL ,
    [dbusername] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dbpassword] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [acfcpath] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [acfcpath2] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [acfcpath3] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [urlactivate] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [urlresetpassword] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [initialized] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dbtablename1] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dbtablename2] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dbtablename3] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dbtablename4] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dbtablename5] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dbtablename6] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dbtablename7] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dbtablename8] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dbtablename9] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dbtablename10] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [pageheader] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL
    ) ON [PRIMARY]
    END
    GO
    <cfstoredproc procedure="sp_newcommenttbl"
    datasource="xxxxx" returncode="no">
    <cfprocparam type="in" maxlength="50"
    cfsqltype="cf_sql_varchar" value="pighg3">
    </cfstoredproc>

    When I create the procedure I don't get an error. I get an
    error when I call it.
    [Macromedia][SQLServer JDBC Driver][SQLServer]Incorrect
    syntax near the keyword 'ON'.
    ColdFusion cannot determine the line of the template that
    caused this error. This is often caused by an error in the
    exception handling subsystem.
    Here is the call.
    <cfstoredproc procedure="sp_newcommenttbl"
    datasource="pisecurity" returncode="no">
    <cfprocparam type="in" maxlength="50"
    cfsqltype="cf_sql_varchar" value="pighg3" variable="newcomm">
    </cfstoredproc>
    Here is the syntax for the SP.
    CREATE PROCEDURE [dbo].[sp_newcommenttbl]
    @newcomm varchar (50)
    AS
    BEGIN
    EXEC('CREATE TABLE [dbo].['+@newcomm+'] (
    [configid] [int] IDENTITY (1, 1) NOT NULL ,
    [email] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS
    NULL ,
    [adminemail] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [erroremail] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [toCommentFormEmail] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dsn] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS
    NULL ,
    [gmdsn] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS
    NULL ,
    [dbusername] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dbpassword] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [acfcpath] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [acfcpath2] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [acfcpath3] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [urlactivate] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [urlresetpassword] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [initialized] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dbtablename1] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dbtablename2] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dbtablename3] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dbtablename4] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dbtablename5] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dbtablename6] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dbtablename7] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dbtablename8] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dbtablename9] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [dbtablename10] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL ,
    [pageheader] [varchar] (50) COLLATE
    SQL_Latin1_General_CP1_CI_AS NULL
    ON [PRIMARY]')
    END
    GO

  • Pass Dynamic value to a field in xslt

    Hi,
    I have 5 different bpel processes & 5-10 xslts. I need to pass a hardcoded value(user) to one of the field in xslt which will be common for all xslt files. Now i want not to do hardcoding in every xsl. Rather, i want to make change at a place which will be effective for all others. what's the best approach to achieve this.
    Thanks,
    Vinit

    Hi Vinit
    I hope the following will solve your problem
    1) create variable of type 'parameters'.
    Ex:
    xmlns:ns4="http://schemas.oracle.com/service/bpel/common"
    <variable name="XSLTParam" element="ns4:parameters"/>
    2)
    <assign name="Assign9">
    <copy>
    <from><com:parameters xmlns:com="http://schemas.oracle.com/service/bpel/common">
    <com:item>
    <com:name>USER</com:name>
    <com:value/>
    </com:item>
    </com:parameters></from>
    <to variable="XSLTParam"/>
    </copy>
    <copy>
    <from variable="your_user"
    query="xpath+query of user"/>
    <to variable="XSLTParam"
    query="/ns4:parameters/ns4:item[ns4:name='USER']/ns4:value"/>
    </copy>
    </assign>
    3) pass these values to xsl
    EX:
    <assign name="Assign1">
    <copy>
    <from expression="ora:processXSLT('xsl/Transformation_1.xsl',bpws:getVariableData('Receive1_execute_InputVariable','part1'),bpws:getVariableData('XSLTParam'))"/>
    <to variable="Invoke1_Produce_Message_InputVariable"
    part="body"/>
    </copy>
    </assign>
    4) in xsl file
    define parameter
    EX:
    <xsl:param name="USER"/>
    <xsl:variable name="User_value">
    <xsl:value-of select="$USER"/>
    </xsl:variable>
    <inp1:user>
    <xsl:value-of select="$User_value"/>
    </inp1:user>
    Regards
    Vamsi..

  • EmailNotification- passing dynamic value to From address

    hi,
    on configuring email activity,
    we are passing the from address dynamically.
    From address is taked from the payload.
    but when the email is triggered, the email comes from the address which we have configured in the UMS in the server side..
    why does this happens.. ??

    i am referring to From Account name only..
    configured the From account name in the server UMS (for eg: [email protected])
    but, i need this to be passed dynamically from the payload..
    in the Email assign activity, From account name is mapped to the payload From address..
    but its not taking that address from the payload..
    the account name configured n the server is taken as default..
    what should be done for dis?

  • Passing attribute values to custom SOA

    Hi All
    I created a custom SOA wokflow based upon the the auto approval workflow but I noticed the basic fields like "first name" and "last name" is not passed over to the SOA composite.
    can you please let me know how can we pass those values ?
    Thanks

    Hi,
    What you mean by based on auto approval workflow.. can you tell me what is your requirement??
    Regards,
    Raghav.

  • CRM contact record passing the values from Custom application

    Hi,
    I am passing the values from my custom WPF application to create the contact.
    while passing the first name, last name, addressLine 1  Mobile number it's working fine. while am passing the date of birth it's throughing an error. I am not able to identify the exact issue please giv me the suggestions
    var firstname = txtFirstName.Text;
                var lastname = txtLastName.Text;
                var dataofbirth = this.DatePickerValue;
                var mobilenumber = txtMobileNumber.Text;
                var rfcvalue = txtRFC.Text;
                var addressValue = txtAddress.Text;
                var extraqs = "firstname=" + firstname;
                extraqs += "&lastname=" + lastname;
                extraqs += "&mobilephone=" + mobilenumber;
                extraqs += "&address1_line1=" + addressValue;
                extraqs += "&birthdate=" + dataofbirth;
                //var totalextravalue = "extraqs=firstname%3D" + firstname + "lastname%3D" + lastname + "birthdate%3D" + dataofbirth + "mobilephone%3D"
    + mobilenumber + "ifp_rfc%3D" + rfcvalue + "address1_line1%3D" + addressValue;
                var contacturl = Constants.Contact.Attributes.URLNew + "etc=2&id=&pagetype=entityrecord&extraqs=" + HttpUtility.UrlEncode(extraqs);
    -Regards
    Rammohan

    You should set date in this format 
    &extraqs=date=01/31/11Hope this helps
    Sreeni Pavalla

  • Dynamic include inside custom tag body

    I am trying to perform the dynamic include of another JSP from within the body of a custom tag using JSP1.1. It cannot be done using <jsp:include> since flush=true is required and thus an exception is thrown when called from inside the body of a custom tag - it can be done in JSP1.2 since flush does not have to be set to true but upgrading is not possible at this time.
    Does anyone know of any custom tag or the code needed to perform this function with JSP1.1?
    I am using Tomcat 3.2.3.
    Using a RequestDispatcher and calling include() does not have the desired effect since the output is witten directly to the response and does not go into the correct position in the calling JSP.
    I think the solution involves making a call to the included JSP (is it possible to use a RequestDispatcher that doesn't write directly to the page output stream?) and then append the response to the BodyContent object which is buffering the body content of the custom tag until the doAfterBody() method is called. Is it possible to create a dummy ServletResponse object to pass to the RequestDispatcher and then obtain the HTML response from the internal buffer?

    I don't know if there is a solution to the problem you are having with JSP 1.1. If you look in the spec, it actually warns you that dynamic includes can not be done inside a body tag. The spec actually states that the included code shout write directly to the response and not to the BodyContent.
    I was excited to find out they had fixed this in JSP 1.2, but they seem to have foiled me again. If my tag calls PageContext.include(), the spec says that include must call the flush method, which causes BodyContent to throw an exception since flush is not a valid call.

Maybe you are looking for

  • Oracle 9.2.0.6 on Solaris 10

    Oracle 9.2.0.6 is certified on Solaris 10, and I had no problem getting it installed. The DBAs had no problem creating 20+ databases either, except that they complained it was slow, very slow. Config as follows: System Configuration: Sun Microsystems

  • Savings and Check account as payment form in web channel for B2C

    Hi We have a requirement to handle a Payment Form with a Savings Account or Check account, any idea how we can handle this in the Web shop?. Our concern is where  we can store the require information in the Sales Order in this scenario? Maybe we  can

  • Record is not inserting into the Table thourgh forms 10g

    Hi All, I have the form built in 10g(10.1.2.0.2). Basically the form has 2 blocks. Block 1 with only one item, where we enter some value and hit enter(this will navigate to block2 and execute the query). Block 2(tabular) will fetch the records. Now t

  • Regular tv shows and HD both load and I only want one!

    Seems like sometimes when I download a tv show I will get the regular version and the HD version. I only want the regular version since it's cheaper so I delete the HD version but they are still in my Available Downloads list and every time I try to

  • Start button is disabled at info package

    I have crreated a background job in SM36 to trigger an infopackage. I have added the event and parameter in the infopackage. But when I tried to execute the background job, the infopackage is not executing and the start button is disabled there. Then