Re: Tiles (Struts 1.3) standalone not working

2007-11-30 Thread Antonio Petrelli
2007/12/1, Todd Prickett <[EMAIL PROTECTED]>: >Ciao>AntonioThanks for the reply. Unfortunately, our company is using Struts/Tiles 1.3, not Tiles 2.0, so that is not an option. You said that you did not need Struts 1, so why don't you think about using Tiles 2? If you are worried about stability,

Exception raised while loading image in to application

2007-11-30 Thread vijay vijay
i am loading the image from database(in data base i used colom type longraw) in to my application... in this image is loaded application sucessfully but i got this exception in applet viewer.i don't understand why i am getting like this. un.plugin.cache.DownloadException at sun.plugin.cache.

Re: Struts 2.0.11 localization issue

2007-11-30 Thread Ted Husted
The request_local functionality is part of the Interceptor stack, and so the request has to go through as a Struts Action. An ordinary JSP isn't processed as a Action, any more than a HTML page would be. Otherwise, once the locale is changed, it should stick as part of the session. The two things

Re:Tiles (Struts 1.3) standalone not working

2007-11-30 Thread Todd Prickett
--Forwarded Message Attachment--Date: Fri, 30 Nov 2007 20:44:02 +0100From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Re: FW: Tiles (Struts 1.3) standalone not working2007/11/30, Todd Prickett <[EMAIL PROTECTED]>:>> I'm trying to implement Tiles ( from Struts 1.3 ) into a web that is NOT using Struts

Re: zoning out on some basic LazyDynaMap usage for a text field property?

2007-11-30 Thread Rick Reumann
On Nov 30, 2007 8:57 PM, Vinny <[EMAIL PROTECTED]> wrote: > Hmm, > I've never tried using lazy inside a standard ActionForm, the ones that I > have work inside of > a DynaValidatorActionFom (say that 3 times fast). Don't feel like writing > a > reset method? Unless I'm missing something, the res

Re: zoning out on some basic LazyDynaMap usage for a text field property?

2007-11-30 Thread Vinny
Hmm, I've never tried using lazy inside a standard ActionForm, the ones that I have work inside of a DynaValidatorActionFom (say that 3 times fast). Don't feel like writing a reset method? you are getting old Rick. On Nov 30, 2007 7:17 PM, Rick Reumann <[EMAIL PROTECTED]> wrote: > I swore I used

zoning out on some basic LazyDynaMap usage for a text field property?

2007-11-30 Thread Rick Reumann
I swore I used to be able to do this stuff... maybe it's Friday thing, but regardless I'm blanking on out on what I'm doing wrong with this... I have an ActionForm that has one property right now: private LazyDynaBean dynaBean = new LazyDynaMap(); My goal is to be able to populate this DynaBea

RE: [S2] Checkboxes

2007-11-30 Thread Dave Newton
A single checkbox, AFAIK, only expects to check a single value, not an array or collection. I would consider using a modified version of the checkboxlist tag if it's just a matter of the rendered HTML you're having an issue with. d. --- "Hoying, Ken" <[EMAIL PROTECTED]> wrote: > Thank you for t

Re: portlet css

2007-11-30 Thread Randy Burgess
Thanks for the info but actually it wasn't me that was asking. Images work fine for me in ALUI. In my implementation the imageserver is at /imageserver/ and there are many directories underneath that, such as /imageserver/publisher, etc. So I would have to say that my original statement was correct

Re: portlet css

2007-11-30 Thread Martin Gainty
Hi Randy http://edocs.bea.com/alui/devdoc/docs60/Customizing_the_Portal_UI/PlumtreeDe vDoc_Customizing_Images.htm to quote /ptimages/imageserver/plumtree/portal has 3 folders which you can use a.. Anything within a \public directory can be considered available for use. A public component may c

Re: 2.x GA estimate

2007-11-30 Thread Ted Husted
Much depends on feedback from the community. We distribute the builds for wider testing, and if the feedback is positive, then we decide on a quality grade. It usually takes between four to six builds to reach a new GA. We've cut one test build so far. Right now, there's a backlog of outstanding p

Re: localization

2007-11-30 Thread mgainty
http://struts.apache.org/2.x/docs/localization.html M-- - Original Message - Wrom: VZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQT To: Sent: Friday, November 30, 2007 8:30 AM Subject: localization > > my web app display message in jsp page ( using ) > always in one language. > I have two l

Re: FW: Tiles (Struts 1.3) standalone not working

2007-11-30 Thread Antonio Petrelli
2007/11/30, Todd Prickett <[EMAIL PROTECTED]>: > I'm trying to implement Tiles ( from Struts 1.3 ) into a web that is NOT > using Struts. >... > Can anyone please point me in the correct direction? Yes, Tiles 2: http://tiles.apache.org/ Ciao Antonio -

RE: [S2] Checkboxes

2007-11-30 Thread Hoying, Ken
Thank you for the response. I had looked at the example, but it really appears to only push the checkbox results to the action. I am not sure that it would repopulate the checkbox with the values. I do not believe that checkbox list is going to work for me as it does not give me control on where

Re: portlet css

2007-11-30 Thread Nils-Helge Garli Hegvik
Which portlet server are you running? Most portlet containers don't encode resource urls in a specific manner. I have not tried, but I guess you can dynamically generate the css using a JSP or a servlet, or embed the styles directly in your JSP. Nils-H On Nov 30, 2007 6:25 PM, Brian Relph <[EMAIL

Re: portlet css

2007-11-30 Thread Randy Burgess
I think it is portal implementation specific. I'm using AquaLogic UI and it has an image server. I put the images there and then reference them using image server links. So suppose my portal is located at http://myportal.com then my image src look like http://myportal.com/imageserver/mydirectory/my

portlet css

2007-11-30 Thread Brian Relph
Does anyone have experience using css in portlets, and more specifically, using css to set background images? I am unable to use css for images since the url are not portlet urls ...

Re: 2.x GA estimate

2007-11-30 Thread Andrea Rizzini
Not that i know, but if you check In JIRA the 2.1 version has less that 20 bus report still open. Marcos Mendonça wrote: > Hello all > > Is there an ETA for the release of a 2.1 GA version? > > Thanks. > > - > To unsubscribe, e-m

2.x GA estimate

2007-11-30 Thread Marcos Mendonça
Hello all Is there an ETA for the release of a 2.1 GA version? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] Checkboxes

2007-11-30 Thread Martin Gainty
Hi Ken- struts.xml has this definition of EmployeeAction where results populate editEmployee.jsp /empmanager/editEmployee.jsp edit-${currentEmployee.empId}.action looking at the results jsp /empmanager/editEmployee.jsp has a checkbox defined as The Empl

FW: Tiles (Struts 1.3) standalone not working

2007-11-30 Thread Todd Prickett
Hi all, I'm trying to implement Tiles ( from Struts 1.3 ) into a web that is NOT using Struts. I've found and followed instruction on doing this and the docs I've found don't seem to work. The latest docs I've been able to find to do this, BTW, are for 1.1. The problem I'm having is tha

Re: JSP EL on struts2 tags

2007-11-30 Thread Ing. Andrea Vettori
mi dispiace ma non ho mai usato le funzioni di localizzazione. Consiglio pero' di controllare i linguaggi consentiti dal browser. Probabilmente viene usato il primo (se ce n'e' piu' di uno) e forse il default per il primo e' l'inglese. Il giorno 30/nov/07, alle ore 16:47, giglian ha scritt

Re: JSP EL on struts2 tags

2007-11-30 Thread giglian
vedo che stai utilizzando Struts 2. io ho un problema con la "localization". praticamente pur avendo due files di properties (package.properties (inglese) e package_it.properties (italiano)) le pagine jsp (dove utilizzo il tag ) mi compaiono sempre nella lingua del sistema operativo anzichè nella

Re: Configuring Struts to use UTF-8 character encoding

2007-11-30 Thread Adam Gordon
I didn't know that page existed though it's essentially what I wound up doing. My only concern now is that it affects our entire webapp and while QA was going to do a full regression anyway, I'm wondering what potential problems are now lurking in the deep, dark corners of our web forms... Th

Re: Get the list of all action names defined in struts.xml

2007-11-30 Thread Gary Affonso
George Dadulescu wrote: Hi. Is there any possibility to get the list of all the action names defined in struts.xml ? It's in the RunTimeConfiguration. Something like... RuntimeConfiguration runtimeConfiguration = ConfigurationManager.getConfiguration().getRuntimeConfiguration(); A

Re: [struts2] Prevent dojo scripts from loading

2007-11-30 Thread Dave Newton
Don't include them? They come from the tag. d. --- Marcos Mendonça <[EMAIL PROTECTED]> wrote: > Hi > > Is there a way to keep dojo scripts from loading on > a jsp? > > I have some pages where this scripts are not used, > so for performance > reasons I'd like to stop them from beeing loaded by

Re: Ajax effective with 2.1

2007-11-30 Thread Dave Newton
Ajax via Dojo is now a plugin. d. --- [EMAIL PROTECTED] wrote: > What is the disposition of dojo going forward with > S2? I thought I heard a > rumor awhile back where Ajax support was being moved > into the plug-in > architecture. We have a discussion in our shop > concerning a few different

Ajax effective with 2.1

2007-11-30 Thread stanlick
What is the disposition of dojo going forward with S2? I thought I heard a rumor awhile back where Ajax support was being moved into the plug-in architecture. We have a discussion in our shop concerning a few different libraries and I would like to offer meaningful advice. Peace, Scott [EMAIL P

[S2] Checkboxes

2007-11-30 Thread Hoying, Ken
I am having a difficult time getting checkboxes to work in the following scenario and am not sure what I am doing wrong. Any help or guidance would be greatly appreciated. I have table which displays several rows. In the first column of each row, I have a check box to select that row. I am keep

[struts2] Prevent dojo scripts from loading

2007-11-30 Thread Marcos Mendonça
Hi Is there a way to keep dojo scripts from loading on a jsp? I have some pages where this scripts are not used, so for performance reasons I'd like to stop them from beeing loaded by the browser. Thanks. - To unsubscribe, e-ma

executing twice of action execute method

2007-11-30 Thread giglian
My web app have an action to delete one row in a MS Access table (access though sun.jdbc.odbc.JdbcOdbcDriver). The method return the number of rows deleted. The first time it's executed, it return the right number of deleted rows: 1. The action after reading the method result, it return SUCCESS, b

localization

2007-11-30 Thread giglian
my web app display message in jsp page ( using ) always in one language. I have two localization files (package.properties and package_it.properties in the same folder), and I always get the messages in Italian language even if the client language is English (en-us). Rather in my production enviro

Get the list of all action names defined in struts.xml

2007-11-30 Thread George Dadulescu
Hi. Is there any possibility to get the list of all the action names defined in struts.xml ? Struts must have a map or something where it keeps all the action names I presume ... Thanks. George -- View this message in context: http://www.nabble.com/Get-the-list-of-all-action-names-defined-in-st

[s2] Changing target-attribute-value in action class?

2007-11-30 Thread Adrian Ost
hi, is there a way to change the "target", set in struts 2 ajax tags, within the corresponding action class? thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Easy way to obtain an action's full url?

2007-11-30 Thread Thilo Ettelt
Hello, is there a simple way to obtain a full url for an Action mapping? Something like this: public String urlForActionMapping(String mapping) { // mapping = "myaction/wildcardhere/view" // returns http://host:port/context/myaction/wildcardhere/ view.action ... } - Thilo -- Mit fre

Re: Application initialization at startup

2007-11-30 Thread Gabriel Belingueres
you could use a servlet context listener. Gabriel 2007/11/30, Shyamal Mehta <[EMAIL PROTECTED]>: > For struts 2 what is the recommended/best way of executing any > application specific code at application startup? > In struts 1.x we used to create a plugin and configure its > "startOnLoad" proper

Application initialization at startup

2007-11-30 Thread Shyamal Mehta
For struts 2 what is the recommended/best way of executing any application specific code at application startup? In struts 1.x we used to create a plugin and configure its "startOnLoad" property to true. Thanks, SM - To unsubscri

Re: Getting context properties

2007-11-30 Thread Pablo Vázquez Blázquez
Thank you very much for your help! I want to know it as the following: If the user types in the url box: "http://localhost:8080/app/action.do"; and is not logged-in and "action.do" requires authentication, then I redirect him/her to an authentication form. Well, I do this with an interceptor,