Re: [S2] field-validator regex ignoring given message

2007-05-24 Thread Paolo Beccari
Paolo Beccari <[EMAIL PROTECTED]> wrote: I suppose this message is always returned when a conversion error occurs. Next step is finding a way to hide it. I'll post the solution, if ever find one. "Dave Newton" <[EMAIL PROTECTED]> wrote: $ find . -name "*.properties" | xargs grep -i invalid ./s

Re: calling particular method in the interceptor

2007-05-24 Thread Jeromy Evans
public String intercept(ActionInvocation actionInvocation) throws Exception { I wouldn't do it, but actionInvocation provides information about the action and method being invoked. Your interceptor could change its behaviour based on the action name/class or method. The preferred approach (

RE: Assingning bean:write Values in Jsp

2007-05-24 Thread Kapil Sharma
tag will do it You can access it as <%=assign%> Thanks and Regards, Kapil -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 3:57 PM To: Struts Users Mailing List Subject: Re: Assingning bean:write Values in Jsp 2007/5/24, jalal

Re: [S2] field-validator regex ignoring given message

2007-05-24 Thread Paolo Beccari
Paolo Beccari <[EMAIL PROTECTED]> wrote: I suppose this message is always returned when a conversion error occurs. Next step is finding a way to hide it. I'll post the solution, if ever find one. "Dave Newton" <[EMAIL PROTECTED]> wrote: $ find . -name "*.properties" | xargs grep -i invalid .

Re: %{x}

2007-05-24 Thread Jeromy Evans
An introduction is provided at http://struts.apache.org/2.x/docs/ognl.html. The difference between %{} and #{} is described there. How it's applied within tags is here http://struts.apache.org/2.x/docs/tag-syntax.html For a deeper understanding flick through some of http://www.ognl.org/2.6.9/D

RE interceptor call

2007-05-24 Thread meissa . sakho
Depuis le 21 décembre 2006, Natexis Investor Servicing s'appelle Natixis Investor Servicing. Les adresses mails des collaborateurs ayant changé, veillez à la mise à jour de votre carnet d'adresses. try this, http://struts.apache.org/2.x/docs/writing-interceptors.html L'integrite de ce message

Re: Serious memory leak

2007-05-24 Thread Balazs Michnay
>I meant filters defined in web.xml, not scriptlets. It's /possible/ that >your tags are using a whole lot of memory, but probably not >(you'd have to be creating randomly-named session attributes over and >over, and never freeing them... I'm guessing you're not doing that). No, I'm not doing tha

Upload Utility in Struts

2007-05-24 Thread Srinivasula Reddy A , Bangalore
Hi Struts User Community, I need rough Idea of how to implement upload file feature in struts as a component. Atleast give me some rough idea or send some urls which provides that help. Regards, Sreenivasula Reddy A DISCLAIMER: ---

Re: Upload Utility in Struts

2007-05-24 Thread Antonio Petrelli
2007/5/24, Srinivasula Reddy A , Bangalore <[EMAIL PROTECTED]>: Hi Struts User Community, I need rough Idea of how to implement upload file feature in struts as a component. Atleast give me some rough idea or send some urls which provides that help. People seem to hate Google for s

Re: Problem regarding tag

2007-05-24 Thread Dave Newton
--- Vijay Prajapati <[EMAIL PROTECTED]> wrote: > Can you please send sample code to print matrix of > 10 element from one Look at the "status" attribute. http://struts.apache.org/2.x/docs/iterator.html See the last example regarding "#stat.index". d.

Re: [S2] field-validator regex ignoring given message

2007-05-24 Thread Dave Newton
--- Paolo Beccari <[EMAIL PROTECTED]> wrote: > >> Paolo Beccari <[EMAIL PROTECTED]> wrote: > >> I suppose this message is always returned when a > >> conversion error occurs. > > "Dave Newton" <[EMAIL PROTECTED]> wrote: > ./src/java/com/opensymphony/xwork2/xwork-messages.properties:xwork.default.in

RE: Upload Utility in Struts

2007-05-24 Thread Sourabh Chandan
Can you tell me what type of file you want to upload. Suppose you are uploading image file. For this, In jsp page u can put this code to upload the file In form, there are getter and setter method of imageFile. It is FormFile type. In Action, You can put this code to save this image on your

Re: calling particular method in the interceptor

2007-05-24 Thread sudeepj2ee
Thanks Jeromy it really worked Jeromy Evans - Blue Sky Minds wrote: > > public String intercept(ActionInvocation actionInvocation) throws > Exception { > > I wouldn't do it, but actionInvocation provides information about the > action and method being invoked. Your interceptor could change

Re: RE interceptor call

2007-05-24 Thread sudeepj2ee
HI I could not understand the language pls can u communicate in english, I have seen the link posted by you but the functionality what i want is calling the interceptor from the action something like calling the interceptor when certain exception occurs. thanks for replying regards sudeep

Re: RE interceptor call

2007-05-24 Thread Lance
http://translate.google.com/translate_t?langpair=fr|en Is just the usual disclaimer etc apart from the link sudeepj2ee wrote: HI I could not understand the language pls can u communicate in english, I have seen the link posted by you but the functionality what i want is calling the interceptor

Re: interceptor call

2007-05-24 Thread Musachy Barroso
Why do you want to do that? It defeats the purpose of the interceptors. musachy On 5/24/07, sudeepj2ee <[EMAIL PROTECTED]> wrote: Hi How to call an interceptor from action class in struts 2 CAn any one send a sample code for that. thanks in advance sudeep srivastava [EMAIL PROTECTED] --

Re: Problem regarding tag

2007-05-24 Thread Vijay Prajapati
Dave I want to print pattern which i have drawn in my first mail through tag. As per your link it will shows 1,2,3,4,5 in row but i want to draw it in row and column wise. Vijay On 5/24/07, Dave Newton <[EMAIL PROTECTED]> wrote: --- Vijay Prajapati <[EMAIL PROTECTED]> wrote: > Can you pl

Re: RE interceptor call

2007-05-24 Thread Dave Newton
--- sudeepj2ee <[EMAIL PROTECTED]> wrote: > I have seen the link posted by you but the > functionality what i want is calling the interceptor > from the action something like calling the > interceptor when certain exception occurs. I cannot understand why you would want to do that. I don't feel

Re: Problem regarding tag

2007-05-24 Thread Dave Newton
--- Vijay Prajapati <[EMAIL PROTECTED]> wrote: > I want to print pattern which i have drawn in my > first mail through tag. > As per your link it will shows 1,2,3,4,5 in row > but i want to draw it in row and column wise. So how might you go about solving that? You have #stat.index. You have t

[S2] Results Based on URL File Types

2007-05-24 Thread Kevin Conroy
Hi everyone, I'm new to Struts 2 (and Struts in general, for that matter). I've got the Struts 2 framework up and running and I'm trying to figure out how to get it to support a use case for our new application. We'd like to have a set of web services that look like this: http://www.domain.com/st

retrieving value of attribute from tiles definition

2007-05-24 Thread temp temp
I have a tiles def My page uses this definition. In my jsp I want to capture the value of title in a bean How to? Thanks & Regards Miro - Got a little couch potato? Check out fun summer activities for kids.

Re: retrieving value of attribute from tiles definition

2007-05-24 Thread Antonio Petrelli
2007/5/24, temp temp <[EMAIL PROTECTED]>: My page uses this definition. In my jsp I want to capture the value of title in a bean How to? Use : http://struts.apache.org/1.3.8/struts-tiles/tagreference.html#importAttribute Antonio -

RE: Problem regarding tag

2007-05-24 Thread Al Sutton
Vijay, You've been given a good hint about Struts can offer to help. If you feel you need to improve the formatting maybe you should look for a JSP formatting tag library and ask the question on their list. Regards, Al. -Original Message- From: Vijay Prajapati [mailto:[EMAIL PROTECTED]

Re: Problem regarding tag

2007-05-24 Thread Vijay Prajapati
Dave, I have 10 element in list() and i want to retrieve and to show them through tag on JSP. But not in one row but in given below style. I am here giving sample output.. 1 2 3 --- in 1st row of HTML table 4 5 6 --- in 2nd row of same HTML table 7 8 9 ---

RE: [S2] Results Based on URL File Types

2007-05-24 Thread Al Sutton
Kevin, >From my knowledge you can't achieve exactly what you're looking for in struts2 because struts2 uses the first part of the last section of the url resource identifier as the key for the action lookup (i.e. for all 4 of your examples the action would be mapped to he same action for queryName

RE: Problem regarding tag

2007-05-24 Thread Al Sutton
Ever get the feeling someones homework is due in or a deadline is looming? -Original Message from Vijay Prajapati- . . . . > Please reply me ASAP - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: Problem regarding tag

2007-05-24 Thread Vijay Prajapati
Al, I am getting values through List from Struts Action and based on that i have to show values on JSPs. and i think Struts can do it. If you have any solution then help me out. On 5/24/07, Al Sutton <[EMAIL PROTECTED]> wrote: Vijay, You've been given a good hint about Struts can offer to

Re: Problem regarding tag

2007-05-24 Thread Dave Newton
--- Vijay Prajapati <[EMAIL PROTECTED]> wrote: > If you have any solution then help me out. Seriously, I think I helped you already. Maybe if you explain where you're having issues coming up with the solution we can work our way through it. d. ___

problem sending array values to struts2 action

2007-05-24 Thread dhilip mandava
i have input fileds like url[], bitrate[]like 5 fields. i used array syantax [] because , dynamically i am adding those fields using javascript with same name. i want to get all those values in some array in action class so,i wrote setter, getter for all those fileds as array type of strin

Re: [S2] Results Based on URL File Types

2007-05-24 Thread Roger Varley
I'm still a newbie as well so take this with a pinch of salt. I would try doing it this way; http://www.domain.com/struts2/queryName?param1=foo,param2=xml http://www.domain.com/struts2/queryName?param1=foo,param2=json http://www.domain.com/struts2/queryName?param1=foo,param2=html http://www.domai

Re: difference between html:submit and

2007-05-24 Thread Alin Tomoiaga
>altKey, bundle, indexed, titleKey, and property are >all Struts-specific (I think)... largely message- and >ActionForm-related stuff. altKey, property, indexed are just different names for "functionality" already provided by the simple html tag. I was hoping for a more subtle difference (like

Best practice - Wizard flow

2007-05-24 Thread Charbel Abdul-Massih
I am developing a wizard type flow with 3 pages in the wizard... We'll call them page 1, page 2, and page 3... I need users to be able to navigate between pages with a next/previous button, without losing any data that was entered in any of the pages. The last submit from page 3 will store

RE: [S2] Results Based on URL File Types

2007-05-24 Thread Al Sutton
Just a small observation Roger, whilst you're solution is perfectly workable, you would need to have a big switch statement (or something similar) which could get messy. imho, the use of the extra directory and namespace (i.e. /xml/, /html/, etc.) that I suggested earlier is slightly simpler becau

RE: [S2] Results Based on URL File Types

2007-05-24 Thread Al Sutton
Just read the your post again, I see you're using the result as a two step process as oppose to needing a dispatch switch statement, cool idea, but I think it will still be a bit more complex than using the separate directories. -Original Message- From: Al Sutton [mailto:[EMAIL PROTECTED]

Re: Best practice - Wizard flow

2007-05-24 Thread Lance
Why not draw all 3 pages but hide 2 of them and javascript the next page on and off. All pages inside the same form, last page submits. Charbel Abdul-Massih wrote: I am developing a wizard type flow with 3 pages in the wizard... We'll call them page 1, page 2, and page 3... I need use

Re: [S2] Results Based on URL File Types

2007-05-24 Thread Kevin Conroy
Hi Roger (and Al), Thanks for your replies. I had thought about doing something like what you specified Roger, by passing the return type as a parameter. However, in keeping with what seems to be fairly standard RESTful web service protocol, I was hoping to have the return type specified after th

Re: Problem regarding tag

2007-05-24 Thread Vijay Prajapati
Dave, I am here giving my code on JSP. So please try to correct it. I have 7 elements in collection and i have to show 5 elements in one row and rest of the elements in second row. If there are n elements in collection then there would be many rows and in each rows 5 elements will be display.

Re: Problem regarding tag

2007-05-24 Thread Vijay Prajapati
update "#appStatus.index" instead of "#appStatus.incex" On 5/24/07, Vijay Prajapati <[EMAIL PROTECTED]> wrote: Dave, I am here giving my code on JSP. So please try to correct it. I have 7 elements in collection and i have to show 5 elements in one row and rest of the elements in second row. If

RE: Best practice - Wizard flow

2007-05-24 Thread Charbel Abdul-Massih
I would like to keep away from this method... Any other suggestions??? -Original Message- From: Lance [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 10:49 AM To: Struts Users Mailing List Subject: Re: Best practice - Wizard flow Why not draw all 3 pages but hide 2 of them and j

RE: [S2] Results Based on URL File Types

2007-05-24 Thread Al Sutton
If you don't have any other resources ending in .xml .html .etc inside your webapp you can modify the filter-mapping, if you do then you might have to consider the idea of a directory in which all objects are mapped to actions and a separate directory where they are not, e.g.; http://domain.com/st

Re: Serious memory leak

2007-05-24 Thread Roger Varley
On 22/05/07, Balazs Michnay <[EMAIL PROTECTED]> wrote: Hi, I have just downloaded NetBeans Profiler to see how my web-app performs and realized that it produces serious memory leaks... The interesting part is that I have nothing on my JSP but static struts tags (no dynamic content at all) and

RE: Best practice - Wizard flow

2007-05-24 Thread Al Sutton
Store the values in the session and clear them down when the user either completes the wizard or restarts it? -Original Message- From: Charbel Abdul-Massih [mailto:[EMAIL PROTECTED] Sent: 24 May 2007 16:04 To: Struts Users Mailing List Subject: RE: Best practice - Wizard flow I would li

Re: Best practice - Wizard flow

2007-05-24 Thread Al Sutton
I know you said you didn't like sessions, but they're the only clean way of doing things stateful things between stateless pages. -Original Message- From: Al Sutton [mailto:[EMAIL PROTECTED] Sent: 24 May 2007 16:10 To: 'Struts Users Mailing List' Subject: RE: Best practice - Wizard flow

Re: Problem regarding tag

2007-05-24 Thread Dave Newton
--- Vijay Prajapati <[EMAIL PROTECTED]> wrote: >> If there are n elements in collection then there >> would be many rows and in each rows 5 elements will >> be display. So... do you know of any way in Java to do something every five times through a loop? (I haven't used so I don't know if it's

RE: Best practice - Wizard flow

2007-05-24 Thread Charbel Abdul-Massih
I would have thought that something as simple as a wizard would be easily doable...I would like to keep away from the session as much as possible... I am using one action for the whole flow, but many action mappings... Something like this so far... mailto:[EMAIL PROTECTED] Sent: Thursday, M

RE: Best practice - Wizard flow

2007-05-24 Thread Dave Newton
--- Charbel Abdul-Massih wrote: > I would have thought that something as simple as a > wizard would be easily doable...I would like to keep > away from the session as much as possible... The thing with "wizards" (at least as I've used and implemented them) is that previous steps in the wizard flo

RE: Best practice - Wizard flow

2007-05-24 Thread Charbel Abdul-Massih
In that case, is implementing SessionAware the only step required to have the action stored in the session??? Charbel -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 11:27 AM To: Struts Users Mailing List Subject: RE: Best practice - Wizard flo

Re: Problem regarding tag

2007-05-24 Thread Vijay Prajapati
Dave You can solve this problem without . If you have any simple solution then let me know ASAP Thank you, Vijay Prajapati On 5/24/07, Dave Newton <[EMAIL PROTECTED]> wrote: --- Vijay Prajapati <[EMAIL PROTECTED]> wrote: >> If there are n elements in collection then there >> would be ma

Re: Struts2 JasperReport plugin - Parameters

2007-05-24 Thread cristales
I solve my question, by this way; * add a property customParameters to JasperReportsResult with the respective seter: public void setCustomParameters(String customParameters) { this.customParameters = customParameters; } * load the customParameters before to generate the report,

Re: Best practice - Wizard flow

2007-05-24 Thread Marco Carnevale
How about this. Each subsequent page in the wizard contains all the new form elements plus html hidden form elements for the previous save. This way you are hitting the sever between requests and not using the session. Each wizard screen is basically the 'state' for itself plus all previous scr

RE: Best practice - Wizard flow

2007-05-24 Thread Al Sutton
As I see it the problem with that approach is if I'm at stage 3, I got back two screens to stage 1, change something, when I click next I've lost all the previously entered data in step 2. -Original Message- From: Marco Carnevale [mailto:[EMAIL PROTECTED] Sent: 24 May 2007 16:34 To: Strut

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 On 5/24/07, Cha

RE: Best practice - Wizard flow

2007-05-24 Thread Charbel Abdul-Massih
That'll work too...I thought about that... I was hoping there's an easier way without having to include all the hidden variables on every page...But that's fine :) -Original Message- From: Marco Carnevale [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 11:34 AM To: Struts Users

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 apparently (I haven'

RE: Best practice - Wizard flow

2007-05-24 Thread Charbel Abdul-Massih
In the struts 1 world, we used to have one form in the session...With each subsequent page in the flow, part of the form is populated...Whenever any page in the flow is requested, the state is kept and the form variables are retrieved or updated accordingly... Is there a similar way to do this in

Re: [S2 v2.1.0] DateTimePicker : Dojo javascript error

2007-05-24 Thread MLENEVEUT
Hi, I updated the source code, done a "mvn clean" and recompile ("mvn")/redeploy the jars, and I have the same errors : XP/IE 6 : DEBUG: DEPRECATED: dojo.event replaced by dojo.event.* -- will be removed in version: 0.5 DEBUG: DEPRECATED: dojo.io replaced by dojo.io.* -- will be removed in vers

Property Values (constants)- Struts2

2007-05-24 Thread newtostruts struts
Sorry for such a basic question. What is the right place in struts2 to set constant property values like, FILE_NAME = test.txt ROW_COUNT=10 etc.. and also from that prop file or xml file how do I read it anywhere in the app.. Thx.

Re: Problem regarding tag

2007-05-24 Thread Dave Newton
--- Vijay Prajapati <[EMAIL PROTECTED]> wrote: > You can solve this problem without . Oh, thanks; I thought I had to solve this with I sure am sorry it's taken me so long; I'm a little slow sometimes. > If you have any simple solution then let me know ASAP *sigh* Is this for your job? d.

Re: Best practice - Wizard flow

2007-05-24 Thread Shahak Nagiel
There's obviously a number of ways to implement this, but here's a few: - DHTML/Javascript: See the DOMTab library at http://onlinetools.org/tools/domtabdata/. It's not as bad/messy as you might think, and it saves you from having to worry about a lot of state management issues on the back end

Re: [S2 v2.1.0] DateTimePicker : Dojo javascript error

2007-05-24 Thread Musachy Barroso
the "/struts" folder is inside the struts-core jar, and no, you shouldn't have to specify anything else. I'm clueless about this one, even more weird is that you said the datepicker was showing up, even with the error. musachy On 5/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I upd

Mapped Properties - Struts 2 - Best practice

2007-05-24 Thread Charbel Abdul-Massih
What's the best way to use Mapped/Indexed Properties in Struts 2.x???

Re: Mapped Properties - Struts 2 - Best practice

2007-05-24 Thread Dave Newton
--- Charbel Abdul-Massih wrote: > What's the best way to use Mapped/Indexed Properties > in Struts 2.x??? In what way? Are you asking from a tag syntax standpoint, or...? d. Got a little couch potato?

Re: Struts2 Dynamic Checkboxes

2007-05-24 Thread Skip Hollowell
I have been struggling with the very same problem. So you say pre-populate the map/list. Would you make that a separate data structure, or part of the object already being passed? Let's say it's separate, just add the Map/List to the action, create setter and getters, and make sure and recr

[ANN] "Starting with Struts2" Book

2007-05-24 Thread Ian Roughley
I am pleased to announce the release of the mini-book "Starting with Struts2" from InfoQ.com. "Starting with Struts2" is aimed at those who are new to Strut2, and those familiar with MVC frameworks but unfamiliar with Struts2. It provides everything you need to know to get up and running usin

Re: Struts2 Dynamic Checkboxes

2007-05-24 Thread Dave Newton
--- Skip Hollowell <[EMAIL PROTECTED]> wrote: > Would you make that a separate data structure, or > part of the object already being passed? For me, that would depend on what the underlying data model was, I suppose. > Let's say it's separate, just add the Map/List to the > action, create sette

Struts 1.x and Tomcat 5 problem

2007-05-24 Thread probertm
Hi .. I am starting to play with Struts (rev 1.2, I think) and have a little "problem". I am having to use an older version of Struts against a recent Tomcat (rev 5.5) and I am getting an /search.jsp(62,0) The end tag "

RE: Mapped Properties - Struts 2 - Best practice

2007-05-24 Thread Charbel Abdul-Massih
I have a page with a table of n rows (# of rows is dynamic)... Each row has 3 columns, with 3 text input fields... I'm not sure how to represent them in the Action and through the tags... I know I should use some sort of hashmap with each entry representing one row...But from the tags perspective

Re: Struts2 Dynamic Checkboxes

2007-05-24 Thread Skip Hollowell
Dave Newton-4 wrote: Yep... in its simplest form, it's really pretty straight-forward. There's all sorts of cool ways to mess it up later ;) THAT'S the one part of this that I don't need any help with. I can mess things up with the best of them. Thanks again Dave for your input. It's greatl

{ANNONCE] Akrogen eclipse plugin & Struts1.x

2007-05-24 Thread Angelo zerr
Hello, I mail you to announce there is new distribution of Akrogen Eclipse plugin. *Akrogen* is code generation Eclipse *Plugin*(version *3.2.**) oriented *components*. With Akrogen you can describe your *Eclipse Wizards pages* with XML/XUL

Re: Struts 1.x and Tomcat 5 problem

2007-05-24 Thread Dave Newton
--- probertm <[EMAIL PROTECTED]> wrote: > [...] and all of the logic: statements -are- balanced. Can you post the JSP in question, or is it too large? > From a little research, it seems that this may be a > taglib issue, though I can find nothing to confirm > that Then what makes you think

Re: Struts2 Dynamic Checkboxes

2007-05-24 Thread Dave Newton
--- Skip Hollowell <[EMAIL PROTECTED]> wrote: > Thanks again Dave for your input. It's greatly > aprpeciated. Ha ha, don't thank me until something actually works. d. Be a better Heartthrob. Get bette

S2: cannot access bean from dialog

2007-05-24 Thread Scott Nesbitt
This is working fine in my main JSP: However, when I call a dialog like this: window.open('overlay-headends.jsp'); This JSP cannot access the fields in the userDetailsBean in the main JSP. Any ideas? The userDetailsBean is a session attribute. Thanks, Scott _

Re: Struts 1.x and Tomcat 5 problem

2007-05-24 Thread probertm
Hi, Dave .. > > Can you post the JSP in question, or is it too large? > See below .. > > Then what makes you think it's a taglib issue? > There seem to be a number of similar issues posted on the web about that have a common characteristic of "unbalanced" and "working under Tomcat 4 and not Tomca

Re: [S2] needs refresh to work properly

2007-05-24 Thread Laurie Harper
Perhaps something like the following, making use of the status info [1] exposed by s:iterator: L. [1] http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/views/jsp/IteratorStatus.html Vijay Prajapati wrote: Dave, Can you please send sampl

Re: Struts 1.x and Tomcat 5 problem

2007-05-24 Thread Dave Newton
--- probertm <[EMAIL PROTECTED]> wrote: > > Looks unbalanced to me... d. Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. http://get.ga

Re: [S2] needs refresh to work properly

2007-05-24 Thread Dave Newton
--- Laurie Harper <[EMAIL PROTECTED]> wrote: > Perhaps something like the following, making use of > the status info [1] exposed by s:iterator: >:| d. Take the Internet to Go: Yahoo!Go puts the Interne

Re: [S2] needs refresh to work properly

2007-05-24 Thread Dale Newfield
Laurie Harper wrote: Perhaps something like the following, making use of the status info [1] exposed by s:iterator: With a tweak that prevents that if from firing if there are a multiple of 3 entries in yourList: test="#s.index % 3 == 0 && !#s.last" -Dale

Re: Struts 1.x and Tomcat 5 problem

2007-05-24 Thread probertm
Dave Newton-4 wrote: > > --- probertm <[EMAIL PROTECTED]> wrote: >> >> > > Looks unbalanced to me... > > Sorry for being thick, Dave. I don't get it. Could you spell it out? -- View this message in context: http://www.nabble.com/Struts-1.x-and-Tomcat-5-problem-tf3812184.html#a107930

RE: Struts 1.x and Tomcat 5 problem

2007-05-24 Thread animesh.saxena
--- Begin Message --- Two times you are closing the tag, I guess (Closed Here) (Closed Here Also). Should be Ani -Original Message- From: probertm [mailto:[EMAIL PROTECTED] Sent: Fri 5/25/2007 3:01 AM To: user@struts.apache.org Subject: Re: Struts 1.x and Tomcat 5 problem Dav

RE: Struts 1.x and Tomcat 5 problem

2007-05-24 Thread Christopher Loschen
The / at the end of the tag closes that tag, so the other closes it for a second time, making it unbalanced. Assuming you have some sort of content between the two tags, it should be Content... HTH, Chris -Original Message- From: probertm [mailto:[EMAIL PROTECTED] Sent: Thursday, M

RE: Struts 1.x and Tomcat 5 problem

2007-05-24 Thread probertm
animesh.saxena wrote: > > Two times you are closing the tag, I guess > Doh! My apologies for the wasted bandwidth .. Trailing "/"-itis! Thank you, Dave. Thank you, Animesh. -- View this message in context: http://www.nabble.com/Struts-1.x-and-Tomcat-5-problem-tf3812184.html#a10793391 Sent

RE: Struts 1.x and Tomcat 5 problem

2007-05-24 Thread Dave Newton
--- probertm <[EMAIL PROTECTED]> wrote: > Doh! My apologies for the wasted bandwidth .. Nah. We all do silly stuff, probably a lot :) d. Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it

Struts2 Portlet support

2007-05-24 Thread mjohnson
I also posted this in the WebWork forum. We have succesfully developed a large application that supports milllions of users with WebWork 2.2.4. It has worked great. This application is comprised of many independent "panels" that are invoked using the "Page-Controller" pattern as defined in the Li

Re: Is this a BUG in S2

2007-05-24 Thread tom tom
Hi, if the action string is being evaluated in the URL tag what does it output the expression as it is, If we have the same expression in value attribute it does evaluate, That is where we are doubtful. In portal mode the action attribute does convert the string to portal string where as value d

portletUrlType Constants

2007-05-24 Thread tom tom
Hi, What are the constants for the portletUrlType attribute in Struts 2 url tag. Thanks Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. h

Struts development with certain IDEs

2007-05-24 Thread Baskin, Wayne \(GE Comm Fin, non-ge\)
Hi all, I want to know is there any reason why with one IDE (Bea WebLogic) I cannot nest scriptlet tags in a struts tag, but with another Eclipse, I can? Thanks Wayne DISCLAIMER: This e-mail and any attachment is intended only for the exclusive and confidential use of the addressee(s). If you

Re: Struts development with certain IDEs

2007-05-24 Thread Dave Newton
--- "Baskin, Wayne <[EMAIL PROTECTED]> wrote: > I want to know is there any reason why with one IDE > (Bea WebLogic) I cannot nest scriptlet tags in a > struts tag, but with another Eclipse, I can? You mean the editor complains? Could just be a setting for whether or not you want it to allow you

RE: Struts development with certain IDEs

2007-05-24 Thread Baskin, Wayne \(GE Comm Fin, non-ge\)
Non-rt. Care to explain? Wayne Baskin GE Commercial Finance T: +612 8913 2656 E: [EMAIL PROTECTED] -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Friday, 25 May 2007 10:59 AM To: Struts Users Mailing List Subject: Re: Struts development with certain IDEs --- "Bas

CRUD Application - How can I receive url attributes

2007-05-24 Thread Henry F. Camacho Jr.
I've been banging my head on this one reading everything I can. I new to struts, and I apologize if this is somehow redundant to this list. I've got a CRUD application I place various records from a database into a table with an edit button. This edit button has the following format: http:/

MVC1 -Frame Based JSP Application to Tiles

2007-05-24 Thread Raghuveer
I Have a JSP web application using MVC1 framework. It uses Farmes(one left for navigational links and other right with tabs on top.) >From tiles documentation i understand i can use tiles with out struts ? So i was thinking the possibility and feasibilty of using tiles for my current applicatio

RE: Struts development with certain IDEs

2007-05-24 Thread Dave Newton
--- "Baskin, Wayne" wrote: > Non-rt. Care to explain? Hmm, let's back up a step. What version of Struts are you using? You're just talking about using <%= ... %> in a tag attribute, right? d. Expecting?

RE: Struts development with certain IDEs

2007-05-24 Thread Baskin, Wayne \(GE Comm Fin, non-ge\)
Correct Struts 1 Wayne Baskin GE Commercial Finance T: +612 8913 2656 E: [EMAIL PROTECTED] -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Friday, 25 May 2007 11:39 AM To: Struts Users Mailing List Subject: RE: Struts development with certain IDEs --- "Baskin, Wa

RE: CRUD Application - How can I receive url attributes

2007-05-24 Thread Givler, Eric
I'd recommend going to the Learntechnology site, and reading this: http://www.learntechnology.net/content/struts/struts_crud.jsp -Original Message- From: Henry F. Camacho Jr. [mailto:[EMAIL PROTECTED] Sent: Thu 5/24/2007 9:10 PM To: user@struts.apache.org

Re: Struts2 Portlet support

2007-05-24 Thread Don Brown
On 5/25/07, mjohnson <[EMAIL PROTECTED]> wrote: I also posted this in the WebWork forum. We have succesfully developed a large application that supports milllions of users with WebWork 2.2.4. It has worked great. This application is comprised of many independent "panels" that are invoked using

Re: S2: cannot access bean from dialog

2007-05-24 Thread Don Brown
Those objects will only be accessible if the JSP is "front-ended" by an action. By this, I mean that the request is for an action, which executes said Action, then forwards to a JSP. If you have the browser access the JSP directly, it won't be available. Don On 5/25/07, Scott Nesbitt <[EMAIL P

Re: Struts2 JasperReport plugin - Parameters

2007-05-24 Thread Don Brown
Would you mind submitting this as a JIRA ticket, so we can get the improvement into the JasperReports plugin for other users? Don On 5/25/07, cristales <[EMAIL PROTECTED]> wrote: I solve my question, by this way; * add a property customParameters to JasperReportsResult with the respective set

Re: [S2] Results Based on URL File Types

2007-05-24 Thread Don Brown
Yes, you can tell Struts to not use any action extension at all. I'm doing that right now for a Restful application I developed. I haven't tried, but you might be able to use wildcards to match the extension in the action mapping and perhaps use a custom dispatcher result to determine which actua

Re: [S2] Blank war with IDEA 6

2007-05-24 Thread Don Brown
I'd recommend starting with an archetype [1]. Then, you can use Maven 2 to build your IDEA configuration automatically via "mvn idea:idea". Don [1] http://struts.apache.org/2.x/docs/struts-maven-archetypes.html On 5/24/07, Victor Neo <[EMAIL PROTECTED]> wrote: Does anyone here knows how to u

Re: problem sending array values to struts2 action

2007-05-24 Thread Don Brown
Where exactly did you get the NPE? Could you provide a stacktrace? Don On 5/25/07, dhilip mandava <[EMAIL PROTECTED]> wrote: i have input fileds like url[], bitrate[]like 5 fields. i used array syantax [] because , dynamically i am adding those fields using javascript with same name. i

Re: [ANN] "Starting with Struts2" Book

2007-05-24 Thread Don Brown
Congrats Ian! Don On 5/25/07, Ian Roughley <[EMAIL PROTECTED]> wrote: I am pleased to announce the release of the mini-book "Starting with Struts2" from InfoQ.com. "Starting with Struts2" is aimed at those who are new to Strut2, and those familiar with MVC frameworks but unfamiliar with Struts

  1   2   >