RE: Struts/Eclipse remote app build

2007-01-16 Thread Stanislav
Tnx for your answer. I'll try to do that. I want to unburden no1 with building because it takes much cpu and memory resources, but still i want to be able to do testing on no1. From: "Bruno Melloni" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Subject: RE: Struts/Eclipse remote app buil

Re: Struts/Eclipse remote app build

2007-01-16 Thread Stanislav
Hi! What do you mena when you say "build server"? Can you give me more information about it? Tnx, Stanislav From: "Sandeep Gupta" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Subject: Re: Struts/Eclipse remote app build Date: Tue, 16 Jan 2007 22:19:10 +0530 - Original Message Follo

Re: Funny, just got around to watching this JSF video..

2007-01-16 Thread Mitchell James
Ya, don't EVEN get me started on some of the hacks I've had to do in the last 8 months to get our JSF app to behavesheeesh! -- James Mitchell 678.910.8017 On Jan 16, 2007, at 11:34 PM, Rick Reumann wrote: I just got around to watching this JSF presentation with Ed Burns.. http://even

Difference in special characters

2007-01-16 Thread Krishna, Hari \(FTT-CInternet\)
Hi all, I am using a Struts application with LDAP in place.I have a few user selected questions in LDAP and a few standard questions in a properties file. When i compare them in Action to make check boxes as selected i am getting the following isse. QUESTION FROM LDAP AS SHOWN IN THE CON

Funny, just got around to watching this JSF video..

2007-01-16 Thread Rick Reumann
I just got around to watching this JSF presentation with Ed Burns.. http://event.on24.com/eventRegistration/EventLobbyServlet?target=lobby.jsp&eventid=25412&sessionid=1&partnerref=atssc_sitepost_01_16_07&key=1C3610AF899E09A2EFD26F0FD6B7875E&eventuserid=9113781 (the transcript you can view also). W

[S2] Any hope to have ajax form submission working?

2007-01-16 Thread Dariusz Wojtas
Hi, Does the current form submission come from a problem in dojo? Or is this something else? What are the current conclusions about it? I do not want to be too annoying, this is just important for me. Any chance to have it working within a week or two? Best regards Dariusz Wojtas -

Re: [S2] possible NPE in Restful2?

2007-01-16 Thread cilquirm
I've created https://issues.apache.org/struts/browse/WW-1648 and attached a patch. cilquirm wrote: > > > > Hi, I think I noticed an NPE in Restful2, which is set as my default > action mapper. I'd like to resolve it but I'm not sure my logic on the > matter is correct and hopefully someon

Re: [s2] how to make s:iterator work

2007-01-16 Thread walidito
Now i understand better what struts 2 was doin, thanks ! Laurie Harper wrote: > > Making the getListOfBooks() method public is the way to go; then you can > remove the setAttribute() stuff from your execute() method. Struts will > make any public getter on your action available directly. > >

Re: [s2] how to make s:iterator work

2007-01-16 Thread Laurie Harper
Making the getListOfBooks() method public is the way to go; then you can remove the setAttribute() stuff from your execute() method. Struts will make any public getter on your action available directly. L. walidito wrote: Hi thanks a lot, what you said about the private method is right. I don

RE: [s2] Getting started - Just a question..

2007-01-16 Thread John Bateman
* Sorry I hit 'send' on this WAY too early... * Hi As I have issued, with learning technologies, having ANYTHING to it for me, I have chosen to use the Simple Setup from the Tutorials "Ready Set Go" under the section "Setting up from Scratch". (Granted I have tried the struts-blank and m

[s2] Getting started - Just a question..

2007-01-16 Thread John Bateman
Hi As I have issued, with learning technologies, having ANYTHING to it for me, I have chosen to use the Simple Setup from the Tutorials "Ready Set Go" under the section "Setting up from Scratch". (Granted I have tried the struts-blank and maven archetype... but I want to touch all the pieces mysel

RE: [s2] how to make s:iterator work

2007-01-16 Thread Dave Newton
From: cilquirm [mailto:[EMAIL PROTECTED] > the problem for you is that since listOfBooks is not in the valuestack > directly, you would have to reference it via the request object, like > so If your Action has a publicly-visible getListOfBooks method: <%-- etc. --%> Setting listOfBooks v

RE: Struts/Eclipse remote app build

2007-01-16 Thread Bruno Melloni
You could also consider a continous integration environment: - Code in one machine - Submit changes to a version control system (i.e.: CVS or ClearCase) - Use a Continous Integration tool to do the formal build (i.e.: CruiseControl or Buildforge But I must admit... I'm a bit puzzled with the idea

Re: [s2] how to make s:iterator work

2007-01-16 Thread walidito
Hi thanks a lot, what you said about the private method is right. I don't know if it is the best solution, but it works well when I changed the method to public, so thanks. However, I' gonna try your last solution to see. regards, cilquirm wrote: > > > scratch my original comment ( though the

Re: [s2] how to make s:iterator work

2007-01-16 Thread cilquirm
scratch my original comment ( though the part regarding using the jstl is still valid. ) the problem for you is that since listOfBooks is not in the valuestack directly, you would have to reference it via the request object, like so ... walidito wrote: > > Hi everybody. > I have a problem

Re: [s2] how to make s:iterator work

2007-01-16 Thread cilquirm
I don't know particularly about the s:iterator, but since you said you're using JSP, you can access the model via the jstl tags just as easily : ${book.author} though, looking at your code again, I suspect it's because your getter is class private. It would have to be public. -a walid

[s2] how to make s:iterator work

2007-01-16 Thread walidito
Hi everybody. I have a problem with displaying a list of objects that I extract from a hibernate database. I' searching for the simpler and the better way to do it please. I have two issues : I am not sure about how to send it to the jsp. For the moment I am trying this one from my action : priv

Re: [IMPORTANT] Error in tabbedpanel.ftl

2007-01-16 Thread Musachy Barroso
Thanks for letting us know. Here is the ticket: https://issues.apache.org/struts/browse/WW-1646 regards musachy André Faria wrote: Note the attribute ID is writed as Style in line 11. The File: 1. 2. dojo.require("dojo.widget.TabContainer"); 3. dojo.require("dojo.widget.LinkPane")

[IMPORTANT] Error in tabbedpanel.ftl

2007-01-16 Thread André Faria
Note the attribute ID is writed as Style in line 11. The File: 1. 2. dojo.require("dojo.widget.TabContainer"); 3. dojo.require("dojo.widget.LinkPane"); 4. dojo.require("dojo.widget.ContentPane"); 5. 6. 8. style="${parameters.cssStyle?html}"<#rt/> 9. 10. <#if pa

[S2] possible NPE in Restful2?

2007-01-16 Thread cilquirm
Hi, I think I noticed an NPE in Restful2, which is set as my default action mapper. I'd like to resolve it but I'm not sure my logic on the matter is correct and hopefully someone on the list can set me straight : The error : java.lang.NullPointerException org.apache.struts2.dispatcher.mappe

Re: Struts/Eclipse remote app build

2007-01-16 Thread Sandeep Gupta
Hi You can use a build server for the purpose, if both the computers are connected through network. Hope this helps. - Sandeep On 1/16/07, Nuwan Chandrasoma <[EMAIL PROTECTED]> wrote: Hi, Why dont you do coding and building on one machine and deploy the app in second machine which would ac

RE: [S2] DWR Integration

2007-01-16 Thread Dave Newton
> Has anyone tried the WW DWR integration with Struts 2? > > * http://getahead.ltd.uk/dwr/server/webwork I'll be doing this (in theory) on Saturday and will follow up. d. - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: Problem with URL-Rewriting in WebSphere

2007-01-16 Thread Gary VanMatre
>From: "Roberto Flores" <[EMAIL PROTECTED]> > > If I manually take out the ;jsessionid=132mksvl213:-1 from the url the > action is found (but the session is lost of course). > > There's something wrong with the URL parser but I don't know what it is or > if it's a struts or websphere problem/

Zip to FormFile

2007-01-16 Thread Sahil Gupta
Hi, I have an Action that picks up a file from a JSP and does the processing that is required. This is working fine. The code to pick up file is resumeZipDir = (FormFile) Form.get("resumeZipDir"); Now I am calling the same Action from another Action, and I want the zip file I have to be process

Validation Annotations - The return

2007-01-16 Thread André Faria
All, Did you use the validation annotations ? Did you know how to use the annotations for a single method insted all, like method level? In the documentation, I read that it is possible, but I can't make it works good. I am running Struts 2.0.3 SNAPSHOT 20060109 with xWork 2.0.0 Rega

[s2] mutiline/collection field validation

2007-01-16 Thread Tim Azzopardi
I'm having some success building a multiline/collection form as shown below, but I'm wondering if I can get anything from the struts2 validation framework. Here's a (very) cut down version of my form. (I'm using a heaviliy modified xhtml theme which requires me to use the tr tags shown below.) Th

Re: [Struts 2] Database access

2007-01-16 Thread Stanislav
Sorry i can't give you complete example, and now i don't have time to rewrite it :-( but i can send yuo code for context: ServletContext context = session.getServletContext(); hope it helps :-) From: Philippe Le Gal <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Su

Re: [Struts 2] Database access

2007-01-16 Thread Joe Germuska
This example is for Struts 1.x, not Struts 2. Struts 2 provides no direct support for managing database connections, although one could achieve something like this rather readily using Spring, or probably with any other ObjectFactory. Here's a tutorial which gets much more involved than your bas

Re: [Struts 2] Database access

2007-01-16 Thread Philippe Le Gal
Hi, Thanks again. Is it possible that you give me the complete listing of this example because, I've problem to find how to initialize the 'context' object. Thanks Philippe Le mardi 16 janvier 2007 11:14, Stanislav a écrit : > in java action class you can also connect through struts db mechan

Re: [Struts 2] Database access

2007-01-16 Thread Stanislav
in java action class you can also connect through struts db mechanisam: DataSource dataSource = (DataSource) context.getAttribute("org.apache.struts.action.DATA_SOURCE"); conn = dataSource.getConnection(); or direct to db Connection conn = DriverManager.getConnection(ConnectionURL,ConnectionUserNa

Re: [Struts 2] Database access

2007-01-16 Thread Philippe Le Gal
Hi, Thanks for the information. I'm also looking for the mecanism of accessing the database in the java action class. Thanks Philippe Le mardi 16 janvier 2007 10:59, Stanislav a écrit : > in struts-config for sql database. > > > > value="com.microsoft.jdbc.sqlserver.SQLServer

Re: Struts/Eclipse remote app build

2007-01-16 Thread Nuwan Chandrasoma
Hi, Why dont you do coding and building on one machine and deploy the app in second machine which would action kind of a app server, i dont think bulding a application would take that much of memory or process power. Thanks, Nuwan - Original Message - From: "Stanislav" <[EMAIL PROT

re: [Struts 2] Database access

2007-01-16 Thread Stanislav
in struts-config for sql database. From: Philippe Le Gal <[EMAIL PROTECTED]> To: user@struts.apache.org Subject: [Struts 2] Database access Date: Tue, 16 Jan 2007 10:53:12 +0100 - Original Messa

[Struts 2] Database access

2007-01-16 Thread Philippe Le Gal
Hi, I'm looking for a simple struts 2 database access example. Thanks for any url Philippe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Struts/Eclipse remote app build

2007-01-16 Thread Stanislav
Hi. I have 2 computers. On first I do development (coding in Eclipse, building and deploying on JBOSS). Now i want to do coding in Eclipse on computer No1, building on computer No2 and deploying on computer No1. Basicly i want to do hard cpu and memory proceses on computer No2. Is this posible?