Need Help w/Form Component

running SJSC2U1 on XP
Need help with using the form and associated components to create a search functionality in a jspf page..
I have used the form component and attempted to use the properties method="get" action="http://www.aaa.com/query.html" name="getit" etc...
I am told (error msg) that these methods, etc. are not valid for the "form" component
Does anyone now how to create a search functionality in a jspf page using components, be it "markup" layoutPanel, Form or whatever..
a simple example (code) would be great.
Thanks

running SJSC2U1 on XP
Need help with using the form and associated components to create a search functionality in a jspf page..
I have used the form component and attempted to use the properties method="get" action="http://www.aaa.com/query.html" name="getit" etc...
I am told (error msg) that these methods, etc. are not valid for the "form" component
Does anyone now how to create a search functionality in a jspf page using components, be it "markup" layoutPanel, Form or whatever..
a simple example (code) would be great.
Thanks

Similar Messages

  • I need help in form 6i

    Good morning everyone,
    I need help please
    someone who has handled expiry of session in form 6i
    I am using a library called D2KWUTIL.PLL
    and triggers When-new-form-instance and When-timer-expired.
    The problem I have is that the screens flash forms text boxes, I realized that this is for the trigger When-timer-expired
    and believe that my timer every 1 second, the issue is to control the inaction and close all forms.
    Help me if you know another way to handle session expiration.
    thanks in advance.

    Andreas Weiden wrote:
    A way to do it in forms could be this:
    -Create a global containg the last time the user did an action.
    -Create a form-level WHEN-VALIDATE-ITEM-trigger an let it update that date. (If you want also other actions to be treated as "action", you might add additional triggers, like KEY-ENTQRY and KEY-EXEQRY,..)
    -Create a timer, whichs check if the last actiondate in the global is older than you want to allow.
    -Make sure that the timer fires as less often as possible.
    Personally, i would recommend to not do it that way, because when you "switch" to webforms some day, the timers can/will make problems.thanks for replying,
    may be more explanatory
    thanks

  • Need help in Custom component creation with cq

    Hi,
    I have created my own component in adobe cQ and able to drag an drop in any page. for each instance I am seeing the copy of
    component under node /content/mypage/commoncomp. If I edit the properties using design dialog  I can able to store values as
    expected.
    Need help in
    1) When I drag and drop the component it shows null for the property by deafult if I click save on edit dialog then the
    value is showing. The default value is not shown by default while drag and drop my component it requires atleast one time to
    click save from dialog using design mode
    2) I need to use the default properties of the orginal components which is root and use the duplicated properties if incase user edit the properties of duplicated component. This may be too messy.... to be more clear
    I want to use a common component in many pages but the properties of the components should be updated only when user edit it in design dialog utill then I need the page to use properties of root component.
    Thanks

    You just need to create your own version of PlumtreeTopBarView (original in com.plumtree.common.uiparts), and use CustomActivitySpace.xml to override that view with your own view. Your version would use some kidn fo logic to determine whether or not to display certain elements. TheUI Customization Guide should help quite a bit, and we have several quickstarts for overriding views you can start from.
    Is there some Help file in PT that I can reference that will enable me to find what namespace does GetRequestURL() belongs to?I would simply do a string compare. Tokenize the URL into the base address / control arguments, perhaps splitting on the "?" symbol; then tokenize the base address on the ".". You'll end up with three strings. For portal.plumtree.com, the three strings would portal, plumtree, and com. You can then use those string in the logig you add to PlumtreeTopBarView.
    David Phipps
    Plumtree Software

  • Need help for adding component

    i have 2 class, the first one is Workspace.java, the other one is BannerBox.java,
    in my BannerBox.java, the code is look like this:
    public class BannerBox extends JPanel{
         private JLabel bannerLabel;
         public BannerBox(){
              setLayout( new GridBagLayout());
              bannerLabel = new JLabel();
              bannerLabel.setIcon(SparkRes.getImageIcon("TEST_IMAGE"));
              bannerLabel.setHorizontalAlignment(JLabel.LEFT);
              add(bannerLabel, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(2, 2, 2, 2), 0, 0));
              setBorder(BorderFactory.createLineBorder(new Color(197, 213, 230), 1));
    in my Workspace.java i've tried to add the bannerbox into workspace
    and my code is looks like this:
    public class Workspace extends JPanel implements PacketListener {
    private BannerBox bannerBox;
    private Workspace(){
    add(bannerBox, new GridBagConstraints(0, 3, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(2, 4, 4, 4), 0, 0));
    There is no error, so i can run it, but the bannerbox is not showed up... hmm, what should i do?
    is there some mistake that make this code doesn't work?
    (actually this class has a long code, but i can't put it all here, it very long code, and workspace.java is not my code so i barely understand the code but i need to add the label which contain image to this workspace)
    need help here.. i'm stuck..
    thx before
    ralese

    1) In the future, Swing related questions should be posted in the Swing forum (after searching to make sure it hasn't been asked before)
    2) Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.
    3) Learn how to use other layout manager before using the GridBagLayout. All the others are much easier to understand
    4) Read the Swing tutorial on [How to Use Icons|http://java.sun.com/docs/books/tutorial/uiswing/TOC.html] for a working example.
    5) If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.

  • Need help with form calculations

    I'm converting a non-editable PDF form into an editable one and could use some help as I'm am new to this. Note: I did not create the non-editable form, It's a form I downloaded and use in my business.
    I already figured out how to create text fields in the already created PDF non-editable form, now I'm trying to add in calculations. I can create the (value is the) calculations between 2 or more text fields, but now I need to multiply one text field by the number 3 and have the answer show up in another text field.
    Example:
    I'll use the letters A & B for the text filed names in my example.
    I have text field A calculating the sum of other text fields using the (value is the sum of) option under the (calculate properties box.)
    Now I want text field B to multiply text field A by a fixed number of 3.  (A=24) x 3=72. I need text field B to have the answer of 72 in it.
    I need text field B to always multiply text field A by 3.
    Does anyone know how I can accomplish this?
    I'm using Adobe 8 Pro.
    Please note that I have no experiance using custom calculation script if that is the only way this will work and will step by step instruction on how to write the code.
    Thank you very much.

    You can use the simplified field notation option. In this case, you'd enter:
    3 * A
    Where "A" the the exact name of the A field. It is best to avoid spaces and any other special characters for any fields that you'll want to include when using simplified field notation option.

  • Need Help on Forms Personalization

    Hi All,
    I am doing personalization on Sales Order Form.When i select Order Type as 'Mixed' i have to display salesperson as "No Sales Credit" in the form.But when i click on lov of salesperson field it is giving list of values. But i need only one item in the list i.e "No Sales Credit" when i select order type as 'MIXED'.For this i am trying to restrict lov of salesperson through Create Record Group from Query Built-in.But where can i put condition as Order Type as 'Mixed' in that personalization.
    Can anyone please help me out.
    Is there any posssible way to do this.
    Thanks in advance,
    Dhanasurya

    Hi DhanaSurya,
    First, you need to put 'Order Type' as Mixed in the Query Where clause of 'Create Record group from Query', and then you need to atatch a new Record group to the LOV with property:
    Object Type: LOV
    Target Object: <OLD LOV ON FORM>
    Property name: GROUP_NAME
    Value: 'customized Record Group Name'.
    Regards,
    Kiran

  • Need help with CF component call, please

    Hi!
    I've been working with component lately but still learning. In one of my logic I need to use an existing component and I'm not sure how to correctly call the function and get the return result from that.
    Can anyone help me please?
    Basically I created a component:
    <cfcomponent displayname="X">
         <CFFUNCTION name="GetNames">
           <fargument name="1" type="String" required="TRUE">
           <cfargument name="2" type="String" required="TRUE">
           <!---- I do my work here ---->
            within my logic, I need to call an existing function located at
            in a different component And I  need to use the result returned by this function.
            (see below)
            I'm not sure how to correctly call that function from here
            Can I simply do:
            <cfinvoke component="the location of Y component" method="Compare" MyVar = "MyNames" Returnresult="Z">
            <CFIF #Z# NEQ 0>
                <!---  DO something --->
           <CFELSE>
              <!--- do something else --->
           </CFIF>
         </CFFUNCTION>
    </cfcomponent>
    This is the existing componen that I need to use. It's located at the same directory:
    <cfcomponent displayname="Y">
    <!--- assuming this is the function that I need to call --->
         <CFFUNCTION name="Compare" hint="verify names">
           <cfargument name="MyVar" type="String" required="TRUE">
          <cfscript>
                some logic here
                 return return_struct;
         </cfscript>
         </CFFUNCTION>
    </cfcomponent> 
    Please advice, thank you!

    I hopo the following example will be helpful for. Please let me know if you have any questions.
    childComponent.cfc:
    <cfcomponent displayname="childComponent">
        <cffunction name="childComponentFunction" access="remote" returntype="string">
            <cfargument name="myArgument" type="string" required="yes">
            <cfset var finalString="">
            <cfinvoke component="baseComponent" method="baseComponentFunction" returnvariable="finalString">
                <cfinvokeargument name="stringArgumentToReturn" value="#arguments.myArgument#">
            </cfinvoke>
            <cfreturn finalString>
        </cffunction>
    </cfcomponent>
    baseComponent.cfc:
    <cfcomponent displayname="baseComponent">
        <cffunction name="baseComponentFunction" access="public" returntype="string">
            <cfargument name="stringArgumentToReturn" required="yes" type="string">
            <cfreturn arguments.stringArgumentToReturn>
        </cffunction>
    </cfcomponent>
    FYI - There several other methods through which we can call functions of different functions.

  • Need help on forms

    Hello ,
    I wanted some help with form6i error messages.
    I wanted to define form6i error messages within database.
    And include severity (information, warning, error, or fatal),summary and detail information with variable text substitution ,common error -handling frame work formats errors for end user display and logs error information based on severity level.
    All the form messages should be stored in table and then it will be
    Customize and will be shown to user at runtime . how should I do that?
    This is really very urgent
    Thanks in advance ….

    This forum is for posting feedback about the OTN site.
    The best place for your question is probably the Forms.

  • Need help getting form created in Acrobat X to email form data back to me

    The form I created seems to work from my computer that has Acrobat X installed but when I try to submit the PDF with a computer that only has Reader installed it says "This Operation is Prohibited."
    The end users of this form will most likely only have Adobe Reader, how do I set up my form so that it is compatible with Reader?
    Thanks for your help!

    You have 2 choices and one depends on your satisfying the limits of the EULA (no more than 500 submissions basically). For the latter, you have the entire form submitted and you have to enable Reader Rights in Acrobat. On this machine (AA8), it is under the Advanced menu, not sure with AAX (I think they moved it). For the other choice that does not have the license limit, you do not activate Reader Rights, but have the data submitted as an FDF file (XML if you are using Designer, but then Designer questions should really go to the LiveCycle forum). When you receive the FDF or XML file, you simply go to the forms menu in Acrobat > Manage Data, and import the data. The FDF Toolkit also allows separate manipulation of data files.

  • Need help with Forms on iPad

    I am trying to view and submit forms on my iPad. I've created a form in LiveCycle and emailed it to myself but I am unable to view or open the PDF form with the Adobe Reader app. Please help!

    Hi Randy - I have Adobe Acrobat Pro 9.5 and when I try to create a new form a pop-up comes up saying that the form will be edited in Adobe LiveCycle designer and that Adobe Acrobat will close. I do not have the option to stay in Adobe Acrobat. Any idea how to stay in Adobe Acrobat instead of moving into LiveCycle? I want to create some PDF forms that can be filled out on an iPad in Adobe Reader and then emailed. Thank you!

  • Need help on Forms Customization

    Hi All,
    I have one requirement i.e I developed one form which contails 3 windows.First window is for Query_Find, second one is for orders Summary and third window is for detail.In detail window i have one stacked canvas which displays order details in tabular form.i have written code for inserting data into one custom table in ON-INSERT and ON-UPDATE trigger of that block.
    and Commit_Form in the KEY-COMMIT trigger.My requirement if i check the chekbox and change the status(List item ) from status field and when i click on save button it's saving the changes.But i don't want to save the changes at this time.
    How can we restict save changes at this point?
    Can any one plzz give me some idea.
    Thanks in Advance,

    Dhana,
    In the When-Button-Pressed trigger just check the value of the CheckBox and the Status field value before you call the Commit_Form built-in or Commit. But what about if the user clicks on the Save button in the Menu? What if the user uses Ctrl+S to save. You would also want to perform a similar check in the Key-Commit Form level trigger if you want to prevent the "Save" from these options as well.
    Hope this helps,
    Craig B-)
    If a response is helpful or correct, please mark it accordingly.

  • Need help regarding form validation

    Hi all,
    I have particular doubt regarding form validation. I have a form based on a table. ( One data block ) . I have a function in program unit which return boolean value based on some conditions. I will be calling this function in block validate trigger.
    What i need is , if function return false i need to stop any insertion,updation action that's going to be done by forms.( point to control insertion and updation)
    I don't want to use form triggure failure builtin. What should i do ? plz guide
    regards

    what are you going to do stop insert/update upon commit?
    -- use on-insert trigger
    if allowed_to_insert then
    insert_record;
    end if;
    -- use on-update trigger
    if allowed_to_update then
    update_record;
    end if;
    if when entering data, you might want to check set_block_property

  • Need Help: Submit form through email

    I need to submit my form to an email address on single click of a button.
    The submit type can be either XML or PDF. But i should neither get any warning nor it should open the Email Client.
    And everything should happen within Adobe Reader 9.
    Is this possible?
    Thanks in Advance,
    Nith

    Hi Nith,
    I saw this question and was interested in what sort of database setup you've got etc. Im a bit new and was just starting to explore how or if you could establish a database to take and store  the information directly from the forms
    I know this is a bit off topic.... but any pointers would be appreciated. I have CS4 master suite (no other livecycle products or budget for them though) and Office 2007.  
    I had been using a custom xml parser to pull the info and put it into target files but this has no storage/reuse potential and is getting real "clunky" so im keen to learn about databases and livecycle.  
    cheers

  • Need help creating form that people have to submit to access a page

    hello,
    I am trying to create a form that people would have to fill out and submit to access a specific page. The info they fill out would have to go to an email address. Does anyone have the simplest solution for this? It wouldn't have to be stored in a database just go to an email. Any help would be appreciated. I'm not to great with the backend of things.

    Thanks for getting back to me. What I have is a pricing page. The feedback form is so we can see who views or is interested in services. We want only people who fill out this form to be able to view it. I have created simple contact forms that are sent to an email and directed to another page. The problem I am having is trying to figure a way to where hopefully if the same person comes back they won't have to fill out the form again. I know if they fill out the form and create a user name/login it could be a possible fix but I am trying to make it simple. I am just starting to learn PHP/XML (which I have copied from another sources) and haven't written my own. Maybe creating a cookie that is checked once the page is loaded? I have no idea how to do that either though... I am a front end "designer" and a lot of this is greek to me.

  • Need help solving script component failure (SSIS Visual Studio tools 2.0 using VB 2008)

    Hello,
    I am new to SSIS but believe I have fought my way through this one where I almost have it.
    I copied am existing successful package that uses a loop (and VB code) for ETL of a file. The difference is that I have a new Excel file with different content (I carefully modified the VB code to match the current file). When I run the package I am down
    to just a couple of errors now under the “progress  tab”. I am hoping you can point me in the correct direction to resolve this.
    First I get a Script Component Runtime Error as I run (debug) this package:
    at Microsoft.SqlServer.Dts.Pipeline.ScriptComponent.get_ReadWriteVariables()
    at SC_712a9d2c4d4a4a48a2c07c5f14c80b1a.vbproj.Variables.get_sFacility()
    at SC_712a9d2c4d4a4a48a2c07c5f14c80b1a.vbproj.ScriptMain.Input0_ProcessInputRow(Input0Buffer Row)
    at SC_712a9d2c4d4a4a48a2c07c5f14c80b1a.vbproj.UserComponent.Input0_ProcessInput(Input0Buffer Buffer)
    at SC_712a9d2c4d4a4a48a2c07c5f14c80b1a.vbproj.UserComponent.ProcessInput(Int32 InputID, PipelineBuffer Buffer)
    at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.ProcessInput(Int32 inputID, PipelineBuffer buffer)
    The Data Flow “Progress tab reveals 2 messages
    [Create ED1_2 Feeder File [1760]] Error: Microsoft.SqlServer.Dts.Pipeline.ReadWriteVariablesNotAvailableException: The collection of variables locked for read and write access is not available outside of PostExecute.
       at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.HandleUserException(Exception e)
       at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.ProcessInput(Int32 inputID, PipelineBuffer buffer)
       at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostProcessInput(IDTSManagedComponentWrapper100 wrapper, Int32 inputID, IDTSBuffer100 pDTSBuffer, IntPtr bufferWirePacket)
    AND #2:
    [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. 
    The ProcessInput method on component "Create ED1_2 Feeder File" (1760) failed with error code 0x80131600 while processing input "Input 0" (1762). The identified component returned an error from the ProcessInput method. The error is
    specific to the component, but the error is fatal and will cause the Data Flow task to stop running. 
    There may be error messages posted before this with more information about the failure.
    Any suggestions?  I know the code I copied from the source package works perfectly there, but my copy (and then modified) version of the VB code fails in my new package.
    THANKS!!!!!

    Thank You. While waiting for a response I decided that instead of copying the package and editing according to my new source file, that I should rebuild it from scratch
    manually instead (while using the original as a model). Well... it worked!
    (probably could have repaired the other too with your help and with additional effort, etc.). You were right to suspect the variables as I found properties didn't match there as far as scope. In fact that was the last thing I was working
    on when it finally worked.  So, as the late Gilda Radner used to say..."never mind". Thanks again.

Maybe you are looking for

  • How can I call a Page Process from the Select statement for Report Page

    I'm able to call a javascript using the below: img src="#IMAGE_PREFIX#add2.gif" border="0" alt="Icon 4" onClick="javascript:add_connect1('||CPORT.ID||')" But Now, I'd like to accomplish (2) New things: 1. instead of using,....... onClick="javascript:

  • How to create variants for a sequence-f​ile?

    Hello, i have a testplan with custom teststeps. Each step has a new field with type "container" and name "myData", Inside of this container are numeric, string and bool parameter. The parameter inside this container are used to execute the teststep.

  • Store large volume of Image files, what is better ?  File System or Oracle

    I am working on a IM (Image Management) software that need to store and manage over 8.000.000 images. I am not sure if I have to use File System to store images or database (blob or clob). Until now I only used File System. Could someone that already

  • Syntax Error in Login Code PHP

    Hello, I am currently building my first log-in page and have come to the following issue. I am getting Syntax Error's on lines 39 & 49. I'm sure it's something simple that I am missing here? NOTE* Excuse me if I didn't post the code correctly, I am n

  • SMC silent install

    I know there are config files that allow some silence during an installation, but the config file on setup does not. The setup will still prompt for keys and snmp setup. Is there a way around this. I noticed also that I can copy over the key cfg file