Result Annotations and parameters

2007-12-06 Thread Johannes Geppert
Regards Johannes Geppert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Result Annotations and parameters

2007-12-09 Thread Johannes Geppert
(DefaultActionInvocation.java:229) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) Can anybody resolve my problem? I think my configuration has no errors, because my Actions without parameters work fine. Best Regards Johannes Geppert

Re: Result Annotations and parameters

2007-12-10 Thread Johannes Geppert
Hello Ted, thank you for reply. Is the property actually ID, as in String getID() ? Or is it getId() ? It's getID(), with XML-Configuration it works perfectly. So there can not be an error with misspelling. In the JPA MailReader code (see the sandbox), @Results like this one are working:

Re: [S2]Checkbox value

2007-12-13 Thread Johannes Geppert
input name=chkUserId type=checkbox value=s:property value=getUserId()// try this version: input name=chkUserId type=checkbox value=%{userId()}/ you can't use tags in tags. Best Regards Johannes Geppert

[S2] No JavaScript in TabbedPanel

2008-01-12 Thread Johannes Geppert
Johannes Geppert -- View this message in context: http://www.nabble.com/-S2--No-JavaScript-in-TabbedPanel-tp14772176p14772176.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Re: [S2] No JavaScript in TabbedPanel

2008-01-12 Thread Johannes Geppert
yes all script tags are removed in my results. What can I do to execute the javascript? GF-7 wrote: Time ago I noticed that javascript were removed in the pages linked by s:div .. is this your case too? -- View this message in context:

Re: [S2] No JavaScript in TabbedPanel

2008-01-12 Thread Johannes Geppert
newton.dave wrote: --- Johannes Geppert [EMAIL PROTECTED] wrote: yes all script tags are removed in my results. What can I do to execute the javascript? http://struts.apache.org/2.x/docs/tabbedpanel.html executeScripts. d

Re: [S2] No JavaScript in TabbedPanel

2008-01-13 Thread Johannes Geppert
no separateScripts has also no affect, all JavaScript in my result are removed. Jeromy Evans - Blue Sky Minds wrote: http://struts.apache.org/2.x/docs/dojo-div.html separateScripts j. -- View this message in context:

Re: [S2] No JavaScript in TabbedPanel

2008-01-13 Thread Johannes Geppert
in my JSP I've got an JavaScript like this script language=JavaScript type=text/javascript alert('It Works!!'); /script But in the result of struts2 the script tags and the content of the tags are removed. newton.dave wrote: --- Johannes Geppert

Re: [S2] No JavaScript in TabbedPanel

2008-01-13 Thread Johannes Geppert
no, this is the main problem. :-) newton.dave wrote: Is your JavaScript executed? d. --- Johannes Geppert [EMAIL PROTECTED] wrote: in my JSP I've got an JavaScript like this script language=JavaScript type=text/javascript alert('It Works

Re: [S2] No JavaScript in TabbedPanel

2008-01-13 Thread Johannes Geppert
function definition inside the page included with a s:div. It's really a strange thing.. but it is. On Jan 13, 2008 8:46 PM, Johannes Geppert [EMAIL PROTECTED] wrote: no, this is the main problem. :-) - To unsubscribe, e

My Action was three times executed

2008-07-31 Thread Johannes Geppert
since using struts 2.1.2 my actions was three times executed when i submit a form with dojo and sx:submit Is this a bug, or a configuration error? -- View this message in context: http://www.nabble.com/My-Action-was-three-times-executed-tp18755679p18755679.html Sent from the Struts - User

OGNL and instanceof

2008-12-05 Thread Johannes Geppert
my.package.MyClassTwo } do something with Class Two /s:elseif s:else It does not work! /else /s:iterate But it does not work. It runs evertime in the else branch. Have anyone an Idee? Best Regards Johannes Geppert -- View this message in context: http://www.nabble.com/OGNL

Re: OGNL and instanceof

2008-12-05 Thread Johannes Geppert
newton.dave wrote: I'd try #object first, since it's a named context variable created on the page. Dave thank you, this works great. -- View this message in context: http://www.nabble.com/OGNL-and-instanceof-tp20850061p20858557.html Sent from the Struts - User mailing list archive

Re: Struts 2 and XHTML

2009-01-13 Thread Johannes Geppert
use the struts2 tags, like this. s:url id=myaction action='MyAction'/ ps:a href=%{myaction} cssClass=kopfGo To My Action/s:a/p Best Regards Johannes Geppert Anthony Frasso wrote: Hello, and thanks for your help in advance. I'm new to Struts 2, and working on a simple application

Javatemplates Plugin ans XHTM Theme

2009-03-20 Thread Johannes Geppert
the xhtml themes while using the Javatemplates Plugin? I added the Jar to my lib Folder and add following Lines to my struts.xml: constant name=struts.ui.templateSuffix value=java / constant name=struts.ui.theme value=simple / Best Regards Johannes Geppert # web

Re: Javatemplates Plugin ans XHTM Theme

2009-03-20 Thread Johannes Geppert
value=simple / Why struts can't find the theme? Best Regards Johannes Geppert # web: http://www.jgeppert.com web: http://www.weinfreund.de Musachy Barroso wrote: You can mix them, but understand that the simple theme and the java templates will not output

jQuery Plugin

2009-06-08 Thread Johannes Geppert
and Accordion. It would be great if anyone has some response for me, because its my first plugin fro struts2. Have fun with this Johannes Geppert http://www.jgeppert.com -- View this message in context: http://www.nabble.com/jQuery-Plugin-tp23925854p23925854.html Sent from the Struts - User mailing

Re: jQuery Plugin

2009-06-09 Thread Johannes Geppert
thats fine. in many cases it has the same syntax like the sx tags. e.g. sx:a href=%{myaction} targets=mytargetLink/sx:a looks with the jquery plugin sj:a href=%{myaction} targets=mytargetLink/sx:a The sx:a and sx:div tags has an Attribute to highlight the Target after result is finished.

RE: jQuery Plugin

2009-06-09 Thread Johannes Geppert
You can easily use Themes created with jQuery Themeroller. Take a look in the Wiki about Custume Themes http://code.google.com/p/struts2-jquery/wiki/HeadTag BTW: I also have handcoding befor but a taglib can speed up the development and reduce the javaScript Code in my jsp. mgainty wrote:

Re: jQuery Plugin

2009-06-09 Thread Johannes Geppert
Yes, please put it in on the Wiki or Tracker. At the moment the plugin supports multiple targets for anchor and submit. You can see it at the wiki. Best Regards Johannes Geppert http://www.jgeppert.com Miguel-55 wrote: I have a little js script that allows multiple targets (using jquery

Re: Using Map as option list source with s:select tag

2009-08-11 Thread Johannes Geppert
I'am not sure, but I think you can access the attributes of your bean with value.myattribute s:select list=mymap listKey=key listValue=value.myattribute/ Best Regards Johannes Geppert Stephen Turner wrote: Hello all, I'm playing with the Struts 2 s:select tag, trying to use a Map

Re: Table(grids)

2009-09-02 Thread Johannes Geppert
I use the display tags for tables. it's easy to use with struts2. http://displaytag.sourceforge.net/1.2/ Arthur Neves wrote: Hi, I'd like to know, if is there a way to make tables(grids) easily in Struts2? What do you use? Is there a tag? - --- web: http://www.jgeppert.com

Re: Strut2 Picture Upload question: Please Help!

2009-09-03 Thread Johannes Geppert
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/ Nils-Helge Garli wrote: A form with file input can't be submitted with Ajax. You either have to do some iframe magic or use a

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

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: 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: 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: 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: 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: 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

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: 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

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: 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: 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

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: 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

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

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

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

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

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: 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: 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

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: 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

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: 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: 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: 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: 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: 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: 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/

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: 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

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: 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: 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: 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: 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: 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: 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:

[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: [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

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: 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: [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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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:

  1   2   >