Re: struts menu problem

2008-07-16 Thread Al Sutton
Have you looked at using the zindex property in your stylesheet? (http://www.w3schools.com/Css/pr_pos_z-index.asp) nauke. wrote: Hi, Thanks for replying. It occurs in firefox too. the customer for this will predominantly use IE so will have to get it working for IE in the end anyway :( :( :(

Re: Struts tags ID generation

2008-07-16 Thread Phan Le
What if I dont want to put Id at all and leave it blank? Cheers On 16/07/2008, at 3:49 PM, Wes Wannemacher wrote: Sure, specify your own id attribute... -Wes On Wed, 2008-07-16 at 15:45 +1000, Phan Le wrote: Thanks for the response Wes, I do use maven to build. Is there anyway that I can forc

Re: struts menu problem

2008-07-16 Thread Antonio Petrelli
2008/7/14 nauke. <[EMAIL PROTECTED]>: > Hi! > > I'm using struts version 2.0.11. > I am using struts menu, which works provided it is not on top of a table ... > Please see screenshot of issue here: > http://mytmpdir.googlepages.com/menu.jpg > > No idea how I can fix this! > Does anyone? Probably

RE: struts menu problem

2008-07-16 Thread Jishnu Viswanath
Can you put the code some where, if you are using IE 6, it has a known problem with z-index attribute. Regards, Jishnu Viswanath Software Engineer *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll Tavant Technologies Inc., www.tavant.com PEOPLE :: PASSION :: EXCELLENCE -Original

Re: 'include' struts.xml stuff is broken?

2008-07-16 Thread Gabriel Belingueres
In your struts-editevent.xml: http://pastebin.stonekeep.com/4956 tags must be inside a , and they are inside . See the http://struts.apache.org/dtds/struts-2.0.dtd file 2008/7/16 Dave Belfer-Shevett <[EMAIL PROTECTED]>: > This seems like it should work, but I'm getting all sorts of hassles, and

autocompleter bug in forefox3 but not in ie6

2008-07-16 Thread Piotr Dzeviarylin
In the html form I have this tag: It works fine but doesn't pass values to action and properties. I test it in ie6 and everything is alright. Does anybody knows the problem? - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: 'include' struts.xml stuff is broken?

2008-07-16 Thread Dave Newton
In addition to the other replies, I'll add my own. --- On Tue, 7/15/08, Dave Belfer-Shevett <[EMAIL PROTECTED]> wrote: > [...] the documentation page for this, naturally, provides > no examples of what the include file should look like. "Naturally?" Sniping aside: the "include" documentation [1

RE: autocompleter bug in forefox3 but not in ie6

2008-07-16 Thread Jishnu Viswanath
I am not sure... Struts in turn uses dojo for its Ajax (it was .4) there are lot of issues with dojo and ff3. I am not sure because of this it's failing. Can you tell me what exactly it's the error, if you have firebug installed, tell is there any request in red? Regards, Jishnu Viswanath Softw

Re: Struts tags ID generation

2008-07-16 Thread Dave Newton
--- On Wed, 7/16/08, Phan Le <[EMAIL PROTECTED]> wrote: > What if I dont want to put Id at all and leave it blank? Modify the theme/template, I suppose [1, 2]? Is there any particular reason you don't want it to have an id? Dave [1] http://struts.apache.org/2.x/docs/themes-and-templates.html [2

Re: struts2 validation

2008-07-16 Thread Pierrot52
Hi Nicole, This is an action class that does validation of two parameters: public class SignonAction extends ActionSupport { private String username; private String password; @Override public String execute() throws Exception { Map session = null; boolean aut

Re: Problem with s:set and s:if

2008-07-16 Thread Othon Reyes Sanchez
thanks!!!. that solved my problem On Sat, Jul 12, 2008 at 12:23 PM, Gabriel Belingueres <[EMAIL PROTECTED]> wrote: > Looking at the docs: > http://struts.apache.org/2.1.2/docs/ognl.html > > there is no #page notation when using struts taglibs, since they all > use OGNL syntax. > If you need to ac

Re: Struts tags ID generation

2008-07-16 Thread Phan Le
Thanks Dave. We want to have more control of when to throw in IDs and when NOT to throw in IDs. Basically, what we want is in the struts tags, if we specify id attribute, struts should render it, otherwise, dont put auto-generated ones in. Excessive IDs are a lot harder to maintain, and w

Re: Struts tags ID generation

2008-07-16 Thread Dave Newton
--- On Wed, 7/16/08, Phan Le <[EMAIL PROTECTED]> wrote: > Anyone know which Java class or place in the source code > that the IDs are generated? It might be easier to modify the template(s) as I suggested earlier; extracting the existing templates and modifying/extending a theme is a simpler solu

RE: ActionSupport.input()-- what's it for?

2008-07-16 Thread Brad A Cupit
Tuesday, July 15, 2008 4:52 PM, Dave Newton wrote: > It's the default implementation of a method designed for form > input; validation is skipped by default. > When you have an action implementing Prepareable it's a > convenience, before annotation-based configuration you'd > configure two action

Re: struts menu problem

2008-07-16 Thread Alberto A. Flores
This is clearly not a Struts2 question, but a Struts menu question (name is misleading since it can be used outside the context of struts. I'm using it like that). A few thought: - Have you checked the generated HTML code? - Have you checked the generated CSS? - If using velocity, have you chec

Fw: RE: ActionSupport.input()-- what's it for?

2008-07-16 Thread Dave Newton
Oops, meant to send this to the list. > --- On Wed, 7/16/08, Brad A Cupit wrote: > So, before annotation-based configuration, you'd setup > action chaining to have it go from the input() method > to the execute() method? No, you'd go to form display via input(), and submit to execute(). Concept

Re[2]: autocompleter bug in forefox3 but not in ie6

2008-07-16 Thread Piotr Dzeviarylin
Yes, dojo in firefox3 works with bugs. Only loading dojo libs requires manually change some firefox defalt parameters and this a big problem for deploying web project with dojo running on ff3. I have firebug installed but it doesn't show any error. autocompleter simply doesn't pass it's values in r

Re: 'include' struts.xml stuff is broken?

2008-07-16 Thread Dave Belfer-Shevett
On Wed, 16 Jul 2008, Dave Newton wrote: --- On Tue, 7/15/08, Dave Belfer-Shevett <[EMAIL PROTECTED]> wrote: [...] the documentation page for this, naturally, provides no examples of what the include file should look like. "Naturally?" Sniping aside: the "include" documentation [1] states the

RE: Re[2]: autocompleter bug in forefox3 but not in ie6

2008-07-16 Thread Jishnu Viswanath
Opera does not work with dojo, by the way try in safari can u see what is the generated code, I am using dojo 1, so had re written almost all the ftl's. Dojo uses a hidden field where we store the data. Check if it has given the proper name in generated code. Regards, Jishnu Viswanath Software

RE: RE: ActionSupport.input()-- what's it for?

2008-07-16 Thread Brad A Cupit
> No, you'd go to form display via input(), and submit to > execute(). Oh that makes perfect sense! Got it now. > the input() method always skipped validation That makes sense too. The input method is listed in struts-default.xml as an excludeMethod for the validation interceptor. >> Even then

Re[4]: autocompleter bug in forefox3 but not in ie6

2008-07-16 Thread Piotr Dzeviarylin
I've already check the generated code in firebug. Yes, hidden fields are in place. Here is html code: apple banana grape pear And this is code form firebug: As you can see everything seems good. > Opera does not work with dojo, by the way try in safari can u s

Re: 'include' struts.xml stuff is broken?

2008-07-16 Thread Dave Newton
--- On Wed, 7/16/08, Dave Belfer-Shevett <[EMAIL PROTECTED]> wrote: > And was completely unmentioned in the document I was looking at: Sorry we didn't put it where you looked. In general I usually recommend looking at core documentation in addition to FAQs, it provides context for the more free-

Re[5]: autocompleter bug in forefox3 but not in ie6

2008-07-16 Thread Piotr Dzeviarylin
I Think I find the bug. See here: We don't have param here, only . And FF I think use getElementBuId() func, which return null if missed id param. IE in such cases use param instead of . But I still don't know how to fix problem. Don't anyone face this challenge? ---

Re: autocompleter bug in forefox3 but not in ie6

2008-07-16 Thread Jeromy Evans
Piotr Dzeviarylin wrote: I Think I find the bug. See here: For the sake of completeness, does your form work in Firefox 2.x? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[OT] good logging

2008-07-16 Thread Musachy Barroso
Every time I see this code in S2, it makes me laugh so I will share it here (DefaultActionInvocation.java): ... if (proxy == null) { gripe = "Whoa! No ActionProxy instance found in current ActionInvocation. This is bad ... very bad"; } else if (proxy.getConfig() == null) { gripe = "Sheesh

Can't access bean from jsp

2008-07-16 Thread holod
My task is: 1. Action PrepareLawDraft has private field LawDraft lawDraft ; it has public getter and setter. This action fills LawDraft object fields. 2.On ActionSupport.SUCCESS I go to processlaw.jsp On this jsp I want to output some fields of LawDraft and allow user to modify 3.Then user pre

Re: Can't access bean from jsp

2008-07-16 Thread Lukasz Lenart
> action is not the action attribute for particular form, but it's the name of the action in struts.xml, so you should put # in there. Could you post the whole stack trace? Regards -- Lukasz http://www.lenart.org.pl/ - To un

[S2] Jscalendar plugin does not work in S2.1.x

2008-07-16 Thread Giovanni Azua
hi, I followed the instructions here: http://code.google.com/p/struts2jscalendarplugin/wiki/FAQ but the jscalendar does not render ... is there anything extra to do when using with S2.1.x? is it confirmed to work/not work with that version? TIA, Giovanni

S2: /action/* - is it possible?

2008-07-16 Thread Paul Benedict
I've done *.do or /do/* in S1. Is it possible in S2 to map a URI fragment (not extension) to invoke the action? Can someone show me an example how? Paul

Re: S2: /action/* - is it possible?

2008-07-16 Thread Becky . L . O'Sullivan
It's possible - we're doing it: (Struts.xml) ... ... We also noticed Struts accepts web.action or just web, so our URLs look like this http://ourdomain.com/web/path/to/an/xml/file <-- web action is invoked -B I've done *.do or /do/* in S1. Is it possible in S2 to map a URI fragmen

parameters from url

2008-07-16 Thread piltrafeta
hello, i have a jsp code like this: myParameter is passed by url. If i execute this in tomcat(i've installed in my machine) there is no problem, the application gets the parameter; but if i execute it in the oracle application server i don't see the parameter in the text file... Does anybo

Re: Struts tags ID generation

2008-07-16 Thread Wes Wannemacher
I took a quick look at the templates, and found that there is id generation logic in UIBean.java - http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java?view=markup So, forcing an element to not have an ID might be a bit tough. I still agre

RE: Re[5]: autocompleter bug in forefox3 but not in ie6

2008-07-16 Thread Jishnu Viswanath
I noticed that but I don't think id is a mandatory field... id is give for users to do manipulation on the widget, other wise it would be mandatory field. Any way did you check what is the value sending to server? I mean the HTTP header? Regards, Jishnu Viswanath Software Engineer *(+9180

Re: Struts tags ID generation

2008-07-16 Thread Dave Newton
--- On Wed, 7/16/08, Wes Wannemacher <[EMAIL PROTECTED]> wrote: > I still agree with Dave though, that creating a custom template is > your best choice, it will require some decent freemarker skills though. It's more work than I thought originally; somehow in my head I was thinking "Oh, just chec

RE: [OT] good logging

2008-07-16 Thread Jishnu Viswanath
That was funny, any way I checked the code. catch (Exception e) { String gripe = ""; if (proxy == null) { gripe = "Whoa! No ActionProxy instance found in current ActionInvocation. This is bad ... very bad"; } else if (proxy.getConfig() == n

and redirect problem

2008-07-16 Thread Griffith, Michael *
Hello All, I have a JSP that includes a struts action as such: ]--- begin edit.jsp ---[ <%@ include file="../fragments/taglibs.jsp"%> ]--- end edit.jsp ---[ This JSP is a tile, (using Tiles 2) and the action form maps to an action like this: ...

RE: [S2] Jscalendar plugin does not work in S2.1.x

2008-07-16 Thread Giovanni Azua
Sorry, it does work, I did a mistake. Regards, Giovanni > -Original Message- > From: Giovanni Azua [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 16, 2008 6:12 PM > To: Struts Users Mailing List > Subject: [S2] Jscalendar plugin does not work in S2.1.x > > hi, > > I followed the inst

RE: DateTimePicker

2008-07-16 Thread Giovanni Azua
http://issues.apache.org/struts/browse/WW-2353 > -Original Message- > From: Pablo Vázquez Blázquez [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 15, 2008 1:54 PM > To: Struts Users Mailing List > Subject: DateTimePicker > > Hello, > > I have several problems with DateTimePicker widget

RE: struts2 validation

2008-07-16 Thread Nicole Luneburg
Hi Pierre, Thanks for your code. Yes I did get it working with annotation, phew! Nicole -Original Message- From: Pierrot52 [mailto:[EMAIL PROTECTED] Sent: Wednesday, 16 July 2008 9:48 PM To: user@struts.apache.org Subject: Re: struts2 validation Hi Nicole, This is an action class that

Re: struts menu problem

2008-07-16 Thread nauke .
Hi, Oops sorry wasn't aware of a struts menu mailing list. I will post there, thank you! On Wed, Jul 16, 2008 at 5:57 PM, Antonio Petrelli < [EMAIL PROTECTED]> wrote: > 2008/7/14 nauke. <[EMAIL PROTECTED]>: > > Hi! > > > > I'm using struts version 2.0.11. > > I am using struts menu, which works

ExecAndWait (navigating back to the progress page)

2008-07-16 Thread Chase
I want my users to be able to leave the wait page and return. Can this be done, what is the best way? I've got two actions. ActionA displays a form and the form submits to ActionB. ActionB is using the ExecAndWait interceptor. Right now users have to resubmit the form to get back to their status p

Re: [OT] What slows you down?

2008-07-16 Thread Piero Sartini
Am Freitag, 20. Juni 2008 13:43:00 schrieb Ted Husted: > But why does web application still seem so difficult or so > time-consuming? Are there time bandits that still suck days or weeks > out of your development schedule? Are there time gremlins that > "nickel-and-dime" you every hour of every day

how to use logical operator in struts logic:equal

2008-07-16 Thread hmkmajeed
Hi All, I need to translate: if ( a == 'option1' || a == 'option2' ) to struts code I don't know how to put || or && in http://www.nabble.com/how-to-use-logical-operator-in-struts-logic%3Aequal-tp18502051p18502051.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: how to use logical operator in struts logic:equal

2008-07-16 Thread Nuwan Chandrasoma
Hi, Why dont you give a try with JSTL tag. it has more control over the logic you want to check. Thanks, Nuwan hmkmajeed wrote: Hi All, I need to translate: if ( a == 'option1' || a == 'option2' ) to struts code I don't know how to put || or && in ---

Re: how to use logical operator in struts logic:equal

2008-07-16 Thread hmkmajeed
Thanks for the info Nuwan, but is there anyway to do without using JSTL?.. nuwan chandrasoma-2 wrote: > > Hi, > > Why dont you give a try with JSTL tag. it has more control over > the logic you want to check. > > Thanks, > > Nuwan > > > hmkmajeed wrote: >> Hi All, >> >> I need to tran