Includes from list, Dynamic list/form and Apache mod_rewrite

Hi, I have:
index.php (with includes from list)
activity.php (a dynamic list as included page)
activity_edit.php (a dynamic form as included page)
I want to use SEO friendly url.
But links from my "List" pointing my "Form" (edit, add new) don't work
Is there a way? Thanks
Gabriele

Hi, I have:
index.php (with includes from list)
activity.php (a dynamic list as included page)
activity_edit.php (a dynamic form as included page)
I want to use SEO friendly url.
But links from my "List" pointing my "Form" (edit, add new) don't work
Is there a way? Thanks
Gabriele

Similar Messages

  • Adobe Reader XI - dynamic PDF Form and the E-Mail Dialog

    Hi Community,
    I have a dynamic PDF Form and we use the E-Mail function to save the XML-Data to local harddrive. That works until Adobe Acrobat Reader 10.1.2. But with the Adobe Reader XI (11.0.4) the E-Mail Dialog has changed so I am One is forced to send the XML file with Outlook or the internal mailer and has no option to save the file locally.
    Does anyone know a workaround or something similar. The Live Cycle server with PDF extension is too expensive for our small project.
    E-Mail Dialog (10.1.2)
    If you choose Internet-E-Mail you get a Save-As File Dialog
    E-Mail Dialog (11.0.4)
    There is no way to save the XML-Data to local Harddrive.

    Hi Pat,
    Are you using Adobe Reader XI? And not Acrobat. It does not ask me to save the form if there are unsaved changes.
    I have used previous versions of reader for saving this form data and it did allow me to save it with ctrl+s. And those versions did prompt me to save the changes before closing.
    I guess I should not have updated the reader.

  • Create Custom list form and validate fields using sharepoint designer 2010

    Hi All,
    I have a requirement to create a custom job application form which will be filled and submitted by anonymous users. I have a an option to create custom user control web part but I wanted to
    create it using custom list form using SharePoint designer. My requirement is below
    Date of birth (user age should be above 22yrs )
    Email Validation
    Phone validation
    Resume attachment (should attach only word documents or PDF)
    Qualification (If other is selected then show textbox else hide)
    Can above validations be done using SharePoint designer (JavaScript or validation controls)? Or do I have to create custom control web part?
    MercuryMan

    Hello,
    I think jquery/javascript can be used to put validations on those fields. Fortunately some of validation can be done via sharepoint itself like: email, phone, age. For Attachment and Qualification fields use jquery/JS.
    See below link for column validations:
    http://thechriskent.com/2012/08/15/validate-phone-number-columns-in-sharepoint/
    http://sharepointsolutions.com/sharepoint-help/blog/2011/12/how-to-validate-an-email-address-using-column-validation-in-sharepoint-2010/
    See this for attachment:
    http://stackoverflow.com/questions/4234589/validation-of-file-extension-before-uploading-file
    For qualification:
    http://sharepoint.stackexchange.com/questions/88064/hide-show-field-on-list-form-based-on-value-from-another-field
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Downloads disappear from list immediately and automatically when download completed

    Everytime a download completes it disappears from list automatically

    Are you using Firefox 3.6 or Firefox 4?? Your "More system details..." link shows that you have turned off storing of history using a Firefox 4 preference (places.history.enabled), but your post says Firefox 3.6.17.
    Anyway, the general history setting affects not only site URLs, but also downloads. To treat them separately, go to
    Tools > Options > Privacy
    and change to Custom history settings. Does that solve it?

  • Multiple Accounts in 7.0 using Dynamic User Forms and Account Types

    Guys/Gals,
    We are attempting to implement the new way of handling multiple account types in IDM 7.0 and so far are coming up unsuccessful. We have managed to customize the Dynamic Resource Forms to create standard default AD accounts, however when we attempt to create different account types of AD(i.e type ADMIN account, or TEST account) we have a no go. We've made identity rules for the types of accounts we have, and the form displays the attributes, however when we go to save, the it attemts to update the default account, and not make the new account type. Has anyone implemented these new features? Any help or suggestions would be greatly appreciated. Thanks!

    Were you ever able to implement this? I was told this was the way to handle multiple accounts for a user on a resource, but so far it's not making much sense to me, nor does it seem feasible. I was wondering if you had any success with it.

  • Insert multiple rows into dB from one dynamic HTML form problem

    Hi,
    - I have form which has dynamically generated text fields so I don't want to hard code the field names into the servlet
    - A user will fill in one or more of the text boxes with a number and submit to the servlet (the name of the field represents an item ID, the value represents a quantity the user wants of that item).
    - The servlet needs to insert a new record into a table for each field that is not null.
    My question is how!
    If I send as an array or string, how will the servlet know that each submitted field needs to be inserted as a new record as opposed to one long record?
    I know I'll need to use a loop of somekind; how will I know how long to loop for if the number of 'not null' fields is not static? I need to get a value for the number of 'not null' fields from the form before the loop starts I think but don't know how...
    Also, should I call an SQL procedure that has an insert-loop OR should I have the servlet loop a call to a single insert statement? (am I making sense!?)
    Anyway, I've seen many examples where a submitted form updates/inserts one record into a table but never any for multiple records at one time. I'm using a Tomcat/Oracle set up, and I'm "New to Java"...
    Many thanks in advance.

    sorry, but I dont' understand very well what do you want to do!
    In any case if you want to retrieve all parameters (and you don't know what they are), you can use a general cosde like this:
    Enumeration names= request.getParameterNames();
    while(names.hasMoreElements()) {
    // in 'name' you store the name of the parameter
    String name = (String) names.nextElement();
    // in 'value' you store it's value
    String value = request.getParameter(name);
    remember that ALL parameter values can't be null (if they are void their value is "").
    The only case that you can get a null value is when you try to access a non existing parameter (like request.getParameter("pwqjsak"));
    I hope this helps! Else try to give me more info about your problem

  • How to extract data from an interactive adobe form and update SAP database

    Hi ,
    I want to create an Interactive Adobe Form with two text fields and a submit button.On click of submit data entered in the text fields should be stored in a ZTable.
    Please let me know the procedure for doing this in ABAP.
    Thanks,
    Prasuna.

    Hi ,
    pls have a look at the link below...
    [http://www.adobe.com/devnet/livecycle/articles/lc_designer_schema_tip.pdf]
    if u r using abap web dynpro application for calling the adobe form than on the CLICK Action of the button give the code :
    zdept is the interface name ..
    method ONACTIONCLICK .
      data:
        Node_Adobe       type ref to If_Wd_Context_Node,
        Node_Zdept       type ref to If_Wd_Context_Node,
        Elem_Zdept       type ref to If_Wd_Context_Element,
        Stru_Zdept       type If_Main_View=>Element_Zdept .
      data wa_zdept type zdept.
    * navigate from <CONTEXT> to <ADOBE> via lead selection
      Node_Adobe = wd_Context->get_Child_Node( Name = IF_MAIN_VIEW=>wdctx_Adobe ).
    * navigate from <ADOBE> to <ZDEPT> via lead selection
      Node_Zdept = Node_Adobe->get_Child_Node( Name = IF_MAIN_VIEW=>wdctx_Zdept ).
    * get element via lead selection
      Elem_Zdept = Node_Zdept->get_Element(  ).
    * get all declared attributes
      Elem_Zdept->get_Static_Attributes(
        importing
          Static_Attributes = Stru_Zdept ).
      wa_zdept-DEPTNO = Stru_Zdept-deptno.
      wa_zdept-DNAME = Stru_Zdept-dname.
      wa_zdept-LOC   = Stru_Zdept-loc.
      insert into zdept values wa_zdept.
    endmethod.
    Hope this helps  !!!
    best of luck !!
    Regards
    Ravi

  • Jsp and apache mod_rewrite

    Hi All
    I'm using urlrewritefilter (http://code.google.com/p/urlrewritefilter/). i want that when I click the link
    (ie http://localhost:8080/project/html/aboutus) it should take me to the page http://localhost:8080/project/html/about.html
    but the url written in the address bar of browser must be http://localhost:8080/project/html/aboutus
    the rule I've written in urlrewrite.xml is:
    *<rule>*
    *<from>^/html/aboutus$</from>*
    *<to type="redirect">/persontation/html/about.html</to>*
    *</rule>*
    I'll extremly be grateful to all of you if you guide what to do more. what do i need to add or whatever. how is it possible? I need its solution urgently.
    bundle of thanks in advance for all of you.

    Hi All
    I'm using urlrewritefilter (http://code.google.com/p/urlrewritefilter/). i want that when I click the link
    (ie http://localhost:8080/project/html/aboutus) it should take me to the page http://localhost:8080/project/html/about.html
    but the url written in the address bar of browser must be http://localhost:8080/project/html/aboutus
    the rule I've written in urlrewrite.xml is:
    <rule>
    <from>^/html/aboutus$</from>
    <to type="redirect">/persontation/html/about.html</to>
    </rule>
    I'll extremly be grateful to all of you if you guide what to do more. what do i need to add or whatever. how is it possible? I need its solution urgently.
    bundle of thanks in advance for all of you.

  • Change data in existing "Choose from list" matrix

    Hi,
      in UI GUI->order form . When add a new order, hit "TAB" to select BP from existing list. I want to use my own sql to populate the BP list (currently the GUI defaults to return all customers).
    Is there a way? I mean if I just want to change data in the matrix and let B1 continue to make the "Choose from list" form (form "10001") with my own new customer list.  Set BubbleEvent = true will just re-read all cards after I query my result.
      any help is appriciated!

    Hello,
    I came across the same issue with the Items Choose from List on the Sales Order screen. It is possible to load your own Choose from List form and populate the matrix using recordset objects and userdatasources. The same logic could be applied to the BP Choose from List form. The following code displays the user form and matrix items - separate code is needed to handle the selection process on this form. There maybe a faster way of acheiving this using UDTs etc but it seems to work ok.
    'When user presses Tab key in Item No. column.
    If pVal.EventType = et_KEY_DOWN Then
    If pVal.ItemUID = "38" And pVal.ColUID = "1" And _
    pVal.Before_Action = True And pVal.CharPressed = vbKeyTab Then
    'Load new Choose from List form.
    'This is actually an exported and edited version of the SBO form.
    LoadFromXML sIIS_ITEMLIST_XML
    'Populate matrix with items returned from SQL query.
    'Use recordset, arrays, userdatasources.
    Set oRecordSet = oCmp.GetBusinessObject(BoRecordset)
    sSql = "Select OITM.ItemCode, OITM.ItemName, OITM.OnHand FROM OITM " & _
        "Where Upper(Left(OITM.ItemCode,2)) = 'B1'"
    oRecordSet.DoQuery sSql
    nRows = oRecordSet.RecordCount
    If nRows <> 0 Then
    'Array declarations.
    Dim ItemCode(), ItemName(), OnHand()
    ReDim ItemCode(nRows - 1)
    ReDim ItemName(nRows - 1)
    ReDim OnHand(nRows - 1)
    'Add userdatasources to form.
    oForm.DataSources.UserDataSources.Add "ItemCode", dt_LONG_TEXT, 20
    oForm.DataSources.UserDataSources.Add "ItemName", dt_LONG_TEXT, 100
    oForm.DataSources.UserDataSources.Add "OnHand", dt_LONG_NUMBER
    i = 0
    'Populate arrays from recordset.
    Do While oRecordSet.EOF <> True
        ItemCode(i) = oRecordSet.Fields.Item(0).Value
        ItemName(i) = oRecordSet.Fields.Item(1).Value
        OnHand(i) = oRecordSet.Fields.Item(2).Value
        oRecordSet.MoveNext
        i = i + 1
    Loop
    'Bind data fields to form items.
    Set oMatrix = oForm.Items.Item("7").Specific
    Set oColumn = oMatrix.Columns.Item("ItemCode")
    oColumn.DataBind.SetBound True, "", "ItemCode"
    Set oMatrix = oForm.Items.Item("7").Specific
    Set oColumn = oMatrix.Columns.Item("ItemName")
    oColumn.DataBind.SetBound True, "", "ItemName"
    Set oMatrix = oForm.Items.Item("7").Specific
    Set oColumn = oMatrix.Columns.Item("OnHand")
    oColumn.DataBind.SetBound True, "", "OnHand"
    'Get data from datasources.
    Dim oUItemCode As SAPbouiCOM.UserDataSource
    Dim oUItemName As SAPbouiCOM.UserDataSource
    Dim oUOnHand As SAPbouiCOM.UserDataSource
    Set oUItemCode = oForm.DataSources.UserDataSources.Item("ItemCode")
    Set oUItemName = oForm.DataSources.UserDataSources.Item("ItemName")
    Set oUOnHand = oForm.DataSources.UserDataSources.Item("OnHand")
    oMatrix.Clear
    'For each returned record in recordset then
    'add row to matrix and populate it from
    'userdatasource.
    For i = 1 To nRows
        oMatrix.AddRow
        oUItemCode.Value = ItemCode(i - 1)
        oUItemName.Value = ItemName(i - 1)
        oUOnHand.Value = OnHand(i - 1)
        oMatrix.SetLineData
    Next i
    End If
    'Show form. This also sets focus to edittext field.
    oForm.Visible = True
    'Don't display standard SBO item list form.
    BubbleEvent = False
    End If
    End If
    Regards,
    Andrew.

  • Mailing list form, how to make it functional?

    I'm trying to add the typical "Join our Mailing List" form into a website where users can submit their email addresses.  I've built the form and now I need to make it functional.  I don't know a lick of php or databasing, and after investigating it on the web and the forum there seems to be a bunch of different answers and I'm not sure which direction to go in.  Is there an easy way to do this with a premade script somewhere?  Would I have to get it from the company that's hosting the site?  How do I implement it?
    Thanks in advance!!!!

    Awesome, thanks so much for the help CanonBoy.  So I can use this for both my mailing list form and my contact message form?  I opened Dreamweaver and on the contact page I set the form to this:
    <div id="ContactForm">
      <form id="form1" name="form1" method="post" action="contact.php">
        <table width="300">
          <tr>
            <td colspan="2"><span class="MainText">All information will be kept private</span></td>
          </tr>
          <tr>
            <td width="61"><span class="MainText">Name:</span></td>
            <td width="227"><span class="MainText">
              <input name="Name" type="text" id="Name" size="25" />
            </span></td>
          </tr>
          <tr>
            <td><span class="MainText">Email:</span></td>
            <td><span class="MainText">
              <input name="Email" type="text" id="Email" size="25" />
            </span></td>
          </tr>
          <tr>
            <td><span class="MainText">Phone:</span></td>
            <td><span class="MainText">
              <input name="Phone" type="text" id="Phone" size="25" />
            </span></td>
          </tr>
          <tr>
            <td> </td>
            <td> </td>
          </tr>
          <tr>
            <td><span class="MainText">Message:</span></td>
            <td><span class="MainText">
              <textarea name="Message" id="Message" cols="23" rows="5"></textarea>
            </span></td>
          </tr>
          <tr>
            <td> </td>
            <td> </td>
          </tr>
          <tr>
            <td> </td>
            <td><input name="Clear" type="reset" class="MainText" id="Clear" value="Clear" />
            <input name="Submit" type="submit" class="MainText" id="Submit" value="Submit" /></td>
          </tr>
        </table>
      </form>
    </div>
    Do I have to change the form ID and the name in line 2?  And also I'm not sure what you meant about the hidden field, what exactly do I copy and paste and where do I put it?  And is there a generic form on the tectite site I can add the client's email address to, change it to contact.php and upload it?  Thanks big time!!!

  • Validate from list behavior ? help needed

    Hi,
    I have an item whith a lov attached to and the proerty of the lov is validate from list = yes.
    But when a create a record and type the begining of the words eg Jean then when i do key-list-val or F9 the lov returns me all the rows and.
    And when i press enter in the field then the lov shows with Jean% and show me only the names beginning with Jean.
    Why does it only happen when i press enter and not when doing F9?
    Should it not be the same behavior ?
    Thanks in advance.
    PS: it is quite urgent !
    Jean-Yves

    Hi ,
    When you enters a wrong value into a "Validate from List" Item and hit <ENTER> then validation to make sure that the entered value exists within the List and if it is not there , then the forms engine filters the Shows values as the value entered into the Item as helping you to select from the List cause you have entered ambigious Choise and in case no matched entries it display all the list , but in case you display the LOV normally this means you are trying to select a value then no Pre Serach happened unless you specify (Filter Before Display = true) on the LOV properties ,
    Best Regards,

  • Saving result from sp_executesql into a variable and using dynamic column name - getting error "Error converting data type varchar to numeric"

    Im getting an error when running a procedure that includes this code.
    I need to select from a dynamic column name and save the result in a variable, but seem to be having trouble with the values being fed to sp_executesql
    DECLARE @retval AS DECIMAL(12,2)
    DECLARE @MonthVal VARCHAR(20), @SpreadKeyVal INT
    DECLARE @sqlcmd AS NVARCHAR(150)
    DECLARE @paramdef NVARCHAR(150)
    SET @MonthVal = 'Month' + CAST(@MonthNumber AS VARCHAR(2) );
    SET @SpreadKeyVal = @SpreadKey; --CAST(@SpreadKey AS VARCHAR(10) );
    SET @sqlcmd = N' SELECT @retvalout = @MonthVal FROM dbo.CourseSpread WHERE CourseSpreadId = @SpreadKeyVal';
    SET @paramdef = N'@MonthVal VARCHAR(20), @SpreadKeyVal INT, @retvalout DECIMAL(12,2) OUTPUT'
    --default
    SET @retval = 0.0;
    EXECUTE sys.sp_executesql @sqlcmd,@paramdef, @MonthVal = 'Month4',@SpreadKeyVal = 1, @retvalout = @retval OUTPUT;
    SELECT @retval
    DECLARE @return_value DECIMAL(12,2)
    EXEC @return_value = [dbo].[GetSpreadValueByMonthNumber]
    @SpreadKey = 1,
    @MonthNumber = 4
    SELECT 'Return Value' = @return_value
    Msg 8114, Level 16, State 5, Line 1
    Error converting data type varchar to numeric.

    Please follow basic Netiquette and post the DDL we need to answer this. Follow industry and ANSI/ISO standards in your data. You should follow ISO-11179 rules for naming data elements. You should follow ISO-8601 rules for displaying temporal data. We need
    to know the data types, keys and constraints on the table. Avoid dialect in favor of ANSI/ISO Standard SQL. And you need to read and download the PDF for: 
    https://www.simple-talk.com/books/sql-books/119-sql-code-smells/
    >> I need to select from a dynamic column name and save the result in a variable, but seem to be having trouble with the values being fed to sp_executesql <<
    This is so very, very wrong! A column is an attribute of an entity. The idea that you are so screwed up that you have no idea if you want
    the shoe size, the phone number or something else at run time of this entity. 
    In Software Engineering we have a principle called cohesion that says a model should do one and only one task, have one and only one entry point, and one and only one exit point. 
    Hey, on a scale from 1 to 10, what color is your favorite letter of the alphabet? Yes, your mindset is that level of sillyity and absurdity. 
    Do you know that SQL is a declarative language? This family of languages does not use local variables! 
    Now think about “month_val” and what it means. A month is a temporal unit of measurement, so this is as silly as saying “liter_val” in your code. Why did you use “sp_” on a procedure? It has special meaning in T-SQL.  
    Think about how silly this is: 
     SET @month_val = 'Month' + CAST(@month_nbr AS VARCHAR(2));
    We do not do display formatting in a query. This is a violation of at the tiered architecture principle. We have a presentation layer. But more than that, the INTERVAL temporal data type is a {year-month} and never just a month. This is fundamental. 
    We need to see the DDL so we can re-write this mess. Want to fix it or not?
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • How do you get your opening page back to album cover status instead if being in a list form

    WHen I open up itunes it always showed recently downloaded items in an album form now it got changed to a list form and I cant get it back to the album view does anyone know how to do this.

    Assuming you've got an iTunes version 11.x, click on the word "Albums". Here's a screenshot showing where to find it:

  • Choose from list in Matrix

    Hey All,
    Has anyone been able to get the choose from list in a matrix text field working in SBO 2005 patch level 6? We have tried the tech demo and it works for new rows but not for existing rows. Also we have written our own code to set the matrix text box on the choose from list event and we get a general failure exception even though the value still gets set properly.
    If anyone has this working please post so we can all know how to do this properly.

    Hi there,
    This "Choose from list" thing is new for me, there's a Choose from List example in the new techDemo but i don't understand the code.. too complicated for me.. Is there any simple code/sample for this?
    Well i manage to trigger the choose from list .. but don't know how to put the selected value to the cell..
    Bruce..

  • Export/Import xml from dynamic pdf form using java

    Hi,
    I have been searching for the last 2-3 days on the internet for this. Some posts do talk about it, but none have provided the answer I was looking for. Hopefully this is the correct forum to post the question in.
    I am working on a desktop swing application that works on extracting and changing data in a XFA form, I would like to export the form's content modify it and import it back using java. This is so easy with the Adobe Reader, where it nicley exports the form content as an XML document, you can change it manually and the import the data back. I am searching for a way of doing this in java. I found XPAAJ.jar mentioned in some forums, that may make this easy. I havent been able to use it, since I cant find it anywhere.
    I found a blog from Mike Potter
    http://blogs.adobe.com/mikepotter/2006/07/download_xpaaj.html
    This says that XPAAJ is free as long as I use it on forms developed using livecycle. I dont own livecycle, but the forms that I am working has been built using livecycle.  So my questions are:
    1. Is XPAAJ the correct library to use, to export and import XML data from a dynamic pdf form?
    2. Is XPAAJ free to use and distribute as long as it works on pdf forms developed by livecycle?
    3. Where can I download XPAAJ from?
    4. If XPAAj is no longer available, is there any other free library that does this?
    5. If there isn't any free library, how much would cost me to use and distribute the library along with my desktop application?
    Thanks
    Sethu

    Hi Sethu;
    First, its important to know that xpaaj never was a supported piece of software.  It was supplied "as is" with no support from Adobe.  It has been pulled and is no longer available from the Adobe web site.  Mike's blog is from 2006, so its really old information.
    1. Is XPAAJ the correct library to use, to export and import XML data from a dynamic pdf form?
    While the xpaaj library will import and export data to/from a form on the client, Adobe now recommends using the LiveCycle ES Forms server.
    2. Is XPAAJ free to use and distribute as long as it works on pdf forms developed by livecycle?
    The license stated that you need to own one of Adobe's server side products (not LiveCycle Designer, but one of the server side LiveCycle products).
    3. Where can I download XPAAJ from?
    XPAAJ was pulled by Adobe.  They found a few bugs and since it was unsupported software they just pulled it from the web site.
    4. If XPAAj is no longer available, is there any other free library that does this?
    Not from Adobe.  Adobe recommends using the LiveCycle ES Forms software for merging data and forms.
    5. If there isn't any free library, how much would cost me to use and distribute the library along with my desktop application?
    As far as I know there Adobe doesn't have a client side library available for this (merging dynamic XDP based forms with data).

Maybe you are looking for

  • Ethernet adapter not working with new Mac Mini after NetRestore.

    I'm currently working with an issue regarding Mini 4,1s and their difference from the main driver set in 10.6.4. I'm in an educational environment and attempting to effectively netrestore a hard drive image that was built on a Mini 3,1 with all possi

  • Wifi frequent disconnecting after updating to 6.1.3

    Few days back I updated my Iphone 4s to 6.1.3. From that day my wifi was disconnecting frequently, This problem started when I am using  skype or face time.(video calling). If anyone find the solution for this problem please help me.

  • Convert to Mp3 doesn't work with purchased songs

    I bought via Itunes Musicstore some songs. Format ACC and protected. For my Ipod that's okay. For my daughters'MP3 player it is impossible to convert ACC protected files to MP3. Why is that? I bought the songs and I don't need the protection. What ca

  • How could I set a spot color to particular percent value?

    Hi, In one of my samples PDFs I have this content part: /OC /MC0 BDC /CS0 cs 0.6 scn /GS0 gs 0 0 283.46 283.46 re f EMC How could I achieve the same value of '0.6' for some ColorSpace component with Acrobat SDK 9.x? If I do usual Graphics state creat

  • Print shop says photos I resized in Photoshop CC are not 300 ppi

    I used Photoshop CC on Mac to resize a lot of photos for a book. The print shop now claims that several are not 300ppi.  What is happening? We need to go to print right away.