[S2] Using ajax to fill selectboxes

2008-07-23 Thread Michael Obster
ith a JSONResult. But can I use this with a -tag and how I do that? Regards, Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

and redirect problem

2008-07-16 Thread Griffith, Michael *
e entire action (including the outermost tiles) show up in the body tile - so it's like the website shows an entire HTML response in the body tile, which is not correct either. Any insight as to how to overcome this would be much appreciated... Best regards, Michael Griffith

Re: getting Session from one to another namespace - possible?

2008-07-10 Thread Michael Obster
looks like there is another problem with the lib which connect to LDAP server. As I can see for the moment I have no problem with the session but with my user object. Cheers, Michael Randy Burgess schrieb: Is the namespace the same as what is defined in your struts.xml? Have you tried namespac

getting Session from one to another namespace - possible?

2008-07-10 Thread Michael Obster
e right page, but switching back to action1 or action2 I get the login page. After some debugging I've seen that the session was killed. After some further debugging I've seen that this only happens when I switch the namespace. Has anyone

LinkTag 'href' attribute problem

2008-06-17 Thread Glock, Michael
7;true' but the rendered result is always ... When I try the same on an attribute that is defined in my custom tag class (and not in the parent class LinkTag) then it works without problems. Any ideas? Thanks in advance! Michael

RE: select tag list listKey and listValue usage

2008-06-11 Thread Michael Gagnon
I'm not sure that makes sense. At the end, the client is just getting some html with a regular 'option' tag in it. The best you can do is set pass some unique id for the key and then fetch the object back when the form is submitted with the unique key -Original Message- From: akash agrawal

RE: Custom interceptor not firing

2008-06-10 Thread Michael Gagnon
You don't have any action mappings (that I see), so there's nothing for these interceptors to apply to. Add the following to your web.xml: struts-cleanup org.apache.struts2.dispatcher.ActionContextCleanUp stru

RE: [OT] Re: Action mapping not found - eclipse configuration problem???

2008-06-10 Thread Michael Gagnon
I've had a similar problem in the past where a co-worker pulling the project from source control would see action mapping not found errors -- which baffled me because I didn't get them. On deleting my target folder and re-warring, tomcat then picked up the errors. This was because eclipse project=>

Cannot use multiple s:action tags?

2008-06-04 Thread Michael Gagnon
When I attempt to use more than 1 s:action tag on a page, I just get back a blank page - no error, no console output, just nothing. My page just looks like: If I just use one action (eith

RE: Submitting a form without selecting checkboxes yields 'Input' result

2008-05-20 Thread Michael Gagnon
eckboxes yields 'Input' result Michael Gagnon wrote: > My JSP resembles: > > > > > >status="stat" id="next"> > > ... >required="false"/> >

Submitting a form without selecting checkboxes yields 'Input' result

2008-05-20 Thread Michael Gagnon
My JSP resembles: ... ... ... ... ... ... My action resembles: ... public class ApproveItemsAction extends ActionSupport { private Integer[] approved; private Integer[] itemsPresent;

Dojo taglib?

2008-05-13 Thread Michael Gagnon
Reading http://struts.apache.org/2.x/docs/ajax-tags.html, this claims (reasonably) that I must add <%@ taglib prefix="sx" uri="/struts-dojo-tags" %> in order to use the sx ajax tags. but it appears that the /struts-dojo-tags uri is not available to me. Eclipse doesn't see it, and I don't see such a

RE: 2 Dimensional arrays?

2008-05-09 Thread Michael Gagnon
cript. That could potentially entail a large number of changes, though... Or, another JavaScript solution, one that doesn't entail switching to any kind of AJAX, would be to have a script that concatenates all of one row's values into a single string, and then have a single-dimensional a

2 Dimensional arrays?

2008-05-09 Thread Michael Gagnon
Is it possible to get back 2D arrays from a form? I want to be able to have a table with some number of rows. Each row has a 'grouping' field which the user can enter a number in. Each row will also have a dynamic 'foo' column which will have a button to add additional 'foo' values. Some javasc

Struts Taglib

2008-05-06 Thread Michael Gagnon
I've added a custom taglib in my project. One of these tags does some logic to generate a series of links. Given one target URL, I want to create X links to that URL with one changed parameter. If the given URL has parameters, I want them to all be preserved except for one named 'pageNumber' which

Redirect-Action type result warns of caught exception when passing param

2008-04-30 Thread Michael Gagnon
My relevant mapped action look like: /jsp/admin/internalOrders/viewLineItem.jsp GetLineItem /admin/internalOrders true ${id} The 'GetLineItem' action works correctly when given an 'id' parameter. No exce

RE: Building First strut

2008-04-25 Thread Berger, Michael
For what its worth, I was confused as to where to start also. I got "Jakarta Struts for Dummies" and read that. I had to use Struts 1.1, because the book is written for 1.1 ... From what I've read there is a lot of changes from 1.x to 2.x, but this will give you a good starting point. I thought the

Spring Struts Plugin workaround for Session Scoped Beans

2008-04-24 Thread Griffith, Michael *
upposed to be? Also, if I have a method getValueObject() on my action that returns a model, how do I get Spring to use that method to inject my service on the constructor? I want something like: ... QuestionSequenceImpl( ValueObject vo ){ this.vo= vo; } Thanks in advance! Michael Griffith

RE: Clarification on Type Conversion?

2008-04-18 Thread Griffith, Michael *
this.statusService= statusService; } public List getStatusList(){ return statusService.findAll(); } } -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Friday, April 18, 2008 12:22 PM To: Griffith, Michael *

RE: Clarification on Type Conversion?

2008-04-18 Thread Griffith, Michael *
s a parameter to a method setStatus. That is not possible--you need to pass the id of the status if you want to indicate which status the user chose, like this for example: You also need setId method in the action you submit the form to. On Fri, Apr 18, 2008 at 5:33 PM, Griffith, Michael * &

Clarification on Type Conversion?

2008-04-18 Thread Griffith, Michael *
it. Any help or suggestions would be much appreciated... Thanks in advance! Michael Griffith

Eclipse plugins to verify xml/jsp at compile time?

2008-04-16 Thread Michael Gagnon
Is there any plugin support for eclipse that can help validate struts2 configuration? So if I have a struts.xml mapping like: ... Then some build-time plugin might check and see the userAccounts.action.LoginUserAction class does not exist Or perhaps a struts tag in a JSP might look like: ...

RE: Problem with Select tag

2008-04-16 Thread Michael Gagnon
Can you show your struts xml, calling java action, and resulting jsp code? I've noticed error messages like that whenever ANYTHING was wrong on a page with a select box -- completely independent of anything to do with the select box. So I think whatever you changed MAY have broken something else an

Advantage of prepare()?

2008-04-16 Thread Michael Gagnon
I've been working with struts2 for about 2 months and so far I've been using the preparable interface to populate any data the resulting page wants to display. I've used the execute method to do non-visible work and determine a result (which controls flow). I'm wondering if this is the intended

RE: Two buttons on same row

2008-04-11 Thread Michael Gagnon
Edit your struts.xml to reflect the following: http://struts.apache.org/dtds/struts-2.0.dtd";> ... ... The behavior should be more as you expect after that. You will lose things like the label property on textfields though. In that case you just type it outside like: ... U

RE: another noob..

2008-04-08 Thread Berger, Michael
lto:[EMAIL PROTECTED] Sent: Tuesday, April 08, 2008 8:18 AM To: Struts Users Mailing List Subject: Re: another noob.. 2008/4/8, Berger, Michael <[EMAIL PROTECTED]>: > > All the .jar files I expected are there, but I can't find any of the > .tld files. > What am I mis-underst

another noob..

2008-04-08 Thread Berger, Michael
I've been studying struts and trying to get up to speed on it. My question is downloading the struts package itself. I downloaded both the struts-1.3.8-all.zip and the struts-2.0.11.1-all.zip from the struts.apache.org website. When I extract these .zip files, I expected to see the relevant .tld fi

RE: How is the dependency and dependency conversion list built on struts website?

2008-04-02 Thread Griffith, Michael *
Ignore my question... I found it... Maven 2 Report, thanks. MG -Original Message- From: Griffith, Michael * [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2008 12:50 PM To: Struts Users Mailing List Subject: How is the dependency and dependency conversion list built on struts

How is the dependency and dependency conversion list built on struts website?

2008-04-02 Thread Griffith, Michael *
Hello all, I think I know the answer to this, but I am wondering how the dependency and dependency convergence lists are built on the Struts Website? http://struts.apache.org/2.x/struts2-core/dependencies.html http://struts.apache.org/2.x/struts2-core/dependency-convergence.html Is this

RE: submit and cssStyle

2008-03-27 Thread Michael Gagnon
Would: not work? -Original Message- From: Brian Relph [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2008 2:33 PM To: Struts Users Mailing List Subject: s:submit and cssStyle Hello, I am trying to add a cssStyle to my button - that includes an : ) no-repeat;" action="canc

OGNL Method calls & class static properties

2008-03-20 Thread Michael Gagnon
Is it valid to, within the scope if a s:if tag, to: a) Call non getter/setter methods on a bean on the stack b) Reference some unrelated class' public static field (without a getter method) To give the situation some context, I'm attempting to do something similar to the following

RE: Newbie question

2008-03-18 Thread Griffith, Michael *
tp://struts.apache.org/2.x/docs/building-the-framework-from-source.htm l > > > On 18/03/2008, maitre <[EMAIL PROTECTED]> wrote: >> >> >> Thanks, y'all. >> >> Where can I find the correct JDK and API specs so I can ask my hosting >> company? &g

RE: Newbie question

2008-03-18 Thread Griffith, Michael *
-the-framework-from-source.htm l On 18/03/2008, maitre <[EMAIL PROTECTED]> wrote: > > > Thanks, y'all. > > Where can I find the correct JDK and API specs so I can ask my hosting > company? > > Ed > > > > Griffith, Michael * wrote: > > > > A

RE: Newbie question

2008-03-18 Thread Griffith, Michael *
Agreed. Look for a provider that offers the correct JDK and API specs. MG -Original Message- From: Alex Choi [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2008 12:55 PM To: Struts Users Mailing List Subject: Re: Newbie question I think you need to rephrase your question. Apache

RE: Re: Struts 1 return stream (documents)

2008-03-18 Thread Griffith, Michael *
Forgive me if I am on the wrong track here, I think I picked up this thread in the middle... but I think I would answer: > How are we suppose to supply the fileName? By setting a response header: response.setHeader("Content-Disposition", "inline;filename="foo.xyz"); MG -Original Message---

RE: How to initialize business service objects?

2008-03-17 Thread Griffith, Michael *
] Sent: Monday, March 17, 2008 1:35 PM To: 'Struts Users Mailing List' Subject: RE: How to initialize business service objects? Hi Michael Thanks for your answer. > 1) You have included the struts2-spring-pliugin.jar in your classpath Yes, it put it under "WEB-INF/lib/" so i

RE: How to initialize business service objects?

2008-03-17 Thread Griffith, Michael *
Frank, Check two things: 1) You have included the struts2-spring-pliugin.jar in your classpath 2) Your applicationContext.xml file is getting loaded on startup. If you haven't already done so, check your web.xml for a context parameter like this: contextConfigLocation

RE: How can I combine a result (tiles + xslt)?

2008-03-12 Thread Griffith, Michael *
relli [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 8:31 AM To: Struts Users Mailing List Subject: Re: How can I combine a result (tiles + xslt)? 2008/3/11, Griffith, Michael * <[EMAIL PROTECTED]>: > > Would you then agree this is a bug or enhancement that could be made to

RE: How can I combine a result (tiles + xslt)?

2008-03-11 Thread Griffith, Michael *
: Struts Users Mailing List Subject: Re: How can I combine a result (tiles + xslt)? 2008/3/10, Griffith, Michael * <[EMAIL PROTECTED]>: > > I believe (maybe incorrectly so) that the problem is caused by the > XSLTResult calling close/flush when processing the result. Mmm... It rem

RE: How can I combine a result (tiles + xslt)?

2008-03-10 Thread Griffith, Michael *
ue is related. I believe (maybe incorrectly so) that the problem is caused by the XSLTResult calling close/flush when processing the result. https://issues.apache.org/struts/browse/WW-2538 MG -Original Message- From: Griffith, Michael * [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2008

RE: How can I combine a result (tiles + xslt)?

2008-03-10 Thread Griffith, Michael *
Message- From: Griffith, Michael * [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2008 4:44 PM To: Struts Users Mailing List Subject: RE: How can I combine a result (tiles + xslt)? Dave, I did. I will try both, easy path first. I'll let you know what I find so that you can close the

RE: How can I combine a result (tiles + xslt)?

2008-03-07 Thread Griffith, Michael *
s like it would be quite a bit easier to try his idea than all this. --- Martin Gainty <[EMAIL PROTECTED]> wrote: > Good Afternoon Michael > > I just ran thru the scenario you described on a 'healthy' jsp page and see > this debug output: >

RE: How can I combine a result (tiles + xslt)?

2008-03-07 Thread Griffith, Michael *
I'd be happy to do more than that; I'll fix the bug if someone can give me some design direction. MG -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2008 7:36 AM To: Griffith, Michael * Cc: Struts Users Mailing List Subject: Re: How can

RE: How can I combine a result (tiles + xslt)?

2008-03-07 Thread Griffith, Michael *
Struts 2.0.11.1 Tiles 2.0.5 -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2008 2:20 AM To: Struts Users Mailing List Subject: Re: How can I combine a result (tiles + xslt)? 2008/3/6, Griffith, Michael * <[EMAIL PROTECTED]>: > >

RE: DispatchAction nonexisting method

2008-03-06 Thread Griffith, Michael *
Hi Edward, Create a method for handling "all the rest" or unspecified actions, and delegate to your view: protected ActionForward unspecified(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)

RE: How can I combine a result (tiles + xslt)?

2008-03-06 Thread Griffith, Michael *
red because the stream is closed. Any help would be much appreciated... MG -Original Message- From: Griffith, Michael * [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 1:52 PM To: Struts Users Mailing List Subject: RE: How can I combine a result (tiles + xslt)? Could this be a

RE: How can I combine a result (tiles + xslt)?

2008-03-06 Thread Griffith, Michael *
Could this be a defect? https://issues.apache.org/struts/browse/WW-1385 -Original Message- From: Griffith, Michael * [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 1:25 PM To: Martin Gainty Cc: Struts Users Mailing List Subject: RE: How can I combine a result (tiles + xslt

RE: How can I combine a result (tiles + xslt)?

2008-03-06 Thread Griffith, Michael *
[mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 9:51 AM To: Griffith, Michael * Cc: Struts Users Mailing List Subject: Re: How can I combine a result (tiles + xslt)? Michael- remembering our academic coursework teaches Not(Not condition) evaluates positive be sure to set

RE: How can I combine a result (tiles + xslt)?

2008-03-06 Thread Griffith, Michael *
-0500, Griffith, Michael * wrote: [snip] > > > Is this a good application for writing my own interceptor for? You would want to write your own "Result Type" for this. Writing your own results is not as well documented as writing your own interceptors, but since yo

How can I combine a result (tiles + xslt)?

2008-03-05 Thread Griffith, Michael *
Hi, Can anyone advise me on the best way to approach this problem? I have a Struts2 application using Tiles 2 for UI. I have a page where the body of my tiles composition needs to be generated dynamically from XSLT. I want to transform XML into HTML tags including a form and inputs, which w

RE: AjaxTag 1.3 support?

2008-02-05 Thread Griffith, Michael *
n Technologies Used for presentation","510":"List any Java EE Technologies used in your application"}} -Original Message- From: Musachy Barroso [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 05, 2008 1:20 PM To: Struts Users Mailing List Subject: Re: AjaxTag 1.3

RE: AjaxTag 1.3 support?

2008-02-05 Thread Griffith, Michael *
e.org/S2PLUGINS/json-plugin.html musachy On Feb 5, 2008 12:58 PM, Griffith, Michael * <[EMAIL PROTECTED]> wrote: > Musachy, > > I've looked over the documentation, and looked in the JSONWriter class > -- and it is not obvious to me how to configure this plugin setting.

RE: AjaxTag 1.3 support?

2008-02-05 Thread Griffith, Michael *
AM To: Struts Users Mailing List Subject: Re: AjaxTag 1.3 support? Don't give up so easily :). That is just a setting on the json plugin to prevent cross site scripting, and can be disabled. musachy On Feb 5, 2008 11:27 AM, Griffith, Michael * <[EMAIL PROTECTED]> wrote: > Well, to ans

RE: AjaxTag 1.3 support?

2008-02-05 Thread Griffith, Michael *
ing to me. Maybe I am expecting this to do something that it was never designed to do. My end goal was to be able to evaluate the ID of the question that the user selected from the autocompleter. I'm giving up this path and looking elsewhere. Thanks to everyone that replied to my questi

RE: AjaxTag 1.3 support?

2008-02-05 Thread Griffith, Michael *
ization loop, but I don't want to confuse the plug in -- if that makes any sense. MG -Original Message- From: Musachy Barroso [mailto:[EMAIL PROTECTED] Sent: Monday, February 04, 2008 6:30 PM To: Struts Users Mailing List Subject: Re: AjaxTag 1.3 support? Right on. On Feb 4, 2

RE: AjaxTag 1.3 support?

2008-02-04 Thread Griffith, Michael *
jaxTag 1.3 support? ... That's probably an issue. --- "Griffith, Michael *" <[EMAIL PROTECTED]> wrote: > Yea, I think so -- I copied and pasted this from the log file/console... > > From: Dave Newton [mailto:[EMAIL PROTECTED] > > Is it generating those brackets arou

RE: AjaxTag 1.3 support?

2008-02-04 Thread Griffith, Michael *
st any Java EE Technologies used in your application"}}] -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Monday, February 04, 2008 5:34 PM To: Struts Users Mailing List Subject: RE: AjaxTag 1.3 support? ... That's probably an issue. --- "Griffith, Mich

RE: AjaxTag 1.3 support?

2008-02-04 Thread Griffith, Michael *
JSON? Dave --- "Griffith, Michael *" <[EMAIL PROTECTED]> wrote: > Musachy, > > Thanks for your many replies... Does this JSON look like the right > format? As far as I can tell, it matches your snippet below -- but I get > the same dojo parting error. > &g

RE: AjaxTag 1.3 support?

2008-02-04 Thread Griffith, Michael *
ot;Key2", q.getQuestion2()); return new QuestionJson(m); } that will generate something like: { "questions": { "Key1" : "Question 1", "Key2" : "Question 2", } } //that's the idea, but I typed out of what I remember which is ofte

RE: AjaxTag 1.3 support?

2008-02-04 Thread Griffith, Michael *
inal Message- From: Musachy Barroso [mailto:[EMAIL PROTECTED] Sent: Monday, February 04, 2008 2:53 PM To: Struts Users Mailing List Subject: Re: AjaxTag 1.3 support? Take a look here: http://cwiki.apache.org/S2PLUGINS/json-plugin.html musachy On Feb 4, 2008 3:43 PM, Griffith, Michael * <

RE: AjaxTag 1.3 support?

2008-02-04 Thread Griffith, Michael *
return newList; } But it appears to be ignored. MG -Original Message----- From: Musachy Barroso [mailto:[EMAIL PROTECTED] Sent: Monday, February 04, 2008 2:53 PM To: Struts Users Mailing List Subject: Re: AjaxTag 1.3 support? Take a look here: http://cwiki.apache.org/

RE: AjaxTag 1.3 support?

2008-02-04 Thread Griffith, Michael *
ailto:[EMAIL PROTECTED] Sent: Monday, February 04, 2008 2:37 PM To: Struts Users Mailing List Subject: Re: AjaxTag 1.3 support? yes, but the output will depend on what you feed the JSON result. musachy On Feb 4, 2008 3:20 PM, Griffith, Michael * <[EMAIL PROTECTED]> wrote: > Musachy, > >

RE: AjaxTag 1.3 support?

2008-02-04 Thread Griffith, Michael *
["Alaska","AK"] ] } if you are using 2.1 check this link: http://cwiki.apache.org/WW/ajax-and-javascript-recipes.html#AjaxandJavaS criptRecipes-Autocompleter otherwise just an array of arrays should do: [ ["Alabama", "AL"], ["Alaska

RE: AjaxTag 1.3 support?

2008-02-04 Thread Griffith, Michael *
mailto:[EMAIL PROTECTED] Sent: Monday, February 04, 2008 1:22 PM To: Struts Users Mailing List Subject: Re: AjaxTag 1.3 support? funny thing is that now I remember the code(duh!), it is in the struts widget. It seems like the json is empty. Paste the section of your jsp with the autocompleter and th

RE: AjaxTag 1.3 support?

2008-02-04 Thread Griffith, Michael *
nse.setHeader("Pragma", "no-cache"); > > PrintWriter pw = response.getWriter(); > pw.write(xml.toString()); > pw.close(); > > Hope this helps. > > Grant > > > > From: Griffith, Michael * [mailto:[EMAIL PRO

RE: AjaxTag 1.3 support?

2008-02-04 Thread Griffith, Michael *
n. Do you have "this.data[x][0].toLowerCase" somewhere? musachy On Feb 4, 2008 11:57 AM, Griffith, Michael * <[EMAIL PROTECTED]> wrote: > Jeromy, > > Again, thanks for the reply. I appreciate your help! > > Following your example below, I can see the JSON result in t

RE: AjaxTag 1.3 support?

2008-02-04 Thread Griffith, Michael *
Re: AjaxTag 1.3 support? I think that error is coming from your jsp, not the JSON generation. Do you have "this.data[x][0].toLowerCase" somewhere? musachy On Feb 4, 2008 11:57 AM, Griffith, Michael * <[EMAIL PROTECTED]> wrote: > Jeromy, > > Again, thanks for the reply. I

RE: AjaxTag 1.3 support?

2008-02-04 Thread Griffith, Michael *
Dave Newton wrote: > --- "Griffith, Michael *" <[EMAIL PROTECTED]> wrote: > >> Thanks for the comprehensive reply. Looking at the documentation and the >> example app, I am still not sure how to configure my action/response. I >> am using tiles 2. >>

RE: AjaxTag 1.3 support?

2008-02-02 Thread Griffith, Michael *
", "no-cache"); > > PrintWriter pw = response.getWriter(); > pw.write(xml.toString()); > pw.close(); > > Hope this helps. > > Grant > > > > From: Griffith, Michael * [mailto:[EMAIL PROTECTED] > Sent: Fri 2/1/2008 3:48 PM >

RE: AjaxTag 1.3 support?

2008-02-01 Thread Griffith, Michael *
riginal Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 5:42 PM To: Struts Users Mailing List Subject: Re: AjaxTag 1.3 support? --- "Griffith, Michael *" <[EMAIL PROTECTED]> wrote: > public class QuestionAction extends BaseAction im

AjaxTag 1.3 support?

2008-02-01 Thread Griffith, Michael *
I am not using. If anyone can help me get this going I would definitely be interested in participating in the project updating the documentation. Michael Griffith Application Architect (Consultant) Office of the Chief Information Officer Office of the Commissioner U.S. Food and

RE: Help with (1...N) Editing using Ajax?

2008-02-01 Thread Griffith, Michael *
data available after the fact. You either must render the form after the data is available, or perform additional processing to 'push' the data into the form. L. Griffith, Michael * wrote: > In fact, looking at the page source, it appears the expression is never > cooked... >

RE: Help with (1...N) Editing using Ajax?

2008-01-31 Thread Griffith, Michael *
th (1...N) Editing using Ajax? so #session['guide'] is not returning anything? musachy On Jan 31, 2008 5:16 PM, Griffith, Michael * <[EMAIL PROTECTED]> wrote: > Hello all, > > > > I am trying to understand how to present an interface where I allow a > user to edi

RE: Help with (1...N) Editing using Ajax?

2008-01-31 Thread Griffith, Michael *
usachy On Jan 31, 2008 5:16 PM, Griffith, Michael * <[EMAIL PROTECTED]> wrote: > Hello all, > > > > I am trying to understand how to present an interface where I allow a > user to edit a master/detail relationship using an Ajax technique. I am > quite new to Str

Help with (1...N) Editing using Ajax?

2008-01-31 Thread Griffith, Michael *
Hello all, I am trying to understand how to present an interface where I allow a user to edit a master/detail relationship using an Ajax technique. I am quite new to Struts2, so please forgive the dalliance. I have a form that presents the user the ability to edit the master of the master

Recommended Tiles Solution?

2008-01-22 Thread Moynihan, Michael A
mplementing option two with the components already in Struts 1.2 or 1.3? Any feedback appreciated. Thanks, Michael

accessing struts package names in view

2007-12-20 Thread Michael Bauland
Hello, in Struts2 it's possible to group several actions into a common package. Those packages must have a unique name. Is there an easy way to access this name in, say, freemarker? Any help would be appreciated. Thanks, Mi

RE: can't use JFreeChart plugin so ...

2007-10-09 Thread REMIJAN, MICHAEL J [AG/1000]
Do NOT use getRealPath("/")!!! If you read the API for this method it says this functionality is optional and does not have to be supported, particularly if the application is deployed as a WAR. It just so happens to work in Tomcat but in most real EE servers this method does not return anything.

[s2] ajax: toggling div content

2007-09-11 Thread Michael Kulovits
i want to asynchronously update the content of a panel, say div, in my application. the panel should display "info" (default), "help" or "filter" information. there are to links/buttons to toggle the content. if the "help" link has been clicked the help content should be displayed and analo

Struts2 and JBoss 5.0.0 Beta2 deployment problem

2007-09-10 Thread REMIJAN, MICHAEL J [AG/1000]
DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Deployed: vfsfile:/C:/jboss/jboss-5.0.0.Beta2/server/default/deploy/moss-homepage. war Michael J. Remijan Senior Application Developer Web Portal Development Team G3619W (314) 694-5491 (w) (314) 288-4662 (c

struts2 getInputForward()

2007-09-09 Thread Michael Kulovits
how do i return to an actions input page/action? in struts1 there was the mapping.getInputForward() method, maybe i'm blind but i haven't found an equivalent in struts2. thanks in advance. ~~~kULO; - To unsubscribe, e-mail: [

Struts2 and JBoss 5.0.0 Beta2 deployment problem

2007-09-05 Thread REMIJAN, MICHAEL J [AG/1000]
DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Deployed: vfsfile:/C:/jboss/jboss-5.0.0.Beta2/server/default/deploy/moss-homepage. war Michael J. Remijan Senior Application Developer Web Portal Development Team G3619W (314) 694-5491 (w) (314) 288-4662 (c

RE: How to access the ActionForm in a JSP?

2007-09-04 Thread REMIJAN, MICHAEL J [AG/1000]
Ajax Projects" (2007, Apress, ISBN 1-59059-816-4) Java Web Parts - http://javawebparts.sourceforge.net Supplying the wheel, so you don't have to reinvent it! REMIJAN, MICHAEL J [AG/1000] wrote: > Newbie question here. Suppose I have action, "helloworld.action" which

How to access the ActionForm in a JSP?

2007-09-04 Thread REMIJAN, MICHAEL J [AG/1000]
don't need to use tags. I just want to display data. Michael J. Remijan - This e-mail message may contain privileged and/or confidential information, and is intended to be received

Struts2 and JBoss 5.0.0 Beta2 deployment problem

2007-08-31 Thread REMIJAN, MICHAEL J [AG/1000]
DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Deployed: vfsfile:/C:/jboss/jboss-5.0.0.Beta2/server/default/deploy/moss-homepage. war Michael J. Remijan Senior Application Developer Web Portal Development Team G3619W (314) 694-5491 (w) (314) 288-4662 (c

Re: how to include struts by using

2007-07-11 Thread Michael Jouravlev
you may have problems including Struts-generated content -- usually a JSP page -- into another JSP page. Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Implementing wizard like interface in struts

2007-06-26 Thread Michael Jouravlev
How do I know? This is your application, you should know better how you manage its state. On 6/26/07, semaj <[EMAIL PROTECTED]> wrote: How can I check the current app state? Could you direct me to some resources? Thanks, semaj -

Re: Implementing wizard like interface in struts

2007-06-26 Thread Michael Jouravlev
manually, this is not that big a deal. You can add your own command into the chain of commands, so every time your app receives a request you would check current app state and remove objects that are not valid for that state. Michael. On 6/26/07, semaj <[EMAIL PROTECTED]> wrote: Then, how can I

Re: Implementing wizard like interface in struts

2007-06-26 Thread Michael Jouravlev
No, it will not. Unless you defined the form in Rollover scope ;-) http://wiki.apache.org/struts/RolloverScope After 1.3.9 is released, I will check in Rollover scope features into main Struts codebase. Michael. On 6/25/07, semaj <[EMAIL PROTECTED]> wrote: Hey Michael, Thank you fo

Re: Implementing wizard like interface in struts

2007-06-25 Thread Michael Jouravlev
rd.dev.java.net/ Michael. On 6/25/07, semaj <[EMAIL PROTECTED]> wrote: It's been a week; have not found any solutions... any idea guys!! semaj wrote: > > Hi there, > > May be someone has already solved this problem. I need to implement a > wizard like page flow in my str

struts.configuration.classpath.defaultPagePrefix not working?

2007-06-25 Thread Michael Fink
. I tried: struts.configuration.classpath.defaultPagePrefix=/jsp struts.configuration.classpath.defaultPagePrefix=jsp struts.configuration.classpath.defaultPagePrefix=/jsp/ Nothing worked ... who can help? Michael - To unsubscribe, e-ma

Re: Html Option Tag - how to retrieve selected collection item?

2007-06-21 Thread Michael Jouravlev
On 6/21/07, Simon Pink <[EMAIL PROTECTED]> wrote: ... What I want to do is, rather than send the id in the value field, send the actual bean. ... You cannot send a Java object from a browser. - To unsubscribe, e-mail: [EMAIL P

Alternate way to get to value in an iteration

2007-06-08 Thread Michael Bowman
mmary values through to another tag (specifically, as part of a jMaki argument list). Any ideas on how to do this? Thanks! -Michael -- http://mbowman.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: Best practice - Wizard flow

2007-05-24 Thread Michael Bowman
Actually, it appears there is already a struts2 plugin for it: http://cwiki.apache.org/S2PLUGINS/spring-webflow-plugin.html -Michael On 5/24/07, Michael Bowman <[EMAIL PROTECTED]> wrote: You may want to check out Spring Web Flow - http://www.springframework.org/webflow It apparen

Re: Best practice - Wizard flow

2007-05-24 Thread Michael Bowman
You may want to check out Spring Web Flow - http://www.springframework.org/webflow It apparently (I haven't tried it yet) works with struts2 and you don't need to use anything else from spring to use it. I saw a demo of it at JavaOne this year and was really impressed. -Michael

Re: how to disable refresh button and back button

2007-05-07 Thread Michael Jouravlev
On 5/7/07, jalal udeen <[EMAIL PROTECTED]> wrote: hi all can any one explain me how to disable both back button and refresh button This is browser-dependent and does not relate to Struts. - To unsubscribe,

Re: how to assign

2007-05-07 Thread Michael Jouravlev
On 5/7/07, john lee <[EMAIL PROTECTED]> wrote: Anyone help for the following? inside jsp, i try to do the following, but cause error, what is the solution? tks in advance <% String pid="%> <%"%> but give the error String literal is not properly closed by double-quote. john <% St

Re: Trouble with DispatchAction

2007-05-07 Thread Michael Jouravlev
ition? if not, then the only other reason would be that you want to have a fancier button caption instead of "delete". In this case forget about DispatchAction. Better choices like EventDispatchAction or EventActionDispatcher are available: http://wiki.apache.org/struts/EventActionDispatcher Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Struts2 - JSF Plugin in portal environment

2007-05-01 Thread Michael Bowman
et me know where I've gone wrong, it would be greatly appreciated. Thanks! -Michael struts-jsf.xml -- org.apache.struts2.jsf.StrutsV

Re: Velocity in Struts2

2007-04-17 Thread Michael
setup (which I should have done in the first place) --Michael On 4/17/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: I'm not sure what the problem is, but adding $action to example.vm in showcase, I see that it prints " [EMAIL PROTECTED]" on the page, so the reference is the

<    1   2   3   4   5   6   7   8   9   10   >