Help required in Struts Layout Tags

Is it possible to pass more the one parameter in paramProperty & paramId attribute of<layout:link /> tag.
I am using an collecetion item.
pls let me know if it is possible.
<layout:collectionItem  title="Edit" property="editImage" styleClass="FORM">
                    <layout:link href="/epat-app/editUserInfo.do?method=loadEdit"  paramId="racfId" paramName="UserInfoParamEntryForm" paramProperty="racfId">
                          <img src = "<%=strContextPath%>/config/edit.gif" border="0"/>
                        </layout:link>
                </layout:collectionItem>

i bet this would be an excellent question for a struts forum

Similar Messages

  • Struts Layout-Tag Library

    Can anyone suggest a book or site for Struts Layout-Tag Library.......
    i got only www.struts.application-servers.com/
    Thanks.

    I know for Struts, there is Struts Layout tag library
    that provides treeview, calendar, table, etc. Is
    there any such tag library for JSF? Thanks.Sure. The most popular is MyFaces Tomahawk (http://myfaces.apache.org/tomahawk/index.html). JSF Central has a comprehensive list as well: http://www.jsfcentral.com/products/components.
    Kito D. Mann - Author, JavaServer Faces in Action
    http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info
    * Sign up for the JSF Central newsletter! http://oi.vresp.com/?fid=ac048d0e17 *

  • Help required regarding struts

    Hi i m tryin to make a simple struts application where in i have use struts iterator tags to display the fields in jsp but when i submit the jsp i am getting null values in action. here is the code ...pls anybody help...
         <table>
         <logic:present name="testForm" property="arrtest">
              <logic:iterate name="testForm" id="list" property="arrtest"
                   indexId="index">
                   <bean:define id="labelbean" name="list"
                        type="com.TestDto" />
                   <tr>
                        <td><%=index.intValue() + 1%></td>
                        <td><bean:write name="labelbean" property="tag" /></td>
                        <TD><html:text name="labelbean" property="name" size="7" /></TD>
                        <td><logic:iterate id="arrval" name="labelbean" property="arrValues"
                             indexId="index1">
                             <input type="text" value="<bean:write name="arrval"/>" size="1"
                                  disabled />
                        </logic:iterate></td>
                   </tr>
              </logic:iterate>
    </logic:present>
         </table>
    here is the form:
         private ArrayList arrtest ;
         private TestDto dto;
    and their getters and setters...
    when i am sending values from action to jsp its displaying correctly but when i am submitting jsp all null is going....can anybaody checkout what am i missing...
    Kelvinator

    Thanks a lot... but i have figured out already that using nested struts is an easy method to implement this and i have already implemented that. The jsp is looking much cleaner now. Thanks a lot once again for your time and if you want to have a look at nested struts go thru this link:
    http://www.keyboardmonkey.com/next/index.jsp

  • Help required on Struts-Datagrid

    Hello All,
    I am seeking for suggestions on how can one fix the header/column-names in Struts-Datagrid.
    In my jsp , I have implemented struts-datagrid and showing many rows at a time.
    While scrolling the page , the column-names/header of the datagrid also scroll up and down and do not remain visible to the user.
    Is there any way to fix the column-name/header on the top of datagrid?
    Kindly suggest any solution.
    Thanks
    -Mukul

    Hi
    I have neither used display tag or logica iterator.its an normal inplementaion.
    I have the peace of code to show you how i have implemented it with pagination.
    <layout:pager maxPageItems="8" sessionPagerId="" linksLocation="top">
    <layout:datagrid property="" indexId="i" styleClass="DATAGRID" model="datagrid" multipleSelectionAllowed="false">
    <layout:datagridColumn title="" property="" width="150" maxlength="15" styleClass="NORMAL" mode="E,I,P"/>
    <layout:datagridColumn title="" property="" width="620" maxlength="15" styleClass="NORMAL" mode="E,I,P"/>
    <layout:datagridCheckbox title="" property="" onchange=""/>
    </layout:datagrid>
    </layout:pager>     
    thanks & regards
    Praveen

  • WML help for  Struts-wml tag lib

    I tried using the tag lib of struts but I didn't find wml:card tag..........

    thank you Shay Shmeltzer
    i added the tld to my jdev.
    but now the property inspector of any component of this tag lib is empty.
    i can see all components in the component palette.
    another thing can you help me to use struts-layout libraries?
    i see in the code
    <layout:form action="/login" styleClass="FORM" key="form1.title" reqCode="login" focus="login">
    i can't find were are styleClass (css)?
    i looked for in all the project and in libraries?
    thank you very much..
    Talel...;

  • Help with struts bean tag

    I populated my data in a hashtable and it contains key & the values are in an arraylist of treemap. How do I display data using struts bean tag? Thanks.

    if you have an arraylist of maps why do you need three iterates?
    <logic:iterate id="treeMap" name="navTable">  //navTable is your ArrayList treeMap will be each map
         <logic:iterate id="element" name="treeMap">  //element is each element as it iterates through treeMap
                         key = <bean:write name="element" property="key" filter="false"/>
                         value = <bean:write name="element" property="value" filter="false"/>
             </logic:iterate>
    </logic:iterate>unless of course I missed something and you really need three iterates.
    of course you need a getNavTable() method, though you probably already have that.

  • Struts-Layout layout:tabs Problem; dynamically render tabs

    hi,
    i have been trying to combine the <layout:collection> and <layout:tabs> tags to dynamically render tabs. (if the collection contains 5 objects, i wanna have 5 tabs, and if the collection contains 2 objects, i wanna have 2 tabs...)
    like this:
    <layout:form action="/someAction.do" styleClass="FORM">
    <layout:tabs styleClass="FORM" width="400">
    <layout:collection property="aProperty" indexId="index" >
    <layout:tab key='${index}' width="50">
    <layout:collectionItem title="rooms.token">
    <layout:text property="aProperty[${index}].BID" layout="false" size="5"/>
    </layout:collectionItem>
    </layout:tab>
    </layout:collection>
    </layout:tabs>
    </layout:form>
    It renders, but it is not displayed correctly. for example, if there are 2 objects in the collection, i get 3 tabs. and the rendered html-table contains mistakes and destroys my page.
    has anyone an idea what i could do?
    I appreciate any help, thank you, martin

    Do anyone kno more about Struts-Layout-tabs...........In a Struts forum? Probably.

  • Struts-layout: treeview

    Hello everyone,
    I have a webapp that uses treeview from struts-layout. It is working perfectly and I'm happy with it.
    The thing is that now I was required to put small swf files on the treenodes. Each treenode would be a swf file, which is simply a box with the name of the system module, with some flash effects.
    I'm trying to do it like this:
                   <layout:menuItem key="Pessoas">
                          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="468" height="60">
                              <param name=movie value="/AugeProducao/flash/Pessoas_up.swf">
                              <param name=quality value=high>
                              <embed src="/AugeProducao/flash/Pessoas_up.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="213" height="23"></embed>
                          </object>       
                      <layout:menuItem key="Fornecedores" link="/AugeProducao/VerFornecedor.do" target="topFrame"></layout:menuItem>   
                </layout:menuItem>    Not working, though. The swf appears up in the page, above the tree. And the tree appears normally below, with the texts.
    Is there any way of making a swf file a node of the tree? That would be really good.
    If that is not possible, is it possible to show images (like gifs) as treenodes, instead of the text? I tried to do it like this:
                   <layout:menuItem key="Pessoas" image="/AugeProducao/imagens/botao_ok.jpg">Also didn't work. Maybe there's any other tag required?
    If you have done this before or know how to do is, please answer.
    Thanks in advance.

    hi,
    Can you please send me the example on how to use tree view from struts-layout
    Thanks
    crr

  • Wls 8.1 sp2: weblogic.jspc complains about struts-html tags

              Hi,
              I am trying to compile jsps with weblogic.jspc, which use struts' html tags. However,
              the compilation fails with the following message:
              [java] Translation of /views/viewPageBody.jsp failed: (line 3): Error in using
              tag library uri='/tags/struts-html' prefix='html': The Tag class 'org.apache.struts.taglib.html.BaseTag'
              has no setter method corresponding to TLD declared attribute 'server', (JSP 1.1
              spec, 5.4.1)
              I opened the BaseTag class from the struts jar and found the setter exists for
              the attribute 'server' of html tld. So does the property 'server'. The property
              'server' is a string and the parameter in the setter is a string. I read about
              the jspc errors in wls 8.1 about the setter parameter being of different type
              than the property. However, that is not the case here. I tried using both Sun's
              and BEA's jdk. None of them help. Btw, there is another attribute mentioned in
              the html tld, which is 'target'. The compiler doesn't complain yet about this.:(
              Also, I happened to compile other apps which have struts logic tags.
              My environment:
              OS: Win2k sp3
              WLS: 8.1 sp2
              JDK: Sun's 1.4.2 sp4 / Bea's 1.4.1 sp5 (tried both)
              Ant: 1.5.3 (I had an issue earlier with ant until I found that Bea officially
              without any mention supports only ant 1.5.3.)
              I would appreciate any help in this regard.
              Thanks,
              Abbas
              

              What version of Struts are you trying to use?
              Are you certain you're not encountering a different instance of that class in
              an unexpected location in your classpath?
              "Abbas" <[email protected]> wrote:
              >
              >Hi,
              >I am trying to compile jsps with weblogic.jspc, which use struts' html
              >tags. However,
              >the compilation fails with the following message:
              >
              >[java] Translation of /views/viewPageBody.jsp failed: (line 3): Error
              >in using
              >tag library uri='/tags/struts-html' prefix='html': The Tag class 'org.apache.struts.taglib.html.BaseTag'
              >has no setter method corresponding to TLD declared attribute 'server',
              >(JSP 1.1
              >spec, 5.4.1)
              >
              >I opened the BaseTag class from the struts jar and found the setter exists
              >for
              >the attribute 'server' of html tld. So does the property 'server'. The
              >property
              >'server' is a string and the parameter in the setter is a string. I read
              >about
              >the jspc errors in wls 8.1 about the setter parameter being of different
              >type
              >than the property. However, that is not the case here. I tried using
              >both Sun's
              >and BEA's jdk. None of them help. Btw, there is another attribute mentioned
              >in
              >the html tld, which is 'target'. The compiler doesn't complain yet about
              >this.:(
              >Also, I happened to compile other apps which have struts logic tags.
              >
              >
              >My environment:
              >OS: Win2k sp3
              >WLS: 8.1 sp2
              >JDK: Sun's 1.4.2 sp4 / Bea's 1.4.1 sp5 (tried both)
              >Ant: 1.5.3 (I had an issue earlier with ant until I found that Bea officially
              >without any mention supports only ant 1.5.3.)
              >
              >I would appreciate any help in this regard.
              >
              >Thanks,
              >
              >Abbas
              

  • Struts layout:treeview taglibs...

    Hi Friends,
    I'm developing small search engine with struts framework
    from the database I'm getting the words(terms.search results), now i want display those terms in Tree structure like
    + Rain (root word)
    +Broader terms
    Precipitation
    +Narrower Terms
    Artificial precipitation
    +Related Terms
    Runoff water
    Lodging
    right now I'm using <logic:iterate> tags for display
    how to implement these with <layout:treeview> tags, i added jar file & tld file to the project folder
    can anyone tell me how to build sample treeview ( dynamic from database depending on search) so that i can implement that on my application.....
    Thank u... :)

    hi,
    Can you please send me the example on how to use tree view from struts-layout
    Thanks
    crr

  • Help Required ASAP.

    Hi,
    I have a friend of mine his name is Atul Tembe he has a functional expereince of 10 years in sales with L.I.C and he has done SAP SD Certification in the month of November, from Genovate Mumbai he has still not got placed and he is lookin for his first SAP Break. He is a Bcom and a P.G.D.B.A. Would request all of you to kindly help him out please. His e-mail id is [email protected] .If he gets a good break would reward with points do pls help. Pls mark a cc to me too my e-mail id is [email protected]
    Regards
    Atul Keshav

    It is being mentioned over and over in this forum that this is not the place to place job openings or requests for jobs opportunities. This is the forum for knowledge sharing in SAP.
    With the tag line <b>"Help Required ASAP"</b>, you are wasting the time of people who genuinely like to help others who are in need of serious help with SAP Project issues.
    Please desist from posting this kind of things and also irrelevant tag lines.
    Ayub Khan

  • Pblm in working with struts layout

    Hi
    I m newbie to struts can anyone help me out to work with struts layout for displaying data in datagrid (sample code)
    Thanks in Advance

    Check out Struts Recipes by George Franciscus and Danilo Gurovich for sample code.
    ISBN: 1932394249
    http://www.manning.com/franciscus/

  • XSLT mapping Help Required.

    XSLT mapping Help Required.
    Hi Experts,
    I am New to XSLT Mapping. I am practising the below Example:
    InputXML File:
    <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="text/xsl" href="Persons111.xsl"?>
    <ns0:MT_XSLT_Source xmlns:ns0="http://XYZ.com/gen">
    <Person>
    <FirstName>Anshul</FirstName>
    <LastName>Chowdhary</LastName>
    <Gender>Male</Gender>
    <Address>
    <Street>2nd Main</Street>
    <Houseno>83/b</Houseno>
    <City>Mysore</City>
    </Address> </Person>
    </ns0:MT_XSLT_Source>
    XSL StyleSheet File:
    <?xml version='1.0' encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://XYZ.com/Gen"
    Xmlns:ns1=”http://XYZ.com/Test”>
    <xsl:template match="/">
    <ns1:MT_XSLT_Target>
    <Title> <xsl:value-of select="ns0:MT_XSLT_Source/Person/Gender"/> </Title>
    <Name> <xsl:value-of select="concat(concat(ns0:MT_XSLT_Source/Person/FirstName,' '), ns0:MT_XSLT_Source/Person/LastName)"/>
    </Name>
    <Street> <xsl:value-of select="concat(concat(ns0:Mt_XSLT_Source/Person/Address/Houseno,' '),
    ns0:Mt_XSLT_Source/Person/Address/Street)"/> </Street>
    <City> <xsl:value-of select="ns0:Mt_XSLT_Source/Person/Address/City"/> </City>
    </ns1:MT_XSLT_Target>
    </xsl:template>
    </xsl:stylesheet>
    The Desired Output shuold be:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns1:MT_XSLT_Target xmlns:ns1="http://XYZ.com/Test">
    <Title>Male</Title>
    <Name>Anshul Chowdhary</Name>
    <Street>83/b 2nd Main</Street>
    <City>Mysore</City>
    </ns1:MT_XSLT_Target>
    I have refered the xsl in xml and i am getting the below Oupt in a Single line like this:
    Anshul Chowdhary Male 2nd Main 83/b Mysore
    I am Unable to display in Target XML Fomrat as shown above. Please check and do the needful.
    Regards,
    GIRIDHAR

    Hi,
    I have used below for testing.
    Input xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="text/xsl" href="Persons111.xsl"?>
    <ns0:MT_XSLT_Source xmlns:ns0="http://XYZ.com/gen">
    <Person>
    <FirstName>Anshul</FirstName>
    <LastName>Chowdhary</LastName>
    <Gender>Male</Gender>
    <Address>
    <Street>2nd Main</Street>
    <Houseno>83/b</Houseno>
    <City>Mysore</City>
    </Address> </Person>
    </ns0:MT_XSLT_Source>
    xsl code:
    <?xml version='1.0' encoding="UTF-8"?> 
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://XYZ.com/gen" 
        xmlns:ns1="http://XYZ.com/Test"> 
        <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> 
        <xsl:template match="/"> 
            <ns1:MT_XSLT_Target> 
                <Title> <xsl:value-of select="ns0:MT_XSLT_Source/Person/Gender"/> </Title> 
                <Name> <xsl:value-of select="concat(concat(ns0:MT_XSLT_Source/Person/FirstName,' '), ns0:MT_XSLT_Source/Person/LastName)"/> 
                </Name> 
                <Street> <xsl:value-of select="concat(concat(/ns0:MT_XSLT_Source/Person/Address/Houseno,' '), 
                    /ns0:MT_XSLT_Source/Person/Address/Street)"/> </Street> 
                <City> <xsl:value-of select="/ns0:MT_XSLT_Source/Person/Address/City"/> </City> 
            </ns1:MT_XSLT_Target> 
        </xsl:template> 
    </xsl:stylesheet>
    For testing in PI ,change the extension from .txt to .xsl and zip it and upload into PI as an imported archive .
    Regards
    Venkat

  • Urgent help required: Query regarding LC Variables

    Hi All
    Sometime earlier I was working on a performance issue raised by a customer. It was shell script that was taking almost 8-9 hrs to complete. During my research I came across a fact that there were some variables which were not set, the LC variables were impacting the sort funnel operations because of which the script was taking a long time to execute.
    I asked them to export the following commands, after which the program went on smoothly and finished in a couple of mins:
    export LC_COLLATE=en_US.ISO8859-1
    export LC_MESSAGES=C
    export LC_MONETARY=en_US.ISO8859-1
    export LC_MONETARY=en_US.ISO8859-1
    export HZ=100
    export LC_CTYPE=en_US.ISO8859-1
    export LANG=en_US.UTF-8
    Later I did recover that setting the LC_COLLATE to C, is not helping and the program was again taking a lot of time. Few questions that I want to ask are:
    1. Can someone please tell me, what each of these variable mean and how these values make a difference.
    2. When I exported LC_COLLATE=en_US.ISO8859-1, it worked fine, but when i tried with the defalut value LC_COLLATE=C, then why the program didnt work.
    As this issue is still going on, hence I would request All to provide their valuable inputs and let me know as much as possible.
    Appreciate your help in this regard.
    Thanks
    Amit
    Hi All
    A new development in this regard. The customer has send us a screen shot in which they were trying to export the locale variable using the commands which I have pasted above. I can see in the screen shot that while exporting LC_COLLATE and LC_TYPE, they get a message that ""ksh: export: couldn't set locale correctly"".
    Request everyone to please give their inputs as it's a bit urgent.
    Thanks for all the help in advance.
    Thanks
    Amit
    Some help required please...
    Edited by: amitsinhaengg on Jul 22, 2009 2:03 AM
    Edited by: amitsinhaengg on Jul 22, 2009 2:06 AM

    LC_CTYPE
    Controls the behavior of character handling functions.
    LC_TIME
    Specifies date and time formats, including month names, days of the week, and common full and abbreviated representations.
    LC_MONETARY
    Specifies monetary formats, including the currency symbol for the locale, thousands separator, sign position, the number of fractional digits, and so forth.
    LC_NUMERIC
    Specifies the decimal delimiter (or radix character), the thousands separator, and the grouping.
    LC_COLLATE
    Specifies a collation order and regular expression definition for the locale.
    LC_MESSAGES
    Specifies the language in which the localized messages are written, and affirmative and negative responses of the locale (yes and no strings and expressions).
    You can use command
    # locale -k LC_CTYPE
    to see more detail about each type.

  • Help required - Sales order item is partially delivered but the item grayed

    I have a sales order 123 having say item10 with qty 1, item20 with qty 10 , item 30 qty 12
    Item 1 confirmed qty 1 and delivered qty is 1
    Item 2 confirmed qty 10 and delivered qty 10
    Item 3 confirmed qty 1 and delivered qty is 1
    Now the item3 still has open requirements of 11 to be delivered. But the item is GRAYED OUT already.
    even if I do ATP the qty is not confirming for the remaining 11 pieces.
    Why is that? How to make that item out from GRAY.
    How to confirm the remaining 11 qty for that item.
    Help required as early as possible.
    Appreciate ur help guys
    Radha

    hi Radha, how are you ?
         ---the partial deliveries in master data must have not been mentioned.
         ---the deliveries should be upto target quantity.
         ---check order type, item category and schedule line category.
         ---check unrestricted stock availability.
    thank you
    regards
    Khera.

Maybe you are looking for

  • Cisco discounts is it true or not?

    Hello there, I've heard that Cisco awards big discounts to companies that hire Cisco certified staff. Is that true? Sincerely, GRinch

  • Insert time stamp in ASCII file

    Hi all! I am trying to log data values from several channels (so far 4) into one ASCII file including a time stamp in the first column. The goal is one file that contains one time stamp per row (in the first column) and one column per channel. It may

  • Error Msg while trying to post GR

    An error occurred when I try to post  GOODS RECEIPT, which is " G/L account 300010 does not exist in chart of account CAUS" ,  I do not see the G/L account anywhere typed? How do I resolve this issue, so I can post the GR. Thanks. Steve.

  • Fail-over Recovery ?

    Hi All, can anyone help me out to know if "Fail-Over Recovery" concept is avaliable in Hyperion Essbase 11.1.1.3. If possible, please explain me how it ca be done. Regards

  • Macbook pro charger has died again?

    I was on my laptop this afternoon, with my mom and her friends cleaning the garage right next to my room, and someone messed with the power, turning it off in the house. They did this a few times. My charger was plugged into my laptop and the wall wh