Re: Assingning bean:write Values in Jsp

2007-05-23 Thread Antonio Petrelli
2007/5/24, jalal udeen <[EMAIL PROTECTED]>: how to assign a bean value to a variable. Some people will never learn. Jalal, RTFM http://struts.apache.org/1.3.8/learning.html Antonio - To unsubscribe, e-mail

%{x}

2007-05-23 Thread sudeepj2ee
How does '%{x}' works exactly in struts 2 and what is the difference between '%{x}' and '#x' is there any other keys apart from % and # in struts 2. thanks sudeep srivastava [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-%7Bx%7D-tf3808345.html#a10778399 Sent from th

calling particular method in the interceptor

2007-05-23 Thread sudeepj2ee
can we call a particular method in interceptor class as we do for action class like can we do the same for interceptors using '!' can i call a particular method with my own name in interceptor. If yes than how can we do that. Thanks in advance sudeep srivastava [EMAIL PROTECTED] -- View this

[S2] Blank war with IDEA 6

2007-05-23 Thread Victor Neo
Does anyone here knows how to use Struts 2's blank war with IDEA 6? I have been trying out IDEA and would like to do some Struts 2 projects with it. -- View this message in context: http://www.nabble.com/-S2--Blank-war-with-IDEA-6-tf3808301.html#a10778260 Sent from the Struts - User mailing lis

Problem regarding tag

2007-05-23 Thread Vijay Prajapati
Hi All, Can you please send sample code to print matrix of 10 element from one list through iterator tag in Struts 2.0.6? 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 --- in 3rd ro

interceptor call

2007-05-23 Thread sudeepj2ee
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] -- View this message in context: http://www.nabble.com/interceptor-call-tf3808204.html#a10778032 Sent from the Struts - User mailing l

Re: showcase file download in jetty server

2007-05-23 Thread sudeepj2ee
Hi just refer show case example in that see whether the file download is working if its not jus conver back slashes to forward slashes. Pedro Herrera wrote: > > I have the same problem using jboss, how is your action writed ? > > > Herrera > > > > > sudeepj2ee wrote: >> >> HI >> >> I am

Re: JSP pre-compile question

2007-05-23 Thread Tapio Holopainen
Hi, I'm also using Struts 2 and Tiles and noticed the slowness of rendering the page. It seems that it is related to HTML output size and the browser rendering time e.g. between Struts2+JSP+Tiles and Servlet+JSP is big. - Tapio On Wed, 23 May 2007 22:40:15 +0300, Al Sutton <[EMAIL PROTECTED]>

Assingning bean:write Values in Jsp

2007-05-23 Thread jalal udeen
Hi, how to assign a bean value to a variable. thanks jalal

Re: Optiontransferselect button customization.

2007-05-23 Thread Jeromy Evans
Vijay, I'm guessing you've already moved on from this, but the example below is how you can use the doubleId attribute of to assign an html ID to the second select and assign styles to that select using CSS. The code you have quoted is an extract from the stylesheet. To reiterate, this is ho

Re: Is this a BUG in S2

2007-05-23 Thread Jeromy Evans
In the simple case, this: and this: would be identical. You can also use the tag to include request parameters. You can create any URL you need using the value attribute and params. You referenced portal in your email so you might be using this in a mode I haven't tried. Looking at the

Re: difference between html:submit and

2007-05-23 Thread Caine Lai
Just an FYI to those that care. I for one, hate using Struts specific tags in my view layer. I've never figured out what the benefit is from straying from standardized HTML tags, especially when they are not needed. So I use regular HTML forms, controls and buttons. The only requirement to get

Re: How to forward to an unknown view in Struts 2?

2007-05-23 Thread Caine Lai
Sorry for taking so long to get back to everyone on this. This is a side project of mine and things have been hectic with the day job keeping me from this. After doing some experimentation, I've found that your solution below does work Musachy. It just won't access a property in the request att

Re: Spring and executeAndWait

2007-05-23 Thread Dale Newfield
Mansour wrote: By the way, why did you include the action in the wait page ? namespace=""/>"/> Are you suggesting that this: will also work, and quite possibly make the page useful for more actions? The rest of the page makes this a special purpose page anyway, and I wasn't sure what that

Re: Is this a BUG in S2

2007-05-23 Thread tom tom
Yes you are right, Even though action attribute doesnt get evaluated value attribute does, but that is of no use as it does not create the URL string to suite with Portal env. The biggest concern is why the action attrbute of URL tag doesnt evaluate. that is following doesnt work

Re: Is this a BUG in S2

2007-05-23 Thread Dave Newton
--- tom tom <[EMAIL PROTECTED]> wrote: > for the second one there is no href > attribute for the URL tag hence doesnt work. The "value" attribute creates the href if the "action" attribute isn't used. d. ___

Re: Is this a BUG in S2

2007-05-23 Thread tom tom
Hi, Thanks for the reply, I tried both but with no luck, Option 1 as stated I gave $actionName but doesnt evaluate and for the second one there is no href attribute for the URL tag hence doesnt work. I tried various combinations like c:out, ${actionName}, ${testID.actionName} and also %{actionNa

RE: [S2] How to get an object from Spring inside an interceptor

2007-05-23 Thread Fowler, Perryn
If you use the Spring plugin, you should be able to have your actions and your interceptors created by Spring. Then you can simply configure Spring to create your interceptor already wired up with a SessionFactory. -Original Message- From: Célio Cidral Junior [mailto:[EMAIL PROTECTED]

Re: Spring and executeAndWait

2007-05-23 Thread Mansour
By the way, why did you include the action in the wait page ? namespace=""/>"/> Mansour wrote: Dale: That worked just like magic. Thank you. I was about to create page for wait.jsp that looks exactly like the mainLayout.jsp and exclude the wait.jsp from the decorators in siteMesh and incl

Re: Struts2 JasperReport plugin - Parameters

2007-05-23 Thread cristales
I think than adding a map property to the JasperReportsResult may help, but I don't know how to access this map object inside the JasperReportsResult on run time. Cristales cristales wrote: > > > How I can include parameters to the report in adition to the datasource, > to populate fields in

Re: Spring and executeAndWait

2007-05-23 Thread Mansour
Dale: That worked just like magic. Thank you. I was about to create page for wait.jsp that looks exactly like the mainLayout.jsp and exclude the wait.jsp from the decorators in siteMesh and include the refresh meta tag in it. But you ways is way better. Thanks. Dale Newfield wrote: Mansou

Re: Spring and executeAndWait

2007-05-23 Thread Dale Newfield
Mansour wrote: I thought this will be generated automatically by FreeMaker iif you don't provide your waiting page, according to the documentation. It should be. When I first started using execAndWait it generated the page for me automagically, but then later I wanted to tailor the content,

Re: Spring and executeAndWait

2007-05-23 Thread Dave Newton
--- Mansour <[EMAIL PROTECTED]> wrote: > When I inserted the http-equiv="refresh" content="5;url= includeParams="all"/>"/> in > the mainLayout.jsp, it forwarded fine, but all the > pages on the site refresh themselves every 5 seconds Just think of the ad revenue. > Do You have a way around thi

Re: Spring and executeAndWait

2007-05-23 Thread Mansour
That helped a lot. Thank you Dale and Dave. Now the problem was that I am using siteMesh and inserting header, footer and navigation pages. When I inserted the http-equiv="refresh" content="5;url="/> in the mainLayout.jsp, it forwarded fine, but all the pages on the site refresh themselves eve

Re: Spring and executeAndWait

2007-05-23 Thread Dave Newton
--- Mansour <[EMAIL PROTECTED]> wrote: > I thought this will be generated automatically by > FreeMaker iif you don't provide your waiting page, > according to the documentation. Did you verify that the HTML it is producing is correct and that your browser is actually refreshing the page? d.

Re: Struts2 Dynamic Checkboxes

2007-05-23 Thread Torsten Römer
Well, why not try both ways... it will be a good exercise no matter what. I'll get back when I have some interesting experiences to share with. Thanks again! Torsten Dave Newton schrieb: > --- Torsten Römer <[EMAIL PROTECTED]> wrote: >> I see there is no point in what I am trying to do. > > Oh

Re: Spring and executeAndWait

2007-05-23 Thread Mansour
Dale Newfield wrote: Mansour wrote: This was the first thing I did. The waiting page stays, and the results are never shown unless I hit refresh. That's appropriate, except that a meta tag in the head of the page should cause your browser to automatically refresh. Something like: "/> I tho

Struts2 JasperReport plugin - Parameters

2007-05-23 Thread cristales
How I can include parameters to the report in adition to the datasource, to populate fields in the report header, using the plugin 2.0.6 GA. -- View this message in context: http://www.nabble.com/Struts2-JasperReport-plugin---Parameters-tf3806761.html#a10773500 Sent from the Struts - User maili

Re: Spring and executeAndWait

2007-05-23 Thread Dale Newfield
Mansour wrote: This was the first thing I did. The waiting page stays, and the results are never shown unless I hit refresh. That's appropriate, except that a meta tag in the head of the page should cause your browser to automatically refresh. Something like: "/> ("60" is in seconds, so yo

Re: Spring and executeAndWait

2007-05-23 Thread Mansour
Dave Newton wrote: --- Mansour <[EMAIL PROTECTED]> wrote: Do I need to use or configure spring to get executeAndWait interceptor working ? Don't know why you would. Because that's the only thing i didn't try. Did you look at the examples in showcase? This was the first thing I

Re: Spring and executeAndWait

2007-05-23 Thread Dave Newton
--- Mansour <[EMAIL PROTECTED]> wrote: > Do I need to use or configure spring to get > executeAndWait interceptor working ? Don't know why you would. Did you look at the examples in showcase? d. Buildi

Spring and executeAndWait

2007-05-23 Thread Mansour
Do I need to use or configure spring to get executeAndWait interceptor working ? if yes, is there ant pointers or documentation ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] Inappropriate Error Message

2007-05-23 Thread Roger Varley
Usually this means that there is something other than the BOM before your This is repeatable by using a bogus class name, so that suggests that Struts/Spring is the root cause. Regards Roger - To unsubscribe, e-mail: [EMAIL P

RE: JSP pre-compile question

2007-05-23 Thread Al Sutton
I think it might be time to get a profiler on the app. -Original Message- From: Charbel Abdul-Massih [mailto:[EMAIL PROTECTED] Sent: 23 May 2007 18:04 To: Struts Users Mailing List Subject: RE: JSP pre-compile question Again, Thanks for the suggestions... I am running weblogic localhos

Re: [S2] How to get an object from Spring inside an interceptor

2007-05-23 Thread Célio Cidral Junior
2007/5/23, Guillaume Carré <[EMAIL PROTECTED]>: if your SessionFactory is injected in your action, and all your actions extend "AbstractAction" for example, that has a getSessionFactory() method, you can do this: public String intercept(ActionInvocation invocation) throws Exception { Action

Re: [S2] How to get an object from Spring inside an interceptor

2007-05-23 Thread Guillaume Carré
2007/5/23, Célio Cidral Junior <[EMAIL PROTECTED]>: Hi, I want to implement an OpenInView pattern interceptor involving Hibernate, but there's a problem. My SessionFactory is both created and managed by Spring, and my interceptor should have access to that SessionFactory, however I don't know ho

Re: [S2] How to get an object from Spring inside an interceptor

2007-05-23 Thread Josh Vickery
Not the most elegant solution, but you can pull the ApplicationContext from the ServletContext: ServletContext sc = ServletActionContext.getServletContext(); (ApplicationContext)sc.getAttribute("org.springframework.web.context.WebApplicationContext.ROOT"); Josh On 5/23/07, Célio Cidral Junior <

[S2] How to get an object from Spring inside an interceptor

2007-05-23 Thread Célio Cidral Junior
Hi, I want to implement an OpenInView pattern interceptor involving Hibernate, but there's a problem. My SessionFactory is both created and managed by Spring, and my interceptor should have access to that SessionFactory, however I don't know how to do that. I have already searched a lot the web a

Re: [S2] Spring Injection

2007-05-23 Thread Chris Pratt
You might also think of using a Struts interceptor (and possibly a ServiceBeanAware interface) to automatically inject that ServiceBean into Any action that needs it. (*Chris*) On 5/23/07, MK Tan <[EMAIL PROTECTED]> wrote: Hi, Let assume your base class is like this: public class BaseAction ex

Re: difference between html:submit and

2007-05-23 Thread Dave Newton
--- Alin Tomoiaga <[EMAIL PROTECTED]> wrote: > Besides the fact that we should try and handle all > our tags in a uniform manner and plan for future > changes, is there an extra feature that > brings over ? Exactly what I told you the first time. Did you look at the link I provided that gives

Re: Struts2 Dynamic Checkboxes

2007-05-23 Thread Dave Newton
--- Torsten Römer <[EMAIL PROTECTED]> wrote: > I see there is no point in what I am trying to do. Oh, I don't know about that. You could use a map (or list) for the checkbox values and gather up the result values that way, couldn't you? You just need to pre-populate the map (or list) in the act

Re: difference between html:submit and

2007-05-23 Thread Alin Tomoiaga
Thank you for your answer. Let me make my question more clear. will be rendered into . will be rendered into . But brings the extra feature that the user text input will be automatically mapped to the ActionForm's corresponding field. Otherwise, you would have had to "parse" the request firs

Re: Struts2 Dynamic Checkboxes

2007-05-23 Thread Torsten Römer
It sure does and I already looked at it, but I was trying to create single checkboxes in an in order to be able to put them in a custom layout. I kind of have the same problem with radiobuttons so I guess I should reconsider my "design" so I can use the default markup and thus the tags as they ar

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

2007-05-23 Thread Dave Newton
--- 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. $ find . -name "*.properties" | xargs grep -i invalid ./src/java/com/opensymphony/xwork2/x

Re: in JSP

2007-05-23 Thread newtostruts struts
Yes. That did work.. Thanks Hassan :o) Hassan Schroeder <[EMAIL PROTECTED]> wrote: On 5/23/07, newtostruts struts wrote: > > String role = ; > %> > > Even if I use > > > I'm not able to use ${foo} in my jsp code. If you /must/ use a scriptlet in your page, something like: S

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

2007-05-23 Thread Paolo Beccari
Paolo Beccari <[EMAIL PROTECTED]> wrote: So how to validate a Long value? "Dave Newton" <[EMAIL PROTECTED]> wrote: You might just be able to use the conversion validator. http://struts.apache.org/2.x/docs/conversion-validator.html I have not tried this, so I'd be interested in the results if

Re: in JSP

2007-05-23 Thread Hassan Schroeder
On 5/23/07, newtostruts struts <[EMAIL PROTECTED]> wrote: <% String role = ; %> Even if I use I'm not able to use ${foo} in my jsp code. If you /must/ use a scriptlet in your page, something like: <% String role = (String)request.getAttribute("foo"); %> :: should wo

RE: JSP pre-compile question

2007-05-23 Thread Charbel Abdul-Massih
Again, Thanks for the suggestions... I am running weblogic localhost, so there are no network delay issues... I have the same page in JSF, and it does render right away... I tried the below suggestions, but still having the same behavior... Charbel -Original Message- From: Lance [mailto

Re: weird behaviour for dateTimePicker

2007-05-23 Thread Mansour
It was the matter of cleaning the cache. :/ what a time waste ! >:| Mansour wrote: OK, I don't need the solution. All I need is a suggestion and I'll try it my self. Mansour wrote: I am trying to use dateTimePicker on one of my pages. When ever it pops out it shows in a new page (header, fo

problem with struts-menu

2007-05-23 Thread Milson Cardona
hi... excuse me the english i'm work with tomcat 4.1.27, struts 1.3.8, struts menu 2.4.2 and windows vista i want add struts-menu to my app.. but, i test a single menu in my jsp, and tomcat display an error... org.apache.jasper.JasperException: The menu repository could not be found. at o

Re: Where is the Source?

2007-05-23 Thread Dave Newton
--- [EMAIL PROTECTED] wrote: > Can someone please point me to the > > com.opensymphony.xworks2.* source code? http://www.opensymphony.com/xwork/download.action d. Boardwalk for $500? In 2007? Ha! Pla

Re: [S2] Spring Injection

2007-05-23 Thread MK Tan
Hi, Let assume your base class is like this: public class BaseAction extends ActionSupport { private MyService myService; public void setMyService(MyService service) { this.myService = service; } //put others getter and setter here... } public class FooAction extends BaseActio

Re: difference between html:submit and

2007-05-23 Thread Dave Newton
--- Alin Tomoiaga <[EMAIL PROTECTED]> wrote: > What does the html:submit tag bring extra compared to > the normal Struts integration and resources, I guess. http://struts.apache.org/1.2.9/userGuide/struts-html.html#submit d.

RE: Where is the Source?

2007-05-23 Thread Forsberg, Mike
You know that package naming is arranged like it is for a reason. I went to http://opensymphony.com/ on a hunch. Then found an XWork button on the left hand side column. It lead me to http://opensymphony.com/xwork/. There you can download zips that contain the source of multiple versions of the

Re: JSP pre-compile question

2007-05-23 Thread Lance
It sounds like it's a non-struts issue to me. Try putting the following in the jsp after you draw the form <% response.getWriter().flush(); %> If it comes thru quickly there's something after you write the form that's holding the page up. You might need some println's with times or a debugger e

Where is the Source?

2007-05-23 Thread stanlick
Can someone please point me to the com.opensymphony.xworks2.* source code? -- Scott [EMAIL PROTECTED]

difference between html:submit and

2007-05-23 Thread Alin Tomoiaga
Hi, What does the html:submit tag bring extra compared to the normal ? Why should we use one over the other? I used them both in a struts application and it seems they both have the same functionality? Thank you, Alin _

Re: in JSP

2007-05-23 Thread newtostruts struts
Dave, Inside JSP code, <% ${role} %> I'm not able to use it inside the <% %>. I want to manipulate this value, so I need to assign this to a variable. The problem is how do I assign the value of to a variable inside <% %> something like this... <%

Re: weird behaviour for dateTimePicker

2007-05-23 Thread Mansour
OK, I don't need the solution. All I need is a suggestion and I'll try it my self. Mansour wrote: I am trying to use dateTimePicker on one of my pages. When ever it pops out it shows in a new page (header, footer, navigation .. etc). As if it's another page by its self. I am using siteMesh in

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

2007-05-23 Thread MLENEVEUT
I get all the SVN workspace this morning, I didn't have it before... I resolved the javascript bug saying "unterminated string" by modifing the head.ftl : I set the "," before each parameter, elsewhere whe have a "," for the last parameter. // Dojo configuration djConfig = { isD

RE: JSP pre-compile question

2007-05-23 Thread Al Sutton
Have you tried it on the machine running WebLogic (i.e. using localhost) to eliminate any network issues? -Original Message- From: Charbel Abdul-Massih [mailto:[EMAIL PROTECTED] Sent: 23 May 2007 16:32 To: Struts Users Mailing List Subject: RE: JSP pre-compile question Hi guys...Thanks f

RE: JSP pre-compile question

2007-05-23 Thread Charbel Abdul-Massih
Hi guys...Thanks for all your help so far, but to answer your questions... The slowness in rendering the page is very obvious...it's as if the page is being streamed line by line, from top to bottom... There are no images on the page... The page consists of 5 form fields... The request does not

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

2007-05-23 Thread Musachy Barroso
Can you do a maven clean and recompile/redeploy? In the last days I've been making changes that could result in that kind of problem, but at least it was fine on the weekend, and it is working for me now (XP\FF) musachy On 5/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: In Firefox I have

Re: JSP pre-compile question

2007-05-23 Thread Lance
This might also be because you are not specifying heights (and widths) for images. If you have any other static widths & heights (menu area, header area etc) you should specify them too. Lance. Al Sutton wrote: P.S. If you're considering pre-compiling, the only thing you'll loose is the lag

Re: in JSP

2007-05-23 Thread Dave Newton
--- newtostruts struts <[EMAIL PROTECTED]> wrote: > Even if I use > /> > > I'm not able to use ${foo} in my jsp code. If the action exposes "role" via a getter then "${role}" will be accessible in the JSP page (assuming you're running under a JSP 2.0 container). d. ___

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

2007-05-23 Thread MLENEVEUT
In Firefox I have this : 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 version: 0.5 But nothing in IE. Just to say, the datepicker is working fine (it opens, I can choose a date,

RE: JSP pre-compile question

2007-05-23 Thread Al Sutton
P.S. If you're considering pre-compiling, the only thing you'll loose is the lag for the first time the page is displayed, every time after the first time you view a page almost all servlet engines will use the version which was compiled for the first page request. -Original Message- From

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

2007-05-23 Thread MLENEVEUT
> Maybe with this : instead of theme is not in the DTD of sx:head > Check to see if you have scriptaculos.js included as well as you dojo > scripts...I was getting a problem with firefox in relation to this. > Andrew Where do I have to have this scriptaculos.js ? Declared in my JSP ? I don't se

RE: JSP pre-compile question

2007-05-23 Thread Al Sutton
The short answer is no because this is how the browser receives the data about the page, and pretty much all browsers display the data as soon as they can after get it. There are things you can do to reduce the visibility of this to the user (smaller tables and div areas, smaller pages, etc.), but

Re: in JSP

2007-05-23 Thread newtostruts struts
Hassan, How do I do something like this. <% String role = ; %> Even if I use I'm not able to use ${foo} in my jsp code. Hassan Schroeder <[EMAIL PROTECTED]> wrote: On 5/22/07, newtostruts struts wrote: > How do I get the value of this tag in a JSP variable on

JSP pre-compile question

2007-05-23 Thread Charbel Abdul-Massih
Hi, I am evaluating Struts 2.0, and I'm using tiles pluging with it... When my pages render in the browser, they seem to render top down, with a slight delay in rendering...meaning the top of the page renders first, then the rest of the page renders gradually, until you see the full page...Is

[S2] Spring Injection

2007-05-23 Thread Roger Varley
Hi I suspect that this going to be a stupid question but please bear with me. I have a BaseAction for my application that extends ActionSupport and all my actions extend BaseAction. BaseAction recieves a reference to a Service bean, through which my actions obtain objects from my Business Layer,

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

2007-05-23 Thread Paolo Beccari
--- Paolo Beccari <[EMAIL PROTECTED]> wrote: So how to validate a Long value? You might just be able to use the conversion validator. http://struts.apache.org/2.x/docs/conversion-validator.html I have not tried this, so I'd be interested in the results if you do! Thanks, Dave I'm goin

Re: Serious memory leak

2007-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Balazs, Balazs Michnay wrote: > I think it's just a "small" [GC], because sometimes when I click on > it several times, it frees up a little memory... Okay, that may be one thing complicating your instrumentation. >> Every request will eat up memory

[Semi-OT] was RE: jar files, now: OT posters, should they stay or should they go now? If they stay there may be trouble, and if they go will there be double?

2007-05-23 Thread Al Sutton
Chris, This list is open to the public but it isn't a forum for free speech on any topic, it's a forum for discussing Struts issues, and I expect some people (myself included) view non-Struts based email in a similar light to spam. I'm sure the moderators wouldn't leave people who post about selli

Re: [S2] form population problem

2007-05-23 Thread shadman
btw, Dave, to answer a couple of your q's below: >> > label="Dept Name" >> value="dept.deptName" >> size="10" /> >If dept (the Department) is already loaded then the >value="dept.deptName" is not necessary; bean values >will be handled automagically... I

prepopulating a form (how to prepopulate ActionForm before it is called)

2007-05-23 Thread Peter Valencic
Hello to all. I would like to populate a ActionForm bean .. for example I have 2 pages page A.jsp and page B.jsp on page A I have ActionForm and on page B I have ActionForm bean.. Is there a possibility to prepopulate ActionForm for page B from page A? example *public* ActionForward execu

Re: jar files

2007-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Al, Al Sutton wrote: > I'm just a bit worried about a snowball effect where people start seeing OT > posts as acceptable and the number slowly grow as more people make them to > the stage where the signal to noise ration becomes painful because, as w

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

2007-05-23 Thread Julien Leonard
Maybe with this : instead of 2007/5/23, Andrew Penrose <[EMAIL PROTECTED]>: Check to see if you have scriptaculos.js included as well as you dojo scripts...I was getting a problem with firefox in relation to this. Andrew -Original Message- From: Musachy Barroso [mailto:[EMAIL PROTECT

Re: Serious memory leak

2007-05-23 Thread Balazs Michnay
>Are you forcing a full GC or just a small one? Depending on a /lot/ of >things, those objects might not be freed until a full GC runs. I'm not sure. Either NetBeans profiler uses. I think it's just a "small" one, because sometimes when I click on it several times, it frees up a little memory.

Re: [S2] form population problem

2007-05-23 Thread Dave Newton
--- shadman <[EMAIL PROTECTED]> wrote: > I am more than just a little embarrassed. I think if we all had a nickel for each time we've made a mistake like that and had it staring us in the face for a day or two we could buy enough beer to at least make us not care that we made a mistake like that a

RE: jar files

2007-05-23 Thread Al Sutton
I'm just a bit worried about a snowball effect where people start seeing OT posts as acceptable and the number slowly grow as more people make them to the stage where the signal to noise ration becomes painful because, as we've seen, the original posters rarely start with OT in their subject. As

Re: [S2] Inappropriate Error Message

2007-05-23 Thread Martin Gainty
I would suggest taking a Look at the XML and make sure there are no null's cr's lf's tabs or other whitespace characters in the Input XML before The encoding attribute is specific to the version of browser http://www.w3schools.com/xml/xml_encoding.asp whereas version can either be "1.1" or "1.

Re: [S2] Inappropriate Error Message

2007-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roger, Roger Varley wrote: > SEVERE: Parse Fatal Error at line 1 column 1: Content is not allowed in > prolog. > org.xml.sax.SAXParseException: Content is not allowed in prolog. Usually this means that there is something other than the BOM before you

Re: jar files

2007-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave Newton wrote: > You guys are going to vote me off the island, aren't you... Soon vry soon. ;) - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org i

Re: [S2] form population problem

2007-05-23 Thread shadman
Thanks once again, Dave. I am more than just a little embarrassed. Seems I focused too much on S2, instead of core Java (auto-gen can be a bad thing sometimes). "private" was the problem. Such a freshman error ... shadman --- shadman <[EMAIL PROTECTED]> wrote: > private Department get

Actions, Beans and Spring

2007-05-23 Thread stanlick
What beans get instantiated as an Action class is created? Is it exclusively a function of the bean mappings in the spring config, or is there something more going on? I cannot find the source for the StrutsSpringObjectFactory and I'm seeing a null passed into a setter method on an Action class.

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

2007-05-23 Thread Andrew Penrose
Check to see if you have scriptaculos.js included as well as you dojo scripts...I was getting a problem with firefox in relation to this. Andrew -Original Message- From: Musachy Barroso [mailto:[EMAIL PROTECTED] Sent: 23 May 2007 14:15 To: Struts Users Mailing List Subject: Re: [S2 v2.1.

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

2007-05-23 Thread Musachy Barroso
I just compiled/deployed the dojo plugin and showcase seems to be working fine, are you compiling S2.1 yourself? musachy On 5/23/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: that usually means that there is a javascript error in one of the struts dojo widgets. If you set debug="true" on the

Re: [S2] needs refresh to work properly

2007-05-23 Thread Vijay Prajapati
Dave, Can you please send sample code to print matrix of 10 element from one list through iterator tag in Struts 2.0.6? 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 --- in 3rd row

Re: [S2] Inappropriate Error Message

2007-05-23 Thread Musachy Barroso
That's a generic SAX exception, and I think in this case is coming from Spring, right? musachy On 5/23/07, Roger Varley <[EMAIL PROTECTED]> wrote: I'm developing using Struts 2 with the Spring plugin within Netbeans 5.5 using the embedded Tomcat as the servlet engine. If I screw up my Spring a

[S2] Inappropriate Error Message

2007-05-23 Thread Roger Varley
I'm developing using Struts 2 with the Spring plugin within Netbeans 5.5 using the embedded Tomcat as the servlet engine. If I screw up my Spring applicationContext.xml by incorrectly specifying the path to the class in a bean element, then when I try to deploy the project I get the error message

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

2007-05-23 Thread Musachy Barroso
that usually means that there is a javascript error in one of the struts dojo widgets. If you set debug="true" on the head tag you should a lot of errors on the page. musachy On 5/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi all, I try to insert a datetimepicker tag in my JSP, and I

Re: jar files

2007-05-23 Thread Dave Newton
--- Christopher Schultz wrote: > As much as I'd love to see some folks disappear from > certain lists, it's not very democratic. :( You guys are going to vote me off the island, aren't you... :( *snibble* d. ___

Re: jar files

2007-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Al, Just ignore OT posts if they get on your nerves. They will eventually go away. As much as I'd love to see some folks disappear from certain lists, it's not very democratic. :( - -chris Al Sutton wrote: > Is someone going to drop this guy form th

Re: [OT] Re: jar files

2007-05-23 Thread jalal udeen
hi, I really thank you heartfully im very sorry for mailing u harshly tbanks Jalaludeen.h On 5/23/07, Dave Newton <[EMAIL PROTECTED]> wrote: --- jalal udeen <[EMAIL PROTECTED]> wrote: > where can i download and what are the jar files. > 1) ldap.jar > 2) jndi.jar > 3) provideruti

Re: Serious memory leak

2007-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Balazs, Balazs Michnay wrote: >> Are you sure they cannot be garbage-collected? How do you know? > > The profiler can perform garbage-collection at any time I press a > button. After pressing this, no memory is freed-up :( Are you forcing a full GC

Re: Connection Pooling How To ?

2007-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jasdeep, jasdeep wrote: > Yes this is peek load actually .. The requests are through SMS's which > is forwarded by kannel server to my application . actually we are in > development phase and we are testing it as per client specifications. > > So thi

[OT] Re: jar files

2007-05-23 Thread Dave Newton
--- jalal udeen <[EMAIL PROTECTED]> wrote: > where can i download and what are the jar files. > 1) ldap.jar > 2) jndi.jar > 3) providerutil.jar 1) http://www.openldap.org/ is one solution (it's the one I've usually used, anyway, unless something else was already in place). 2) AFAIK from Java 1.3

Re: Struts 2 validation and Redirect After Post

2007-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Perryn, Fowler, Perryn wrote: > If I have a form that I want to submit with a POST, I want the > response to this to always be a REDIRECT to a GET. > > I probably want this even in the case of validation failures that > cause the form to be re-displa

  1   2   >