Tooltip with logic:iterate tag
Hi, I have a table in my application that I display through the logic:iterate Struts tag, One of the column contents a long text, I would like to add a 'Tooltip' in order to view the whole text, is it possible ? Thanks a lot in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tab UI controls for struts
The tiles-doc example works very well the defintion is in the file tiles-examples-defs.xml and the result page is tiles-doc/examples/tabs.jsp. I would like to use the nestedTabsLayout (http://www.lifl.fr/~dumoulin/howto/nestedTabsLayout.jsp) Has someone an example of tiles-def.xml that use this layout. I would like to display sub-tabs according to user rights, is it possible ? Thanks a lot in advance -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED] Sent: 26 October 2004 02:24 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: tab UI controls for struts Have you looked at tiles-documentation.war? - Original Message - From: kjc [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, October 25, 2004 7:23 PM Subject: Re: tab UI controls for struts I see that struts has a Tabbed Layout. Are there any examples around on how to use it. Eddie Bush wrote: Try Tiles. It has a tabbed-layout, I believe. If that doesn't suit your needs, try: Google Query: Struts +Layout +Tabbed - Original Message - From: kjc [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 25, 2004 10:36 AM Subject: tab UI controls for struts looking for a tab UI control for use with struts. --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0443-3, 10/22/2004 Tested on: 10/25/2004 7:04:41 PM avast! - copyright (c) 2000-2004 ALWIL Software. http://www.avast.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0443-3, 10/22/2004 Tested on: 10/25/2004 7:24:09 PM avast! - copyright (c) 2000-2004 ALWIL Software. http://www.avast.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: tab UI controls for struts
The tiles-doc example works very well the defintion is in the file tiles-examples-defs.xml and the result page is tiles-doc/examples/tabs.jsp. I would like to use the nestedTabsLayout (http://www.lifl.fr/~dumoulin/howto/nestedTabsLayout.jsp) Has someone an example of tiles-def.xml that use this layout. I would like to display sub-tabs according to user rights, is it possible ? Thanks a lot in advance -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED] Sent: 26 October 2004 02:24 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: tab UI controls for struts Have you looked at tiles-documentation.war? - Original Message - From: kjc [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, October 25, 2004 7:23 PM Subject: Re: tab UI controls for struts I see that struts has a Tabbed Layout. Are there any examples around on how to use it. Eddie Bush wrote: Try Tiles. It has a tabbed-layout, I believe. If that doesn't suit your needs, try: Google Query: Struts +Layout +Tabbed - Original Message - From: kjc [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 25, 2004 10:36 AM Subject: tab UI controls for struts looking for a tab UI control for use with struts. --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0443-3, 10/22/2004 Tested on: 10/25/2004 7:04:41 PM avast! - copyright (c) 2000-2004 ALWIL Software. http://www.avast.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0443-3, 10/22/2004 Tested on: 10/25/2004 7:24:09 PM avast! - copyright (c) 2000-2004 ALWIL Software. http://www.avast.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tab UI controls for struts
Hi, There is an example in the file tiles-examples-def.xml in tiles-doc.war definition name=examples.tabs.summaries.body path=/layouts/tabsLayout.jsp put name=selectedIndex value=0 / put name=parameterName value=selected / putList name=tabList item value=Portal link=/examples/tiles/portalSummary.jsp / item value=Components link=/examples/tiles/componentsSummary.jsp / /putList /definition It works. I would like to use NestedTabsLayout (http://www.lifl.fr/~dumoulin/howto/nestedTabsLayout.jsp) but I don't know which syntax use in tiles-def.xml. Has someone alreday used this layout ? Thanks in advance -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED] Sent: 26 October 2004 02:24 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: tab UI controls for struts Have you looked at tiles-documentation.war? - Original Message - From: kjc [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, October 25, 2004 7:23 PM Subject: Re: tab UI controls for struts I see that struts has a Tabbed Layout. Are there any examples around on how to use it. Eddie Bush wrote: Try Tiles. It has a tabbed-layout, I believe. If that doesn't suit your needs, try: Google Query: Struts +Layout +Tabbed - Original Message - From: kjc [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 25, 2004 10:36 AM Subject: tab UI controls for struts looking for a tab UI control for use with struts. --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0443-3, 10/22/2004 Tested on: 10/25/2004 7:04:41 PM avast! - copyright (c) 2000-2004 ALWIL Software. http://www.avast.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0443-3, 10/22/2004 Tested on: 10/25/2004 7:24:09 PM avast! - copyright (c) 2000-2004 ALWIL Software. http://www.avast.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tab UI controls for struts
Hi, There is an example of tabsLayout in tiles-doc.war Tiles-examples-defs.xml definition name=examples.tabs.summaries.body path=/layouts/tabsLayout.jsp put name=selectedIndex value=0 / put name=parameterName value=selected / putList name=tabList item value=Portal link=/examples/tiles/portalSummary.jsp / item value=my Portal link=/examples/tiles/myPortalSummary.jsp/ /putList /definition It works. In my application I try to use NestedTabsLayout (http://www.lifl.fr/~dumoulin/howto/nestedTabsLayout.jsp) but it does not work I would like to know if someone has already used this layout and can send me a tiles-def.xml example. Thanks a lot in advance -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED] Sent: 26 October 2004 02:24 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: tab UI controls for struts Have you looked at tiles-documentation.war? - Original Message - From: kjc [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, October 25, 2004 7:23 PM Subject: Re: tab UI controls for struts I see that struts has a Tabbed Layout. Are there any examples around on how to use it. Eddie Bush wrote: Try Tiles. It has a tabbed-layout, I believe. If that doesn't suit your needs, try: Google Query: Struts +Layout +Tabbed - Original Message - From: kjc [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 25, 2004 10:36 AM Subject: tab UI controls for struts looking for a tab UI control for use with struts. --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0443-3, 10/22/2004 Tested on: 10/25/2004 7:04:41 PM avast! - copyright (c) 2000-2004 ALWIL Software. http://www.avast.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0443-3, 10/22/2004 Tested on: 10/25/2004 7:24:09 PM avast! - copyright (c) 2000-2004 ALWIL Software. http://www.avast.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tab UI controls for struts
Hi, There is an example of tabsLayout in tiles-doc.war Tiles-examples-defs.xml definition name=examples.tabs.summaries.body path=/layouts/tabsLayout.jsp put name=selectedIndex value=0 / put name=parameterName value=selected / putList name=tabList item value=Portal link=/examples/tiles/portalSummary.jsp / item value=my Portal link=/examples/tiles/myPortalSummary.jsp/ /putList /definition It works. In my application I try to use NestedTabsLayout (http://www.lifl.fr/~dumoulin/howto/nestedTabsLayout.jsp) but it does not work I would like to know if someone has already used this layout and can send me a tiles-def.xml example. Thanks a lot in advance -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED] Sent: 26 October 2004 02:24 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: tab UI controls for struts Have you looked at tiles-documentation.war? - Original Message - From: kjc [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, October 25, 2004 7:23 PM Subject: Re: tab UI controls for struts I see that struts has a Tabbed Layout. Are there any examples around on how to use it. Eddie Bush wrote: Try Tiles. It has a tabbed-layout, I believe. If that doesn't suit your needs, try: Google Query: Struts +Layout +Tabbed - Original Message - From: kjc [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 25, 2004 10:36 AM Subject: tab UI controls for struts looking for a tab UI control for use with struts. --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0443-3, 10/22/2004 Tested on: 10/25/2004 7:04:41 PM avast! - copyright (c) 2000-2004 ALWIL Software. http://www.avast.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0443-3, 10/22/2004 Tested on: 10/25/2004 7:24:09 PM avast! - copyright (c) 2000-2004 ALWIL Software. http://www.avast.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struts validator unauthorized string value
I have a field (string) in my DynaValidatorForm 'type' and I would like to return an error 'Invalid type name' when the selected value is 'undefined'. Has someone an example of validation.xml file wich do that ? Thanks a lot in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struts with XSLT
It seems that it is rather easy to use XSLT with Struts. Two plug-in are available StrutsCX and stxx I will wish to have returns on their use: - which is the easiest tool for a XSLT beginner ? - is it possible to use simultaneously JSP and XSLT with the two plug-in ? Thanks a lot - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
HTML pages convert to Struts/JSP pages
Hi, I would like to shared basic HTML pages with an other web application which does not used Struts. Is it possible to convert HTM pages to Struts views automatically ? Is it an existing toolkit to do this ? Thanks a lot in advance Sandra - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
struts embedded web application server
Hi, I would like to know if someone has already made a Struts embedded web application server. I have a lot of questions about minimum space memory, tools to embed ? Thanks a lot in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: HTML pages convert to Struts/JSP pages
In my Struts application I use JSP pages with DynaValidatorForm effectively I used Struts tags html:form, html:radio, bean:message, logic:equal etc.. I would like to use basic html pages (created for an other web application) and convert them to Struts pages in order to have all Struts facilities. -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: 09 June 2004 17:53 To: Struts Users Mailing List Subject: Re: HTML pages convert to Struts/JSP pages Heligon Sandra wrote: I would like to shared basic HTML pages with an other web application which does not used Struts. Is it possible to convert HTM pages to Struts views automatically ? Is it an existing toolkit to do this ? Not sure what you mean by these questions? Are you sure you mean view or do you mean forms? -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
HTML pages convert to Struts/JSP pages
Hi, I would like to shared basic HTML pages with an other web application which does not used Struts. Is it possible to convert HTM pages to Struts views automatically ? Is it an existing toolkit to do this ? Thanks a lot in advance Sandra - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Html:link and save form
I have a form with a htlm:link html:link page=/myAction.do paramId=method paramScope=page paramName=address onclick=document.forms[0].submit(); I need to add submit on the onclick to have changes of the form. If I don't make submit the state of the form is not saved. Is it a bug ? Sandra - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Action parameter and JavaScript
I use a JavaScript in a form to set an action. But I am the following problem, I should pass a parameter to the action. I would like to know the syntax. Here is my code: script function updateForm(form) { myForm.action='/myLookupDispatchAction.do?method=newSVC_One'; myForm.submit(); return true; } /script html:select onchange=updateForm(document.forms[0]);/ At the runtime when the combo box change the parameter method is null. I tried document.forms[0].method.value=newSVC_One; but it does not work. Thanks a lot in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Action parameter and JavaScript
I have only one form in my JSP. My question was not clear that is why I explain agin my problem. My problem is the following I have a form: html:form action=/setupLookupDispatchAction.do method=GET - with hyperlinks: html:link page=/setupLookupDispatchAction.do paramId=method paramName=call onclick=document.forms[0].submit(); - with buttons html:submit property=method styleClass=myButton bean:message key=button.cancel//html:submit In the setupLookupDispatchAction I test the method parameter public ActionForward execute() throws Exception { if ( request.getParameter( mapping.getParameter() ) == null ) { ... } } The parameter is not null for hyperlinks and buttons but not for a combo box. In my JSP I have a combo box and I would like to update the form when the selection change to do this I should pass a parameter method which should be equals to update: script function updateForm(form) { form.action='/myLookupDispatchAction.do?method=update'; form.submit(); return true; } /script html:select onchange=updateForm(document.forms[0]);/ I don't understand how it works. In my setupLookupDispatchAction I test request.getParameter(method) in the JavaScript I set the parameter for the action not the request then I is normal that in the execute method this parameter is null. It is probably not the best way to set action it will be better to use hidden field. Do you have an example for what I try to do ? Thanks in advance -Original Message- From: Paul McCulloch [mailto:[EMAIL PROTECTED] Sent: 12 May 2004 11:12 To: 'Struts Users Mailing List' Subject: RE: Action parameter and JavaScript Do you have mutiple forms on the page? Your JS function takes an argument which it ignores and always sets the action of 'myForm'. Try debugging with a JS alert just before you submit, showing the action value for your action. Having said all that, I would set the method via a hidden field on your form rather than modifying the action. HTH, Paul -Original Message- From: Heligon Sandra [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 8:42 AM To: '[EMAIL PROTECTED]' Subject: Action parameter and JavaScript I use a JavaScript in a form to set an action. But I am the following problem, I should pass a parameter to the action. I would like to know the syntax. Here is my code: script function updateForm(form) { myForm.action='/myLookupDispatchAction.do?method=newSVC_One'; myForm.submit(); return true; } /script html:select onchange=updateForm(document.forms[0]);/ At the runtime when the combo box change the parameter method is null. I tried document.forms[0].method.value=newSVC_One; but it does not work. Thanks a lot in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ** Axios Email Confidentiality Footer Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message, and notify us immediately. If you or your employer does not consent to Internet email messages of this kind, please advise us immediately. Opinions, conclusions and other information expressed in this message are not given or endorsed by my Company or employer unless otherwise indicated by an authorised representative independent of this message. WARNING: While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted via electronic mail attachments we cannot guarantee that attachments do not contain computer virus code. You are therefore strongly advised to undertake anti virus checks prior to accessing the attachment to this electronic mail. Axios Systems Ltd grants no warranties regarding performance use or quality of any attachment and undertakes no liability for loss or damage howsoever caused. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: Action parameter and JavaScript
In fact the parameter QueryString of the HttpRequestServlet does not contain the method attribute when the combo box change. For the hyperlink or button the method parameter is automlatically added to the QueryString. Can I force the add of the parameter through JavaScript or scriplet on the onchange function. -Original Message- From: Heligon Sandra Sent: 12 May 2004 11:56 To: 'Struts Users Mailing List' Subject: RE: Action parameter and JavaScript I have only one form in my JSP. My question was not clear that is why I explain agin my problem. My problem is the following I have a form: html:form action=/setupLookupDispatchAction.do method=GET - with hyperlinks: html:link page=/setupLookupDispatchAction.do paramId=method paramName=call onclick=document.forms[0].submit(); - with buttons html:submit property=method styleClass=myButton bean:message key=button.cancel//html:submit In the setupLookupDispatchAction I test the method parameter public ActionForward execute() throws Exception { if ( request.getParameter( mapping.getParameter() ) == null ) { ... } } The parameter is not null for hyperlinks and buttons but not for a combo box. In my JSP I have a combo box and I would like to update the form when the selection change to do this I should pass a parameter method which should be equals to update: script function updateForm(form) { form.action='/myLookupDispatchAction.do?method=update'; form.submit(); return true; } /script html:select onchange=updateForm(document.forms[0]);/ I don't understand how it works. In my setupLookupDispatchAction I test request.getParameter(method) in the JavaScript I set the parameter for the action not the request then I is normal that in the execute method this parameter is null. It is probably not the best way to set action it will be better to use hidden field. Do you have an example for what I try to do ? Thanks in advance -Original Message- From: Paul McCulloch [mailto:[EMAIL PROTECTED] Sent: 12 May 2004 11:12 To: 'Struts Users Mailing List' Subject: RE: Action parameter and JavaScript Do you have mutiple forms on the page? Your JS function takes an argument which it ignores and always sets the action of 'myForm'. Try debugging with a JS alert just before you submit, showing the action value for your action. Having said all that, I would set the method via a hidden field on your form rather than modifying the action. HTH, Paul -Original Message- From: Heligon Sandra [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 8:42 AM To: '[EMAIL PROTECTED]' Subject: Action parameter and JavaScript I use a JavaScript in a form to set an action. But I am the following problem, I should pass a parameter to the action. I would like to know the syntax. Here is my code: script function updateForm(form) { myForm.action='/myLookupDispatchAction.do?method=newSVC_One'; myForm.submit(); return true; } /script html:select onchange=updateForm(document.forms[0]);/ At the runtime when the combo box change the parameter method is null. I tried document.forms[0].method.value=newSVC_One; but it does not work. Thanks a lot in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ** Axios Email Confidentiality Footer Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message, and notify us immediately. If you or your employer does not consent to Internet email messages of this kind, please advise us immediately. Opinions, conclusions and other information expressed in this message are not given or endorsed by my Company or employer unless otherwise indicated by an authorised representative independent of this message. WARNING: While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted via electronic mail attachments we cannot guarantee that attachments do not contain computer virus code. You are therefore strongly advised to undertake anti virus checks prior to accessing the attachment to this electronic mail. Axios Systems Ltd grants no warranties regarding performance use or quality of any attachment and undertakes no liability for loss or damage howsoever caused. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED