Abstract Bean Processing

2005-01-27 Thread Sylvain ~
Hi, I wanted to create a Form Bean to represent a list of StorableObjects with a filter bean nested inside in order to be able to handle generically list display of Objects. Here is my ListBean code : public class ListBean extends ActionForm { private ArrayList l; private StorableObject

Re: PlugIn and the base URL

2005-01-27 Thread Dakota Jack
On Thu, 27 Jan 2005 22:46:20 -0800 (PST), Martin Wegner <[EMAIL PROTECTED]> wrote: > Jack, > > Your solution would work. But I don't have the ability to deploy a > foreign machine to do the echo. > > Someone just wrote in about a Struts filter on "/axis/" which may actually > do the trick. I n

Re: PlugIn and the base URL

2005-01-27 Thread Dakota Jack
Martin, Please note that in the message classes in cos there is an input stream returned with which you read the response. The host computer which your client's plugin calls sends a response which has all the information needed and the PlugIn reads the response. I have the "host computer" use s

Fwd: PlugIn and the base URL

2005-01-27 Thread Dakota Jack
-- Forwarded message -- From: Dakota Jack <[EMAIL PROTECTED]> Date: Thu, 27 Jan 2005 22:24:00 -0800 Subject: Re: PlugIn and the base URL To: Martin Wegner <[EMAIL PROTECTED]> On Thu, 27 Jan 2005 21:25:11 -0800 (PST), Martin Wegner <[EMAIL PROTECTED]> wrote: > Jack, > > How do you

Re: PlugIn and the base URL

2005-01-27 Thread Kishore Senji
On Thu, 27 Jan 2005 21:17:07 -0800 (PST), Martin Wegner <[EMAIL PROTECTED]> wrote: > David, > > Also, as I said early the Axis architecture is such that it does not > provide any of the information related to the HTTP layer beneath SOAP. > The only think you know is that your dispatcher gets calle

Struts, XHTML, DOCTYPES, and EL (several newbie questions)

2005-01-27 Thread Graham Reeds
Okay I am new to struts (around a week) and having made a couple of little test apps am moving towards validation and w3c compliance. I am using 1.2.4 for what it is worth in Netbeans 4.0. There appears two methods of enabling html compliance with struts. The first is which adds the xmlns info

RE: PlugIn and the base URL

2005-01-27 Thread Martin Wegner
David, Also, as I said early the Axis architecture is such that it does not provide any of the information related to the HTTP layer beneath SOAP. The only think you know is that your dispatcher gets called. So my problem may be considered a limitation in Axis. --Marty > Martin, since you see

RE: PlugIn and the base URL

2005-01-27 Thread Martin Wegner
David, As I said in a previous message my Struts app has an Axis-based SOAP service. The business logic behind the WS needs to know a/the URL that can be used to access the WS. This is a requirement of the WS. This part can't be changed. It is part of the protocol of the answer sent back by th

Re: WEB-INF and non-JSP files

2005-01-27 Thread Martin Wegner
Will, That sounds right. Thanks for the summation. --Marty --- Will Stranathan <[EMAIL PROTECTED]> wrote: > If I remember the same thread, I think the thrust of the argument was > that JSP belongs under WEB-INF because it's TEMPLATE artifacts, NOT > web artifacts. However, images and javas

Re: Process tiles definition from a different module

2005-01-27 Thread Kishore Senji
On Thu, 27 Jan 2005 13:54:26 +0100, Diego Manilla Suárez <[EMAIL PROTECTED]> wrote: > Hi! I need to process a tiles definition that is located in a different > module. I have this ActionForward declared on the module I want to invoke: > > > > And on the main module, I have this code (in an actio

Re: WEB-INF and non-JSP files

2005-01-27 Thread Dakota Jack
On Thu, 27 Jan 2005 18:51:35 -0600, Will Stranathan <[EMAIL PROTECTED]> wrote: > If I remember the same thread, I think the thrust of the argument was > that JSP belongs under WEB-INF because it's TEMPLATE artifacts, NOT > web artifacts. However, images and javascripts, unless you have a > custom

RE: [OT] a java question

2005-01-27 Thread Sunil Sahu
Title: RE: [OT] a java question No Problem ashish, you can do one thing, don't initialize it, only declare the variable as final and assign the value at run time but you can assign Only one time means subsequent attempts to assign a value to a Final variable result in a compiler error. Simp

RE: error and warning messages

2005-01-27 Thread Sunil Sahu
Title: RE: error and warning messages Yes andy, you can define as a validate=true in your struts-config.xml mapping. Cheers Sunil -Original Message- From: Andy Richards [mailto:[EMAIL PROTECTED]] Sent: Monday, January 24, 2005 8:43 PM To: Jim Barrows Cc: Struts Users Mailing List

Re: html:form action getting altered after validation

2005-01-27 Thread Stephen Souness
Did a little more digging around and found a bugzilla entry - fixed in 1.2.6 (beta) http://issues.apache.org/bugzilla/show_bug.cgi?id=32283 -- Stephen Kishore Senji wrote: On Fri, 28 Jan 2005 13:22:32 +1300, Stephen Souness <[EMAIL PROTECTED]> wrote: Hi all, I have a fairly simple form like so:

Re: html:form action getting altered after validation

2005-01-27 Thread Kishore Senji
On Fri, 28 Jan 2005 13:22:32 +1300, Stephen Souness <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a fairly simple form like so: > > > > > > When the input fails validation and the user is sent back to the form > the action is changed to "//someProcess.do" - is this familiar to > anyone?

Re: Welcome file problem

2005-01-27 Thread Erik Weber
Kishore, thanks a lot for your help. Interestingly, the problem was only that I had "/foo/index.html" instead of "foo/index.html" as my welcome file entry. After I removed the beginning forward slash as you suggested, it worked (without the need for the dummy file -- I did not encounter the 404)

Re: Welcome file problem

2005-01-27 Thread Kishore Senji
On Thu, 27 Jan 2005 18:54:26 -0500, Erik Weber <[EMAIL PROTECTED]> wrote: > I am restricting *.jsp in web.xml. ActionServlet is mapped to /foo/*. > > I would like to use a welcome file so that a URL of http://host:port/app > will resolve to the index page. However, the index page is a JSP, so > it

Re: WEB-INF and non-JSP files

2005-01-27 Thread Will Stranathan
If I remember the same thread, I think the thrust of the argument was that JSP belongs under WEB-INF because it's TEMPLATE artifacts, NOT web artifacts. However, images and javascripts, unless you have a custom servlet or Struts action to retrieve those artifacts, would NOT belong under WEB-IN

html:form action getting altered after validation

2005-01-27 Thread Stephen Souness
Hi all, I have a fairly simple form like so: When the input fails validation and the user is sent back to the form the action is changed to "//someProcess.do" - is this familiar to anyone? What am I missing? This is with struts 1.2.4 -- Stephen -

Re: PlugIn and the base URL

2005-01-27 Thread Dakota Jack
I think it is important to remember that the URL is a "detail" that is wholly independent of the application or the machine. This is an external device for the benefit of human beings whom do not do as well with numbers as with letters in the memonic department. Therefore, I don't think that this

Re: PlugIn and the base URL

2005-01-27 Thread Dakota Jack
David, I do not mean to speak for Martin, but my guess is that he might want to send SOAP prior to a request. He might even have to send and to receive SOAP prior to a request.I know that this is why I often need to do this sort of thing. Jack On Thu, 27 Jan 2005 18:50:08 -0500, David G. Fried

Re: Problem using logic:equal and logic:notEqual

2005-01-27 Thread Norris Shelton
I was missing name. I was a little leary, because the form name would depend on which form I was included on at the time. I changed the file to a tag file and sent the form name as a parameter. This worked perfectly: Thx for your help. --- Wendy Smoak <[EMAIL PROTECTED]> wrote

Re: Problem using logic:equal and logic:notEqual

2005-01-27 Thread Wendy Smoak
From: "Norris Shelton" <[EMAIL PROTECTED]> > I'm trying to determine which block of HTML to output. This is > on a page that will be included by many different forms. > > > > > > > > > javax.servlet.jsp.JspException: No selector attribute > (cookie/header/name/parameter) was specif

Welcome file problem

2005-01-27 Thread Erik Weber
I am restricting *.jsp in web.xml. ActionServlet is mapped to /foo/*. I would like to use a welcome file so that a URL of http://host:port/app will resolve to the index page. However, the index page is a JSP, so it's not accessible directly. So basically what I need is a "welcome file" that actuall

RE: PlugIn and the base URL

2005-01-27 Thread David G. Friedman
>>Martin Wegner wrote: >>In have a Struts PlugIn that needs to determine the >> URL for the containing web application >> (http://localhost:8080/BlahBlahBlah/). Martin, since you seem firm on this issue, can we/I ask WHY you need this information in your webapp during initialization? What are you

Problem using logic:equal and logic:notEqual

2005-01-27 Thread Norris Shelton
I'm trying to determine which block of HTML to output. This is on a page that will be included by many different forms. Anybody have a suggestion? Here is the beginning of the exception: javax.servlet.jsp.JspException: No selector attribute (cookie/header/name/parameter) was

RE: [Very OT] Hypothetical challege

2005-01-27 Thread Chaikin, Yaakov Y.
Wow! And I really was just making this up... Although you have a valid point about the session timing out, it's not 100% in context. Here is what I mean... Sessions time out because it is assumed after a certain amount of time that the client will not come back. Persisting your temp session data

How to format ActionMessages

2005-01-27 Thread Thiago Souza
Hi ppl, Is there any way to format the messages in ActionMessages? Since there’s only a “” to get it, is there any way to make a more complex message formatting? I mean, not only using css. Cya! ··· Thiago Pinheiro Cortex Intelligence Cel +55

Re: Popup window submitting to action

2005-01-27 Thread bala pamarti
Brandon, I was looking for the same functionality in my application. Can you please post your code/sample code. TIA, Bala --- --- Brandon Mercer <[EMAIL PROTECTED]> wrote: > Hello, > I've got a slighty off topic question for the group. > I've got a pop-up > window that I use in my applicatio

Re: errorStyleClass and lists

2005-01-27 Thread Niall Pemberton
I've been looking into the BeanUtils isssue, and I've posted details on that bug - see Bug 28358 http://issues.apache.org/bugzilla/show_bug.cgi?id=28358 To summarise, there is a problem in how different versions of the JDK work with indexed properties when you use java.util.List for your ind

Re: Dynamic parameter within

2005-01-27 Thread Wendy Smoak
From: "Susan Bradeen" <[EMAIL PROTECTED]> > > > > name="requestform" property="udf2Map" />');"> > > With the link parameter hard coded as "parent=XXX", this works > perfectly. However, I need to pass the current value of "userField1" > as the parent value to the promptUserField act

Re: [Very OT] Hypothetical challege

2005-01-27 Thread Radu Badita
Hi, there It happens that I'm having this same design problem today :-) (pretty interesting how things matched, huh?!) I totally agree with Wiebe here - his is the only reasonable work-around that i could imagine to this problem. I also thought about serializing the Handle, but i think it won't

Re: Dynamic parameter within

2005-01-27 Thread Erik Weber
Since a JavaScript function can return any type of value, including a String, why can't you just write a function that returns the value of userField1? Perhaps within the a tag, you could call a function that generates the entire href, using concatenation? Sorry if I'm not understanding the pro

Re: How to Forward out of struts to a URL from an Action

2005-01-27 Thread fzlists
Configure an Action Mapping like so: http://www.omnytex.com"; redirect="true" /> That's all. If you need it to be a little more dynamic, like I notice you said it was on the same server, if it might be moved from server to server, than get a reference to the forward above in your Action,

Re: How to Forward out of struts to a URL from an Action

2005-01-27 Thread Wendy Smoak
From: "Michael Oliver" <[EMAIL PROTECTED]> > Thanks except in your example your forward isn't "outside" it is to an > action in that struts application, I want to go to a URL outside the > application, elsewhere on the same server but not to an action or jsp > page. Do the redirect yourself, and r

Dynamic parameter within

2005-01-27 Thread Susan Bradeen
In a form on a JSP I have input text boxes, one with a link beside it that opens a field value selector window. ');"> With the link parameter hard coded as "parent=XXX", this works perfectly. However, I need to pass the current value of "userField1" as the parent value to the promptUserFie

RE: How to Forward out of struts to a URL from an Action

2005-01-27 Thread Michael Oliver
Thanks except in your example your forward isn't "outside" it is to an action in that struts application, I want to go to a URL outside the application, elsewhere on the same server but not to an action or jsp page. I tried Path="/myhtml/somehtml.html" and it threw a Configuration Frozen excepti

Re: How to Forward out of struts to a URL from an Action

2005-01-27 Thread listed
Hi Michael, have a look in your struts-config.xml. Greets Mark Michael Oliver wrote: I would like to forward the user out of struts to a URL after an action executes without additional user input, what is the best way in Struts? I can use a page that has a redirect javascript in it,

RE: How to Forward out of struts to a URL from an Action

2005-01-27 Thread Benedict, Paul C
Your action should choose a forward with its redirect attribute set to true: Thanks, Paul -Original Message- From: Michael Oliver [mailto:[EMAIL PROTECTED] Sent: Thursday, January 27, 2005 2:54 PM To: struts-user@jakarta.apache.org Subject: How to Forward out of struts to a URL from an

Re: [OT] Are you using Tapestry?

2005-01-27 Thread Jim Barrows
On Thu, 27 Jan 2005 20:38:44 +0100, PA <[EMAIL PROTECTED]> wrote: > > On Jan 27, 2005, at 20:29, Jim Barrows wrote: > > > Record/Object are sort of the same. > > Hmmm... no. A database row is a database row. Period. > > The rest is algebra. A record is not necessarily a single database row fro

How to Forward out of struts to a URL from an Action

2005-01-27 Thread Michael Oliver
I would like to forward the user out of struts to a URL after an action executes without additional user input, what is the best way in Struts? I can use a page that has a redirect javascript in it, but is there a facility in Struts to do this? Michael Oliver CTO Alarius Systems LLC 3325 N.

Re:

2005-01-27 Thread Wendy Smoak
From: "Seaman, Sloan" <[EMAIL PROTECTED]> > I'm using struts-html-el.tld and the values that I want to have selected are > available as a comma seperated list in ${treatments}. Did you solve this one? I'm not sure if there's an enhancement lurking in here, or not. It seems to me that if is

Re: [OT] Are you using Tapestry?

2005-01-27 Thread PA
On Jan 27, 2005, at 20:29, Jim Barrows wrote: Record/Object are sort of the same. Hmmm... no. A database row is a database row. Period. The rest is algebra. An object on the other hand is anything your OO implementation language of choice allow you to express. Certainly "Create Read Update Delete

Re: [OT] Are you using Tapestry?

2005-01-27 Thread Jim Barrows
On Thu, 27 Jan 2005 19:38:44 +0100, PA <[EMAIL PROTECTED]> wrote: > > On Jan 27, 2005, at 19:20, Jim Barrows wrote: > > > I'm speaking of frameworks that do a lot of the work for you, which > > Rails seems to. > > Hmmm... ok... so when you say that, and under some circumstances, "CRUD > direct m

errorStyleClass and lists

2005-01-27 Thread BLOOMFIELD, TOM F [AG-Contractor/1000]
Per suggestion, I'm posting a follow up to see if anyone on the list has a solution/suggestions to the "issue/enhancement" below: http://issues.apache.org/bugzilla/show_bug.cgi?id=33258 Summary: To get around the problem with BeanUtils, I have an actionform with the following list structure:

RE: Struts Security

2005-01-27 Thread Benedict, Paul C
Also see this article: http://www.javaworld.com/javaworld/jw-07-2004/jw-0726-security.html J2EE security: Container versus custom Choose the appropriate type of security for your application Summary This article covers the factors to consider when choosing between custom security and J2EE standa

Re: [OT] Are you using Tapestry?

2005-01-27 Thread PA
On Jan 27, 2005, at 19:20, Jim Barrows wrote: I'm speaking of frameworks that do a lot of the work for you, which Rails seems to. Hmmm... ok... so when you say that, and under some circumstances, "CRUD direct mapping doesn't work" you barely implies that direct mapping of database record to what

Re: Another ODBC OT Question

2005-01-27 Thread Brandon Mercer
Erik Weber wrote: Sorry for all those local disk links and other junk. Cut and paste. Thanks everyone this article http://dev.mysql.com/tech-resources/articles/autoincrement-with-connectorj.html was the ticket for me. We all know how it gets when you're writing code all day long and you start t

Re: Another ODBC OT Question

2005-01-27 Thread Erik Weber
Sorry for all those local disk links and other junk. Cut and paste. Erik Erik Weber wrote: You use MySQL's AUTO_INCREMENT function (then omit the value during an insert and MySQL will insert it for you) and related syntax, which is all covered in the manual:

Re: Another ODBC OT Question

2005-01-27 Thread Erik Weber
You use MySQL's AUTO_INCREMENT function (then omit the value during an insert and MySQL will insert it for you) and related syntax, which is all covered in the manual: 21.2.12.3 How to Get the Unique ID for the Last Inserted Row If you insert a record

RE: [OT] Re: Another ODBC OT Question

2005-01-27 Thread Barnett, Brian W.
I'm familiar with SQL Server and Oracle, but not MySQL. I suggest you follow DGraham's search results, or google for MySQL, auto increment, primary keys. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 27, 2005 11:23 AM To: Struts Users Mailing

Re: Losing changed form value

2005-01-27 Thread Kishore Senji
On Thu, 27 Jan 2005 11:40:45 -0500, Christopher Loschen <[EMAIL PROTECTED]> wrote: > Thanks for your advice! > > I've checked the ActionMappings and they all mention the request scope: > > type="com.xxx.users.actions.GetCurrentUserProfileAction" scope="request" > name="userProfileForm" validate=

[OT] Re: Another ODBC OT Question

2005-01-27 Thread DGraham
I googled this: http://www.google.com/search?sourceid=navclient&ie=UTF-8&rls=GGLD,GGLD:2004-11,GGLD:en&q=jdbc+mysql+auto%5Fincrement and found this: http://dev.mysql.com/tech-resources/articles/autoincrement-with-connectorj.html It was too easy, so it's probably the wrong thing. Brandon Merc

Re: [OT] Are you using Tapestry?

2005-01-27 Thread Jim Barrows
On Thu, 27 Jan 2005 19:03:21 +0100, PA <[EMAIL PROTECTED]> wrote: > > On Jan 27, 2005, at 18:50, Jim Barrows wrote: > > > http://www.lightbody.net/~plightbo/archives/000144.html > > "RoR is simply a RESTful CRUD framework" sounds like very high praise > to my uninformed hears :) > > > If you're

RE: Popup window submitting to action

2005-01-27 Thread David Suarez
FYI.. I had a need for something similar to this in the past and later the same popup page ended up needing to allow handling of user errors/validation errors. What I ended up doing was submitting within the popup instead of directly to the parent as below. This allows you to be able to handle v

Re: Another ODBC OT Question

2005-01-27 Thread Brandon Mercer
Barnett, Brian W. wrote: What rdbms are you using? Sorry, that would have been helpful huh! lol MySQL Connector/J (obviously) 3.0.x. I think I know how to get the last id... but do I create another insert the same way I did the first? Thanks, Brandon

RE: Another ODBC OT Question

2005-01-27 Thread Barnett, Brian W.
What rdbms are you using? -Original Message- From: Brandon Mercer [mailto:[EMAIL PROTECTED] Sent: Thursday, January 27, 2005 10:56 AM To: Struts Users Mailing List Subject: Another ODBC OT Question Hello, Ok, I've got another off topic question :-P. That's two in a day! Three strikes

Re: [OT] Are you using Tapestry?

2005-01-27 Thread PA
On Jan 27, 2005, at 18:50, Jim Barrows wrote: http://www.lightbody.net/~plightbo/archives/000144.html "RoR is simply a RESTful CRUD framework" sounds like very high praise to my uninformed hears :) If you're trying to do anything beyond CRUD direct mapping doesn't work. Hmmm... care to elaborate

Another ODBC OT Question

2005-01-27 Thread Brandon Mercer
Hello, Ok, I've got another off topic question :-P. That's two in a day! Three strikes and I'm out. lol Anyhow, I am inserting information into a database and I need to get the auto_increment value from my first insert and use the value it returns to create an entry in another table. Does

Re: Struts and Sun Application Server 8

2005-01-27 Thread Jim Barrows
On Thu, 27 Jan 2005 11:44:16 -0600, Brent Vaughn <[EMAIL PROTECTED]> wrote: > Why is it when I go to deploy my Struts application as a WAR to the Sun > Application Server that it writes over my web.xml file with its own version > of the web.xml file? Theirs leaves out all the necessary Struts compo

Re: [OT] Are you using Tapestry?

2005-01-27 Thread Jim Barrows
On Thu, 27 Jan 2005 12:40:51 -0500, Kris Schneider <[EMAIL PROTECTED]> wrote: > Even more bizarre that it's a sibling Apache project. Along that same line, I > thought this was just hilarious: I'm taking this in a friendly competitive way rather then as animosity. > > http://www.lightbody.net/~p

Re: Parse XML Files

2005-01-27 Thread James Mitchell
The reason I asked is if it is static and predictable, check out the DigestingPlugin. I've used it and it works well... http://struts.apache.org/api/org/apache/struts/plugins/DigestingPlugIn.html -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmit

Re: [OT] Are you using Tapestry?

2005-01-27 Thread Kris Schneider
Even more bizarre that it's a sibling Apache project. Along that same line, I thought this was just hilarious: http://www.lightbody.net/~plightbo/archives/000144.html Because, and I'll risk a generalization here, the WebWork devs have always been pretty public about their loathing of Struts. Now

RE: Parse XML Files

2005-01-27 Thread Barnett, Brian W.
JDOM is a nice open-source XML manipulation library. http://www.jdom.org/ -Original Message- From: Nelson [mailto:[EMAIL PROTECTED] Sent: Thursday, January 27, 2005 10:24 AM To: user@struts.apache.org Subject: Parse XML Files Hi Guys, I'm new to struts and JSP and need to parse and com

Re: Parse XML Files

2005-01-27 Thread Jim Barrows
On Thu, 27 Jan 2005 17:23:55 + (UTC), Nelson <[EMAIL PROTECTED]> wrote: > > Hi Guys, > > I'm new to struts and JSP and need to parse and compare XML files. I > know you can do this with JSTL tags, but wanting to stick to the > struts framework, I want to seperate my business method from my JS

RE: Struts and Sun Application Server 8

2005-01-27 Thread Brent Vaughn
Why is it when I go to deploy my Struts application as a WAR to the Sun Application Server that it writes over my web.xml file with its own version of the web.xml file? Theirs leaves out all the necessary Struts components in the web.xml file and you can't delete their web.xml file and replace it w

RE: Struts and Sun Application Server 8

2005-01-27 Thread Brent Vaughn
Why is it when I go to deploy my Struts application as a WAR to the Sun Application Server that it writes over my web.xml file with its own version of the web.xml file? Theirs leaves out all the necessary Struts components in the web.xml file and you can't delete their web.xml file and replace it w

Re: Parse XML Files

2005-01-27 Thread James Mitchell
What kind of xml is it? A static config type file? One that gets uploaded by the user? -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Nelson" <[EMAIL PROTECTED]> To: Sent: Thursday, January 27, 2005 1

Re: Are you using Tapestry?

2005-01-27 Thread Jim Barrows
On Thu, 27 Jan 2005 12:27:57 -0500, James Mitchell <[EMAIL PROTECTED]> wrote: > http://howardlewisship.com/blog/2005/01/safety-first.html > > And I didn't even realize there was animositywhat a fool I've been :P Tha'ts too funny. The counter to that is: Friends who don't want friends to comp

Parse XML Files

2005-01-27 Thread Nelson
Hi Guys, I'm new to struts and JSP and need to parse and compare XML files. I know you can do this with JSTL tags, but wanting to stick to the struts framework, I want to seperate my business method from my JSPs. Is their a standard way of doing this in struts, maybe using JAXP, or should I s

Re: [OT] java logging in JApplet

2005-01-27 Thread Jim Barrows
On Thu, 27 Jan 2005 09:25:18 -0800 (PST), Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > Hi > I want to use java logging API in applet, i want to > use ConsoleHandler to get all the logs in my java > console, also i want to have a JDialog where i will > display various logging level options and then

Are you using Tapestry?

2005-01-27 Thread James Mitchell
http://howardlewisship.com/blog/2005/01/safety-first.html And I didn't even realize there was animositywhat a fool I've been :P -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx

[OT] java logging in JApplet

2005-01-27 Thread Ashish Kulkarni
Hi I want to use java logging API in applet, i want to use ConsoleHandler to get all the logs in my java console, also i want to have a JDialog where i will display various logging level options and then set the log level from the selected option. I dont want to use a properties file to set Log lev

Re: Struts and Sun Application Server 8

2005-01-27 Thread Jim Barrows
On Thu, 27 Jan 2005 11:17:15 -0600, Brent Vaughn <[EMAIL PROTECTED]> wrote: > Are Struts and the Sun Application Server 8 compliant with one another? > This maybe a dumb question. If so, sorry in advance. If Sun is a JSP and Servlet spec compliant container, yes. I think, and don't quote me, th

Re: Struts Security

2005-01-27 Thread Jim Barrows
On Thu, 27 Jan 2005 11:02:35 -0600, Joe Germuska <[EMAIL PROTECTED]> wrote: > At 9:46 AM -0600 1/27/05, Jerry Jalenak wrote: > >Joe - > > > >Your comment > > > >My main issue with Container Based auth is its inability to support > >user-initiated login -- it only works by intercepting a request for

Struts list and spam

2005-01-27 Thread Chaikin, Yaakov Y.
Dear all, Does anyone know why full email addresses are showing on the List archive? Isn't this just asking it for it?! It's just a bit disconcerting that any spam crawler can pick up anyone's email address that ever posted to the list. Is there a way to fix this? Does anyone know who needs to b

Struts and Sun Application Server 8

2005-01-27 Thread Brent Vaughn
Are Struts and the Sun Application Server 8 compliant with one another? This maybe a dumb question. If so, sorry in advance.

Struts and Sun Application Server 8

2005-01-27 Thread Brent Vaughn
Are Struts and the Sun Application Server 8 compliant with one another? This maybe a dumb question. If so, sorry in advance.

RE: Struts Security

2005-01-27 Thread Joe Germuska
At 9:46 AM -0600 1/27/05, Jerry Jalenak wrote: Joe - Your comment My main issue with Container Based auth is its inability to support user-initiated login -- it only works by intercepting a request for a normal resource and then challenging for login. struck a chord with me - it's one of the reason

Re: how to integrate struts project with hibernate?

2005-01-27 Thread Duncan Mills
Metin, I know someone who has integrated Hibernate with the ADFm DataBinding layer in JDeveloper. So you can use Drag and drop databinding onto Pages and Struts Actions, in the same way you can bind to EJB, TopLink, ADF Business Components or WebServices. If you're interested I'll send you what

Re: Losing changed form value

2005-01-27 Thread Christopher Loschen
Thanks for your advice! I've checked the ActionMappings and they all mention the request scope: ... The userProfileForm maps to: and that class looks pretty normal: it extends ValidatorForm. The GetCurrentUserProfile class extends xxxAction, which e

Re: Popup window submitting to action

2005-01-27 Thread fzlists
reload()... cool, didn't see that in my reference book. Everyone learns something new every day! :) (sure seemed like something that would be there, glad to know I just missed it) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Thu, Jan

Re: Popup window submitting to action

2005-01-27 Thread fzlists
Well, you could either (a) create a form with an action of billpay.do and submit it, or (b) you could do parent.location="billpay.do". That should essentially do a refresh. I'm not aware of any refresh method, unless you are OK with IE-only code... IE has a number of "commands", as they are ca

Re: Popup window submitting to action

2005-01-27 Thread Brandon Mercer
Cedric Levieux wrote: Here what you want in the page retrieved after the submit action and reached via this action :








Regards,

Cedric

- Original Message - 
From: <[EMAIL PROTECTED]>
To: 
Sent: Thursday, January 27, 2005 4:34 PM
Su

Re: Struts Security

2005-01-27 Thread Joe Germuska
At 10:05 AM + 1/27/05, Tim Christopher wrote: Hi, I've never used EJB so have no idea what this means, can someone explain please? "When SecurityFilter is used, a user's Principal will not automatically be propagated to EJB calls. If this is a requirement for your application, you may not be

Re: Popup window submitting to action

2005-01-27 Thread fzlists
Assume you have a form in the parent window that does your refresh, whether it's visible to the user or not (i.e., has nothing but hidden fields). Simply do: parent.theForm.submit(); For that line you weren't sure about. Should do the trick. -- Frank W. Zammetti Founder and Chief Software Ar

custom validator stopped working

2005-01-27 Thread Mark Shifman
I have a very simple custom validator that checks if a select list has 1 or more selections. when I upgraded to struts 1.2.6 it stopped working. I have done all the things in http://wiki.apache.org/struts/StrutsUpgradeNotes11to124 ie change the validator dtd I also tried using the most recent

Re: Popup window submitting to action

2005-01-27 Thread Brandon Mercer
[EMAIL PROTECTED] wrote: There's probably a couple of ways to do this, here's one... I think you can handle the submitting on the popup and closing the window no problem, but before you do the close, call a Javascript function in the parent of the popup that will submit a form to do the refresh o

Re: PlugIn and the base URL

2005-01-27 Thread Dakota Jack
You cannot count on this. You need to go outside to an external machine and ask it who you are. You might, for example, be on an intranet and only have a local address from your machines point of view. Jack On Thu, 27 Jan 2005 08:11:54 -0600, David Suarez <[EMAIL PROTECTED]> wrote: > The light

Re: Popup window submitting to action

2005-01-27 Thread Renaud . Tarnec
Hello Brandon, You could do the following: after submitting the form in the pop up window, redirect to a page that: 1/ Refreshes its parent with javascript (opener), 2/ closes itself (with javascript, again) You can fire the 2 events in the onload event of the body. HTH Renaud PS: This is in

Re: Popup window submitting to action

2005-01-27 Thread fzlists
There's probably a couple of ways to do this, here's one... I think you can handle the submitting on the popup and closing the window no problem, but before you do the close, call a Javascript function in the parent of the popup that will submit a form to do the refresh of the main page. That'

RE: [Very OT] Hypothetical challege

2005-01-27 Thread Chaikin, Yaakov Y.
Yes, persisting the session data in a database is the obvious answer. No question that I agree with that. However, I was trying to find a solution that would get a bit "EJB-happy". I guess, I am not really sure myself what I am asking... I was just trying to stretch the use of Stateful EJBs and it

Popup window submitting to action

2005-01-27 Thread Brandon Mercer
Hello, I've got a slighty off topic question for the group. I've got a pop-up window that I use in my application where my client can create a new contact. I wish to have the information write to the database, and close the pop-up window, and then refresh the page it came from. I know this c

RE: PlugIn and the base URL

2005-01-27 Thread David Suarez
Forgot to add the disclaimers..: 1) Craig's point is correct. Something like the below kind of defeats any load balancing type setup that may exist on a more generic host name 2) In my mind, web services are great for the cross-platform/external service. But if the only one that knows the loca

RE: PlugIn and the base URL

2005-01-27 Thread David Suarez
The light came on when "the ip address is sufficient" came up. I had context paths and ports in my head. If that's all you need, look at the "INetAddress" classes which have methods to get a host name and ip address for the "localhost". Regards...djsuarez -Original Message- From: Mart

  1   2   >