Re: Struts2 labels problem

2008-08-25 Thread Lukasz Lenart
Could you show some example how you use labels in jsp file? Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: help in build.xml

2008-08-25 Thread Narasimha Raju Naidu
thanks for your reply, i downloaded one file yesterday and edited according to my requirement. right now itz bulding my application. but there is no WEB-INF folder in that. is it must to run my application. still i am not able to run my application becoz i dont know where i sho

Re: Help Jobs Search Engine Script

2008-08-25 Thread Al Sutton
Advice : Find an appropriate mailing list to send this to. Can someone block this spammer. Ta, Al. Jeni Mattews wrote: Dear Friends, I would loke to start a Jobs Search Engine like www.simplyhired.com, Can anyone help / have Jobs Search Engine Script. Please advise Thank you Jeni Mattew

[S2] ModelDriven: model not pushed on stack?

2008-08-25 Thread Pierre Thibaudeau
I have successfully used the ModelDriven interface again and again. But suddenly, on my most recent action, the model does not find its way to the top of the stack, and I cannot find where the problem might be. This is what I know about ModelDriven setup: 1) Action must implement ModelDriven inte

Help Jobs Search Engine Script

2008-08-25 Thread Jeni Mattews
Dear Friends, I would loke to start a Jobs Search Engine like www.simplyhired.com,  Can anyone help / have Jobs Search Engine Script. Please advise Thank you Jeni Mattews

Re: Can anyone help me with an example of REST with mutiple paras

2008-08-25 Thread Jeromy Evans
Ryan Wong wrote: how can I apply the URL http://localhost:3000/ontrack/1/sprints/1 to action to show item with ontract id - 1 and sprints id - 1 Here's an example using the REST plugin: http://www.blueskyminds.com.au/url-hierarchy/

Re: Struts 2.0.11 from 2.0.9 EL Expression problem

2008-08-25 Thread crappycrumpet
Yes exactly!!! Hence I was wondering how I can work around it. I guess I'll have to roll back or write my own select thing iterating through the list and doing (listKey)([0]), (listValue)([0]) :(. My god I wish I understand what select.ftl is doing. (FYI, the OGNL conversion section says "todo"

Re: Can anyone help me with an example of REST with mutiple paras

2008-08-25 Thread Ryan Wong
I found org.apache.struts2.dispatcher.mapper.Restful2ActionMapper in struts2-core support that url patern so why should we still need a rest plugin? to simplify the configuration? Ryan Wong wrote: > > how can I apply the URL http://localhost:3000/ontrack/1/sprints/1 to > action > to show item w

Re: [S2] attempts to access www.opensymphony.com on Struts startup???

2008-08-25 Thread Pierre Thibaudeau
In case people were interested in newer developments on this topic, Perry kindly posted an issue on Jira: https://issues.apache.org/struts/browse/WW-2781 He also came up with a workaround: changing the DTD reference in struts.xml from http://struts.apache.org/dtds/struts-2.0.dtd";> to and put

Can anyone help me with an example of REST with mutiple paras

2008-08-25 Thread Ryan Wong
how can I apply the URL http://localhost:3000/ontrack/1/sprints/1 to action to show item with ontract id - 1 and sprints id - 1 -- View this message in context: http://www.nabble.com/Can-anyone-help-me-with-an-example-of-REST-with-mutiple-paras-tp19154913p19154913.html Sent from the Struts - Use

Re: [OT] Re: MySQL Monitoring

2008-08-25 Thread Frans Thamura
On Tue, Aug 26, 2008 at 8:21 AM, Frans Thamura <[EMAIL PROTECTED]> wrote: > On Tue, Aug 26, 2008 at 8:18 AM, Dave Newton <[EMAIL PROTECTED] > :) so S2 still ok in the next 3-4 years? > the idea is, there are around 3 million high schools graduate that cannot work here. and my idea to bring them

Re: [OT] Re: MySQL Monitoring

2008-08-25 Thread Frans Thamura
On Tue, Aug 26, 2008 at 8:18 AM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- On Mon, 8/25/08, Frans Thamura wrote: >> does this S2 gone ? >> so the future will be JSF with facelet? > > I don't know of any good way to predict that. I mean, look how long its taken > JSF to get where it is today (an

Re: [OT] Re: MySQL Monitoring

2008-08-25 Thread Dave Newton
--- On Mon, 8/25/08, Frans Thamura wrote: > does this S2 gone ? > so the future will be JSF with facelet? I don't know of any good way to predict that. I mean, look how long its taken JSF to get where it is today (and I *still* don't know anybody that uses it)! It's a fickle world. More likely t

Re: Struts 2.0.11 from 2.0.9 EL Expression problem

2008-08-25 Thread Dave Newton
(FYI, the OGNL conversion section says "todo" :) In this case it's not quite as straight-forward, though, since the OP was *relying* on the ability to have the expression pre-evaluated before it hit OGNL. Dave --- On Mon, 8/25/08, Gabriel Belingueres <[EMAIL PROTECTED]> wrote: > From: Gabriel

Re: [OT] Re: MySQL Monitoring

2008-08-25 Thread Dave Newton
+1 --- On Mon, 8/25/08, Jeromy Evans <[EMAIL PROTECTED]> wrote: > From: Jeromy Evans <[EMAIL PROTECTED]> > Subject: Re: [OT] Re: MySQL Monitoring > To: "Struts Users Mailing List" > Date: Monday, August 25, 2008, 8:59 PM > Frans Thamura wrote: > > On Mon, Aug 25, 2008 at 10:21 PM, Dave Newton >

Re: [OT] Re: MySQL Monitoring

2008-08-25 Thread Frans Thamura
> Your motiviation is great. You seem to worry too much about whether this > technology is the "right" technology. I think that doesn't matter; S2 is > pretty good and pretty easy to learn so it seems a good place to start with > Java. If, in the worst case, all interest in S2 disappears in a ye

Re: Struts 2.0.11 from 2.0.9 EL Expression problem

2008-08-25 Thread Gabriel Belingueres
Please note that from S2 2.0.11.x it is illegal to call Struts tags using EL expressions in tag attributes [1], you only can use OGNL expressions. Upgrading should be a straightforward step [2]. [1] http://struts.apache.org/2.0.11.2/docs/release-notes-2011.html [2] http://cwiki.apache.org/S2WIKI/

Re: [OT] Re: MySQL Monitoring

2008-08-25 Thread Jeromy Evans
Frans Thamura wrote: On Mon, Aug 25, 2008 at 10:21 PM, Dave Newton <[EMAIL PROTECTED]> wrote: --- On Mon, 8/25/08, Frans Thamura wrote: my concept is like programmer factory Oh. That sounds depressing. i make this program because several reason, Your motiviation i

Annotation for interceptor

2008-08-25 Thread mujoko mujoko
Hi all All my action is configured with annotation and now I just realized that I need scope interceptor for some actiions. Do i need to break some action and put in xml configuration or any better idea for this case? Thanks all -- Mujoko

Re: Struts 2.0.11 from 2.0.9 EL Expression problem

2008-08-25 Thread crappycrumpet
Yes the select code was meant to be a generic select where I can just bung it in the struts.xml for different Action classes that has the values for fieldName, list (vector of object), listKey, listValue so that I can just make select dropdowns without making more coding. So when I make assorted f

Re: [S2] Reason for having Prepare interceptor before Param interceptor?

2008-08-25 Thread Laurie Harper
Struts Two wrote: Is there any reason that "Prepare" interceptor" is called before "Param" interceptor in the default stack, I see numerous occasions, at least in my case, that you want to have prepare() method run based on user selection. I understand that I can build my stack the suits my nee

Re: S2 tag: mod_rewrite

2008-08-25 Thread Laurie Harper
TLDs don't provide for specifying a default value for an attribute. You'll probably need to define a pair of sub-classes that default the attribute appropriately, and map those in the TLD. L. Pascal Forget wrote: Hi, I modified the PropertyTag to add a "formatterClass" parameter. I would li

pls help for 'hang'

2008-08-25 Thread john lee
 Hi,   My Susue linux/tomcat 6/struts 1.x always hang, when hang, all the link/application's screen output is just 'null', and all the clients access hang too.    no any error messages in any of catalina.out, catalina.log, local.log ..   the only solution is to rebounce the tomcat 6, then everyth

[S2] Reason for having Prepare interceptor before Param interceptor?

2008-08-25 Thread Struts Two
Is there any reason that "Prepare" interceptor" is called before "Param" interceptor in the default stack, I see numerous occasions, at least in my case, that you want to have prepare() method run based on user selection. I understand that I can build my stack the suits my needs, However; I was

[S2] doubleselect problem with Maps

2008-08-25 Thread Gabriel Belingueres
Hi, I tried to run (using S2.1.2) the Map example code of doubleselect tag [1] but it doesn't work. Does anyone knows if either it's a mistake in the docs or the tag just don't work for Maps? Regards, Gabriel [1] http://struts.apache.org/2.1.2/docs/doubleselect.html

Re: [S2] Iterate through two lists

2008-08-25 Thread Dave Newton
... I already knew the JSP that was causing the error. Dave --- On Mon, 8/25/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > From: Milan Milanovic <[EMAIL PROTECTED]> > Subject: Re: [S2] Iterate through two lists > To: user@struts.apache.org > Date: Monday, August 25, 2008, 1:10 PM > Hi Dave,

Re: [S2] Iterate through two lists

2008-08-25 Thread Milan Milanovic
Hi Dave, here is complete jsp: " class="odd"> <- THIS WORKS <- order in session is recognized <- null values

Re: [S2] Iterate through two lists

2008-08-25 Thread Dave Newton
--- On Mon, 8/25/08, Milan Milanovic wrote: > > <- HERE IT WORKS (order is recognized > in session)!! > > >value="#session.order.orderList[#rowstatus.index].price"/> > <- HERE IT > DOESN'T WORK - null value! > > > "IT" is two *entirely different

Re: [S2] Iterate through two lists

2008-08-25 Thread Milan Milanovic
Here it is EXACT code: <- HERE IT WORKS (order is recognized in session)!! <- HERE IT DOESN'T WORK - null value! -- Regards, Milan newton.dave wrote: > > Then something further down the object chain is broken, but you insist on > not sharing

Re: [S2] Iterate through two lists

2008-08-25 Thread Dave Newton
Then something further down the object chain is broken, but you insist on not sharing any more relevant information, so you're on your own. If the values in question exist the syntax works, AFAICT, since I have the exact same syntax and I get data back. Dave --- On Mon, 8/25/08, Milan Milanov

Re: [S2] Iterate through two lists

2008-08-25 Thread Milan Milanovic
I tried this syntax when my "someObject" is located in action class: , I also put this variable into sesson, and treid like this: and it doesn't work, but it is wierd because few lines above, this works: ... So, I supose that this value attribute of s:param doesn't work well or synax is n

Re: [OT] Re: MySQL Monitoring

2008-08-25 Thread Frans Thamura
On Mon, Aug 25, 2008 at 10:21 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- On Mon, 8/25/08, Frans Thamura wrote: >> my concept is like programmer factory > > Oh. That sounds depressing. > i make this program because several reason, the data we have 3.5 millions highschoo, 770 go to univs ar

[OT] Re: MySQL Monitoring

2008-08-25 Thread Dave Newton
--- On Mon, 8/25/08, Frans Thamura wrote: > my concept is like programmer factory Oh. That sounds depressing. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: MySQL Monitoring

2008-08-25 Thread Frans Thamura
On Mon, Aug 25, 2008 at 10:04 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > Why would you want to make a framework a standard for an entire country? > > I'd rather see people learn how to program (and read documentation :/ then > whatever framework they choose they can be effective. > my concept i

Re: MySQL Monitoring

2008-08-25 Thread Dave Newton
Why would you want to make a framework a standard for an entire country? I'd rather see people learn how to program (and read documentation :/ then whatever framework they choose they can be effective. --- On Mon, 8/25/08, Frans Thamura <[EMAIL PROTECTED]> wrote: > From: Frans Thamura <[EMAIL P

Re: [S2] Double conversion issue

2008-08-25 Thread Milan Milanovic
One more this why is this wierd, because when number is entered through textfield it is converted good with default Double convertor, but when it is converted from jsp link (as I give above) it add 0 to the end.. -- Milan Jeromy Evans - Blue Sky Minds wrote: > > Milan Milanovic wrote: >> Uf, b

Re: MySQL Monitoring

2008-08-25 Thread Frans Thamura
i have a program for Indonesia, and we will trin 240.000 vocational high school using hiberante and struts2, based on our integration framework cimande part of blueoxygen.org project the umbrealla is http://jeni.diknas.go.id several weakness in S2 is the JCP standard tag, but with apache brand, i

Re: regex validator and BigDecimal

2008-08-25 Thread ndario
I should have said that I do have custom BigDecimal converter which throws TypeConversionException if conversion fails. But users are still allowed to enter something like "344,5,6" which converts successfuly but converted value may not be the one user wanted to enter. That is why i want to gi

Re: help in build.xml

2008-08-25 Thread dynamicd
Heres my sample ..

Re: Why do s:select and s:submit add a ?

2008-08-25 Thread Ylva Degerfeldt
Hi Dave, I just wanted to thank you for your answer. You're completely right about the "classpath stuff". I know I can find information about that in many places, and I promise you I will read about it as soon as I have the time. I'm just so incredibly stressed right now so I have to focus on one

Re: Struts2 labels problem

2008-08-25 Thread mitroiasi
--- On Mon, 8/25/08, mitroiasi wrote: > I try to make a small site based on hibernate and struts2. > I have created a properties file with all the labels. > But I don't know why this file is only sometimes taken > into account. > > Can someone tell me where the problem is located? ... Probabl

Re: Struts2 FireFox shows loading and then blank Page

2008-08-25 Thread Ian P. Christian
On Mon, Aug 25, 2008 at 3:18 PM, dynamicd <[EMAIL PROTECTED]> wrote: > > I am having this weird problem. When I open Firefox and enter the URL. It > opens up. I see my Tabbed Panel and the Loading Text and then the page goes > blank. > I have to refresh the page and then it works sometimes and some

Re: regex validator and BigDecimal

2008-08-25 Thread Oleg Mikheev
ndario wrote: Is there any way to validate the string before conversion to BigDecimal? The right (and default) way of handling conversion errors is to use the Conversion Error Interceptor: http://struts.apache.org/2.x/docs/conversion-error-interceptor.html There is no converter for BigDecimal,

Re: [S2] Double conversion issue

2008-08-25 Thread Milan Milanovic
I have defined new DoubleConverter, but now I don't know how to define conversion in MyActionClass-conversion.properties file. I know how to define it for form fields, but how to define it for a link, like below: Delete ? "prop" is Double. -- Thx, Milan Jeromy Evans - Blue Sky Mi

Re: Struts2 labels problem

2008-08-25 Thread Dave Newton
--- On Mon, 8/25/08, mitroiasi wrote: > I try to make a small site based on hibernate and struts2. > I have created a properties file with all the labels. > But I don't know why this file is only sometimes taken > into account. > > Can someone tell me where the problem is located? ... Probably n

Struts2 FireFox shows loading and then blank Page

2008-08-25 Thread dynamicd
I am having this weird problem. When I open Firefox and enter the URL. It opens up. I see my Tabbed Panel and the Loading Text and then the page goes blank. I have to refresh the page and then it works sometimes and sometimes it doesnt. Any ideas? -- View this message in context: http://www.nab

Struts2 labels problem

2008-08-25 Thread mitroiasi
Hi, I try to make a small site based on hibernate and struts2. I have created a properties file with all the labels. But I don't know why this file is only sometimes taken into account. Can someone tell me where the problem is located? Thank you -- View this message in context: http://www.n

Re: help in build.xml

2008-08-25 Thread Dave Newton
Wow. --- On Mon, 8/25/08, Jeni Mattews <[EMAIL PROTECTED]> wrote: > From: Jeni Mattews <[EMAIL PROTECTED]> > Subject: Re: help in build.xml > To: "Struts Users Mailing List" > Date: Monday, August 25, 2008, 9:49 AM > Dear Mr. Naidu, >   > Greetings! >   > I am Jeni Mattews from Essex, UK. I am

[OT] Re: only serializable objects into Session?

2008-08-25 Thread Dave Newton
http://java.sun.com/developer/technicalArticles/Programming/serialization/ --- On Mon, 8/25/08, "Stephan Schröder" <[EMAIL PROTECTED]> wrote: > From: "Stephan Schröder" <[EMAIL PROTECTED]> > Subject: Re: only serializable objects into Session? > To: "Struts Users Mailing List" > Date: Monday, A

Re: regex validator and BigDecimal

2008-08-25 Thread ealden
If the conversion to BigDecimal fails that either means that the input is blank of invalid. Would you get the same effect as a regex validatir if you made the BigDecimal property a required field? On 8/25/08, ndario <[EMAIL PROTECTED]> wrote: > > Hello, > > I am trying to enforce BigDecimal number

Re: only serializable objects into Session?

2008-08-25 Thread Stephan Schröder
> > This seems to indicate that all the objects reachable > > through this object should be serializable, too?! > No, only the ones you want serialized. So properties which don't implement Serializable will just be null afterwards? What about Lists of nonserializable classes, will these be empty?

Re: Struts 2.0.11 from 2.0.9 EL Expression problem

2008-08-25 Thread Gabriel Belingueres
The select documentation [1] shows perfectly valid uses of the tag. Yours: Why the name parameter has a %{}? Do you intend to give a different name to the select at runtime? Is the 'list' really a java.util.List? or is it a Map? Please post you page and action code to provide you more help. [

Re: help in build.xml

2008-08-25 Thread Jeni Mattews
Dear Mr. Naidu,   Greetings!   I am Jeni Mattews from Essex, UK. I am planning to launch a Jobs Search Engine (ex: www.simplyhired.com )   Can you help on this?   Thank you   Jeni --- On Mon, 8/25/08, Narasimha Raju Naidu <[EMAIL PROTECTED]> wrote: From: Narasimha Raju Naidu <[EMAIL PROTECTED]>

Re: only serializable objects into Session?

2008-08-25 Thread Dave Newton
--- On Mon, 8/25/08, "Stephan Schröder" wrote: > This seems to indicate that all the objects reachable > through this object should be serializable, too?! No, only the ones you want serialized. Dave - To unsubscribe, e-mail: [E

only serializable objects into Session?

2008-08-25 Thread Stephan Schröder
hi, i read the other day that only Objects which implement Serializable should be put into an HttpSession. I gues this is valid for the Session in Struts2, too?! This seems to indicate that all the objects reachable through this object should be serializable, too?! That would be a problem since

Re: help in build.xml

2008-08-25 Thread Stephan Schröder
why do you need a build.xml to run a struts2 application? Of course it's a good idea to use ant or maven2 as Build tools but it's not required. I uploaded a helloWorld.war (http://www.file-upload.net/download-1066806/struts2helloworld.war.html) which you can download and then import in Eclipse b

Re: MySQL Monitoring

2008-08-25 Thread tommy xiao
intresting topic, you can implementing this selft.:-) 2008/8/24 Frans Thamura <[EMAIL PROTECTED]> > hi all > > anyone has try MySQL Enterprise monitoring > > is it use Struts2? > > > any product that cool use S2 like MySQL monitoring? > > -- > -- > Frans Thamura > Meruvian Foundation > > Mobile:

Re: help in build.xml

2008-08-25 Thread Dave Newton
--- On Mon, 8/25/08, Narasimha Raju Naidu wrote: > can any one help me how to develop build.xml on eclipse http://ant.apache.org/ IIRC current Eclipse builds have an Ant plugin by default. > and how to run a struts application on eclipse. http://www.eclipse.org/webtools/community/tutorials/Buil

help in build.xml

2008-08-25 Thread Narasimha Raju Naidu
hi to all, i am developing a struts web application on eclipse. in order to run struts application build.xml is required. can any one help me how to develop build.xml on eclipse and how to run a struts application on eclipse. waiting for your reply. -- Regards, Narasimha Raju.Naidu

regex validator and BigDecimal

2008-08-25 Thread ndario
Hello, I am trying to enforce BigDecimal number format with regex validator but validation simply does nothing. If I apply the same validator to the String property, validator works but for some reason does not work with BigDecimal. I guess the reason is that validation is applied to converted Bi