How to prepare Custom tag with scope as  session  like Struts tag

Hi
All Struts tags having the feature of Automatic Scoping.
Automatic Scoping: Struts tags check all contexts (namely page, request, session, application) and use the first instance found. Developers do not have to explicitly "retrieve" objects from a particular scope. They may, however, specify a context.
same as like struts tag I want to preapre 'select custom tag'.which will retrieve its previous selected value automatically and display.And one important thing is I dont want to set the selected value of custom tag in session expicitly.I mean the custom tag it self should take care to set the session vale and retrieve the sesion value and display like Struts tag . For struts select tag we wont set any selected value in session though it will retrieve the previous value and display when scope of form = session
regards
jagan

Hi
All Struts tags having the feature of Automatic Scoping.
Automatic Scoping: Struts tags check all contexts (namely page, request, session, application) and use the first instance found. Developers do not have to explicitly "retrieve" objects from a particular scope. They may, however, specify a context.
same as like struts tag I want to preapre 'select custom tag'.which will retrieve its previous selected value automatically and display.And one important thing is I dont want to set the selected value of custom tag in session expicitly.I mean the custom tag it self should take care to set the session vale and retrieve the sesion value and display like Struts tag . For struts select tag we wont set any selected value in session though it will retrieve the previous value and display when scope of form = session
regards
jagan

Similar Messages

  • How to Use Custom Linker with Xcode 4.x?

    I am using a customer compiler with Xcode and would like to know how to force Xcode to use my own linker line with custom arguments.
    I created a new compiler spec file under:
    /Developer/Library/Xcode/PrivatePlugIns/Xcode3Core.ideplugin/Contents/SharedSupp ort/Developer/Library/Xcode/Plug-ins
    The default linker is defined in Ld.spec located in:
    /Developer/Library/Xcode/PrivatePlugIns/Xcode3Core.ideplugin/Contents/SharedSupp ort/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources
    The following link seems to indicate that what I want to do is possible:
    http://maxao.free.fr/xcode-plugin-interface/compilers-linkers.html
    It seems like you have to create a custom Linker spec, give it an identifier, and then have the compiler spec reference your linker spec id by including it in the "RequiredLinker" key.
    My compiler spec looks like:
    {   Type = Compiler;
       Identifier = com.apple.compilers.armx;
       BasedOn = com.apple.compilers.gcc.4_2;
       Name = "ARMx";
       Version = "4.2";
       Description = "ARMx GCC Cross Compiler";
       ExecPath = "/Volumes/arm-x/bin/arm-none-linux-gnueabi-gcc";
       RequiredLinker = com.apple.pbx.linkers.armx;
    The problem is that Xcode 4.1 still is insisting on using the default Apple linker.  I want it to use my ARM based toolchain, which does not support some of the options that Xcode ends up passing on the linker line.

    You would be better off using a makefile-based project with custom compilers and linkers.

  • How to reconcile customer balances with control accounts

    Hi!
    Sanjay Here,
    1. how to reconcile the customer balances  pl. explain in details.
    2. how to reconcile the customer balance with control accounts
    3. how to do the automatic clearing through T code f.13. pl. give us the screen shots if available.
    4. how to reset the T-code f.32 clearing documents, if wrongly showing in customer balance.

    1. how to reconcile the customer balances pl. explain in details &
    2. how to reconcile the customer balance with control accounts
    Ans:- Thru report painter T-code FGI4 (Form) & Report FGI1 using cutomer summary table we can define report, which shall give the desired requirement. It give customer wise & controll account wise balances.
    3. how to do the automatic clearing through T code f.13. pl. give us the screen shots if available
    Ans. F.13 is used for GL automatic clearing basing on the required config for GL . Like GR/IR clearing is there in automatic posting we have to define COA, GL & creteria1, creteria2 ..... Incase of GR/IR field name can be VBUND (Purchase order). When configure this in F.13 when we check the check box GR/IR and GL system shall look for setting for automatic clearing based on creteria it shall automatically clear.
    4. how to reset the T-code f.32 clearing documents, if wrongly showing in customer balance
    Ans. To reset a claerinf document Tcode is FBRA. Reset the clearing doc first and reverse the doc Tcode FB08.
    Thanks
    Colin Thomas

  • How to add custom columns with BO data from GP to UWL

    Hi
    We have CE 7.1 in our project UWL taskitems only have GP workflow tasks.
    In UWL we can see that by default there are standard columns but now we need to add custom columns with data from ours BO associated to process instance
    For that we need to develop one custom connector for UWL where we can retrieve the values from custom conenctor to UWL.
    Currently our NWDS 7.1 does not have plugins for UWL Connector can anybody tell me where can I download this plugins?
    thanks in advance!
    Regards
    Cristian

    Hi,
    plz refer the following link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0ee5047-c7a0-2a10-70b7-9557e3e4d440
    Regards
    Manohar

  • How to get parameter and add it to hyperlink using struts tag?

    Hi everyone:
    There is a.jsp pass a parameter to b.jsp.How to get the parameter in b.jsp using struts Tag?I also want to add the parameter to a hyperlink in b.jsp.For example in b.jsp <html:link forward=.....>cxxxx</html:link>.How to add the parameter(get from a.jsp) to cXXXX in b.jsp?

    Try this:
    Copy A Request Parameter - You can create a new bean containing the value of a parameter included in this request. If no parameter of the specified name was included, a request time exception will be thrown - therefore, it is common to nest the use of this tag inside a <logic:present parameter="xxx"> tag to ensure that the parameter was really included. If there is the possibility that more than one parameter of the same name was included, specify the "multiple" attribute (and the resulting value bean will be an array of String values, instead of a single String).
    <bean:parameter id="name" name="name"/>
    And then just use <html:link> with paramId. No java code at all.

  • JDeveloper Team: How Do I minimize the number of Oracle Sessions using Data Tags?

    I am trying to create a stateful application thru my JSP pages. Everytime there is a reference to the application module using the data tag, it looks like it creates a new Oracle Session. But thats not what I want to do.
    I have a module in which my first JSP page allows viewing of the data and in subsequent pages I allow insert, update, delete, commit etc.
    My Questions:
    1) The problem that I am encountering is that every new page that I go to creates a new Oracle session even though I specify the "Stateful" release mode.
    How do I avoid this?
    It looks like , if one browser user can potentially create 10-20 oracle sessions thru one module, imagine what the impact will be when we have hundreds of users.
    2) The sample JSP pages I saw has the username and password hard coded in it every time. Why? For a stateful application can I not specify the username and password just once and have the other JSP pages use the same userid and password.
    What are the pros and cons? I thought if I don't use the username and password in all the JSP pages then it probably will not create additional Oracle sessions but that is not true!!
    3) If it creates several Oracle sessions , will it not cause locking problems? If so, How do I minimize locking problems in a stateful application.
    JDeveloper Team Please advise!!
    AM I missing something? I would appreciate if someone can help me out!
    null

    Thanks a lot for the information. That thread was indeed very helpful. But it still didn't answer all my questions:
    1) In the thread you mentioned, it mostly talks about Web beans. In a jsp page (using Web bean) we need to first invoke setReleaseApplicationResources(true) and then invoke releaseApplicationResources().
    Does this apply to data tags? I mean I have a tag <jbo:ReleasePageResources releasemode="Stateful" />. Is this enough to release the application module back to the pool or do I have to have something equivalent of setReleaseApplicationResources(true)?
    2. In a stateful application, the state of an application is maintained between requests via a browser cookie. For each browser, you can have one state per application module class. I was attempting to run "several browser sessions from the same machine" and the end result was that I got errors and unpredictable results ie it returned me far fewer rows then I saw originally. Should I be actually be running the browser session from different machines?
    3. In JDeveloper Documentation (section About Application Module pooling) there is a note section : "If the application module is not recycled the data stays the same. However if the application module was recycled and then activated through a failover, the activation logic re-executes the view objects, so it may bring in more or less rows then originally seen by the clients due to any database updates that have occured."
    This is exactly what is happening to me? How do I get rid of this problem? I want to be able to see all the original rows + any new rows That have been committed. Please advise!
    4. Are the JDBC connections tied to application module instances? Is it one JDBC connection per application module instance? So, in a stateful JSP, if I end up using a different application I also get a different JDBC connection. IS this true?
    5. Does the no of application module instances depend on the no of available JDBC connections? Because it looks like if you set the max no of connections to "5" and set the max no of application module instances to "10", It will be able to instantiate only "5" application module instances due to the limitation set by connection pool.
    6. At times I get errors which indicates that the row in view object does not exist. Is this something familiar? Or is it the same problem that John discussed in his thread.
    Thanks in advance!

  • How to queue custom events with out using af:calientListener.- onKeyUp.

    Hi,
    I have a custom component ( extending richinput text).
    defined a new attribute called "onkeyup" and added necessary logic in Renderer. Some thing like
    write.writeAttribute("onkeyup" , "handleEvent()");
    I rendered the java script code too ..... in my custom renderer. ( I neigther want to write java script in metaContainer of document tag nor wants to use resource tag..)
    and the handleEvent code is something like this.
    function handleEvent()
    In this method i want to write the code which pushes my custom event to the queue.
    some thing like this..
    component = event.getSource();
    AdfCustomEvent.queue(component, "customEvent",{payload:component.getSubmittedValue()}, true);
    event.cancel();
    Usually if use a clientListener then it will call the method {  handleEvent(event)  } passing event parameter so that we can get the source of that event.
    But as i dont want to use the clientEventListener.... as of now... i can't get the component because i don have the event object with my method.
    So could any one please letme know , how can i queue my custom event in to my customcomponent... with out using ClientListeners.
    Edited by: mchepuri on Nov 9, 2009 10:04 AM

    Hi,
    AFAIK, you cannot queue an event to the serverListener without a clientListener.
    -Arun

  • How to generate custom report with PDF output?(Payables)

    Hi All,
    we are using some custom reports in payables modual production server the reports are working fine .
    my question is i need creat same reports in test server i have done following activities.
    1. copied rdf file from prod server and pasted into test server
    2.given excutable name in system administrator modual(concurrent-progrem-excutable)
    3.define report in system administrator modual(cocurrent-program-define) output selected PDF and given parameters.
    4. switch to payables moduale run the report ,following error showing in log file plese help how to resolve it we don,t have any custom reports in test server this is first time to creat the report.
    APPLLCSP Environment Variable set to :
    XML_REPORTS_XENVIRONMENT is :
    /APPS/dkvuatora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to: /APPS/dkvuatora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    Spawned Process 2707514
    X connection to oraclefinof1:0.0 broken (explicit kill or server shutdown).
    Report Builder: Release 6.0.8.25.0 - Production on Wed Nov 18 16:06:17 2009
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username:
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 339487.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 19-NOV-2009 16:24:52
    ---------------------------------------------------------------------------

    Hello.
    Have a look to Metalink Doc ID 252715.1
    You have to login to server and issue the 'xhost +' command.
    Hope this helps.
    Octavio

  • How to relate Customer UOM with SAP UOM

    Hi SAP Gurus
    I wanted to to relate Non-SAP customer's UOM with our SAP UOM.
    For example:
    Customer1 has PAK mean PAC (in SAP)
    Customer2 has PAB means PAC (in SAP)
    How to do that? Thanks for your inputs...
    Edited by: Harpal Singh on Mar 30, 2010 10:34 PM

    Hi,
    You can achieve this in transformation by writing a routine.
    Logic would be something like this
    If non-sap customer UOM = PAB
       non-sap cusomer UOM = PAC
    Before doing this you need to make sure that all your non sap UOM's should correspond to correct SAP UOM's
    Thanks
    Srikanth

  • BizTalk:How to share customized pipeline with more than one BizTalk Application

    I have a new BizTalk application which will use a customize generic pipeline . This pipeline has been used in an existing BizTalk application.
    When I use BizTalk Server Administration to add this pipeline assembly as a resource for a new BizTalk application, it shows error message: "this biztalk assembley has already in store and is either associated with another application or another type".
    My questions is how to share the generic pipeline component with many BizTalk application?
    Many Thanks.

    Hi,
    If you plan on using the deployed pipeline across multiple applications in BizTalk you have two options:
    1) The Current Application (in BizTalk Server Administration Console) should have the other application [where the pipeline
    is deployed] as reference.
    right click the "Current Application" and select "Properties"
    on the "Properties" page, left hand side, select "References"
    On the right-hand side, use "Add" to add the "Other Application" as a reference.
    Refer: How
    to Add a BizTalk Assembly to an Application
    Doing so will ensure that ALL resources (maps, schemas, orchestrations, send ports, receive locations, rules, etc.) deployed
    for "Other Application" are available/reprehensible in "Current Application".
    2)  Create a common BizTalk application on BizTalk Admin Console and add your custom pipeline assembly in that new application
    as a resource. With this, you don't need any other application to be started apart from this common application. Any other application who wants to use this pipeline will refer this common application.
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • How to deploy custom development with JDI

    We use JDI to deploy webdynpro for ESS application. for that we create a track, check in ESS components in the track and set up run time systems. now we are going to do custom development, for example: create interactive forms, etc.. we would like to use the same procedure to deploy modifications, but we could not found any software components to check in for the track. we are wondering, what should we do for our customer development? how do we create track without any software components?
    Thanks
    Jane Zhou

    Hi
    U can create the prduct and component by logging to SLD
    http://hostname:port/sld
    and then clicking on software catlog...
    regards
    Krishna

  • How to create custom url with struts2+spring  application

    Hi EveryOne,
    I am new to struts2 application. I have the requirement on "*custom URL*"
    when I enter into my project like http://localhost:8080/App/secure/someaction.action?bookname=kathersera
    this is opening the particuler book in my project. upto this its fine.
    Now My requirement is that
    Even if we type like (+http://localhost:8080/App/kathersera+) author name it should go to that particular page.
    Any idea to implement this feature.
    I searched a lot on internet. I didnot get any information.
    Please help me to come out this problem.
    thanks in advance

    Hi PYRAMESH,
    U are using opening page using server. So, If u do not make a request to server to veiw the page how could u see the page directly. So u have to make any event to open the page Like here http://localhost:8080/App/secure/someaction.action?bookname=kathersera, the page is opened on the result of someaction.action. but if u try to use http://localhost:8080/App/kathersera, u r not using any action, so it s not possible to open the page directly.

  • How to create custom email with attachment in 1402

    Hi Guys,
    Based on 1402 release notes. Custom E-Mails now possible with SAP Cloud Application Studio.
    release notes also states the following:
    Customers can enhance the e-mails delivered by SAP Cloud for Travel and Expense by adding their own content to the existing content, they can replace the content entirely, and create their own emails.
    What's more, they can flexibly define e-mails to be triggered to suit their own requirements.
    We have a requirement to replace the standard email notification and create a new one. Tried to browse the Cloud Application Studio 1402 guide but didn't find any.
    Any help would be greatly appreciate. Thanks.

    Hi Alok,
    Please find a reference below (for PS2010 but the principle is quite the same) :
    http://azlav.umtblog.com/2011/05/04/making-a-read-only-pdp-with-infopath-forms/
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • How to run custom scripts with KRunner

    Hi!
    I'd like to run my custom scripts, kept within ~/linux/bin, with KRunner. Is there any way to enter just script name instead of whole path? Something like editing $PATH in .zshrc maybe?
    Cheers
    vi3dr0

    from a quick google-trip it seems Krunner doesn't always respect $PATH.
    as a workaround found here you might [re]set you're $PATH in a script inside ~/.kde/env/ to see if that takes affect for KRunner
    my link wrote:If you would like to affect the global environment of your KDE session, and are not using a custom session, you can place files in ~/.kde/env. Files ending in ".sh" are read and executed in the same shell that is reading and executing the startkde script.

  • How to prepare a PDF with pass4press settings in Illustrator CC

    I am re-setting as advert for a client who has asked that the artwork be sent to the publisher as; QUOTE - "Artwork to be supplied in high-resolution PDF. All images within the PDF must be 300dpi images formatted to PPA Pass4press Version 9" I can download the presets from the PPA website, but which one? None are for Illustrator CC (only CS3 and CS5). Does it actaully matter? and is it simply a case of creating the PDF using this PDF preset in my drop down menu?
    I remember when all you had to do was make sure you were working in CMYK, create outlines, embed images, and used a hi-res setting (Press quality). I'm really just a little unsure.
    Thanks in advance.

    Thankyou Monika,
    I am concerned that the versions are specific, rather than being chonological. But it would seem that they are as version 10 seems to be specific to CS5, whereas version 9 is CS3.
    Was wondering why there are no support options offered for this through the PPA, or maybe I'm just making a mountain out of a molehill ;-)

Maybe you are looking for

  • Drag and Drop Jtree

    hi this code in a jtree accepts stuff dropped over using drag and drop, but when it accepts drops, they register fine. but when i expand the node, and then drop on it it refuses to accept the drop, the drop just doesnt happen! can you help? im totaly

  • Daisy chaining firewire 800 and 400 devices

    I am considering purchasing a blue-ray DVD recorder that has two 800 ports and one 400 port. My sony video camera has a firewire 400 connection and I am wondering whether that camera cable may be used to import video using my 400 cable connected to t

  • Cost center and Org unit relationship.

    Hi Guys, I need quick help from any one of you. Actually our org stucture is like Root-> company->plants-> costcenters( deparments)- users. so we create org unit in the structure with some 100001 and assign users for that cost center  org unit , so b

  • List Display alignment

    Hi all, I am writing a list report which is using a normal WRITE statement in Japanese language (Program Original Language = JA). However, I have the alignment problem as below: Customer No  |  Customer Name                | Accounting Document No |

  • Bug in DW CS 5.5

    I called DW tech support (Bradeed) and was told that Adobe is no longer supporting CS 5.5, though I don't know if that is true. The problem is that saving a page from System B over a LAN, where the files are located on the main System A, takes a minu