Preserving the query string while validating a form & using dynamic initialization with DynaAction

2005-12-02 Thread Shivani Sawhney
Hi, Can someone please help solve the following problems? Query 1: I am trying to access an action through a hyperlink and provide some parameters through query string. This action forwards to a JSP, whose URL reads something like http://servername:port/rd/masters/SetupEditJobProfileAc

Re: Problem using LookupDispatchAction

2005-12-02 Thread Dakota Jack
Don't bother with this. This is just the purloined nutso version. Try the original which is simple and works at www.michaelmcgrady.com. On 11/30/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > On 11/30/05, Matheus Eduardo Machado Moreira <[EMAIL PROTECTED]> > wrote: > > Hi, > > > >

Re: [shale] sample app "use-cases" deployment

2005-12-02 Thread Vishwaroopa Rangamgari
Craig, Thanks for the reply. I was trying to build/deploy myself but did'nt observe the build ant script. Now able to launch the use-cases application. Now I have something to start with.. - Chary On 12/2/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > > On 12/2/05, Vishwaroopa Rangamgari

Re: [shale] sample app "use-cases" deployment

2005-12-02 Thread Craig McClanahan
On 12/2/05, Vishwaroopa Rangamgari <[EMAIL PROTECTED]> wrote: > > Hi friends, > I just installed shale on my system and realized that "use-cases" is a > sample application. How to deploy this application on jboss? I tried to > make > it a war-file and deploy but looks like it does not work (thr

Re: [Shale] #{managed-bean-name} always returns 0

2005-12-02 Thread Alexandre Poitras
Yeah I agree, I will try to give some help but I need to experiment Clay more deeply. It's quite complex at first! On 12/2/05, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > > Like the title says, #{managed-bean-name} is always evaluated to 0. > > Any idea why? > > The new syntax is [EMAIL PROTECTED

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-02 Thread Larry Meadors
AMEN! Less Code <> Simple In my experience, over-complexificationialzing in the name of writing less code always makes for more cost. Larry On 12/2/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Preach on, brother Rick! :) > > I think your arguments about simplicity are very cogent. I thi

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-02 Thread netsql
Rick ...realy consider Rails crowd input. Please spend 2 hours on Groovy, as per example on Resin. I am going to find a way for CoR create Groovy classes. .V Rick Reumann wrote: aimed to simplify the developers life requiring no configuration, What?? No configuration? You mean you ar

Re: [shale] Clay - Logic components?

2005-12-02 Thread Craig McClanahan
On 12/2/05, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > Hi, > > I am wondering right now how is it possible to generate a dynamic data > list component (dl) since no faces package offer it. First, I taught > no problem, Clay solves this situation quite easily but right now I am > stuck. I don'

RE: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-02 Thread Frank W. Zammetti
You know, I can't believe I'm about to say this given some of the comments I've made in the past, but here goes anyway... I think the compatibility later is almost pointless and maybe the effort isn't worth it. The reason I say this is that many people have the opinion that Struts is old news and

RE: struts 1.2.7 and JSTL

2005-12-02 Thread Karr, David
If you use the "struts-el" distribution, in the "contrib" directory, you'll find the JSTL jars. It's recommended that you use struts-el if you're going to use Struts with the JSTL. That is, assuming you're not using a Servlet 2.4 container. If you're using a Servlet 2.4 container, you shouldn't

[shale] symbols not resolving

2005-12-02 Thread Alexandre Poitras
Hi, Me again :) I have tried to use symbols like you suggested to built a layout system. Everything seems to work great except my symbols are not resolved : Here's my code : page1.xml : http://struts.apache.org/dtds/shale-clay-config_1_0.dtd";>

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-02 Thread Preston CRAWFORD
You may not be marketing anything, Ted. But those of us out in the field that work with the decision makers and who help in the decision making have to think about these things. It's the reality of living and developing in a world where there are so many options. Preston -

Re: [shale] Clay - Logic components?

2005-12-02 Thread Gary VanMatre
> Hi, > > I am wondering right now how is it possible to generate a dynamic data > list component (dl) since no faces package offer it. First, I taught > no problem, Clay solves this situation quite easily but right now I am > stuck. I don't know how to make a loop to render all list elements.

Re: [Shale] #{managed-bean-name} always returns 0

2005-12-02 Thread Alexandre Poitras
Ok I finally found why. Now you have to use [EMAIL PROTECTED] because it is a symbol. I hope this can help some other people. On 12/2/05, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > Like the title says, #{managed-bean-name} is always evaluated to 0. > Any idea why? > -- > Alexandre Poitras > Qu

Re: [Shale] #{managed-bean-name} always returns 0

2005-12-02 Thread Gary VanMatre
> Like the title says, #{managed-bean-name} is always evaluated to 0. > Any idea why? The new syntax is [EMAIL PROTECTED] This was changed to be consistent with the other symbols. All symbols must be prefixed with an @. The documentation doesn't reflect this yet. > -- > Alexandre Poitras

RE: OT: OutOfMemory

2005-12-02 Thread Garner, Shawn
I would think he should use some kind of a buffered input stream and only read in part of the data at once. That way he would never have the entire string in the buffer at once. Then open an output stream at the same time and write out the modified contents to it. This way I wouldn't think the b

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-02 Thread gramani
Rick Reumann <[EMAIL PROTECTED]> wrote on 12/02/2005 03:11:48 PM: > Don Brown wrote the following on 12/2/2005 12:44 AM: > > When we started Struts Ti, it was conceived as a new > > framework that aimed to simplify the developers life requiring no > > configuration, > > What?? No configurati

Re: [Shale] Clay - Links not working

2005-12-02 Thread Gary VanMatre
> > > Anyway, I now have a Template application which functionally behaves like > > > it was > > > built with Tiles, meaning I have a standard page layout, and only have to > > > worry > > > about the individual parts of it. Now, in Tiles I would define > > > definitions in > > > the tile-con

[shale] sample app "use-cases" deployment

2005-12-02 Thread Vishwaroopa Rangamgari
Hi friends, I just installed shale on my system and realized that "use-cases" is a sample application. How to deploy this application on jboss? I tried to make it a war-file and deploy but looks like it does not work (throws null-pointer exception etc). Your response is appreciated Thanks Cha

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-02 Thread Frank W. Zammetti
Preach on, brother Rick! :) I think your arguments about simplicity are very cogent. I think too often, people mistake having to do less work for something being more simple. Simplicity, to me, is being able to fully understand what it is I'm doing, not necessarily having to do less of it. This

Re: [shale] symbols not resolving

2005-12-02 Thread Alexandre Poitras
ok I found the problem, I was still using an old version of Shale On 12/2/05, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > Hi, > > Me again :) > > I have tried to use symbols like you suggested to built a layout system. > Everything seems to work great except my symbols are not resolved :

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-02 Thread Rick Reumann
Michael Jouravlev wrote the following on 12/2/2005 1:37 AM: I guess it will be valid to assume that Jason will remove "Struts sucks" statement from his weblog, TSS and zillion other places. LOL!!! -- Rick - To unsubscribe,

[Shale] #{managed-bean-name} always returns 0

2005-12-02 Thread Alexandre Poitras
Like the title says, #{managed-bean-name} is always evaluated to 0. Any idea why? -- Alexandre Poitras Québec, Canada - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

struts 1.2.7 and JSTL

2005-12-02 Thread fea jabi
does struts 1.2.7 have JSTL tag lib included in it? or so I have to download the JSTL seperately? Thanks. _ Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ ---

struts and JSTL

2005-12-02 Thread fea jabi
using struts 1.2.7 Used c tags in my jsp and also gave this <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %> in web.xml http://java.sun.com/jstl/core /WEB-INF/lib/c.tld http://java.sun.com/jstl/fmt /WEB-INF/lib/fmt.tld http://java.su

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-02 Thread Rick Reumann
Don Brown wrote the following on 12/2/2005 12:44 AM: When we started Struts Ti, it was conceived as a new framework that aimed to simplify the developers life requiring no configuration, What?? No configuration? You mean you aren't using the Spring/ EJB/ JASS/ RMI/ Hibernate/ JMS/ Struts

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-02 Thread Simonin, Bradley K (Brad)
Craig McClanahan wrote: On 12/1/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I think Struts is pretty cool. But JSF seems to be the future so I am now learning it. But I am getting really confused about Shale versus pure JSF versus Struts. Maybe Craig McClanahan can give me some more

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-02 Thread Craig McClanahan
On 12/2/05, netsql <[EMAIL PROTECTED]> wrote: > > in CoR so it could be ported to Shale and others :-) ? > .V It is already there. Craig

Re: [Shale] Clay - Links not working

2005-12-02 Thread Alexandre Poitras
On 12/1/05, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > Hi > > > > No sooner did I send this, when I decided to clean out my Tomcat work > > directory > > - and now it works. javax.faces.DEFAULT_SUFFIX hads to be set to .xml for > > this > > to work. > > > > The RI behaves differently here. It

RE: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-02 Thread Pilgrim, Peter
> -Original Message- > From: Don Brown [mailto:[EMAIL PROTECTED] ==== > > > While you are certainly entitled to your opinion, I'd ask > that you reserve > judgement until at least the first Struts Ti release. Yes, > we plan to seed > Struts Ti with WebWork 2.2, but that doesn't me

Re: How to prevent URL cached

2005-12-02 Thread info3853 Bush
All pages are JSPs. After added the samilar user check on sessionFilter.java class, now all "back" action after logout will be directed to login page. In this way, I don't need to add user check on each JSP pages. Thanks for the hint. Michael Jouravlev <[EMAIL PROTECTED]> wrote: D

Re: checkbox for nested collection

2005-12-02 Thread Per Jørgen Walstrøm
ok, I finally solved it. Here is what I did: 1) in my form's reset()-method, I iterate through all my sectionComponents and set restrictive=false 2) after the reset()-method is run, I do session.evict() on all my sectionComponents to remove them from the Hibernate-cache 3) I reload all the secti

[shale] Clay - Logic components?

2005-12-02 Thread Alexandre Poitras
Hi, I am wondering right now how is it possible to generate a dynamic data list component (dl) since no faces package offer it. First, I taught no problem, Clay solves this situation quite easily but right now I am stuck. I don't know how to make a loop to render all list elements. Tapestry offers

Re: [Shale] Clay - Not serving .css and .png

2005-12-02 Thread gramani
<[EMAIL PROTECTED]> wrote on 12/02/2005 03:23:58 AM: > Hi > > I my continued persuit of Shale and Clay and have now started to > apply my standard style (lquid) to the template application. What I > discovered was that Clay will not serve .css files. I noticed in > Geeta's ShaleNShark1 demo th

Re: [Shale] Clay - Not serving .css and .png

2005-12-02 Thread Alexandre Poitras
I have the same problem but I found an easy workaround. Change the url pattern of the shale filter to *.html and everything will work fine. On 12/2/05, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > Hi > > > > Part 2: > > > > If I try to access the resource directly, it just prints out the URI. If I

RE: [Shale] Clay - Not serving .css and .png

2005-12-02 Thread Gary VanMatre
> Hi > > Part 2: > > If I try to access the resource directly, it just prints out the URI. If I > comment out ClayViewHandlerCommand from chain-config, it still does it so I > am > at a loss as to what is going on here. > I guess that I don't understand what you are trying. If you want t

Re: connecting to mssql from struts

2005-12-02 Thread Stanislav
> > > value="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=WorkFlow" /> > > Your URL does not look like a correct MySQL URL. It should look something > like: > > jdbc:mysql://[host][,failoverhost...][:port]/[database] > > http://dev.mysql.com/doc/refman/5.1/en/cj-configuration

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-02 Thread Ted Husted
On 12/2/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > Struts died long live Struts? Yes. The ASF envisions that our projects can have livespans counted by decades. Not months, not years. Decades. No one expects a project to retain the same codebase year after year, decade after decade. As Cr

re: connecting to mssql from struts

2005-12-02 Thread Stanislav
> I manage to set up realm inside jboss (tomcat) for mssql, but i have problem > with > inserting/selecting data from db. > ... I figure it out.. Wrong SQL Exceptio, and missing comit(); - To unsubscribe, e-mail: [EMAIL PROTEC

Re: connecting to mssql from struts

2005-12-02 Thread Robin Clarke
> value="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=WorkFlow" /> Your URL does not look like a correct MySQL URL. It should look something like: jdbc:mysql://[host][,failoverhost...][:port]/[database] http://dev.mysql.com/doc/refman/5.1/en/cj-configuration-properties.html -

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-02 Thread netsql
in CoR so it could be ported to Shale and others :-) ? .V Ted Husted wrote: and a iBATIS JPetShop port would be next. Film at 11. :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

RE: [Shale] Clay - Not serving .css and .png

2005-12-02 Thread hermod.opstvedt
Hi Part 2: If I try to access the resource directly, it just prints out the URI. If I comment out ClayViewHandlerCommand from chain-config, it still does it so I am at a loss as to what is going on here. Hermod -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

SV: Re: SV: Re: checkbox for nested collection

2005-12-02 Thread Per Jørgen Walstrøm
thank you for your answer. I think I know the request processing life-cycle, but what I apparently do not know, is how to map those checkboxes... The thing is that the "restrictive"-property is a direct mapping to the database; I do actually have a column called restrictive, which contains boole

[Shale] Clay - Not serving .css and .png

2005-12-02 Thread hermod.opstvedt
Hi I my continued persuit of Shale and Clay and have now started to apply my standard style (lquid) to the template application. What I discovered was that Clay will not serve .css files. I noticed in Geeta's ShaleNShark1 demo that the style sheet was named .html. So I renamed my stylesheet to

connecting to mssql from struts

2005-12-02 Thread Stanislav
I manage to set up realm inside jboss (tomcat) for mssql, but i have problem with inserting/selecting data from db. I put this code into struts-config: and this code into some action