Re: Alternate color in html:iterate

2005-07-14 Thread amitava . basak
1. Have 2 classes in CSS. 2. within iterate write: tr class='bean name= property=listRowClass /' td html:../td .. /tr 3. In the corresponding form: public String getListRowClass() {

How to pass index from iterator tag to JS

2005-07-14 Thread Vivek Chauhan
Hi, How can I pass the index of the iteratorlogic:iterator tag to a Javascript function. I had used JSP scriptlet but tht wz not working.. vivek - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: How to pass index from iterator tag to JS

2005-07-14 Thread Leon Rosenberg
logic:iterate bla indexId=i a href=# onClick=myFunctionCall('bean:write name=i/') /a /logic:iterate just an example. regards Leon On Thu, 2005-07-14 at 11:45 +0530, Vivek Chauhan wrote: Hi, How can I pass the index of the iteratorlogic:iterator tag to a Javascript function.

Problem with html:link

2005-07-14 Thread amitava . basak
I have a html:link action=MyAction in struts config i have action path=MyAction forward=MyGlobalForward In global forward i have forward name=MyGlobalForward path=a.jsp now i have a parameter in the link. the mapping produced is MyAction?transId=100922 i want to forward to that page

Re: Generic template

2005-07-14 Thread Steve Bosman
On 7/13/05, Vijay K Anand [EMAIL PROTECTED] wrote: Hi All Any blueprint how can we write genric code for manipulating data in a table , Can you expand your question please? If you are interested in displaying tabular data in your JSPs have a look at the DisplayTag

Re: How to pass index from iterator tag to JS

2005-07-14 Thread Vivek Chauhan
Ya.. Thnx for ur suggestion.. actually the problem is with struts only you can nest two struts tags.. Wht I wz doing.. logic:iterate name=someForm property=someList id=someList indexId=index html:checkbox name=someList property=someStatus indexed=true onclick=javascript:

Re: How to pass index from iterator tag to JS

2005-07-14 Thread Leon Rosenberg
ah ok: html:checkbox name=someList property=someStatus indexed=true onclick=%=javascript: changeSomeCheckBox(+index+)% / regards Leon On Thu, 2005-07-14 at 12:59 +0530, Vivek Chauhan wrote: Ya.. Thnx for ur suggestion.. actually the problem is with struts only you can nest two struts

Re: [OT] olipmic rings metaphor

2005-07-14 Thread Borislav Sabev
Leon Rosenberg wrote: ---Ursprüngliche Nachricht- Von: Borislav Sabev [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 13. Juli 2005 18:54 An: Struts Users Mailing List Betreff: [OT] olipmic rings metaphor How do you classify Security and Authorization issues in this metaphor? In my

Re: [OT] Java as a Daemon

2005-07-14 Thread Richard Reyes
thanks On 7/14/05, Leon Rosenberg [EMAIL PROTECTED] wrote: I'm with Larry. Cron rocks. The only problem you should have in mind: if your job needs more then the time between the jobs, you've lost. We had actually this problem, and it killed the db, because (2 years after initially written) the

RE: [OT] Java as a Daemon

2005-07-14 Thread Jesse Alexander (KBSA 21)
Hi (Warning: not an Oracle insider...) If I remember correctly Oracle allows Java to used for PL/SQL-scripts. Maybe you could have a Java-class that is called whenever you make an update that needs to be communicated. And then somehow make the update in the second Oracle-db. just my 2cents

Validation framework - gobal formset

2005-07-14 Thread Marc Demlenne
Hello, Using Struts Validation Framework, how is it possible to use only one formset in validation.xml for ALL locales, when using only locales-independant validations ? I use formset ... /formset but get the error that the form is not found under locale en_US, i.e. Having more formset like

Re: [OT] Java as a Daemon

2005-07-14 Thread Duncan Mills
Indeed the Oracle Database itself has a DBMS_JOB procedural package which acts just like Cron in the database - so that provides another way to tackle the problem - On the other hand the Oracle database also has a whole set of replication features which are designed for syncing data between

Re: How to pass index from iterator tag to JS

2005-07-14 Thread Vivek Chauhan
Thanks Leon, The problem is solved.. but still we had to use JSP scriptlets... but I dont mind tht till I am using Struts tags... Leon Rosenberg [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] ah ok: html:checkbox name=someList property=someStatus indexed=true

How to avoid calling .do again once click F5 button.

2005-07-14 Thread senthil Kumar
Hi All., In our application, I hava a list of tasks. Each task have a chech box and once checked the check box and click AddAlert button, alert for the checked task is created. Up to this functionality working fine for me. My problem is once creating alert and unfortunately click F5 button,

Re: How to avoid calling .do again once click F5 button.

2005-07-14 Thread Leon Rosenberg
before Michael jumps on the train :-) simply send a redirect after executing create action to the list action again? regards Leon On Thu, 2005-07-14 at 14:24 +0530, senthil Kumar wrote: Hi All., In our application, I hava a list of tasks. Each task have a chech box and once checked the

Re: Problem with html:select

2005-07-14 Thread lk
Balasubramaniam, Sezhiyan wrote: I usually set the JavaScript add-options statements using logic-iterate and on the event of user clicks a button; this function will be called which will populate the select box. function refreshSelect() { logic:iterate id=MIP_SUBGRP_CD

Re: How to avoid calling .do again once click F5 button.

2005-07-14 Thread Yaroslav Novytskyy
Hello! I would advise to use synchronization via Session tockens. (I'm working at this process' automation at the moment). Struts' Action already has, what is needed for this are saveToken() and isTokenValid() methods. This technique makes it imposible to execute an action more then once

Re: Validation framework

2005-07-14 Thread Borislav Sabev
Rafael Taboada wrote: Hi folks I'm using validation framework in order to validate my fields in a form. I have three fields in a search form: strUsername strFromDate strToDate But we have the rule that the user can fill strUsername or use dates range. I mean he can search by username or he

RE: How to avoid calling .do again once click F5 button.

2005-07-14 Thread parimal
Yes I do believe using tokens is a cleaner way rgds parimal -Original Message- From: Yaroslav Novytskyy [mailto:[EMAIL PROTECTED] Sent: Thursday, July 14, 2005 3:15 PM To: Struts Users Mailing List Subject: Re: How to avoid calling .do again once click F5 button. Hello! I would advise

what's wrong with this simple code

2005-07-14 Thread Vicky
I don't see anything displayed on jsp with below simple code in my struts action class. MenuComponent mc = new MenuComponent(); mc.setName(Menu 1); mc.setLocation(Menu 1); mc.setTitle(Menu 1); MenuComponent mc2 = new MenuComponent(); mc2.setName(Menu 2); mc2.setLocation(Menu 2);

Re: [OT] olipmic rings metaphor

2005-07-14 Thread Ted Husted
On 7/14/05, Borislav Sabev [EMAIL PROTECTED] wrote: I fully agree here, that's why I consider Authorization as a ring that intersect all other rings, and this means it depend on each of them. But it fact better metaphor for it is that is a small ring inside every other ring, i.e. not seen as

how to subscribe to tag lib user list

2005-07-14 Thread syed abrar
Can any one tell me the id to subscribe to tag libs user list. I got a problem if any one of you have asolution please send it I have a code which s written using tag libs...and while i try to run it its giving me an error Unable to load tag handler class

[OT] Internet Time (was Re: Putting execute() in ActionForm)

2005-07-14 Thread Ted Husted
On 7/11/05, Craig McClanahan [EMAIL PROTECTED] wrote: Just remember ... the lifetime of Struts 1.x (five years since initial conception, four years since 1.0) is basically a geologic era in terms of Internet time :-). Ahh, but time is an illusion, and Internet time doubly so :) It seems to

Re: [OT] Java as a Daemon

2005-07-14 Thread David Whipple
We use the cron approach as well. Using a simple mechanism and having separate JVMs has proven very good for maintenance, etc. Dave Larry Meadors

Re: how to subscribe to tag lib user list

2005-07-14 Thread Wendy Smoak
From: syed abrar [EMAIL PROTECTED] I have a code which s written using tag libs...and while i try to run it its giving me an error Unable to load tag handler class org.apache.strutsel.taglib.html.ELTextTag for tag html-el:text If anyone has solution or know a user list from which i can get the

Re: [OT] Java as a Daemon

2005-07-14 Thread Daniel Henrique Ferreira e Silva
Hi, Just adding my 2 cents. Go with Duncan because: 1) He works for Oracle, so he _must_ know what he's saying :) 2) His approach works nice here in my job. Oracle's replication features work good. If you are a bad luck guy that doesn't have a DBA in your team (yeah, it is possible) you can try

Struts 1.2 v 1.3

2005-07-14 Thread Access Denied
Alls, I just bought and am reading James Holmes' book, Struts: The Complete Reference (Osborne 2004), which covers 1.2. I just learned from one of Ted Husted's posts that 1.3 is almost ready to be released. Am I wasting my time and should be studying other literature? tia, buddy

Re: [OT] Java as a Daemon

2005-07-14 Thread Martin Gainty
Jesse For specific packages I would look at dbms_streams_tablespace_adm I would look at Oracle's Moving Data Faster/Pulling Tablespaces article available at http://www.oracle.com/technology/oramag/oracle/04-sep/o54data.html And of course consult the folks at Oracle if you have a support

RE: Validation framework

2005-07-14 Thread Nitish Kumar
With no intentions to create yet another thread of I dont like Validator Framework. I just wanted to know if there was any way of using validation framework to validate collections element, without writing bean.collection[0].property for the property, as it might not be possible to know the size

Re: How to avoid calling .do again once click F5 button.

2005-07-14 Thread Martin Gainty
Indeed The intricacies of session scoped beans vs request scoped beans with regards to the security enforcement provisions of the transaction token are explored at http://www.netspread.com/tips2.html Please keep us apprised as to how you make out, Martin- - Original Message - From:

Re: Struts 1.2 v 1.3

2005-07-14 Thread Wendy Smoak
From: Access Denied [EMAIL PROTECTED] I just bought and am reading James Holmes' book, Struts: The Complete Reference (Osborne 2004), which covers 1.2. I just learned from one of Ted Husted's posts that 1.3 is almost ready to be released. Am I wasting my time and should be studying other

struts and multi-level access - please give me your ideas how to restructure..

2005-07-14 Thread Aleksandar Matijaca
Hi there, I have an application that I am working on that requires two different role levels (administrator and user). The administrator, will have some extra links visible to them. I want to use only one struts-config file. I am currently running into a scalability issue -- here is what I

Re: Struts 1.2 v 1.3

2005-07-14 Thread Wendy Smoak
From: Wendy Smoak [EMAIL PROTECTED] No. Most of the major changes in 1.3 are 'behind the scenes' and will not affect the way you configure and use the framework. That didn't come out quite right. I meant that the changes in 1.3 don't *have* to affect the way you configure and use the

Re: Struts 1.2 v 1.3

2005-07-14 Thread Access Denied
I've seen Maven listed amongst the Apache projects and read a little. Is it supposed to replace CVS and SVN? Is this something we should be using routinely? tia, buddy On 7/14/05, Wendy Smoak [EMAIL PROTECTED] wrote: From: Access Denied [EMAIL PROTECTED] I just bought and am reading James

Re: Struts 1.2 v 1.3

2005-07-14 Thread Ivan Rodriguez
Maven is for building projects, like Ant does. Access Denied escribió: I've seen Maven listed amongst the Apache projects and read a little. Is it supposed to replace CVS and SVN? Is this something we should be using routinely? tia, buddy

Re: Alternate color in html:iterate

2005-07-14 Thread Rick Reumann
Leon Rosenberg wrote the following on 7/13/2005 6:06 PM: Rick is it possible to extend your tag with attr. statusName to give the name of the attribute in a scope which holds the value instead of the value itself? :-) Sure that would work. I love JSP tag files.. so darn easy to work with.

Re: Alternate color in html:iterate

2005-07-14 Thread Rick Reumann
[EMAIL PROTECTED] wrote the following on 7/14/2005 2:21 AM: 1. Have 2 classes in CSS. 2. within iterate write: tr class='bean name= property=listRowClass /' td html:../td .. /tr 3. In the

Forwarding in custom RequestProcessor

2005-07-14 Thread Peter . Zoche
Hi! I have extended the RequestProcessor's processPreprocess() method in order to perform a simple user authentication mechanism using cookies. If a cookie identifying a user is found, but the users member- ship has expired, I would like him to be forwarded/redirected to a corresponding error

Re: How to avoid calling .do again once click F5 button.

2005-07-14 Thread Michael Jouravlev
I guess it is easier to repost, than to explain how to search mailing list. Rick, Leon, you already have read this ;) === cut here === Tokens are better solution than nothing, but not the best. Token works *after* POST request has been resubmitted. It can help to prevent *data resubmission* on

RE: Forwarding in custom RequestProcessor

2005-07-14 Thread Mulligan, Scott H
I extended the RequestProcessor to forward between two web applications. The following code is what I use to forward to an action that the other web application has. Then the other web application can define an action that can handle forwarding to whatever jsp it wants. if

Re: Forwarding in custom RequestProcessor

2005-07-14 Thread Jeff Beal
Calling just request.getRequestProcessor() effectively exits the Struts environment since the request object doesn't know anything about struts_config.xml. You need to use the method and fields of the RequestProcessor instead. Try this: ActionForward expireForward =

Re: Forwarding in custom RequestProcessor

2005-07-14 Thread Jeff Beal
request.getRequestProcessor() -- request.getRequestDispatcher() On 7/14/05, Jeff Beal [EMAIL PROTECTED] wrote: Calling just request.getRequestProcessor() effectively exits the - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [OT] UML class diagrams

2005-07-14 Thread Preeti Iyer
Hi Dave, You can also try Poseidon or Jude. Both are free. --regards. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts 1.2 v 1.3

2005-07-14 Thread Joe Germuska
At 6:21 AM -0700 7/14/05, Wendy Smoak wrote: From: Wendy Smoak [EMAIL PROTECTED] No. Most of the major changes in 1.3 are 'behind the scenes' and will not affect the way you configure and use the framework. That didn't come out quite right. I meant that the changes in 1.3 don't *have* to

Re: Forwarding in custom RequestProcessor

2005-07-14 Thread Wendy Smoak
From: [EMAIL PROTECTED] I have extended the RequestProcessor's processPreprocess() method in order to perform a simple user authentication mechanism using cookies. If a cookie identifying a user is found, but the users member- ship has expired, I would like him to be forwarded/redirected to a

Forward path entry in Struts-config

2005-07-14 Thread rajiv verma
Hi, I want to place my JSPs under the WEB-INF directory[login directory]. How ths struts-config entries should look in this case. If I try to add the following forward--entry: forward name=success path=/login/welcome.jsp redirect=true contextRelative=false / But, this by default looks

Token element wrapped with a div tag

2005-07-14 Thread glenn . deschenes
Hi, Just curious as to why in the JSP the token is wrapped in a div tag? divinput type=hidden name=org.apache.struts.taglib.html.TOKEN value=383952ea7a0093448e02f3f0d635865b/div I'm using v1.2.7. Regards, Glenn

Re: Forward path entry in Struts-config

2005-07-14 Thread Michael Jouravlev
1. Files under WEB-INF cannot be accessed directly from outside, that is, from browser 2. Redirect generates a new browser request to the server So, the answer is not possible in your current configuration. JSP generally should not be accessed from outside, they should be forwarded to from an

html:select default value overwriting bean value

2005-07-14 Thread Ansley, Tom
Hi all, I have the following code: td class=form_field width='34%' html:select property=countryID tabindex=11 html:options collection=country property=ID labelProperty=country/ /html:select /td Which basically gets a list of countries and displays them.

Re: html:select default value overwriting bean value

2005-07-14 Thread ichy
Hi, Tom did you try to use ActionForm#reset() to set default value for countryID to US ? getCountryID() you are talking is a method of ActionForm, right? ichy

Re: [OT] olipmic rings metaphor

2005-07-14 Thread Borislav Sabev
Martin Gainty wrote: Boris- I see Security as implemented by RingBearer Frodo in Lord of the Rings The caretaker of the ring travels thru all domains and access to the other dimension (portal which contains final results) regardless of any domain he travels thru Begreife? Martin- Since I'm

RE: html:select default value overwriting bean value

2005-07-14 Thread Ansley, Tom
Hi Ichy, I did think about that but the way my global settings are set the default value for country is found in the jsp page. Maybe I need to rethink this. I was just hoping there might be another workaround. i.e. somehow first check the bean and if nothing then use the default value. Yes,

html:radio Javascript

2005-07-14 Thread dumbQuestionsAsker _
Hi everybody. I got a little problem using html:radio with javascript. I got a table I want to hide/show a cell if a radio is selected, I tried to do it using javascript without any success. By default the cell is hidden, that's why I can't only use the onclick() event to take care of users who

Re: [OT] olipmic rings metaphor

2005-07-14 Thread Frank W. Zammetti
As far as security and authorization goes, where I work we very much view it as, I suppose, a ring around the Olympic rings... perhaps a 100m track? :) We have completely externalized security from all our applications and have built a fairly robust Security Framework, on top of J2EE security and

I remember now why I said I usually use my VO in my ActionForm

2005-07-14 Thread Rick Reumann
The reason I often end up using my Value Object directly in my ActionForm is because rarely do I ever end up with a nice simple case where the users are submitting simple form fields. Typically I end up with cases where I have to deal with a bunch of nested beans. It gets INCREDIBLY cumbersome

struts validation framework

2005-07-14 Thread Sivakumar Santharam
I am trying to restrict a field input value between 1 and 12. The user has to enter like 01 or 02.. thro 12. The validation fails if I enter 08 or 09 and for all other values from 01 thro 07 and 10 thro 12, it works fine. Again the problem is only if I enable javascript validation. Did anybody

RE: struts validation framework

2005-07-14 Thread Jay Burgess
Yes. It's because the leading zero is saying the numbers are octal, so 01-07 are valid octals, 08-09 are invalid octals, and 10-12 are valid octals. Jat | Jay Burgess [Vertical Technology Group] | Essential Technology Links via RSS | http://www.vtgroup.com/ -Original Message-

basic struts question using a Map in an ActionForm

2005-07-14 Thread Rick Reumann
Ok this is basic, but I'm stumped here at the moment... Imagine a Map of Animals. (Animal has a name property) map.put(new Integer(1), new Animal() ); map.put(new Integer(2), new Animal() ); In my Action form this map is in there as: private Map animalsMap; getAnimalsMap() setAnimalsMap(Map

RE: struts validation framework

2005-07-14 Thread Joe Germuska
At 12:14 PM -0700 7/14/05, Jay Burgess wrote: Yes. It's because the leading zero is saying the numbers are octal, so 01-07 are valid octals, 08-09 are invalid octals, and 10-12 are valid octals. Jay's exactly right here. Your options: (1) hack the Javascript validation; commons-validator

Security constraint not working

2005-07-14 Thread Neil Aggarwal
Hello: According to this page: http://www.javaworld.com/javaworld/jw-09-2004/jw-0913-struts.html In order to prevent people of accessing jsp pages directly without using my struts controller, I added this to my web.xml: !-- Do not allow users to load jsps directly -- security-constraint

Re: basic struts question using a Map in an ActionForm

2005-07-14 Thread Rick Reumann
Rick Reumann wrote the following on 7/14/2005 3:17 PM: Ok this is basic, but I'm stumped here at the moment... Imagine a Map of Animals. (Animal has a name property) map.put(new Integer(1), new Animal() ); map.put(new Integer(2), new Animal() ); In my Action form this map is in there as:

Re: basic struts question using a Map in an ActionForm

2005-07-14 Thread Rick Reumann
Rick Reumann wrote the following on 7/14/2005 4:20 PM: From the FAQ I'm going to try this in my ActionForm.. public Object getStringMapped(String key) { return map.get(key); } public void setStringMapped(String key, Object value) { map.put(key, value); } When

ajax and struts-flow - how to refresh part of a page

2005-07-14 Thread Grzegorz Stasica
hi, I'm checking struts-flow package and one of it's features Remote RPC support (termed Ajax but with JSON instead of XML) for calling flow methods from the client. As much as I can see now there is no problem to invoke actions from struts-config but as much as I see all page is being

Re: ajax and struts-flow - how to refresh part of a page

2005-07-14 Thread Don Brown
I'm not sure I understand the question, but if you just want the ability to call Java methods from the client, I'd go with DWR. Struts Flow is a bit more experimental looking at rethinking web applications as continuations-based Javascript-glued apps where the view logic can be written in the

Re: Security constraint not working

2005-07-14 Thread erikweber
Shouldn't there be an authconstraint in there? auth-constraint/, or something like that? Can't remember exactly. Looks to me like you have defined the resource but not declared who (in this case nobody) has access to it. Erik -Original Message- From: Neil Aggarwal [EMAIL PROTECTED]

RE: Security constraint not working

2005-07-14 Thread Neil Aggarwal
Erik: Doh! I guess I did not copy the whole thing. Thanks for the help. Neil -- Neil Aggarwal, JAMM Consulting, (214) 986-3533, www.JAMMConsulting.com FREE! Valuable info on how your business can reduce operating costs by 17% or more in 6 months or less!

Question about html:rewrite tag...

2005-07-14 Thread Andrew Leer
I have a tiles controller which populates an html:select. The html:options values will contain a struts actions which will be used by a Javascript method in the html:select's onChange attribute to forward the user to a page when the html:select changes. Now my question is, how do I get the

Re: Forward path entry in Struts-config

2005-07-14 Thread Laurie Harper
rajiv verma wrote: Hi, I want to place my JSPs under the WEB-INF directory[login directory]. How ths struts-config entries should look in this case. If I try to add the following forward--entry: forward name=success path=/login/welcome.jsp redirect=true contextRelative=false / But, this by

Re: struts and multi-level access - please give me your ideas how to restructure..

2005-07-14 Thread Laurie Harper
Not sure what a .def file is, but I think you're on the right track with combining them and using conditional logic within the JSP to control what's displayed based on user role. Look at logic:present role=''/ for a simple way to wrap role-dependent markup in your JSPs:

Re: html:select default value overwriting bean value

2005-07-14 Thread Laurie Harper
The html tags don't support what you want directly; if you specify a 'value' attribute it always takes precedence. You can set the default in the form bean (either in your setup action, or using jsp:setProperty/ or similar in the JSP page) and not use a value attribute or, if that's not

Re: Token element wrapped with a div tag

2005-07-14 Thread Laurie Harper
[EMAIL PROTECTED] wrote: Just curious as to why in the JSP the token is wrapped in a div tag? divinput type=hidden name=org.apache.struts.taglib.html.TOKEN value=383952ea7a0093448e02f3f0d635865b/div I'm using v1.2.7. What does your JSP look like? L. -- Laurie, Open Source advocate, Java

Re: Struts 1.2 v 1.3

2005-07-14 Thread Ted Husted
On 7/14/05, Access Denied [EMAIL PROTECTED] wrote: I just bought and am reading James Holmes' book, Struts: The Complete Reference (Osborne 2004), which covers 1.2. I just learned from one of Ted Husted's posts that 1.3 is almost ready to be released. Am I wasting my time and should be

[OT] Re: How to hide URL in Adress bar?

2005-07-14 Thread Dave Newton
John Henry Xu wrote: It is bad using only one URL. Not always. For some applications, especially non-search-engine-sensitive ones, it makes perfect sense. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Struts 1.2 v 1.3

2005-07-14 Thread erikweber
Ted, is there a list of tasks for 1.3? By volunteer, are you referring only to current Struts committers? Erik -Original Message- From: Ted Husted [EMAIL PROTECTED] Sent: Jul 14, 2005 6:57 PM To: Struts Users Mailing List user@struts.apache.org Subject: Re: Struts 1.2 v 1.3 On

Re: Struts 1.2 v 1.3

2005-07-14 Thread netsql
[EMAIL PROTECTED] wrote: Ted, is there a list of tasks for 1.3? By volunteer, are you referring only to current Struts committers? Anyone can edit / search bugzila. Anyone can post a diff to code. Only a comiter can ... comit code. (you become a comiter when comiters get tired of comiting

Validation Framework Manual

2005-07-14 Thread Rafael Taboada
Hi folks... In http://struts.apache.org/userGuide/dev_validator.html I try to use a sample about validwhen field property=emailAddress depends=validwhen arg0 key=userinfo.emailAddress.label/ var var-nametest/var-name var-value((sendNewsletter == null) or (*this* != null))/var-value /var /field

Re: Validation Framework Manual

2005-07-14 Thread Wendy Smoak
From: Rafael Taboada [EMAIL PROTECTED] java.lang.NoClassDefFoundError: antlr/TokenStream That just looks like you're missing antlr.jar from the classpath. Is it in WEB-INF/lib? -- Wendy Smoak - To unsubscribe, e-mail:

Re: Validation Framework Manual

2005-07-14 Thread Rafael Taboada
Yeah, that was the problem... Do u know a tutorial about how to fill my validation.xml? I want to know what i have to put in each tag. -- Rafael Taboada Software Engineer Cell : +511-97753290 No creo en el destino pues no me gusta tener la idea de controlar mi vida

Re: Validation Framework Manual

2005-07-14 Thread Dave Newton
Rafael Taboada wrote: Yeah, that was the problem... Do u know a tutorial about how to fill my validation.xml? I want to know what i have to put in each tag. Are the docs at http://struts.apache.org/userGuide/dev_validator.html not satisfactory? Dave

Re: [OT] Java as a Daemon

2005-07-14 Thread Richard Reyes
Hi Guys, Thanks for all the input. I'll suggest the oracle dbms_job approach seems reasonable. My last option would be to create a cron job. Richard On 7/14/05, Martin Gainty [EMAIL PROTECTED] wrote: Jesse For specific packages I would look at dbms_streams_tablespace_adm I would look at

Validator throws exception

2005-07-14 Thread Michael Jouravlev
I am trying to validate from properties. First I thought that error was caused because I use nested properties (can I ?) But now I have only one property, not nested, and I get this: Jul 14, 2005 7:02:57 PM org.apache.struts.validator.ValidatorForm validate SEVERE:

Re: [OT] Java as a Daemon

2005-07-14 Thread Richard Reyes
Hi Duncan, Will there be a way that the source DB access the target directly? Because right now these DB's are accessed via web services Im thinking if the source DB can directly connect to the target DB. Also these procedural package, can they send notification emails? On 7/14/05, Duncan Mills

Re: Validation Framework Manual

2005-07-14 Thread James Mitchell
You can always just memorize the DTD :) On the other hand, you could pick up a good text editor with autocompletion that supports DTD/XML Schema. Even after Eclipse WTP M4 shipped, I prefer XML Buddy, so much so that I went ahead and purchased the Pro license a few months back. -- James

Re: Validator throws exception

2005-07-14 Thread James Mitchell
Yes, you can use nested properties the same as anywhere else. I see a stack trace below, but what is the actual error you got? -- James Mitchell Software Engineer / Open Source Evangelist Consulting / Mentoring / Freelance EdgeTech, Inc. http://www.edgetechservices.net/ 678.910.8017 AIM:

Releasing 1.3 [was: Re: Struts 1.2 v 1.3]

2005-07-14 Thread James Mitchell
I think it is high time we get something out there for 1.3, even if it never makes it past beta, at least we are moving. I'm about to head out on a working-vacation, and while I'm gone, I'll try to get the release plan put together. Does anyone have any time they'd like to donate in a week

[OT] Can a simple java app access web services

2005-07-14 Thread Richard Reyes
Hi Guys, Can a simple java app access a web service? Or do I need to install axis? Thanks Richard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: struts and multi-level access - please give me your ideas how to restructure..

2005-07-14 Thread Aleksandar Matijaca
That is a very interesting tag, I have never used it - thanks Laurie!! Cheers, Alex. On 7/14/05, Laurie Harper [EMAIL PROTECTED] wrote: Not sure what a .def file is, but I think you're on the right track with combining them and using conditional logic within the JSP to control what's

Re: [OT] Can a simple java app access web services

2005-07-14 Thread Frank W. Zammetti
Hi Richard, Axis is the server-side of the WS equation (although maybe it can perform some client duties, I'm not certain), so more than likely it wouldn't come into play anyway. The simple answer is yes, a simple Java app can access a web service. There are classes that will specifically

Re: Releasing 1.3 [was: Re: Struts 1.2 v 1.3]

2005-07-14 Thread Michael Jouravlev
(imitating Donkey) Me, me, pick me! ;-) I am currently in the process of rewriting Mail Reader with Struts Dialogs. You would not believe how nicer it gets ;) Michael. On 7/14/05, James Mitchell [EMAIL PROTECTED] wrote: I think it is high time we get something out there for 1.3, even if it

Re: Validator throws exception

2005-07-14 Thread Michael Jouravlev
This is it, this is all I got. ValidationAction.validate() returns null, no errors. I call validate() manually from action class, is this OK? On 7/14/05, James Mitchell [EMAIL PROTECTED] wrote: Yes, you can use nested properties the same as anywhere else. I see a stack trace below, but what is

Re: struts and multi-level access - please give me your ideas how to restructure..

2005-07-14 Thread Wendy Smoak
From: Aleksandar Matijaca [EMAIL PROTECTED] I have an application that I am working on that requires two different role levels (administrator and user). The administrator, will have some extra links visible to them. I want to use only one struts-config file. Have you looked at Struts Menu?

Re: Releasing 1.3 [was: Re: Struts 1.2 v 1.3]

2005-07-14 Thread Frank W. Zammetti
James, are there any specific tickets that are a direct impediment to a 1.3 release, as opposed to those things that could be dealt with post-release? Identifying those might help focus effort, especially if there are non-commiters that might like to help but aren't sure exactly how best to

[SOLVED] Validator throws exception

2005-07-14 Thread Michael Jouravlev
On 7/14/05, James Mitchell [EMAIL PROTECTED] wrote: I see a stack trace below, but what is the actual error you got? Hmm, it works on another machine, with different combination of struts/common libs. So, seems just a lib mixup. Michael.

Cancel button and security

2005-07-14 Thread Przemyslaw Lupinski
Hello, Many developers use tag html:cancel/ to perform action without validation (and for other reasons). It's usefull but it can be danger because of security. If we don't serve cancel button in every Action or BaseAction then it's possible to perform some actions without validation. How? It's