[shale] Tomahawk clay-config.xml help

2006-03-10 Thread Richard Wallace
I'm trying to use some of the extended Tomahawk components and attributes in a Clay web page. The table is being configured with: ... But the forceId tag is being ignored. In the Tomahawk clay-config.xml file attached to this JIRA issue, https://issue

Re: using tag

2006-03-10 Thread Tamas Szabo
On 3/11/06, temp temp <[EMAIL PROTECTED]> wrote: > > Can somebody help me with this? Well, if I have a problem I usually remove all the stuff that works so I can isolate the problem. That way you would have only the code you posted in the JSP (the error would not be at line 220) so you could post

Re: using tag

2006-03-10 Thread Laurie Harper
To understand why this is a problem, look at the source of the Java servlet that's generated. Remember that the JSP is translated statically into Java, and then the resulting Java is compiled and run. Try this instead: 2 3 L. temp temp wrote: Can somebody help me with this? M

Re: Autosumbit before Action

2006-03-10 Thread Michael Jouravlev
On 3/10/06, Danny Lee <[EMAIL PROTECTED]> wrote: > Hi guys! > > I'm writing an admin webinterface for a web store at the moment, > the "put-new-product" part. > > SITUATION: I have some product attributes like "Information Blocks" and > "Product Details", which are 0..n, so I'm able to delete these

RE: Autosumbit before Action

2006-03-10 Thread George.Dinwiddie
Do you have a separate form for each detail record? If so, I'd suggest not doing that and putting the entire thing in a single form with multiple submits. > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Danny Lee > Sent: Friday, March 10, 2006 6:39 AM > To: user@s

using logic tag

2006-03-10 Thread temp temp
I am using struts 1.1 I using logic equal tag to check whether a page context attribute value. here is my code So only one logic equal will be true but not both .But when I call this jsp in the browser I get

Re: using tag

2006-03-10 Thread temp temp
Can somebody help me with this? Michael Jouravlev <[EMAIL PROTECTED]> wrote: On 3/10/06, Michael Jouravlev wrote: > On 3/10/06, temp temp wrote: > > I am using struts 1.1 > > > > I using logic equal tag to check whether a page context attribute value > > equals to some value . > > > > > >

[shale] how to detect in the backing bean that the user navigates to another page?

2006-03-10 Thread Costa Basil
I use shale and I was wondering if there is there an easy way to know in a backing bean on the postback that the user actually pressed a commandLink that navigates to another page than the one the backing bean is for. I want to avoid unecessary database calls. Let me give you an example. Let's

Re: Web Service fronting a Struts app

2006-03-10 Thread Frank W. Zammetti
Just to save anyone that might be interested time, here's what you'll want to read: http://sourceforge.net/docman/display_doc.php?docid=26792&group_id=126469 That pretty well explains it all (although I think I see a mistake with regard to specifying the RP in struts-config, but the example app s

Re: Error finding tiles-defs.xml

2006-03-10 Thread Greg Reddin
On Mar 10, 2006, at 12:52 PM, Dave Newton wrote: Hilton, Steve wrote: Oshima, thank you VERY VERY much! That fixed it. I had looked on so many web site, and at so many examples, and in so many books, and not one single resource I looked at EVER said to add that code to web.xml. Th

Re: Web Service fronting a Struts app

2006-03-10 Thread Frank W. Zammetti
Your wish is my command: http://sourceforge.net/projects/strutsws This is actually for Struts 1.2.4 IIRC, and a port to 1.3 was contributed as well, but I doubt you would have much trouble back-porting it to 1.1. The key is a custom RP, so it should just be a matter of copying the new code into

Re: Web Service fronting a Struts app

2006-03-10 Thread Dave Newton
Mulligan, Scott H wrote: > I have a Struts 1.1 application running for my employer. Now I am being asked > if I can create a web service that acts as a front door to the Struts > application. Has anyone ever done this? Is there a way to extend Struts to > read a SOAP body in the HttpRequest inst

Re: Error finding tiles-defs.xml

2006-03-10 Thread Dave Newton
Hilton, Steve wrote: > Oshima, thank you VERY VERY much! That fixed it. I had looked on > so many web site, and at so many examples, and in so many books, and not > one single resource I looked at EVER said to add that code to web.xml. > Thanks again. I really appreciate it! > Wow; I'm

Web Service fronting a Struts app

2006-03-10 Thread Mulligan, Scott H
I have a Struts 1.1 application running for my employer. Now I am being asked if I can create a web service that acts as a front door to the Struts application. Has anyone ever done this? Is there a way to extend Struts to read a SOAP body in the HttpRequest instead of the regular request parame

RE: about Junit

2006-03-10 Thread George.Dinwiddie
Test Driven Development: By Example ([ISBN]0321146530) by Kent Beck. Test Driven Development: A Practical Guide ([ISBN]0131016490) by David Astels You can find these on Amazon: http://www.amazon.com/exec/obidos/ISBN=0321146530/alberg30-20 http://www.amazon.com/exec/obidos/ISBN=0321146530/alberg30-

RE: html:errors

2006-03-10 Thread fea jabi
Thankyou for your response. yah. I know will check if messages are present. but I would like to know how many messages are present. if just one then planning to get only the message not the . Now it's returning message. planning to get only message if it's one. is there way to do this?

RE: html:errors

2006-03-10 Thread Kalcevich, Daniel
Try using the tag if you wish to check for the existence of errors on a JSP page. Or this link provides some help info regarding the errors object. http://husted.com/struts/tips/017.html -Original Message- From: fea jabi [mailto:[EMAIL PROTECTED] Sent: Friday, March 10, 2006 9:48 AM T

html:errors

2006-03-10 Thread fea jabi
is returning an how to determine the length of the list? would like to check if it has more than one error for this property? Thanks. _ Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/g

RE: Error finding tiles-defs.xml

2006-03-10 Thread Hilton, Steve
Oshima, thank you VERY VERY much! That fixed it. I had looked on so many web site, and at so many examples, and in so many books, and not one single resource I looked at EVER said to add that code to web.xml. Thanks again. I really appreciate it! Steve -Original Message- From: Oshi

Re: [FRIDAY] Ouftil Adrach struck again, but i don't care because of bifff

2006-03-10 Thread Frank W. Zammetti
On Fri, March 10, 2006 12:14 pm, Niall Pemberton said: > Can you bring > your goddess over here? That sounds like the type of request that can only end in a police sting :) LOL - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: [FRIDAY] Ouftil Adrach struck again, but i don't care because of bifff

2006-03-10 Thread Niall Pemberton
On 3/10/06, David Delbecq <[EMAIL PROTECTED]> wrote: > It's friday, > > Ouftil Adrach (local belgian goddess) struck again. It's raining hard > outside We need this goddess - the South West of the UK is in a drought and if it doesn't change we are going to have a v.bad summer. Can you bring yo

Re: using tag

2006-03-10 Thread Michael Jouravlev
On 3/10/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 3/10/06, temp temp <[EMAIL PROTECTED]> wrote: > > I am using struts 1.1 > > > > I using logic equal tag to check whether a page context attribute value > > equals to some value . > > > > > > here is my code > > > > > >

Re: using tag

2006-03-10 Thread Michael Jouravlev
On 3/10/06, temp temp <[EMAIL PROTECTED]> wrote: > I am using struts 1.1 > > I using logic equal tag to check whether a page context attribute value > equals to some value . > > > here is my code > > > > > > > > > > > So only one logi

using tag

2006-03-10 Thread temp temp
I am using struts 1.1 I using logic equal tag to check whether a page context attribute value equals to some value . here is my code So only one logic equal will be true but not both .But when I call this js

Struts 1.1 ApplicationResources.properties

2006-03-10 Thread Yariel Ramos Moreno
Hi: I have a LookupDispatchAction in my application. In the JSP mapped to this action, I need 2 submit buttons with the same name (Search) but with differents funtionalities. In my ApplicationResource.properties file I have defined 2 diferent properties with the same value: search.go=Search se

Re: Using Filters with Struts?

2006-03-10 Thread Frank W. Zammetti
As Joe pointed out, there is no problem using filters with Struts. As Joe also pointed out, generally speaking, getting a filter to fire for a specific Action, or group of Actions, is problematic. Struts 1.3, as Joe yet again pointed out, is a nice solution for this (Joe has been busy! LOL) Howe

Re: [OT] TheServerSide Java Symposium

2006-03-10 Thread Gary VanMatre
>From: "Dakota Jack" <[EMAIL PROTECTED]> > > You must have a very small book. > Well, everyone know that your book is the biggest. Don't worry, I won't cross over your bridge, Jack. Gary > > > > > > In my book, as long as it has the three basic principles of encapsulation, > > inheritan

Re: about Junit

2006-03-10 Thread Dave Newton
gomathi wrote: > i am in swing based project .How to use Juint > Yeah, well, I'd probably check out a jUnit book then. If you're interested in testing the GUI portion then you'll probably need some sort of add-on that will pretend it's a user. Just out of curiosity, what led you to ask this

[FRIDAY] Ouftil Adrach struck again, but i don't care because of bifff

2006-03-10 Thread David Delbecq
It's friday, Ouftil Adrach (local belgian goddess) struck again. It's raining hard outside and i will need to get out and catch the train that will lead me back to week-end. I want to mention the Brussels international fantastic film festival has started today and i will be there all saturday even

Re: Struts / Tiles Caching No Frames and Inter Tile communication

2006-03-10 Thread Greg Reddin
On Mar 10, 2006, at 3:00 AM, Antonio Petrelli wrote: By the way, why are not you using portlets? That was my thought as well. It sounds like a portlet environment is more like what you are looking for. Greg - To unsub

Re: Using Filters with Struts?

2006-03-10 Thread Joe Germuska
At 2:55 PM +0100 3/10/06, starki78 wrote: Yes I also come to the conclusion that it doesn't fit optimally, but it's always worth making such considerations to come to new solutions! And speaking of new solutions, it's worth pointing out that in Struts 1.3 you can use the commons-chain API to e

Re: about Junit

2006-03-10 Thread Ted Husted
On 3/9/06, gomathi <[EMAIL PROTECTED]> wrote: > Hi > how to test java application in junit.Is there is any example for test.how to > give each class into junit for testing The MailReader application for Action 1.3 is a fair example of how to approach unit testing in a web application environment.

Re: bean:write will not recognize \n or \t

2006-03-10 Thread David Delbecq
Krishna, Mattam (M.) a écrit : >I have the following code in jsp. >property="focusText" /> >Here I am enterd the following text: >Test > Test. >Note:I typed Test and then enter key then tab then Test. >After I submit the html:form , it stores the value perfectly in DB. >After when I tried to

Re: Using Filters with Struts?

2006-03-10 Thread starki78
Yes I also come to the conclusion that it doesn't fit optimally, but it's always worth making such considerations to come to new solutions! Thanks for your input Starky -- Initial Header --- >From : "Joe Germuska" [EMAIL PROTECTED] To : "starki78" [EMAIL PROTECTE

Re: Using Filters with Struts?

2006-03-10 Thread Joe Germuska
At 8:23 AM +0100 3/10/06, starki78 wrote: Hi I made thoughts about filters (javax.servlet.Filter) e.g. use them for logging and performance measuring purposes. Now as we are using struts I would like to know if you can, and if it makes sense to assign a filter to an action. Can someone help me un

bean:write will not recognize \n or \t

2006-03-10 Thread Krishna, Mattam \(M.\)
I have the following code in jsp. Here I am enterd the following text: Test Test. Note:I typed Test and then enter key then tab then Test. After I submit the html:form , it stores the value perfectly in DB. After when I tried to display that value by using bean:write it won't recognize the

Re: Struts Action returning null - Design query?

2006-03-10 Thread Wendy Smoak
On 3/10/06, Saurabh Bobde <[EMAIL PROTECTED]> wrote: > After processing a request, the Action would simply return a null > ActionForward, like so: return (null); > > One of the scenarios why/where they were doing this was, they needed to > write to the response directly. (For eg, returning the co

RE: about Junit

2006-03-10 Thread Roy, Ansuman
yeah better to use Abbot, or Jemmy or jfcunit.. They are extensions of JUNIT so you can get online documentation by a bit of googling. regards, Anshuman -Original Message- From: gomathi [mailto:[EMAIL PROTECTED] Sent: Friday, March 10, 2006 1:21 PM To: Struts Users Mailing List Subject:

Autosumbit before Action

2006-03-10 Thread Danny Lee
Hi guys! I'm writing an admin webinterface for a web store at the moment, the "put-new-product" part. SITUATION: I have some product attributes like "Information Blocks" and "Product Details", which are 0..n, so I'm able to delete these, or create new. PROBLEM: The problem is, every time I d

Re: Error finding tiles-defs.xml

2006-03-10 Thread Oshima Tlholoe
hi Steve did you include the your tiles-defs.xml in the web.xml so that its loaded when your ActionServlet starts up. asn the following definitions-config /WEB-INF/tiles-defs.xml On 3/10/06, Oshima Tlholoe <[EMAIL PROTECTED]> wrote: > > hi Steve, > I had a look at

Re: Error finding tiles-defs.xml

2006-03-10 Thread Oshima Tlholoe
hi Steve, I had a look at your code snipets and they seem right, this can be stupid to mention but just check on your war file to see if the tiles-defs.xml is copied under the WEB-INF/ directory,sometimes this are little mistakes that we make. On 3/9/06, Hilton, Steve <[EMAIL PROTECTED]> wrote: >

Re: Welcome Page Not Working

2006-03-10 Thread Oshima Tlholoe
Hi Troy, What you need to is have an index.jsp, specify the index,jsp in your web.xmllike tihs index.jsp > after that you need to code your index.jsp like this <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> In this case "kicker" will be the logical name of your g

Re: Struts Action returning null - Design query?

2006-03-10 Thread Antonio Petrelli
Saurabh Bobde ha scritto: After processing a request, the Action would simply return a null ActionForward, like so: return (null); One of the scenarios why/where they were doing this was, they needed to write to the response directly. I've seen this in Struts-Layout, where they send the eleme

RE: invoking method of DispatchAction from within another DispatchAction

2006-03-10 Thread Krishna, Mattam \(M.\)
Use the following action specific forward in struts-confing.xml file. I am sure , it will work fine. Let me know the results. Thanks and Regards, Krishna Mattam Team Member - CDF Toolset Contact:044-22548575 Email: [EMAIL PROTECTED] -Original Message- From

Struts Action returning null - Design query?

2006-03-10 Thread Saurabh Bobde
Hello. I tried my best before posting this and searched through the archives, but couldn't find anything on this. I recently came across a team which was doing something which seemed a little "weird" more from a designer's (purist?) perspective. After processing a request, the Action would simp

Re: Struts / Tiles Caching No Frames and Inter Tile communication

2006-03-10 Thread Antonio Petrelli
Norm ha scritto: Is there any "tile caching mechanism" available, or, should we develop some sort of cache before we go to the business tier so we can redraw all of the tiles anyway? I would like to make a tile "sticky" when the app knows there is no need to refresh it on any particular intera

RE: about Junit

2006-03-10 Thread gomathi
hi, i am in swing based project .How to use Juint - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]