How to give a text field name dynamically?

2007-08-30 Thread Subhani Shaik
Hi, I have the following code... Question Here, 'Questions' is a class that contains 'questionID' as a field. And this returns 'List' over here. When i am iter

Re: Problem in Parameter passing.

2007-08-30 Thread Subhani Shaik
Hi, I understand the problem. I am using the Click here for making the action and I dont have defined in my JSP. If we use like this, we may not receive the parameters in the current form to be transfered to our Action class by using ParameterAware features. Hence, keep the fields with in tags

Re: Struts and Weblogic 10.0 issue

2007-08-30 Thread Paul Benedict
Sounds like the problem is WebLogic, not Struts. You should bug them if they have a problem with using Struts. Paul On 8/30/07, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > > Hi > This error is in Identity.jsp > , which is part of weblogic console application, and not my application, > so i dont

Re: STRUTS 1.3.8 Validator ist destroying my SessionToken

2007-08-30 Thread Paul Benedict
This is only possible if your input attribute species another action. Paul On 8/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Yes. Thats right. > > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im > Auftrag von Paul Benedict > Gesendet: Mittwoch, 2

Re: Multiple Struts Config - Using the form tag

2007-08-30 Thread Paul Benedict
My recommendation is to remove the use of modules. You can do this instead: config/WEB-INF/struts-a.xml,/WEB-INF/struts-b.xml Paul

Re: ActionRedirect with wrong absolute path

2007-08-30 Thread Paul Benedict
Hayrol, You've posted this problem about 4 times now. :-) If no one is responding, it won't help a fifth time, I am sorry to say. Let's continue tracking this in JIRA. https://issues.apache.org/struts/browse/STR-3089 Paul On 8/30/07, Hayrol Reyes Mejía <[EMAIL PROTECTED]> wrote: > > > Hi guys,

Re: [S2] Integrating with springframework and tiles

2007-08-30 Thread Eugen Stoianovici
wouldn't this affect the spring listener? George Dadulescu wrote: Just add the tile listener in the web.xml file of your application and set a tiles result type in the struts.xml file. On 8/31/07, Eugen Stoianovici <[EMAIL PROTECTED]> wrote: I'm using using struts 2.0.9 with springframework

Re: [S2] Integrating with springframework and tiles

2007-08-30 Thread George Dadulescu
Just add the tile listener in the web.xml file of your application and set a tiles result type in the struts.xml file. On 8/31/07, Eugen Stoianovici <[EMAIL PROTECTED]> wrote: > > I'm using using struts 2.0.9 with springframework 2.0.6 and i want to > use tiles as a template engine. Now in struts

RE: images tabbedpanel

2007-08-30 Thread Jason Wyatt
Hi Manuel, You'll need to extract the images directory into the same path where your custom templateCssPath is, then change the images. For example, I had a tabbed panel like such: The TabContainer.css is in the includes directory: web/includes/TabContainer.css The tabbed panel border colour

[S2] Integrating with springframework and tiles

2007-08-30 Thread Eugen Stoianovici
I'm using using struts 2.0.9 with springframework 2.0.6 and i want to use tiles as a template engine. Now in struts1 i would use org.apache.struts.tiles.xmlDefinition.I18nFactorySet to initialize the org.springframework.web.servlet.view.tiles.TilesConfigurer but there's no such class in struts

Re: Validation chaining in struts2

2007-08-30 Thread Ted Husted
On 8/30/07, j alex <[EMAIL PROTECTED]> wrote: > Regarding field validations, can you provide any reason why the validwhen > validator is not provided in Struts 2? . I think this is a step backwards > from Struts 1 where we could easily manage conditional validation (validate > fieldb only if fielda

ActionRedirect with wrong absolute path

2007-08-30 Thread Hayrol Reyes Mejía
Hi guys, I’m having a problem with Struts 1.2 and a IAS environment, the problem is as follow: The application use Struts 1.2 and Hibernate 3 and OraclaeAS 10g (10.1.0.2). The Application works very well in the developer OAS, but doesn't in the production's OAS (two servers). The problems occ

RE: Can you specify the name of struts.xml for Struts2?

2007-08-30 Thread James Holmes
If you find things that are documented to work and don't, please open JIRA issues and we'll get them fixed. James -Original Message- From: mraible [mailto:[EMAIL PROTECTED] Sent: Thursday, August 30, 2007 4:37 PM To: user@struts.apache.org Subject: Re: Can you specify the name of struts.

Re: struts2 velocity file extension

2007-08-30 Thread Leonidas Papadakis
Mistype on the subject , i mean struts2 Leonidas Leonidas Papadakis wrote: Greetings to all, can anyone suggest to me please how do i change the velocity file extension from .vm to .shtml ? Thank very much Leonidas - To u

images tabbedpanel

2007-08-30 Thread Manuel Correa
Hey, Some have the sources .png or any source of the images of the tabbepanel tab's. I have my applications but the people that I'm working for, want another color in that tabs... someone made this change before???... is not something Struts 2 issue, but the problem is people only cares about

Re: Can you specify the name of struts.xml for Struts2?

2007-08-30 Thread mraible
It looks like the FilterDispatcher supports a "config" init-parameter as well. However, I tried setting it to /WEB-INF/struts.xml and it didn't work for me. http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/dispatcher/FilterDispatcher.html Matt Zarar Siddiqi wrote: > > The

wstruts2 velocity file extension

2007-08-30 Thread Leonidas Papadakis
Greetings to all, can anyone suggest to me please how do i change the velocity file extension from .vm to .shtml ? Thank very much Leonidas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Validation chaining in struts2

2007-08-30 Thread j alex
Ted, Regarding field validations, can you provide any reason why the validwhen validator is not provided in Struts 2? . I think this is a step backwards from Struts 1 where we could easily manage conditional validation (validate fieldb only if fielda & fieldc meet some condition) Also, the valida

Re: struts.xml usage of element in element

2007-08-30 Thread Chris Pratt
> When would this setter be called? Can I access this property inside an > interceptor (custom interceptor/pre-packaged interceptor)? (This would help > to check it before execute is called) > I believe it is called by the ParamInterceptor, so as long as your interceptor is later in the stack, t

Re: struts.xml usage of element in element

2007-08-30 Thread akash agrawal
Chris, When would this setter be called? Can I access this property inside an interceptor (custom interceptor/pre-packaged interceptor)? (This would help to check it before execute is called) Thanks. Chris Pratt <[EMAIL PROTECTED]> wrote: Yes, setRole(String role) for my example. (*Chris*)

Re: struts.xml usage of element in element

2007-08-30 Thread Chris Pratt
Yes, setRole(String role) for my example. (*Chris*) On 8/30/07, akash agrawal <[EMAIL PROTECTED]> wrote: > Hi, > > Thanks for the reply Chris. > > Do you mean providing a setter like setRole(String role) or setRoles(String > role) would do? > > When would this setter be called? If I define an i

Re: struts.xml usage of element in element

2007-08-30 Thread akash agrawal
Hi, Thanks for the reply Chris. Do you mean providing a setter like setRole(String role) or setRoles(String role) would do? When would this setter be called? If I define an interceptor, Can I check for this property inside interceptor before my execute() is called? Thanks, -Akash Chris Pratt

Re: struts.xml usage of element in element

2007-08-30 Thread Chris Pratt
Just create a mutator in your action and Struts will populate the value for you automatically. I use this to set the Role into my base action admin (*Chris*) On 8/30/07, akash agrawal <[EMAIL PROTECTED]> wrote: > Hi, > > Can someone explain me the usage of element under element? > How

HELP! Could not open connection with host: jakarta.apache.org and port: 80??

2007-08-30 Thread Ed snooper
Hello kind person, I have a struts application that was working fine, but when I tried to move it to another server it started throwing the below error messages. Why is it trying to pull the DTD remotely? How can I fix? Thanks for any and all help Ed struts-config_1_2.dtd

struts.xml usage of element in element

2007-08-30 Thread akash agrawal
Hi, Can someone explain me the usage of element under element? How to access it property inside java action? Is this a valid config? xyz, abc1, abc2 How to access roles property in an action class? Thanks, -Akash - Shape Yahoo! in your own image.

Re: Struts 2.0.10 release availlability

2007-08-30 Thread Laurie Harper
Pedro Herrera wrote: Hil, Can someone knows when struts 2.0.10 version will be released. To quote Ted's excellent reply to the same question earlier today: No one actually knows. Our releases are driven by peer-review and take an indeterminate amount of time. We may start rolling test distr

Re: Can you specify the name of struts.xml for Struts2?

2007-08-30 Thread Zarar Siddiqi
The struts.configuration.files property in struts.properties at the root of your classpath can specify struts configuration files using a comma separated list, by default this property is set to: struts.configuration.files=struts-default.xml,struts-plugin.xml,struts.xml You can change it if you l

RE: location of DTD/schema for struts.xml Struts 2.0.9?

2007-08-30 Thread James Holmes
http://struts.apache.org/dtds/struts-2.0.dtd -Original Message- From: akash agrawal [mailto:[EMAIL PROTECTED] Sent: Thursday, August 30, 2007 2:04 PM To: Struts Users Mailing List Subject: location of DTD/schema for struts.xml Struts 2.0.9? Hi, Where is DTD/schema for struts.xml locate

location of DTD/schema for struts.xml Struts 2.0.9?

2007-08-30 Thread akash agrawal
Hi, Where is DTD/schema for struts.xml located in S2? I would like to check it DTD to find out what kind of tags are supported by S2. Thanks, -Akash - Pinpoint customers who are looking for what you sell.

RE: Struts 2.0.10 release availlability

2007-08-30 Thread James Holmes
We're working on it. Almost everything is ready to go, and it's basically down to a matter of rolling the release. As you may know, all of the plans for upcoming releases, etc. are discussed openly on the [EMAIL PROTECTED] mailing list. James -Original Message- From: Pedro Herrera [mailt

Re: struts 2.0.9 backward compatible with struts 1.x in respect to role on action mapping

2007-08-30 Thread akash agrawal
Dave, Thanks for the reply. The link you mentioned does not have much detail in it. Although, How would interceptor would solve the definition of roles information for each action in an application? If you use this interceptor you mentioned, where would you put roles information for each action

Re: How to access request & session objects in jsp using struts2 tag

2007-08-30 Thread afp
np chris! Is tat using JSTL? I am not using JSTL in my app. How can I get it working in/using struts2 tags ?? Arup Chris Pratt wrote: > > OK, sorry, I thought you were talking about the action. If you want > at the attributes you can use ${requestScope.attributename} or > ${sessionScope.att

Re: Struts and Weblogic 10.0 issue

2007-08-30 Thread Ashish Kulkarni
Hi This error is in Identity.jsp , which is part of weblogic console application, and not my application, so i dont have the source of this jsp On 8/30/07, vamsi <[EMAIL PROTECTED]> wrote: > > Can you look at this > > "input" must be followed by either attribute specifications, ">" or > "/>". > >

Can you specify the name of struts.xml for Struts2?

2007-08-30 Thread Lane, Ron
We're having a problem with Struts2 running under Jrun. The 'web application class loader' in Jrun is not finding struts.xml in WEB-INF/classes. We can put struts.xml in the overall classpath of the Java application server, but then that means only one per Java app server. 1. Has anyone else exp

Re: How to access request & session objects in jsp using struts2 tags

2007-08-30 Thread afp
> [...] but really tat doesn't quite answer the > question. In general how do we access the request or > session in the jsp? http://struts.apache.org/2.x/docs/ognl.html >> Tried what is given there and it was not working which was why I put in >> the post :( > Will what I have given below wor

Re: struts 2.0.9 backward compatible with struts 1.x in respect to role on action mapping

2007-08-30 Thread Dave Newton
Whoops; wrong button. IIRC a simplistic roles interceptor [1] was added (possibly even at my request, but it was awhile ago) which had functionality similar to S1. d. [1] http://struts.apache.org/2.x/docs/roles-interceptor.html (Doesn't seem to be displaying properly at the moment, though?) --

Re: struts 2.0.9 backward compatible with struts 1.x in respect to role on action mapping

2007-08-30 Thread Dave Newton
--- akash agrawal wrote: > (I would assume that Struts 2 is backward compatible) S2 is a *completely* different architecture and has (essentially) nothing to do with S1. d. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

struts 2.0.9 backward compatible with struts 1.x in respect to role on action mapping

2007-08-30 Thread akash agrawal
Hi, Is role attribute supported in Struts 2? It was supported in Struts version 1.x. ( I would assume that Struts 2 is backward compatible) If it is supported how to use it? Is there any example or documentation related to this. Thanks, -Akash - Pinpoin

Re: How to access request & session objects in jsp using struts2 tag

2007-08-30 Thread Chris Pratt
OK, sorry, I thought you were talking about the action. If you want at the attributes you can use ${requestScope.attributename} or ${sessionScope.attributename} and if you need to get at the actual accessors you can use ${pageContext.request.contextPath} (*Chris*) On 8/30/07, Dave Newton <[EMAI

Re: How to access request & session objects in jsp using struts2 tags

2007-08-30 Thread Dave Newton
--- afp <[EMAIL PROTECTED]> wrote: > [...] but really tat doesn't quite answer the > question. In general how do we access the request or > session in the jsp? http://struts.apache.org/2.x/docs/ognl.html > Will what I have given below work Does it work? > or what shud I be doing to make it w

Re: jsp including another jsp

2007-08-30 Thread nmall
That's good, thanks. So I need specify the action tag inside the included file header.jsp?? Also, we want to simply store and get attributes from the session instead of executing an action each time for this header. We tried doing #session. but it doesn't work in the header, although it works i

Re: How to access request & session objects in jsp using struts2 tags

2007-08-30 Thread afp
By implementing the interfaces I will have access to Request and session objects in action class alone or also in the jsp's and that too in struts2 tags only and not using scriptlets? To make it more clear will print "xyz" if the url for the page was *.action?abc=xyz Is the syntax that I used

Re: jsp including another jsp

2007-08-30 Thread Dave Newton
All you're doing is including a JSP via a standard JSP directive; no action is being executed. You might want to look at the tag [1]. d. [1] http://struts.apache.org/2.x/docs/action.html --- nmall <[EMAIL PROTECTED]> wrote: > > header is simply a jsp page called header.jsp. There > are tabs

Re: How to access request & session objects in jsp using struts2 tags

2007-08-30 Thread afp
I guess I could do that by having a flag for that in the action and then using that in the jsp but really tat doesn't quite answer the question. In general how do we access the request or session in the jsp? Will what I have given below work or what shud I be doing to make it work! Is it that I

Re: jsp including another jsp

2007-08-30 Thread nmall
header is simply a jsp page called header.jsp. There are tabs in the header page and that is being displayed correctly. This is our header page ( i have attached header1.jsp) <%@ taglib prefix="s" uri="/struts-tags" %> http://www.nabble.com/file/p12411297/header1.jsp header1.jsp Header

Struts 2.0.10 release availlability

2007-08-30 Thread Pedro Herrera
Hil, Can someone knows when struts 2.0.10 version will be released. Herrera -- View this message in context: http://www.nabble.com/Struts-2.0.10-release-availlability-tf4355471.html#a12411278 Sent from the Struts - User mailing list archive at Nabble.com. ---

Re:

2007-08-30 Thread Pedro Herrera
I´ve submitted a jira(improvement) to use validation with simple theme. I´ve suggested use alert instead. Herrera strutstwouser wrote: > > if validate=true , js function (pure client side) onsubmit is invoked on > the > form in xhtml theme ; and in ajax theme it adds and onblur validate() t

Re: How to access request & session objects in jsp using struts2 tags

2007-08-30 Thread Alvaro Sanchez-Mariscal
Use JSTL: ${requestContext.currentSection}. The same applies for session: ${sessionContext. ...} Alvaro. On 8/30/07, Chris Pratt <[EMAIL PROTECTED]> wrote: > If you just need access to the Request Attributes, try implementing > RequestAware in your action. If you need access to other, more > Se

ActionRedirect with wrong absolute path

2007-08-30 Thread Hayrol Reyes Mejía
Hi guys, I'm having a problem with Struts 1.2 and a IAS environment, the problem is as follow: The application use Struts 1.2 and Hibernate 3 and OraclaeAS 10g (10.1.0.2). The Application works very well in the developer OAS, but doesn't in the production's OAS (two servers). The problems

Re: How to access request & session objects in jsp using struts2 tags

2007-08-30 Thread Dave Newton
> On 8/30/07, afp wrote: >> I am trying to identify whether a button has >> been clicked or not in my **jsp**. Emphasis mine. The real question is why is that being done in the JSP directly from the request parameters when it would probably be better to set a flag based on whatever business logic

Re: How to access request & session objects in jsp using struts2 tags

2007-08-30 Thread Chris Pratt
If you just need access to the Request Attributes, try implementing RequestAware in your action. If you need access to other, more Servlet specific, parts of the Request, you'll have tto implement ServletRequestAware. Similarly for Sessions, if you just need the attributes, implement SessionAware

RE: Struts 2 Radio button - seperate value/label

2007-08-30 Thread Dean Pullen
Well as usual, although I spent a couple of hours trying to get it work, as soon as I post to a mailing list I discover the answer So here is how I got it to work for future reference. Created an Object like so: public class RadioModel { private int name; private String answer

Re: jsp including another jsp

2007-08-30 Thread Dave Newton
--- nmall <[EMAIL PROTECTED]> wrote: > We are using Struts 2.0.6. We have a header.jsp > which is included in each of our jsp pages. > The header is tied to an action class to retrieve a > name etc to display (which changes depending on the > login). How is it "tied to an action class"? How are

jsp including another jsp

2007-08-30 Thread nmall
Hi Folks We are using Struts 2.0.6. We have a header.jsp which is included in each of our jsp pages. The header is tied to an action class to retrieve a name etc to display ( which changes depending on the login). However, the problem we are having is the information retrieved in the action

Struts 2 Radio button - seperate value/label

2007-08-30 Thread Dean Pullen
Hi guys. I can't work out via the Struts 2 documentation how to make a radio button have a separate value and label from a given Map. I'm trying: Where 'options' is a HashMap What I get out on the JSP is one radio button only, with the following text as the label: {1=Yes, 2=No, 3

Re: Dojo-In-Struts2-Problem: IE works FF not...

2007-08-30 Thread Musachy Barroso
If you need to prevent the request you would need it. Topics have changed quite a bit between releases, if you are using 2.0.9, then the topic takes 3 parameters, and it is published before the request, after the request and when there is an error. http://struts.apache.org/2.x/docs/ajax-tags.html

Re: strange validation error : org.xml.sax.SAXParseException: Document is invalid: no grammar found.

2007-08-30 Thread Leonidas Papadakis
I know that i am replying to myself ;) but the solution is to add : Config 1.0//EN" "http://www.opensymphony.com/xwork/xwork-validator-config-1.0.dtd";> to the top of validators.xml file. Leonidas Leonidas Papadakis wrote: Greetings to all, i am trying to upgrade to struts2.09 but i am get

strange validation error : org.xml.sax.SAXParseException: Document is invalid: no grammar found.

2007-08-30 Thread Leonidas Papadakis
Greetings to all, i am trying to upgrade to struts2.09 but i am getting this error when an action has validation : 2007-08-30 17:55:23,062 [ERROR] util.DomHelper - Document is invalid: no grammar found. at (null:1:12) org.xml.sax.SAXParseException: Document is invalid: no grammar found. a

Re: Dojo-In-Struts2-Problem: IE works FF not...

2007-08-30 Thread Marc Eckart
2007/8/30, Musachy Barroso <[EMAIL PROTECTED]>: > > Well, it is on search.js line 206 ;) > > musachy > Ah, sometimes I'm blind. Firebug hide this info and I didn't take a closer look at my pastet content :-) On line 206 is this: // prevent refreshSelectedCustomer AJAX requests, if IpNbr is e

Re:

2007-08-30 Thread j alex
if validate=true , js function (pure client side) onsubmit is invoked on the form in xhtml theme ; and in ajax theme it adds and onblur validate() to every field element and validates it using ajax. Both of these use the rules defined in your validation xml file. So setting validate=true is for i

Re: Dojo-In-Struts2-Problem: IE works FF not...

2007-08-30 Thread Musachy Barroso
Well, it is on search.js line 206 ;) musachy On 8/30/07, Marc Eckart <[EMAIL PROTECTED]> wrote: > 2007/8/30, Musachy Barroso <[EMAIL PROTECTED]>: > > > > Any idea what "event" is referring to? > > > > musachy > > > > > No not really. How can I find out, which event is used? The dojo.js is not > r

How to access request & session objects in jsp using struts2 tags

2007-08-30 Thread afp
Hi, I am trying to identify whether a button has been clicked or not in my jsp. The way I do this or is trying to do this is to access the request object and then check in that for the button name. The code is as shown below The button which was clicked is coded as shown below The piece of

Re: [S2] File Download Example in showcase doesn't work with contentType application/x-download using IE

2007-08-30 Thread Joe Lam
Thanks so much. was missing attachment; in param contentDisposition (both examples in showcase do not have this) regarding exception in jsp, I just put the streaming stuff to action (return null result). thats fine. Thank you very much. Jeromy Evans - Blue Sky Minds wrote: > > IE6 displays

Iterating a collection: changing values of object-attributes

2007-08-30 Thread Arno Claassen
Hi there! I'm new to struts and need some help, hope anybody has a clue: I've got an object "DayTimeLocation" with strings day, time and location. In my form I create a collection with initially one of these objects (more to follow): public class DayTimeLocationForm extends ActionForm{ Col

Re: Dojo-In-Struts2-Problem: IE works FF not...

2007-08-30 Thread Marc Eckart
2007/8/30, Musachy Barroso <[EMAIL PROTECTED]>: > > Any idea what "event" is referring to? > > musachy > > No not really. How can I find out, which event is used? The dojo.js is not really human readable...

Re: Problem in Parameter passing.

2007-08-30 Thread chris . stewart
Shaik, Assuming you are using Struts1, you need to define your data in a struts ActionForm class. Make sure that the name of your variable is the same in the ActionForm as in the jsp control, and then you will be able to access it using the form object from within the execute method of your st

Re: Dojo-In-Struts2-Problem: IE works FF not...

2007-08-30 Thread Musachy Barroso
Any idea what "event" is referring to? musachy On 8/30/07, Marc Eckart <[EMAIL PROTECTED]> wrote: > Hi, > > I have a struts div-Tag with: > > This refreshes a jsp when the refreshSelectedCustomer topic is published. If > this happens the sessionContext Action is called (As far as I understand it)

Re: [S2] File Download Example in showcase doesn't work with contentType application/x-download using IE

2007-08-30 Thread Jeromy Evans
IE6 displays the image inline because it recognises the extension of the file in preference to the mime type. The stream result allows you to set the Content-Disposition header, as you have already done in your JSP code. attachment; filename=${fileName} This disposition will ensure the file

Problem in Parameter passing.

2007-08-30 Thread Subhani Shaik
Hi, I have a problem while passing some data from my JSP to Action action class. I have a JSP in which I have a text field. Whwn I submit the page, I need to get the text entered in the JSP into Action. I read in a article that if i implement ParameterAware interface to my action class and overr

[S2] File Download Example in showcase doesn't work with contentType application/x-download using IE

2007-08-30 Thread Joe Lam
try to make a file download action without opening the file. I try the showcase file download example. change contentType to application/x-download in struts.xml application/x-download with firefox it works fine. with IE, it still open the gif in browser. anyon

Re: How format a string when it is Displayed?

2007-08-30 Thread Josh Vickery
Oops, I missed that you are using Struts 1. I believe that you can use the format attribute of the bean:write tag: http://struts.apache.org/1.1/userGuide/struts-bean.html#write to specify a format string as described on: http://java.sun.com/j2se/1.4.2/docs/api/java/text/MessageFormat.html Josh

Re: Tiles2 first actual release

2007-08-30 Thread Antonio Petrelli
2007/8/30, Pavel Sapozhnikov <[EMAIL PROTECTED]>: > > I thought the 2 lists were shared. Nope...

Re: Tiles2 first actual release

2007-08-30 Thread Antonio Petrelli
I forgot to say it is the Tiles 2 USERS mailing list (just to be sure :-) ) Antonio 2007/8/30, Antonio Petrelli <[EMAIL PROTECTED]>: > > 2007/8/30, Pavel Sapozhnikov <[EMAIL PROTECTED]>: > > > > Hi does anyone know as to when Tiles2 release will become available. I > > know > > there is beta righ

Re: Tiles2 first actual release

2007-08-30 Thread Pavel Sapozhnikov
I thought the 2 lists were shared. On 8/30/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > > 2007/8/30, Pavel Sapozhnikov <[EMAIL PROTECTED]>: > > > > Hi does anyone know as to when Tiles2 release will become available. I > > know > > there is beta right now but I was wondering as to first relea

Re: Tiles2 first actual release

2007-08-30 Thread Antonio Petrelli
2007/8/30, Pavel Sapozhnikov <[EMAIL PROTECTED]>: > > Hi does anyone know as to when Tiles2 release will become available. I > know > there is beta right now but I was wondering as to first release. Thanks. This question should be definitely asked to Tiles 2 mailing list: http://tiles.apache.org

Tiles2 first actual release

2007-08-30 Thread Pavel Sapozhnikov
Hi does anyone know as to when Tiles2 release will become available. I know there is beta right now but I was wondering as to first release. Thanks. -- Pavel Sapozhnikov xFact, Inc [EMAIL PROTECTED]

Re: struts 2.1 release availlability

2007-08-30 Thread Ted Husted
No one actually knows. Our releases are driven by peer-review and take an indeterminate amount of time. We may start rolling test distributions of Struts 2.1 soon, but it usually takes four to six of those before we have one ready to distribute to the general public, and we haven't even done one y

Re: How to print from 1 to 10 with struts2 tags?

2007-08-30 Thread Venu Madhav
fergunet wrote: Hi all! I need to paginate some things and it would be useful to have the number of the pages like that: [first/previous] 1,2,3,_4_, 5, 6 [next/last] The _4_ is the actual_page. Yeah, is like the display:table of displaytag but made by myself. I've the stuff between the [] made

Re: multi-page forms

2007-08-30 Thread Ted Husted
Struts 2 uses a hierarchical approach to validation which could be used to support a multi-page workflow. (Struts 1 simulates a hierarchy by using the page property on the ActionForm.) The validation follows the Java class, not the action mapping. If class2 extends class1, then when class2 is valid

How to print from 1 to 10 with struts2 tags?

2007-08-30 Thread fergunet
Hi all! I need to paginate some things and it would be useful to have the number of the pages like that: [first/previous] 1,2,3,_4_, 5, 6 [next/last] The _4_ is the actual_page. Yeah, is like the display:table of displaytag but made by myself. I've the stuff between the [] made, and I only need

user@struts.apache.org

2007-08-30 Thread Pavel Sapozhnikov
Hi I have a question about this attribute. So when I put it in s:form it says its only useful with xhtml or ajax themes. Why. I read the documentation on that thing it says that this is only javascript thing. What I don't understand is that it still says to have xml file or validate() method. But

Re: Validation chaining in struts2

2007-08-30 Thread Ted Husted
Struts 2 uses a hierarchical approach to validation which could be used to support a multi-page workflow. (Struts 1 simulates a hierarchy by using the page property on the ActionForm.) The validation follows the Java class, not the action mapping. If class2 extends class1, then when class2 is valid

Struts 2 and continuations

2007-08-30 Thread Matt Reed
I am trying to use continuations with struts 2 on a weblogic server and so far as I can tell everything is set up properly, however, every time I try and access a page I get the following error: Root cause of ServletException. java.lang.NullPointerException at org.apache.struts2.continuations.C

Dojo-In-Struts2-Problem: IE works FF not...

2007-08-30 Thread Marc Eckart
Hi, I have a struts div-Tag with: This refreshes a jsp when the refreshSelectedCustomer topic is published. If this happens the sessionContext Action is called (As far as I understand it) In the selectedCustomer.jsp I have a href where I call a javascript which publishes the topic as well as a c

Re: some advanced questions in Struts2

2007-08-30 Thread Ted Husted
In Strut 2, calling any method on a class is directly supported. Essentially, "execute" is just the default. We can also specify another mapping or method to call from a button on a form, meaning that the same form can submit to different methods on the same class, or a different mapping. Struts 2

Re: Struts 2.0.9 windowState=maximized problem

2007-08-30 Thread Nils-Helge Garli
Hi! The use of maximize only changes the "size" of the window, it shouldn't really change the state of your application. The "back" button as you describe means "restore the window size". It does not change the window content. If you want to "override" this, you should create your own "back" link,

Struts 2.0.9 windowState=maximized problem

2007-08-30 Thread David Tercero
Hi all, I've got a problem, and I really don't know how to solve it. I'm using Liferay Portal 4.2.2 and Struts 2.0.9 I've got 2 portlet in the window. The one above is showing a table of authors, and clicking one row the bottom portlet shows its detail. Inside the author's detail there's a li

Question: i18n in struts 2 + velocity

2007-08-30 Thread little_fish
I'm trying struts 2, and using velocity 1.4 and velocity-tools 1.3 (for some cool stuff like struts-menu). i18n in struts 2 is quite simple and straight forward. I put "struts.custom.i18n.resources = ... " in struts.properties, and it worked perfectly. However, I couldn't figure out how to do i18

Re: logic:present available in struts 2 ?

2007-08-30 Thread wild_oscar
I would also like to know how to achieve the same functionality in Struts2! Adrian Ost wrote: > > Hi all, > > can I still use the logic-taglib in struts 2? or is there any other way > to ask for the correct role? > >... some context > > > thanks in advance > > > -

struts 2.1 release availlability

2007-08-30 Thread meissa . sakho
Hi all, Can someone knows when struts 2.1 version will be released. thank in advance. Meissa L'integrite de ce message n'etant pas assuree sur internet, Natixis ne peut etre tenu responsable de son contenu. Toute utilisation ou diffusion non autorisee est interdite. Si vous n'etes pas destinata

Enum in

2007-08-30 Thread Genadii Ganebnyi
How to use enum correctly in test statement. Currently I am doing: where SearchType is enum, but this does not work :(

[OT] Re: Can anyone explain the leading "r" in OGNL list syntax?

2007-08-30 Thread Dave Newton
FYI, http://fmpp.sourceforge.net/freemarker/versions_2_3.html gotten by searching for "freemarker +r prefix". Search for "raw" once you're there. d. --- Dave Newton <[EMAIL PROTECTED]> wrote: > I'd probably try asking this on a FreeMarker list > since the exception after removing the "r" came

can't work with validation, please help

2007-08-30 Thread Coby
Hi, I got a strange validation problem with the list which I retrieved from an action: the following form works perfectly fine without using validation, .. .. but after adding ClubAction-validation.xml, I got this error while submitting the form: tag 'select', fiel

Re: use of s:head

2007-08-30 Thread Laurie Harper
Pedro Herrera wrote: What´s the meaning o s:head. In wich cases I use it ?? http://struts.apache.org/2.x/docs/head.html Basically, the tag will render appropriate HTML for the page's theme to include resources such as style sheets, javascript and do forth. The best way to see what it's going