Re: Issue with SSLExt and Tiles

2003-09-25 Thread Max Cooper
I don't think it is valid JSP syntax to nest tags like that. I have tried stuff like that in the past and concluded that you cannot use one JSP custom tag to render an attribute value for another JSP custom tag. This might be an alternative: tiles:useAttribute id=sectionURL name=section_url/

Re: forward question

2003-09-25 Thread Jan Van Stalle
Set up security in your web.xml; when the server encounters a request for a protected url and there is no session, it will redirect the request to a form defined in your security and then display the requested url. Your form should post to j_security_check with inputs name j_username and

Re: Issue with SSLExt and Tiles

2003-09-25 Thread Mick Knutson
Works great. Thank you very much... --- Thanks Mick Knutson http://www.baselogic.com +001(805) 563-0666 Office +001 (708) 570-2772 Fax --- - Original Message - From: Max Cooper [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 11:28

Struts-menu or not, dynamic menu from bean.

2003-09-25 Thread Johan Wasserman - CPX Mngd Services
Is there a menu builder, like struts-menu, available that will build a tree menu (and other menu types) from a bean? Anyone got struts-menu converted to get its data from a bean? Thanks in advance, Johan

How to include part of a page dynamically?

2003-09-25 Thread Morten Andersen
I'm developing a site where the pages consists of a number of different parts: top, left, right, MAIN, footer, buttom I want to dynamically include the MAIN part, so that I include a page, that I generate in the action that forwards to the page. For instance I would like to say: In

Re: How to include part of a page dynamically?

2003-09-25 Thread Mick Knutson
This is easily done with Tiles. --- Thanks Mick Knutson http://www.baselogic.com +001(805) 563-0666 Office +001 (708) 570-2772 Fax --- - Original Message - From: Morten Andersen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 11:57 PM Subject: How to include

RE: How to include part of a page dynamically?

2003-09-25 Thread Andrew Hill
+1 While Ive not had opportunity to use tiles myself but Ive only ever heard good things about it. Id suggest its well worth the effort learning as it appears to be far superior to other jsp templating methodologies. -Original Message- From: Mick Knutson [mailto:[EMAIL PROTECTED] Sent:

Re: Different Workflow for Business Functions

2003-09-25 Thread Jan Van Stalle
Günter, I don't know if there is any standard support for navigation bars as you describe. I made a similar functionality; As you mention yourself (business function context) navigation is part of the business logic; so I made a navigation object which is maintained in my action classes; the

Re: [Poll] action mappings

2003-09-25 Thread Timo Neumann
Mainguy, Mike wrote: I started with #1 but then switched to #2. As this is my first big struts project I might be wrong but I had the impression that #2 would be preferrable because with #1 I would have to repeat the action mapping as a string in my action classes. I saw that most of the

RE: MS SQL Server Dates

2003-09-25 Thread Andy J. Baxman
In an app I'm working on I have to maintain date information across a system that encompasses Oracle, SQL Server VB and Java. To do this I store the dates on both databases and in XML directly using the format you mentioned MMddHHmmss (in a char(14) in the dbs). Because all developers can be

RE: [Poll] action mappings

2003-09-25 Thread shirishchandra.sakhare
My choce would be #2. We are doing a quite a big struts project here and i have seen both the approaches being used here.And from my experience,I thik that apprioach 2 is definately betetr,maintainable and leads to better code. With approach 1, there is a lot of conditional code in action

Re: Know of any good Calendar Tag Libraries? (Sorry, that was Aug 21)

2003-09-25 Thread Navneet Karnani
So, did you find it ? If yes, let me know too. I was looking out for something similar. - Navneet Matt Raible said the following on 25/09/2003 4:15 AM: I'm aware of Matt's Library (and I love it), but I don't want a pop-up, I want an in-page calendar. Matt -Original Message- From:

Re: Know of any good Calendar Tag Libraries? (Sorry, that was Aug 21)

2003-09-25 Thread Navneet Karnani
So, did you find it ? If yes, let me know too. I was looking out for something similar. - Navneet Matt Raible said the following on 25/09/2003 4:15 AM: I'm aware of Matt's Library (and I love it), but I don't want a pop-up, I want an in-page calendar. Matt -Original Message- From:

[struts workflow extension]Problem with configuring the request processor

2003-09-25 Thread shirishchandra.sakhare
Hi All, I am evaluating the struts workflow extension written by Mr. Matthias Bauer( http://www.livinglogic.de/Struts/index.html ) And I have found it to be extremely useful.But I am facing some problems in configuring it to work with my application. Right now we are just using tiles, so the

[STRUTS]? Synchronization between different browser windows...

2003-09-25 Thread Todor Sergueev Petkov
Hello everybody, I have two web browser pages opened. I would like to display ( or update ) the contents of one of the pages when a method in Struts LookupDispatchAction class has completed ( the LookupDispatchAction is triggered in the other page ). Is there some simple and elegant way to do

How to remove DynaForm from session the struts way?

2003-09-25 Thread Timo Neumann
Hi guys! How would I remove a DynaValidatorForm from the session after I do not need it anymore? Is there a struts specific way or should I simply use session.removeAttribute(...)? Or would you recommend simply calling form.initialize()? Any help would be apreciated. Timo -- FF Computer

Re: How to include part of a page dynamically?

2003-09-25 Thread Max Cooper
I like Tiles, too, and think it is definitely worth a look for your site. One of the best parts about it relative to some other page templating techniques is that tiles page definitions support inheritance so you don't have to specify the same stuff over and over for each page. Your proposed

Re: [struts workflow extension and tiles]Problem with configuring the request processor

2003-09-25 Thread Matthias Bauer
Shirish, what Struts version are you using? I certainly tested the TilesWorkflowRequestProcessor together with the Tile plugin and it worked fine in my setup. Has the Tiles initialization code changed lately? --- Matthias [EMAIL PROTECTED] wrote: Hi All, I am evaluating the struts workflow

Re: Multi config files and global forward

2003-09-25 Thread Duncan Mills
You could define a switcher action action-mappings ... action path=/switcher type=org.apache.struts.actions.SwitchAction ... /action-mappings Then your global forward could use that: global-forwards forward name=error path=/switcher.do?prefix=page=doError.do/ /global-forwards

Re: JSP IDEs

2003-09-25 Thread Duncan Mills
[Shameless Vendor Plug] JDeveloper 10g will evaluate tags for you in the JSP Visual Editor if you wish - no need to even go into preview Regards Duncan Mills - Original Message - From: Mark Galbreath To: Struts Users Mailing List Sent: Wednesday, September 24, 2003 2:20 PM Subject:

RE: [struts workflow extension and tiles]Problem with configuring the request processor

2003-09-25 Thread shirishchandra.sakhare
Hi Matthias, It was my fault.The configuration entry I had done to register the controller was wrong. I had written controllerprocessorClasscom.livinglogic.struts.workflow.TilesWorkflowRequestProcessor/processorClass/controller when it should have been controller

iterating through hashmap using logic tags

2003-09-25 Thread tarun.matai
Hi, I have a hash table, I want to iterate through keys of the hashtable and display key value pair on the jsp page, how can i do this using logic tags in struts tag library. I need to show keys as well as values on the jsp page. Regards, Tarun DISCLAIMER: This message contains

Re: [struts workflow extension and tiles]Problem with configuring the request processor

2003-09-25 Thread Matthias Bauer
Glad to hear that, --- Matthias [EMAIL PROTECTED] wrote: Hi Matthias, It was my fault.The configuration entry I had done to register the controller was wrong. I had written controllerprocessorClasscom.livinglogic.struts.workflow.TilesWorkflowRequestProcessor/processorClass/controller when it

Value assignment to html:hidden field...

2003-09-25 Thread Abhijeet Mahalkar
how can we assign the JSP value to the hidden field code is as follows String date = session.getValue(BussinessDate); this date variable i want to assign to following field... html:hidden property=txtBusidate width=15 size=25 maxlength=25 / will this work ? html:hidden value = %=date %

Re: Value assignment to html:hidden field...

2003-09-25 Thread Adolfo Miguelez
What about this? bean:define id=date name=BussinessDate scope=session/ html:hidden value = %=date % property=txtBusidate width=15 size=25 maxlength=25/ Adolfo. From: Abhijeet Mahalkar [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List

Re: Value assignment to html:hidden field...

2003-09-25 Thread Abhijeet Mahalkar
thanks.. - Original Message - From: Adolfo Miguelez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 25, 2003 3:37 PM Subject: Re: Value assignment to html:hidden field... What about this? bean:define id=date name=BussinessDate scope=session/ html:hidden value =

Validate values in collection?

2003-09-25 Thread Timo Neumann
Hi all, is it possible to use the validator framework to check values of beans that are stored in a collection in a DynaValidatorForm? TIA, Timo -- FF Computer AnwendungenTel: +49 89 51727-352 und Unternehmensberatung GmbH Fax: +49 89 51727-111 Westendstr. 195 Mail:

RE: iterating through hashmap using logic tags

2003-09-25 Thread Seyhan BASMACI (Internet Yazilimlari Yetkilisi)
try this, Action Class HashMap map = new HashMap(); map.put(myKey1,myValue1); map.put(myKey2,myValue2); request.setAttribute(map,map); --- JSP page logic:iterate id=myIterate name=map bean:write name=myIterate property=key/ bean:write name=myIterate property=value/

How to make a form pre-filled from an action class

2003-09-25 Thread EL AKARI Mehdi
Hi! I need to prefill a form with valus (that a get in a struts action), how can i do this? thanks Mehdi

RE: Quartz error and Struts plugin for struts

2003-09-25 Thread Holman, Cal
I had no problem using the quartz-config you supplied. Is your plugin configured like this in the struts-config? plug-in className='com.jgsullivan.struts.plugins.QuartzPlugIn' set-property property='configPath' value='/WEB-INF/quartz-config.xml'/ /plug-in Cal

Re: Validate values in collection?

2003-09-25 Thread Natalie D Rassmann
yes Timo Neumann wrote: Hi all, is it possible to use the validator framework to check values of beans that are stored in a collection in a DynaValidatorForm? TIA, Timo -- FF Computer AnwendungenTel: +49 89 51727-352 und Unternehmensberatung GmbH Fax: +49 89 51727-111

RE: [Poll] action mappings

2003-09-25 Thread Susan Bradeen
+1. We found that #2 worked best for our current application. On 09/25/2003 03:42:52 AM shirishchandra.sakhare wrote: My choce would be #2. We are doing a quite a big struts project here and i have seen both the approaches being used here.And from my experience,I thik that apprioach 2

RE: How to make a form pre-filled from an action class

2003-09-25 Thread Robert Taylor
You can probably find your answer here because it is asked quite often: http://www.mail-archive.com/struts-user%40jakarta.apache.org/ Contains examples: http://apache.roweboat.net/jakarta/struts/binaries/jakarta-struts-1.1.zip Brief overview: -Define a form in your struts-config file -Define

Re: Validate values in collection?

2003-09-25 Thread Timo Neumann
Natalie D Rassmann wrote: yes how? Timo Neumann wrote: Hi all, is it possible to use the validator framework to check values of beans that are stored in a collection in a DynaValidatorForm? TIA, Timo -- FF Computer AnwendungenTel: +49 89 51727-352 und Unternehmensberatung GmbH Fax:

Re: Multi config files and global forward

2003-09-25 Thread Franck Lefebure
Thanks for the *contextRelative=true* tip Regards -- Franck Lefebure equipe web http://www.orangecaraibe.com mailto:[EMAIL PROTECTED] 0590323872 0690569880 - Original Message - From: Manish Singla [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, September

[struts workflow extension] design question

2003-09-25 Thread shirishchandra.sakhare
Hi , I need to extend the functionality of struts workflow extension provided by Mr. Matthias Bauer( http://www.livinglogic.de/Struts/index.html ). I want to add some Warning messages when the workflow exception occurs.For the same, I need to Extend the WorkflowRequestProcessorLogic class and

Re: Validate values in collection?

2003-09-25 Thread Natalie D Rassmann
Like you would any other type of form. Do you know how to set up the validator framework? If not try this link below: http://jakarta.apache.org/struts/userGuide/dev_validator.html Timo Neumann wrote: Natalie D Rassmann wrote: yes how? Timo Neumann wrote: Hi all, is it

RE: How to make a form pre-filled from an action class

2003-09-25 Thread Mainguy, Mike
Just call the setters on the ActionForm from your Action class and fill the form with data. -Original Message- From: EL AKARI Mehdi [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 6:58 AM To: Struts Users Mailing List Subject: How to make a form pre-filled from an action

Reset form

2003-09-25 Thread Stefan Trcko
Hello I have a html form html:form action=/search.do in my searchForm.jsp page in struts-config.xml this action is defined like: action path=/search name=searchForm attribute=searchForm validate=true scope=session type=struts.SearchAction

Re: Validate values in collection?

2003-09-25 Thread Timo Neumann
Natalie D Rassmann wrote: So this works if forms is a collection of beans with a property value? form name=FundForm field property=forms.value depends=integer arg0 key=global.value/ /field /form Like you would any other type of form. Do you know how to set up

Use Struts with WebLogic 5.1 SP10?

2003-09-25 Thread Bui Dinh Chien
Dear all, (BI am a new user of this mailling list. (BAs I saw in Installation document, when use Struts with WebLogic 5.1SP8, (BI have to config so much. But I use WebLogic SP10, so what I have to do (Bwith my WebLogic (BThanks (BChien (B (B

Re: Validate values in collection?

2003-09-25 Thread Natalie D Rassmann
It depends on if it is indexed or not. Here is an example that I have... field property=prepTime indexedListProperty=prepTime depends=float,isFloatNegative page=3 arg0 key=label.revRec.mtgMetricPrepTime/ /field I am using a multi-page for that is why I have the page

RE: [Poll] action mappings

2003-09-25 Thread Mainguy, Mike
So far the results are as follows: #1 5 #2 1 #3 2 #4 0 I added myself to both 1 and 3 as I've done a project both ways... Now I wonder, how does everyone determine which operation you are doing? As a parameter in the action mapping? A big case-style (if else) statement? -Original

Setting the page title from a tile

2003-09-25 Thread Matt Raible
I have an interesting problem that I can't figure out how to solve. We are using Tiles, as well as a custom tag library that renders content from Velocity Templates. These templates have HTML content in them, but they're mostly text - and this is our CMS (for now). The problem is is that

Re: [Poll] action mappings

2003-09-25 Thread Sgarlata Matt
I think for #3 it would be silly not to use a DispatchAction or LookupDispatchAction, right? It seems like you would also want DispatchAction or LookupDispatchAction for #1, but I really don't understand why people are using #1 at all. Is there some reason multiple action mappings are needed for

Re: Setting the page title from a tile

2003-09-25 Thread Srinivas Gunturu
Matt, We have solved this in our application by defining our tile as follows definition name=baseDef path=/Template.jsp put name=title value=My Title1 / put name=header value=/header.jsp/ put name=topnav value=/topnav.jsp/ put name=leftnav

Where can I get Struts 1.0.2?

2003-09-25 Thread Bui Dinh Chien
Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [Poll] action mappings

2003-09-25 Thread Mainguy, Mike
You don't have to create a different ActionClass for every Operation with the same display/FormBean... I.E. If you use the same formbean and display component, you don't want to also always create another ActionClass... Similar to dispatchaction except you use the pathmapping instead of the

RE: Value assignment to html:hidden field...

2003-09-25 Thread Mainguy, Mike
I personally would assign that value in the Action or somewhere else in the java code (even default it in the form bean perhaps), not in the jsp. I'm not sure that you can use a scriptlet variable in a CustomTag. -Original Message- From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED] Sent:

RE: Validate values in collection?

2003-09-25 Thread Nimish Chourey , Tidel Park - Chennai
You can always extend DynaValidatorForm and overwrite the validate method . -Original Message- From: Timo Neumann [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 6:06 PM To: Struts Users Mailing List Subject: Re: Validate values in collection? Natalie D Rassmann wrote:

Re: [Poll] action mappings

2003-09-25 Thread Sgarlata Matt
OK, I think I understand #1 now. However, I still disagree with it ;) If you are using the same form bean and display components, you can define a single action mapping and thus eliminate duplicate configuration information in the struts-config file. I am a zealot when it comes to violations of

Re: Quartz error and Struts plugin for struts

2003-09-25 Thread Mick Knutson
Yes, here is an exact cut-n-paste: plug-in className=com.jgsullivan.struts.plugins.QuartzPlugIn set-property property=configPath value=/WEB-INF/quartz-config.xml / /plug-in --- Thanks Mick Knutson http://www.baselogic.com +001(805) 563-0666 Office +001 (708) 570-2772 Fax ---

RE: Value assignment to html:hidden field...

2003-09-25 Thread Adolfo Miguelez
yes, you can. it is evaluated previously to the tags themselves, so thechnically is possible. You can also preload the form either: - declaring the form with session scope for the previous action, so you can take it in the action to preload it, - or create a new instance also in the previous

RE: [Poll] action mappings

2003-09-25 Thread shirishchandra.sakhare
Thats what prompted me to vote for 2... Why to have unnecessary have this case statement in every action? HAve the actions as simple handlers.Performing just simple atomic operations and acting on whatever configuration they are provided to decide navigation Something like execute(){

RE: [Poll] action mappings

2003-09-25 Thread Richard J. Duncan
What about: #5: A DispatchAction (struts 1.1) with a single action map entry: /maintainUser.do?action=create - MaintainUserAction.java /maintainUser.do?action=read- MaintainUserAction.java /maintainuser.do?action=update -

RE: [Poll] action mappings

2003-09-25 Thread Mainguy, Mike
That is exactly the method signature I use (well, different names, but exactly the concept). I actually use +++ Public string commandParameter = ProjectAction Public List commandFoo(DynaBean bean, WebSecurityHolder security) { ..do stuff.. return ArrayList (or whatever) with a bunch

Re: [Poll] action mappings

2003-09-25 Thread Sgarlata Matt
How is #3 different from #5? Matt - Original Message - From: Richard J. Duncan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 25, 2003 10:29 AM Subject: RE: [Poll] action mappings What about: #5: A DispatchAction (struts 1.1) with a single action map entry:

[OT] Application Config Mgmt

2003-09-25 Thread Kevin Tung
How does everyone manage different deployment configurations? Let's say your webapp needs to run in various environments.. for example dev, staging and production. Each environment has its own database connection info and third party SOAP endpoints.. etc. What is a good way to automate (at

RE: [Poll] action mappings

2003-09-25 Thread Mainguy, Mike
#2 and #3 are, to me, flip sides of the same coin. Our team is really divided over which is better. Currently, we're using #3 and I personally think it's the best way, but, the argument that has been made that it is much simpler to understand the application if there is a 1 to 1 mapping and

RE: [Poll] action mappings

2003-09-25 Thread Michael Ruppin
+1 (#3) --- Mainguy, Mike [EMAIL PROTECTED] wrote: #2 and #3 are, to me, flip sides of the same coin. Our team is really divided over which is better. Currently, we're using #3 and I personally think it's the best way, but, the argument that has been made that it is much simpler to

RE: [Poll] action mappings

2003-09-25 Thread shirishchandra.sakhare
The point of being easy to understand is very important for a big application especially I think. And I don't understand why u need code duplication?The save action after doing update if needs to read, the forward can point to readAction ... That's what we have done al over our application.So

Re: [Poll] action mappings

2003-09-25 Thread Adam Hardy
Normally a parameter in the action mapping, but other things affect it too, such as the cancel button. And then a big case-style if else in my action superclass. On 09/25/2003 03:47 PM Mainguy, Mike wrote: So far the results are as follows: #1 5 #2 1 #3 2 #4 0 I added myself to both 1 and 3 as

Re: [Poll] action mappings

2003-09-25 Thread Adam Hardy
I just find it naturally easier to grasp what is going on with one Action and one form bean for each object in my model (and normally one factory or 'business delegate') plus a host of mappings. On 09/25/2003 03:59 PM Mainguy, Mike wrote: You don't have to create a different ActionClass for

action chaining and request.getRequestURI()

2003-09-25 Thread Franck Lefebure
Hi, My struts-config looks like : struts-config global-forwards forward name=error path=/doError.do / /global-forwards action-mappings action path = /doError scope=request type=com.orange.struts.actions.ErrorAction forward name=success path=/error.jsp contextRelative=true/

RE: Setting the page title from a tile

2003-09-25 Thread Holman, Cal
I do something a little different to pull the title out of application.properties definition name=whatsnew.pagedef extends=home.pagedef put name=title value=whatsnew.title / put name=content value=/web/pages/home/WhatsNew.jsp / put

Re: [OT] Application Config Mgmt

2003-09-25 Thread Sgarlata Matt
We do development on Tomcat and testing/production on Oracle 9iAS, release 2. To accomplish this we: 1) Store our main directory with Tomcat files in our source repository (say in $\PROJECT) 2) Store any Oracle-specific configuration info is in a separate directory WITH A DIRECTORY STRUCTURE

RE: [Poll] action mappings

2003-09-25 Thread Mainguy, Mike
Right, that's the way I look at it too. I guess you could call it a model or data centric perspective of the system. To me personally, any business system is centered around a logical data model. I tend to build (grow) everything from the model out to the view. It seems like the perspective

Re: [Poll] action mappings

2003-09-25 Thread Sgarlata Matt
Very cool :) However, I am hesitant to depend even on DynaBean. What if I want to use a normal POJO bean? Here's what I'm thinking of doing: IInputForm.java: public interface IInputForm { } IDynaInputForm.java: public itnerface IDynaInputForm extends IInputForm { public Object get(String

RE: [Poll] action mappings

2003-09-25 Thread Mainguy, Mike
Whoops!, I goofed up my response, let me clarify. From: Sgarlata Matt [mailto:[EMAIL PROTECTED] I just find it naturally easier to grasp what is going on with one Action and one form bean for each object in my model (and normally one factory or 'business delegate') plus a host of mappings.

RE: Know of any good Calendar Tag Libraries? (Sorry, that was Aug 21)

2003-09-25 Thread Matt Raible
Try this: http://www.aoc.nrao.edu/~bwaters/pub/taglib/calendar-taglib.html -Original Message- From: Navneet Karnani [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 1:58 AM To: [EMAIL PROTECTED] Subject: Re: Know of any good Calendar Tag Libraries? (Sorry, that was Aug 21)

RE: [Poll] action mappings

2003-09-25 Thread Richard J. Duncan
How is #3 different from #5? No different if you implement #3 with a DispatchAction rather than rolling your own dispatcher in your action class's execute method (a good point raised in another comment in this thread). Regards,   Rich -Original Message- From: Sgarlata Matt

Re: Validate values in collection?

2003-09-25 Thread Timo Neumann
Natalie D Rassmann wrote: Hi Natalie, now I got it. Thanks a lot. Timo It depends on if it is indexed or not. Here is an example that I have... field property=prepTime indexedListProperty=prepTime depends=float,isFloatNegative page=3 arg0

RE: Know of any good Calendar Tag Libraries? (Sorry, that was Aug 21)

2003-09-25 Thread David G Friedman
This calendar seems to perform like the one I remember reading about (but can't find), but it looks a little different than I remember. It's not taglib, but all Javascript and CSS/DHTML. http://dynarch.com/mishoo/calendar.epl Regards, David -Original Message- From: news [mailto:[EMAIL

Re: [struts workflow extension] design question

2003-09-25 Thread Matthias Bauer
Shirish, why do you want to change the workflow extension for doing this? Maybe you want to have a look at the demo application. If I am getting you right, I suppose I am doing exactly what you want to do: Just let the action that handles the workflow violation put the application specific

Re: [Poll] action mappings

2003-09-25 Thread Adam Hardy
Well to a certain extent yes I 'build the system around each atomic transaction the system is designed to support' but the atomic transactions aren't necessarily remotely atomic. Plus they are generally use-case based from the original UML design, assuming it was big enough to warrant one, and

[OT] RE: Know of any good Calendar Tag Libraries? (Sorry, that was Aug 21)

2003-09-25 Thread James Childers
I came across one of the sexiest calendar's I've ever seen here: http://secure.basshall.com/basshall/events.jsp It's Flash, but it's small, fast, and responsive. Love to get my hands on the source for that baby. The only thing it seems to be lacking is having the date highlighted when that

Urgent: Changing URLs for existing struts project

2003-09-25 Thread mohan
Hi All I am currently running tomcat4.1.27 and apache1.3.x. I am using struts. I used call my webapplication xyz using www.abc.org/xyz. Now company has decided that pople should be able to access this webapplication through the URL www.abc/javapps/xyz. Do i need to change the whole architecture

RE: Setting the page title from a tile

2003-09-25 Thread Matt Raible
I'm already doing this in most of my definitions: put name=titleKey value=activities.title/ %-- Push tiles attributes in page context --% tiles:importAttribute scope=request/ titlebean:message name=titleKey//title But if you read my message closely - you'd see that I don't have a

RE: [OT] RE: Know of any good Calendar Tag Libraries? (Sorry, that was Aug 21)

2003-09-25 Thread David G Friedman
It's a shockwave calendar... Is it: a) free? b) how would you customize it to post to the location of your choice? Regards, David -Original Message- From: James Childers [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 11:30 AM To: Struts Users Mailing List Subject: [OT] RE:

RE: [OT] RE: Know of any good Calendar Tag Libraries? (Sorry, tha t was Aug 21)

2003-09-25 Thread Chen, Gin
You can easily replicate the same calendar via a taglib or straight dhtml/javascript. We have a very similar calendar that we use for most of our projects. It wont take that long either if that's all the functionality you need. -Tim -Original Message- From: David G Friedman [mailto:[EMAIL

RE: Know of any good Calendar Tag Libraries? (Sorry, that was Aug 21)

2003-09-25 Thread Kruse, Matt
I'm aware of Matt's Library (and I love it), but I don't want a pop-up, I want an in-page calendar. BTW, I'm going to be adding an 'inline' option to the javascript library, which will then find its way into the taglib also. Unfortunately, I've not had much time to work on it lately, so the

Re: [OT] Application Config Mgmt

2003-09-25 Thread Troy Hart
Ant is the key to solving this problem. Unfortunately I don't have the gift of being able to elegantly summarize the solution for you, but I will tell you that I rely on Ant to solve this problem for me, and it works! The key is to have multiple property file sets, and work out a way to

Quartz plugin shutdown problem

2003-09-25 Thread Tom Howe
Hi, I'm having a problem with (I think) plugins that open a new thread, such as the Quartz plugin. It starts up fine and appears to work alright, but when I try to shut down, the server appears to hang on that particular thread so that the process continues. I tried to do this on a completely

RE: How to remove DynaForm from session the struts way?

2003-09-25 Thread Chen, Gin
I use session.removeAttribute -Tim -Original Message- From: Timo Neumann [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 4:07 AM To: Struts Users Mailing List Subject: How to remove DynaForm from session the struts way? Hi guys! How would I remove a DynaValidatorForm from

SSLExt and useMap?

2003-09-25 Thread Mick Knutson
I have an HTML image map that needs to use the SSLExt links: pmap name=Map2 area shape=rect coords=17,0,84,26 href=/index.jsp area shape=rect coords=96,0,187,26 href=/member.do area shape=rect coords=204,0,284,26 href=/notification.do area shape=rect coords=302,0,406,26 href=/cms.do

Input form field values...

2003-09-25 Thread Joseph William
Hi, Im trying to develop a small application using struts. Everything works fine except the Action Errors part -- When the error messages show up, the form element values from the previous screen are not being retrieved in the next screen -- Am I missing something??? Help appreciated...

Re: Quartz plugin shutdown problem

2003-09-25 Thread Joe Germuska
The JVM can only quit when all non-daemon threads have finished. I don't believe the plugin itself starts any threads; it's probably a problem internal to Quartz -- I don't know if you can tell it that it should treat your scheduled tasks as daemon threads or not. I'm not actually so familiar

Re: Know of any good Calendar Tag Libraries? (Sorry, that was Aug 21)

2003-09-25 Thread Jim Theodoridis
Hello I think http://www.servletsuite.com/servlets.htm it's a very good library Jim Theodoridis - Original Message - From: Kruse, Matt [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, September 25, 2003 6:36 PM Subject: RE: Know of any good Calendar Tag

Re: [OT] Application Config Mgmt

2003-09-25 Thread Craig R. McClanahan
Kevin Tung wrote: How does everyone manage different deployment configurations? Let's say your webapp needs to run in various environments.. for example dev, staging and production. Each environment has its own database connection info and third party SOAP endpoints.. etc. What is a good way to

RE: Urgent: Changing URLs for existing struts project

2003-09-25 Thread Matt Raible
Your best bet is to ask this question on the tomcat user list since it's really a tomcat issue. My suggestion would be to put apache in front of Tomcat and create a mapping for the jk to map javapps/* to tomcat. OT: javapps makes no sense, I'd use /javaapps or /java or /apps. And when are

Re: Urgent: Changing URLs for existing struts project

2003-09-25 Thread James Mitchell
If you have developed your application in struts friendly way, this should be as easy as changing servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping to servlet-mapping servlet-nameaction/servlet-name

Input form field values...

2003-09-25 Thread Joseph William
This is with regards to my question about retaining the form field values when the error messages shouw up thru the Action errors... Just now, I figured out it was coz of the html:form/ In this tag, I had added the name and type attribute too -- This is coz I wanna do the client side

Re: Urgent: Changing URLs for existing struts project

2003-09-25 Thread Craig R. McClanahan
[EMAIL PROTECTED] wrote: Hi All I am currently running tomcat4.1.27 and apache1.3.x. I am using struts. I used call my webapplication xyz using www.abc.org/xyz. Now company has decided that pople should be able to access this webapplication through the URL www.abc/javapps/xyz. Do i need to change

Re: How to remove DynaForm from session the struts way?

2003-09-25 Thread Timo Neumann
Chen, Gin wrote: I use session.removeAttribute That's what I do now. To be exact I user session.removeAttribute(dvForm.getDynaClass().getName()); That makes it more robust than hard coding the DynaForm's name. Timo -Tim -Original Message- From: Timo Neumann [mailto:[EMAIL

Re: Input form field values...

2003-09-25 Thread Adam Hardy
Hi Joseph, if you leave the name attribute out, then the html:form tag will automatically name the form after the name you specify in the action mapping. You must specify the form (in the mapping) and the form fields with html:text etc if you want the values submitted to reappear in the fields

Re: Input form field values...

2003-09-25 Thread Robert Leland
Take a look at the nightly struts validator example. The pattern is: !-- JavaScript Type Action -- actionpath=/editJsType type=org.apache.struts.webapp.validator.EditTypeAction scope=request validate=false forward name=success

Re: Input form field values...

2003-09-25 Thread Joseph William
I did figure that out Adam. Thanks much! But, in the browser, when I hit the back button and then the refresh button, the values remain in the appropriate elements... this is fine. But, when I hit the enter key in the location bar, should not the page reload and the values cleared??? This

How to expose DynaValidator in Action?

2003-09-25 Thread Barry Volpe
For an action form I use: MyForm eForm = (MyForm)form; eForm.getEmail() In my DynaValidatorForm: form-bean name=myForm type=org.apache.struts.validator.DynaValidatorForm form-property name=email type=java.lang.String initial=No/ How do I expose the

RE: How to expose DynaValidator in Action?

2003-09-25 Thread Fenderbosch, Eric
Just did this earlier today for the first time. DynaValidatorForm dynaForm = (DynaValidatorForm) form; String email = (String) dynaForm.get(email); -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 14:08 To: Struts Users Mailing List

RE: How to expose DynaValidator in Action?

2003-09-25 Thread Alex Shneyderman
One of the parameters to the execute in your action Is ActionForm form So String submittedEmail = (String) ((DynaActionForm) form).get (email); Should do it for you. -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 2:08 PM To:

  1   2   >