Re: A book of Struts

2018-10-17 Thread Johannes Geppert
+1 for new Struts2 book! Count on me for any help as well. Maybe Struts2 as micro service could be a topic as well? I made some experiments with Struts2 as AWS Lambda functions in the last time and it will be soon hopefully supported by AWS itself. See:

Re: BeanValidation-Plugin

2018-01-08 Thread Johannes Geppert
Hi, If you already found a solution for this issue it would be create if you maybe can create a Issue and a PR so we can integrate it in the Struts code base. http://struts.apache.org/submitting-patches.html Best Regards Johannes # web:

Re: Struts2Builder version 2.0.0 has been released

2017-04-05 Thread Johannes Geppert
GMT+02:00 Johannes Geppert <jo...@apache.org>: > > Nice! > > > > Are there any plans to migrate this project to Github? > > Then It's maybe easier to provide enhancements from the community. > > > > A good place for that would maybe the existing struts-communi

Re: Struts2Builder version 2.0.0 has been released

2017-04-05 Thread Johannes Geppert
Nice! Are there any plans to migrate this project to Github? Then It's maybe easier to provide enhancements from the community. A good place for that would maybe the existing struts-community-plugins org. https://github.com/struts-community-plugins Best Regards Johannes

Re: Request exceeded allowed size limit! Max size allowed is: 2,097,152

2017-03-13 Thread Johannes Geppert
I'm not sure, but I think the tomcat configuration is case sensitive. Can you please try "maxPostSize" instead of "maxpostsize" in your connector config? Best Regards Johannes # web: http://www.jgeppert.com twitter: http://twitter.com/jogep

Re: I18N Interceptor Change

2016-08-16 Thread Johannes Geppert
HI Zoran, can you please register an Issue for this request? https://issues.apache.org/jira/browse/WW Thank you Johannes # web: http://www.jgeppert.com twitter: http://twitter.com/jogep 2016-08-16 12:06 GMT+02:00 Zoran Avtarovski

Re: [ANN] Apache Struts 2.3.30 GA

2016-07-18 Thread Johannes Geppert
You can try the bridge to log4j1, this is maybe the simplest solution here. https://logging.apache.org/log4j/log4j-2.2/log4j-1.2-api/index.html Best Regards Johannes # web: http://www.jgeppert.com twitter: http://twitter.com/jogep 2016-07-18

Re: Multiple Submit Buttons in Same Form using Jquery/Ajax

2016-06-24 Thread Johannes Geppert
Looks like you are using the Stuts jQuery Plugin. You can specify th action url on this button itself. See example in the Showcase (AJAX/Form/AJAX Forms) http://struts.jgeppert.com/struts2-jquery-showcase/index.action AJAX Form Echo:

Re: interfaces with default methods on actions

2016-06-12 Thread Johannes Geppert
Is there still any reason to still use asm3? Or should we change this with 2.5.x? Best Regards Johannes Am 11.06.2016 11:28 vorm. schrieb "Lukasz Lenart" : > 2016-06-10 19:22 GMT+02:00 Adam Brin : > > I’ll give it a try without the java8

Re: Poblem with bean-validation ( Git-Hub) and struts2-bean-validation-plugin-2.5-BETA2.jar

2015-10-08 Thread Johannes Geppert
Hi Chris, this was my fault. I added a predefined stack for an easy use together with the rest plugin. But I don't had in mind that it then needs the rest plugin as a dependency. This is already reverted if you would use the current SNAPSHOT. If you would like to use the BETA2 version you can

Re: problem with file upload

2015-09-11 Thread Johannes Geppert
//yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* > > On Fri, Sep 11, 2015 at 3:03 PM, Johannes Geppert <jo...@apache.org> > wrote: > > > Have you already checked the docs? > > https://struts.apache.org/docs/file-upload.html > > > > > > Best Regard

Re: problem with file upload

2015-09-11 Thread Johannes Geppert
Have you already checked the docs? https://struts.apache.org/docs/file-upload.html Best Regards Johannes # web: http://www.jgeppert.com twitter: http://twitter.com/jogep 2015-09-11 11:31 GMT+02:00 Yaragalla Muralidhar

Re: form submit on one tab should move to next tab

2015-09-07 Thread Johannes Geppert
You can solve this task with topics. There is an example in the Struts2 jQuery Showcase. http://struts.jgeppert.com/struts2-jquery-showcase/index.action Widgets / Tabs /Remote Tabs with topics. Best Regards Johannes Geppert # web: http

Re: Sjg:grid refresh of parent window from modal window

2015-09-07 Thread Johannes Geppert
You mean reload the data of the grid? Define a reload topic on your grid and publish this when your modal is closing. Best Regards Johannes Geppert # web: http://www.jgeppert.com twitter: http://twitter.com/jogep 2015-09-03 13:28 GMT+02:00 fea

Re: How do configure struts convention plugin with struts-spring plugin with Action class mapped with annotations

2015-03-01 Thread Johannes Geppert
According to the spring plugin documentation [1] you need to setup following constant in your struts config. constant name=struts.objectFactory value=spring / Best Regards Johannes [1] https://cwiki.apache.org/confluence/display/WW/Spring+Plugin

Re: Upgrading to Struts 2.3.20 and jCaptcha 1.0

2015-02-08 Thread Johannes Geppert
Here is the error: java.lang.NoClassDefFoundError: org/apache/struts/action/Action Check you classpath do you really have the struts2 jars in your WEB-INF/lib folder? Johannes # web: http://www.jgeppert.com twitter: http://twitter.com/jogep

Re: problem with s:select

2014-12-21 Thread Johannes Geppert
Please take a look at the documentation for the select tag. [1] There are some examples how to use it. s:select name=employee list=employeeList listKey=empId listValue=empName/ [1] https://cwiki.apache.org/confluence/display/WW/select Best Regards Johannes

Re: CRUD sample and slides

2014-09-01 Thread Johannes Geppert
Thank you for sharing this Christoph. Best Regards Johannes # web: http://www.jgeppert.com twitter: http://twitter.com/jogep 2014-09-01 10:27 GMT+02:00 Christoph Nenning christoph.nenn...@lex-com.net : Hi, for the talk I gave last week I

Re: Struts CRUD demo OK but only Struts-2.0.6 version

2014-01-11 Thread Johannes Geppert
Take a look at the Stacktrace. :-) Caused by: java.lang.IllegalArgumentException: Javassist library is missing in classpath! Please add missed dependency! Best Regards Johannes # web: http://www.jgeppert.com twitter: http://twitter.com/jogep

Re: Need help for 2.3.16

2013-12-16 Thread Johannes Geppert
Please try out Struts2 jQuery Plugin Version 3.7.0-SNAPSHOT. This Version is compatible with Struts 2.3.16. Johannes # web: http://www.jgeppert.com twitter: http://twitter.com/jogep 2013/12/11 Emi Lu em...@encs.concordia.ca On 12/11/2013 10:29

Re: [ANNOUNCEMENT] Struts2-JSR303-Validation-Plugin available

2013-10-24 Thread Johannes Geppert
Thanks Umesh, looks like a great benefit for all Struts users! I will give it a try in my next project. Johannes # web: http://www.jgeppert.com twitter: http://twitter.com/jogep 2013/10/24 Lukasz Lenart lukaszlen...@apache.org Great! Congratz!

Re: how to enable client side validations?

2013-09-26 Thread Johannes Geppert
You can try out Client AJAX Validation. This is described here for DOJO Plugin: https://cwiki.apache.org/confluence/display/WW/AJAX+Validation And here for the jQuery Plugin: http://code.google.com/p/struts2-jquery/wiki/Validation Of course you can also implement this logic without any of this

Re: struts2-cdi-plugin-2.3.15.2.jar not in download

2013-09-24 Thread Johannes Geppert
See Issue: https://issues.apache.org/jira/browse/WW-4206 I've added the cdi plugin to the assembly pom.xml. So with next version 2.3.16 also the CDI Plugin should be included. Johannes # web: http://www.jgeppert.com twitter:

Re: AJAX Advice

2012-04-17 Thread Johannes Geppert
One option is to use the Struts2 jQuery Plugin for Ajax and Widgets. But you can also use any JavaScript Framework to do this Job without any Struts2 Plugins. That's dependent from your Project. https://code.google.com/p/struts2-jquery/ Take a look at the Showcases to see how the Struts2 jQuery

Re: Download a byteArray (jpg image) to browser

2012-02-24 Thread Johannes Geppert
The Problem is followinmg Line: ByteArrayInputStream fileInputStream = new ByteArrayInputStream(imagePhoto.getPhotoImage()); this should be this.fileInputStream = new ByteArrayInputStream(imagePhoto.getPhotoImage()); Johannes - web: http://www.jgeppert.com twitter:

Re: Download a byteArray (jpg image) to browser

2012-02-23 Thread Johannes Geppert
Hi John, can you share the Code of your Action and the configuration for this Action? Johannes - web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in context:

Re: Struts 2 Portlet Plugin 2.3.1.2 Breaks Using Struts For Both A Portlet and Standalone Web App

2012-02-22 Thread Johannes Geppert
Hi Bruce, yes there are changes. Since version 2.3.1 the old JSR168 portlet plugin was replaced with a new JSR286 compatible portlet plugin version. Can you please submit a JIRA issue. Johannes - web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in

Re: struts2 jquery plugin requirements

2012-02-09 Thread Johannes Geppert
You need Struts2 Version 2.1.x or higher. Best Regards Johannes - web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in context: http://struts.1045723.n5.nabble.com/struts2-jquery-plugin-requirements-tp5469048p5470213.html Sent from the Struts - User

Re: Returning additional data to the AutocompleterTag

2012-02-07 Thread Johannes Geppert
Do you have try onCompleteTopics? With this topics you should have access to the whole JSON Result and you should be able to work with additional parameters in your result. Best Regards Johannes - web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in

Re: New Struts 2 plugin

2012-02-02 Thread Johannes Geppert
Thank you Łukasz for the Announcement. :-) Just released a new Struts2 Bootstrap Plugin Version 1.1.0. This version is now also available via maven repository. The Showcase was extended with an new vertical form layout example. http://code.google.com/p/struts2-bootstrap/ Have Fun Johannes

Re: Url tag usage in struts2 problem and solution

2012-01-05 Thread Johannes Geppert
The Url is stored in the Struts2 ValueStack. To access this, you should use the Struts2 Property Tag. s:property value=helloLink / Johannes - web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in context:

Re: Building REST support in existing Struts 1.x app

2012-01-03 Thread Johannes Geppert
I think you can migrate your existing Application to Struts2. Your existing Struts1 Actions can run side by side with the new Struts2 Actions. http://struts.apache.org/2.x/docs/struts-1-plugin.html Johannes - web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this

Re: Servlet init() equivalent in Struts 1.3.8

2011-11-19 Thread Johannes Geppert
You can use your own Struts2 FilterDispatcher to solve this. Like this Example which is loading Configs via an SpringDAO and put it into the Application Scope: public class FilterDispatcher extends StrutsPrepareAndExecuteFilter { private static final Log log =

Re: ajax validation with css_xhtml theme

2011-10-18 Thread Johannes Geppert
Is there any Error Message in the JavaScript Console? Johannes - web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in context: http://struts.1045723.n5.nabble.com/ajax-validation-with-css-xhtml-theme-tp4905398p4913082.html Sent from the Struts - User

Re: [Struts2-jQuery-plugin]Model dialog autoclose

2011-09-26 Thread Johannes Geppert
With same simple jQuery functions you can fade out the dialog. You should simple place this lines in an onOpenTopics. See http://code.google.com/p/struts2-jquery/wiki/DialogTag#Topics lt;sj:dialog id=quot;myDialogquot; ... onOpenTopics=quot;closeMyDialogquot; .../gt; Johannes -

Re: Where can I find the struts2-portlet2-plugin?

2011-07-14 Thread Johannes Geppert
The struts2-portlet2-plugin has replaced the current struts2-portlet-plugin in trunk. Johannes - web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in context:

Re: JQuery Grid Tag [ avoid ajax on load? ]

2011-06-27 Thread Johannes Geppert
Currently not. The sj:grid / tag only works together with a JSON Data Provider. Johannes - web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in context: http://struts.1045723.n5.nabble.com/JQuery-Grid-Tag-avoid-ajax-on-load-tp4527455p4527629.html Sent from

Re: [ANN] Struts2 jQuery Plugin Version 3.0.0 is available

2011-05-09 Thread Johannes Geppert
arin_12 wrote: Seems that we have some issue in the GRID. The search function in the GRID - Editable is not working fine. Thank you for reporting this. New Version 3.0.1 should fix this problem. Johannes - -- web: http://www.jgeppert.com twitter: http://twitter.com/jogep

Re: [ANN] Struts2 jQuery Plugin Version 3.0.0 is available

2011-05-09 Thread Johannes Geppert
Hi Miguel, yes all versions are also available via maven. dependencies ... dependency groupIdcom.jgeppert.struts2.jquery/groupId artifactIdstruts2-jquery-plugin/artifactId version3.0.1/version /dependency dependency

[ANN] Struts2 jQuery Plugin Version 3.0.0 is available

2011-05-06 Thread Johannes Geppert
://code.google.com/p/struts2-jquery/wiki/Changelog Best Regards Johannes Geppert --- web: http://www.jgeppert.com twitter: http://twitter.com/jogep - -- web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in context: http://struts.1045723

Re: [ANN] Struts2 jQuery Plugin Version 3.0.0 is available

2011-05-06 Thread Johannes Geppert
3.0.0 is backward compatible. Upgrade and reload should be good enough. Johannes Emi Lu wrote: If I upgrade from struts2-jquery-plugin-2.5.3.jar to 3.0, I just reload struts2-jquery-plugin-3.0.0.jar is good enough, right? - -- web: http://www.jgeppert.com twitter:

Re: Ajax Reload on fieldset in a sj:dialog

2011-03-30 Thread Johannes Geppert
Take a look in the http://www.weinfreund.de/struts2-jquery-showcase/index.action Showcase , there is an example for reloading divs. You can use for this reloadTopics. Refresh Div Johannes - -- web: http://www.jgeppert.com twitter:

Re: JSON Plugin - my execute method is being called twice

2011-03-15 Thread Johannes Geppert
if you are using validation it is normaly that you get two requests. the first request is for validation and the second is the expected request. Johannes -- View this message in context:

Re: Jquery plugin sj:tab

2011-03-14 Thread Johannes Geppert
have you seen the example in thw http://www.weinfreund.de/struts2-jquery-showcase/index.action struts2 jquery plugin showcase ? There is an example for enabling disabled tabs. JavaScript Code: $.subscribe('tabchange', function(event,data) { var tab = event.originalEvent.ui.index;

Re: Struts 2 Error:SEVERE: Could not find action or result

2011-03-10 Thread Johannes Geppert
.java) class is being set with a null value and as a result the ERROR page is being executed .Please help as to how i can overcome this issue . Thanks Johannes Geppert wrote: You return an result of type ERROR in your DomainAction1 action. The problem is, this result is not defined

Re: Struts 2 Error:SEVERE: Could not find action or result

2011-03-10 Thread Johannes Geppert
.java) class is being set with a null value and as a result the ERROR page is being executed .Please help as to how i can overcome this issue . Thanks Johannes Geppert wrote: You return an result of type ERROR in your DomainAction1 action. The problem is, this result is not defined

Re: Struts 2 Error:SEVERE: Could not find action or result

2011-03-09 Thread Johannes Geppert
You return an result of type ERROR in your DomainAction1 action. The problem is, this result is not defined in your struts.xml. Example: action name=obtainData class=com.vivek.struts2.action.DomainAction1 method=obtainData result name=success/jsp/interface.jsp/result result

Re: Help with JQuery plugin

2011-02-18 Thread Johannes Geppert
what exactly is the problem? i never have a problem with forms inside of the dialog. http://code.google.com/p/struts2-jquery/wiki/DialogTag %@ taglib prefix=s uri=/struts-tags% %@ taglib prefix=sj uri=/struts-jquery-tags% html head sj:head / /head body sj:dialog id=modalDialog

Re: Help with JQuery plugin

2011-02-18 Thread Johannes Geppert
1.) can you please give a code example? 2.) do you have any output in your browser javascript console? Johannes akinsgre wrote: On Fri, Feb 18, 2011 at 3:40 AM, Johannes Geppert jo...@web.de wrote: what exactly is the problem? i never have a problem with forms inside of the dialog

RE: Strut2 JQuery

2011-02-17 Thread Johannes Geppert
here is an other way which describes how to easy overwrite a default handler in struts2 jquery plugin. http://www.jgeppert.com/2011/02/how-to-overwrite-functions-in-struts2-jquery-plugin/ Johannes CRANFORD, CHRIS wrote: I tried passing the JS through something that understands JSP but it

Re: Strut2 JQuery

2011-02-14 Thread Johannes Geppert
Hi Chris, when you move the javascript into an external js file. you can create an global javascript variable like this : var sourceUrl = ; jQuery(document).ready(function() { $(#itemsList).autocomplete( { source:function(request,response) { // do some ajax stuff here with

Struts2 @ Facebook

2011-02-04 Thread Johannes Geppert
For all facebook users I have created a Struts2 facebook site for sharing news and informations about struts2. http://www.facebook.com/pages/Struts2-Users/103890046351798 Have Fun Johannes - --- web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in

Re: De-serialize JSON to Action

2011-01-31 Thread Johannes Geppert
for a while i wrote a blog post How to parse a JSON Object when using multiSearch for jqGrid with Java, I think you can adopt it to your problem. http://www.jgeppert.com/2010/06/how-to-parse-a-json-object-when-using-multisearch-for-jqgrid-with-java/

Re: Creating Tabs in Struts 2

2010-12-28 Thread Johannes Geppert
don't start with this tabbedPanel, the dojo plugin is deprecated. Use http://code.google.com/p/struts2-jquery/ Struts2 jQuery Plugin or any other plugin or any plain JavaScript UI Lib like Dojo 1.5, Yui, jQuery or ... Johannes Li Ying wrote: You can use the tabbedPanel tag, as Maurizio

Re: Struts2 IDE, eclipse plugins to manage struts2 xml file, are you interested?

2010-12-16 Thread Johannes Geppert
Hi Angelo, this looks great. When do you think is this available? Is there a Beta version available for tests? Best Regards Johannes Geppert azerr wrote: Hi Struts2 Team, I introduce to me. I'm Angelo ZERR and I'm developping a generic XML search engine Eclipse plugins that I would

Re: Connection Pooling with Struts

2010-12-07 Thread Johannes Geppert
in java you have the choose which way is the best for your project to handle databases. there exists several frameworks for this job like hibernate, myBatis, spring jdbc tempalate, ... . google for it and look which framework is the best for your project. Johannes anjibman wrote: I have to

Re: Implement Edit and Delete functions in Struts jQuery Grid

2010-10-19 Thread Johannes Geppert
great! can you contribute the sources? if possible i add this to the wiki. Johannes cellterry wrote: Yes, it works! Johannes Geppert wrote: Hi Terry, I think this is this is possible, but only with some handmake javascript. take a look at the custom formatters, I think

Re: Implement Edit and Delete functions in Struts jQuery Grid

2010-10-16 Thread Johannes Geppert
Hi Terry, I think this is this is possible, but only with some handmake javascript. take a look at the custom formatters, I think this is the right way. http://code.google.com/p/struts2-jquery/wiki/FormatGrid Johannes cellterry wrote: Dear all, For Struts2 jQuery Plugin, could I

Re: Excluding Fields From JSON Serialization via Annoations

2010-10-03 Thread Johannes Geppert
you can use the JSON Annotion above the field you want to exclude. @JSON(serialize=false) public ListXXX getXxx() {} Johannes DartmanX wrote: I have a class called BorderPoint with about 5 fields (including an id field and two ManyToOne hibernate fields). When I return the JSON,

Re: Ajax support for Struts 2.2.1

2010-08-24 Thread Johannes Geppert
Hello Dave, at this point i'am not on your side. Even in the trivial cases a taglib has a benefit. A normal AJAX request with a simple indicator and an effect after completing, needs a lot of boiler plate code, which is hard to maintenance and to debug. A taglib make your JSP cleaner and you

Re: Ajax support for Struts 2.2.1

2010-08-24 Thread Johannes Geppert
*Only* in the trivial cases. Not only, but in the most cases. I have a medium size webapp and there I am happy I can do the whole ajax stuff and the simple widget stuff, like tabs and datepickers with an taglib. this is much more comfortable and to maintenance as plain JavaScript. And

Rest Plugin with Tiles and Validation

2010-07-20 Thread Johannes Geppert
14:03:29,845 DEBUG (org.apache.struts2.interceptor.MessageStoreInterceptor:57) - exit executing MessageStoreInterceptor 2010-07-15 14:03:29,845 DEBUG (org.apache.struts2.interceptor.MessageStoreIntercept Best Regards Johannes Geppert - --- web: http://www.jgeppert.com twitter: http

Re: REST and Non-REST actions

2010-07-20 Thread Johannes Geppert
you can get current release from here. http://people.apache.org/builds/struts/2.2.1/ Johannes Kevin Jones-10 wrote: Thanks Lukasz, where can I grab the 2.2.1 bits? - there doesn't seem to be a link on the site. Do I need to get the sources and build it? Kevin On 20 July 2010

Re: lost URL parameters with s:param tag

2010-07-20 Thread Johannes Geppert
does it work when you define it this way? s:url id=url_help namespace=/Action/Global action=ProcessHelp s:param name=helpTitleexample1 s:param name=help_text_namecontents /s:url Johannes luy wrote: Good morning, It seems that s:param does not work well when more than one

Re: Struts2/Ajax Help

2010-07-16 Thread Johannes Geppert
maybe this helps you out. http://code.google.com/p/struts2-jquery/wiki/SelectTag#A_simple_Doubleselect_with_Topics Best Regards Johanens Geppert CRANFORD, CHRIS wrote: I have a form that uses the select tag to retrieve a list of values from my action when the JSP is rendered. What I

Re: Help Dojo TagLibs

2010-07-16 Thread Johannes Geppert
add to /struts/* to your url pattern, this should solve your problem. Best Regards Johannes Geppert Fabio Alves de Araujo Ebner - DnaSolution wrote: Hi, i trying to use the datetimepicker in my app, but when i change in my Web.xml the struts2 url-pattern to /jsp/* all my tags stop to work

Re: mix REST and old S2 code

2010-07-16 Thread Johannes Geppert
there is a Ticket witch should be solved in next available version. https://issues.apache.org/jira/browse/WW-3260 maybe it helps you out. Best Regards Johannes Geppert Frans Thamura-2 wrote: we develop a REST app using Struts2, and we also have old model, using Struts2

Re: Struts 2 Tree widget

2010-07-16 Thread Johannes Geppert
yes the Struts Tree Tag is Dojo based so you need to include the dojo header. for the http://code.google.com/p/struts2-jquery struts2 jquery plugin is currently no tree tag available. But Contributes are always welcome. :-) Best Regards Johannes Geppert john.varghese wrote: Good morning

Re: jsp in WEB-INF

2010-07-16 Thread Johannes Geppert
togehter with convention plugin ther exists this constant constant name=struts.convention.result.path value=/WEB-INF/jasp/ this works fine for me, bit I don't know a solution without convention plugin. Best Regards Johannes Geppert Miguel-55 wrote: Hello, I use struts 2.1.81

Re: Struts, Convention plugin and REST plugin

2010-07-16 Thread Johannes Geppert
implements Preparable, ModelDrivenListPostViewModel { public String editNew() { return newpost; } public String index() { return posts; } } Best Regards Johannes Geppert Kevin Jones-10 wrote: I'm having a problem using Struts/Convention/REST together/ I have

Re: Struts2 remote commands execution

2010-07-13 Thread Johannes Geppert
is version 2.2.0 also available with maven? Johannes Meder Kydyraliev-2 wrote: There's a critical remote commands execution vulnerability in XWork(used by Struts2), which fixed in 2.2.0, which isn't released yet but can be downloaded here: http://people.apache.org/builds/struts/2.2.0/

Re: Struts time picker does not render ihn IE7/IE8

2010-06-29 Thread Johannes Geppert
-integration.html Best Regards Johannes Geppert john.varghese wrote: Hi All, I am using struts version 2.1.8.1 and below is a test code to render DOJO time picker %@ taglib prefix=s uri=/struts-tags% %@ taglib prefix=sx uri=/struts-dojo-tags% %@ page language=java contentType=text

Re: Jquery autocomplete with struts2.

2010-04-22 Thread Johannes Geppert
Hello, since version 2.0.0 the Struts2 jQuery Plugin have a autocompleter tag. This is an easy way to implement an Autocompleter. See: http://code.google.com/p/struts2-jquery/wiki/AutocompleterTag Best Regards Johannes Geppert sharath wrote: Hi All,      I'm trying to use Jquery

How to specify a input result when using AJAX Client Validation?

2010-04-13 Thread Johannes Geppert
What is the recommended way do define a Input Result when using AJAX Client Validation? Because on validation error the error No result defined for action ... and result input is thrown. More Details: http://code.google.com/p/struts2-jquery/issues/detail?id=133 Best Regards Johannes Geppert

Expression tag.contains is undefined

2010-03-08 Thread Johannes Geppert
(ClosingUIBean.java:59) at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:53) Does anyone knows a solution for this problem? Best Regards Johannes Geppert - --- web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message

Re: Struts2 JQuery select box

2010-03-05 Thread Johannes Geppert
version. Best Regards Johannes Geppert - --- web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in context: http://old.nabble.com/Struts2-JQuery-select-box-tp27780125p27795175.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Struts2 JQuery select box

2010-03-05 Thread Johannes Geppert
some days after jquery UI 1.8 is final. Best Regards Johannes Geppert nani2ratna wrote: Thanks you very much Johannes. Can you tell me when the next version might be released. - --- web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in context

Re: Struts2 JQuery select box

2010-03-04 Thread Johannes Geppert
Hello, did your JSON Actions works fine? Check if you really get an JSON response and the variables inside the result have the same name. Can you please POST your result with sample data? Best Regards Johannes Geppert nani2ratna wrote: Hi, I am trying to use http://code.google.com

Re: Struts2 JQuery select box

2010-03-04 Thread Johannes Geppert
you can just execute your action like a normal action. http://localhost:8080/app/json.action The result should be a normal textfile which you can open with notepad or whatever you want. Also you can use Firebug Network/XHR to see your action response Best Regards Johannes Geppert

Re: Struts2 JQuery select box

2010-03-04 Thread Johannes Geppert
looks like the json plugin has a problem while accessing a member. you can try to exclude it, when you know which it is. Best Regards Johannes Geppert nani2ratna wrote: HI, Thank you. I executed the action. It gave me the following exception java.lang.IllegalAccessException: Class

Re: Struts2 JQuery select box

2010-03-04 Thread Johannes Geppert
did you work with hibernate? I found this post that maybe helps you out. http://www.codeweblog.com/solution-struts2-hibernate-integration-with-jsonpulugin-an-exception-when/ Best Regards Johannes Geppert. nani2ratna wrote: HI, I am trying to get this object ListProdmProdcat

Re: Struts2 JQuery select box

2010-03-04 Thread Johannes Geppert
i think comma seperated, but i'am not sure. so your select box runs now?? Best Regards Johannes Geppert nani2ratna wrote: Hi Johannes, I saw that one earlier. I found the bug. I have another property in my action class which is service class. So i excluded that service class from

Re: Form submit always redirects to the action page instead of the target div

2010-03-04 Thread Johannes Geppert
i think you must use sx:submit targets=contentDiv/ instead of s:submit targets=contentDiv/ Best Regards Johannes Geppert mccorby wrote: Hi all, All the forms in my application redirect to the the action associated instead of the target div. I'm using Struts 2.1.6 Here

How to handle global Errors with AJAX Validation

2010-02-16 Thread Johannes Geppert
with StrutsUtils.showValidationErrors(form, errorsObject); I try to add this tags inside and outside the form s:actionerror / s:actionmessage/ s:fielderror/ But the errors was not displayed. Is there an separate method to display global errors with AJAX Validation? Best Regards Johannes Geppert

Re: Inline editable grid view for use with struts 2?

2010-02-02 Thread Johannes Geppert
Hello, the struts2-jquery plugin provides a grid tag based on jqGrid with inline editing and cell editing. Take a look at the showcases there are severals samples. http://code.google.com/p/struts2-jquery/ Best Regards Johannes Geppert Jim Talbut-2 wrote: Hi, I need an inline editable

Re: select box dynamic loads depends on another select box

2010-01-28 Thread Johannes Geppert
, Can you tell me how to change this example to work for single select box. I mean If user change anything in select box, another 2 select boxes need to get change their data. Thanks in advace Ratna Johannes Geppert wrote: Maybe this helps you. http://code.google.com/p/struts2-jquery

Re: select box dynamic loads depends on another select box

2010-01-20 Thread Johannes Geppert
Maybe this helps you. http://code.google.com/p/struts2-jquery/wiki/SelectTag#A_simple_Doubleselect_with_Topics Best Regards Johannes Geppert nani2ratna wrote: Hi Guys, I have 2 select boxes. If user changes one select box, then data in second one should be changed and reload from

Re: How to nest Struts Tags

2010-01-08 Thread Johannes Geppert
Try it with this: s:url id=url action=get-ccf-data method=getParameterList s:param name=displayGroups:property//s:param /s:url Best Regards Johannes Geppert RogerV wrote: RogerV wrote: Gabriel Belingueres-2 wrote: The s:iterator tag (without the var

Re: How to nest Struts Tags

2010-01-08 Thread Johannes Geppert
Sorry I forgot to close the Tag s:url id=url action=get-ccf-data method=getParameterList s:param name=displayGroups:property//s:param /s:url RogerV wrote: When I try this, it fails because the s:param tag is not closed properly. In an attempt to go back to

Re: freemarker error in select tag

2010-01-08 Thread Johannes Geppert
problem is solved, it was a null value in the list. Johannes Geppert wrote: I use struts2 version 2.1.8.1 and this select tag: s:select name=format list=formate headerKey= headerValue= label=Formate cssStyle=width: 150px; float: left/s:select The SelectBox is already filled so

freemarker error in select tag

2010-01-07 Thread Johannes Geppert
) at org.apache.jsp.pages.sap_jsp._jspx_meth_s_select_2(sap_jsp.java:346) I don't know what freemarker wants to say. Does anyone have a suggestion? Best Regards Johannes Geppert - --- web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in context: http

Re: freemarker error in select tag

2010-01-07 Thread Johannes Geppert
I use struts2 version 2.1.8.1 and this select tag: s:select name=format list=formate headerKey= headerValue= label=Formate cssStyle=width: 150px; float: left/s:select The SelectBox is already filled so I thin the Action is not the Problem. Gabriel Belingueres-2 wrote: Please post the

Re: JavaScript / AJAX + Struts 2?

2009-12-17 Thread Johannes Geppert
Hello Jim, if you like to use AJAX with struts2 take a look at the build in dojo plugin or to one of the other (jquery, yui) plugins you can found in the Plugin Registry. http://cwiki.apache.org/S2PLUGINS/home.html Best Regards Johannes Geppert jcllings wrote: So I have two actions

Re: Problem with jquery plugin

2009-12-15 Thread Johannes Geppert
You only link the JSON Result so your Browser download it, instead of work with the result. jsontable.action Show me the data Give this url to the GRID ike this example. s:url id=remoteurl action=jsontable/ sj:grid href=%{remoteurl} id=gridtable

Re: How to display a table (data grid) using Struts2 - Is there a tag?

2009-12-10 Thread Johannes Geppert
Since today the struts2 jQuery Plugin brings a grid tag based on jQuery Grid Plugin to you. http://code.google.com/p/struts2-jquery/wiki/GridTag You can find various samples in the Showcase http://www.weinfreund.de/struts2-jquery-showcase/ Best Regards Johannes Geppert jvsrvcs wrote: We

Re: Struts 1.1 To Struts2.x Migration

2009-11-26 Thread Johannes Geppert
do you know the migration guide from struts2 wiki? http://struts.apache.org/2.x/docs/migration-guide.html Best Regards Johannes Geppert Zaheer Mohammad wrote: Hi Friends, I am working on a project which is set to migrate from struts1.1 to struts2.x. can anyone

Re: JQuery UI datepicker doesn't work in a struts 2 ajax page

2009-11-09 Thread Johannes Geppert
of the two jQuery Plugins they exists for struts2. http://code.google.com/p/struts2-jquery/ or http://code.google.com/p/struts2-jquery-plugin/ Best Regards Johannes Geppert fireapple wrote: Thanks Johannes, I'm using struts 2.0.11, this is my ajax submit tag: s:submit action

Re: Struts2 / Hibernate Question

2009-10-23 Thread Johannes Geppert
I use the FullHibernatePlugin in some small Projects, this is working very well for me. In larger Projects today I prefer Hibernate in combination with Spring Framework. Best Regards Johannes Geppert -- http://www.jgeppert.com http://twitter.com/jogep Dennis Atkinson wrote: Hello all

Re: Strut2 Picture Upload question: Please Help!

2009-09-04 Thread Johannes Geppert
the rest of it. Thanks in advance. Johannes Geppert wrote: you can use the jQuery Plugin for this use case. jQuery makes automatically a iframe submit for forms with file upload. http://code.google.com/p/struts2-jquery/ - --- web: http://www.jgeppert.com twitter: http

RE: Strut2 Picture Upload question: Please Help!

2009-09-04 Thread Johannes Geppert
Hello Martin, did you take a look at the showcase? There are many examples for remote divs. Nice weekend Johannes mgainty wrote: thanks for the info can you specify a div tag to receive results from action? any ability to specify received format eg json/xml? danke, Martin

  1   2   >