[Tiles] Definition with extends and path attributes

2006-01-31 Thread Antonio Petrelli
attributes! After doing resolveInheritances it does not solve the problem. I think the (possible) bug is in XmlDefinition.overload, where the attributes are simply copied and not checked. Thanks in advance Antonio Petrelli

Re: [Tiles] Definition with extends and path attributes

2006-01-31 Thread Antonio Petrelli
Greg Reddin ha scritto: On Jan 31, 2006, at 8:09 AM, Antonio Petrelli wrote: Does a definition such as this have sense? definition name=myName extends=myExtends path=path.jsp I've personally never had a situation like this where I extend a tile and redefine the path at the same time

Re: [Tiles] Definition with extends and path attributes

2006-01-31 Thread Antonio Petrelli
David G. Friedman ha scritto: Antonio, Could you use a Controller class to change the path=... attribute for yourself based upon some criteria or variable you set in scope (request/session). With that method, you could have one base class instead of using the same name twice in two different

Re: Tiles on Tomcat 5.0.30

2006-02-22 Thread Antonio Petrelli
. Ciao Antonio Petrelli - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[OT] Re: need some files..

2006-02-22 Thread Antonio Petrelli
hemant kumar ha scritto: hi frnds..i m very much new to struts programing...so i need some help.. i need 13 .jar files..to place them in my lib folder..plus the .tld files.. plz it would be very helpful if nebody send them to... [EMAIL PROTECTED] . thnks in advance.. And a

Re: need some files..

2006-02-22 Thread Antonio Petrelli
hemant kumar ha scritto: hi ahmed i need struts 1.1.zip file. if u hv it then send it. Seriously :-P , you can download Struts 1.1 files from the archive site: http://archive.apache.org/dist/struts/struts-1.1/ Ciao P.S.: Please do not ask anyone to send you through e-mail things you can

Re: tiles multi-channels

2006-02-28 Thread Antonio Petrelli
Zoran Avtarovski ha scritto: We are developing an application which has a requirement to present information to users using different skins depending on certain parameters (information is the same, just the base template file changes). What we'd like, is to set a flag which is then used to

Re: Tiles Not Processing JSP Content

2006-02-28 Thread Antonio Petrelli
Christopher Prince ha scritto: using tiles standalone (latest from the sandbox) the insert tag looks like tiles:insert definition=default-layout flush=true tiles:put name=title value=sign-up for a new account/ tiles:put name=content value=/signupContent.jsp/ /tiles:insert Problem is

[OT] The M in MVC (WAS: which method is better)

2006-02-28 Thread Antonio Petrelli
how correct it is...) Just my 2 eurocents Ciao Antonio Petrelli - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: tiles multi-channels

2006-03-01 Thread Antonio Petrelli
Zoran Avtarovski ha scritto: I've had a look at Dimensions and that delivers exactly what we need. It's a shame that tiles doesn't have multi-channel support out of the box. It is not a shame simply because Tiles concentrates on building templates, not on multi-channel support. In fact

Re: Changing Tiles definition based on user role

2006-03-02 Thread Antonio Petrelli
Miller, John ha scritto: Hi, I have used tiles basic functionality for some time both in Struts and JSF/MyFaces env. What I am trying to do is set my tiles definition based on user role so I would have two tiles defined the same, but based on user role the correct one would be rendered.

Re: [help] examples of multi files upload

2006-03-08 Thread Antonio Petrelli
Dave Newton ha scritto: Why? I'm uploading multiple files under Struts w/ no difficulties. Really? Are you meaning more that one file at a time? It it is so, please share your solution! Ciao Antonio - To unsubscribe,

Re: [help] examples of multi files upload

2006-03-08 Thread Antonio Petrelli
Dave Newton ha scritto: Antonio Petrelli wrote: Dave Newton ha scritto: Why? I'm uploading multiple files under Struts w/ no difficulties. Really? Are you meaning more that one file at a time? It it is so, please share your solution! What problems are you having? I

Re: tiles : Path teste does not start with a / character

2006-03-09 Thread Antonio Petrelli
vinicius ha scritto: 2) Is your tiles-defs.xml file in the right place? Yes, in agreement with struts-config.xml: et-property property=definitions-config value=/conf/tiles-defs.xml / This is a pretty strange place for tiles-defs.xml. Is it really under

Re: tiles : Path teste does not start with a / character

2006-03-09 Thread Antonio Petrelli
vinicius ha scritto: but my question still the same: I just want to do a forward and change one tile of the layout, so i have to especify an action class?? My forward and action: forward name=institucional path=/Institucional.do/ action

Re: tiles : Path teste does not start with a / character

2006-03-09 Thread Antonio Petrelli
vinicius ha scritto: Em Qui 09 Mar 2006 08:54, Antonio Petrelli escreveu: but my question still the same: I just want to do a forward and change one tile of the layout, so i have to especify an action class?? Short answer: yes. If you want to forward to a definition, say, in case

Re: Struts / Tiles Caching No Frames and Inter Tile communication

2006-03-10 Thread Antonio Petrelli
Norm ha scritto: Is there any tile caching mechanism available, or, should we develop some sort of cache before we go to the business tier so we can redraw all of the tiles anyway? I would like to make a tile sticky when the app knows there is no need to refresh it on any particular

Re: Struts Action returning null - Design query?

2006-03-10 Thread Antonio Petrelli
Saurabh Bobde ha scritto: After processing a request, the Action would simply return a null ActionForward, like so: return (null); One of the scenarios why/where they were doing this was, they needed to write to the response directly. I've seen this in Struts-Layout, where they send the

[OT] Re: what's wrong?? ---Connection with MySQL database

2006-03-14 Thread Antonio Petrelli
Dave Newton ha scritto: Total time spent (not including typing this email): about 1 minute, 45 seconds. Time spent typing the email: 2 minutes. Time you'll wait to read a response on the newsgroup: 5-15 minutes. Ability to debug your own app: priceless. There are things that you cannot buy,

Re: query about application resource and charset

2006-03-15 Thread Antonio Petrelli
Roy, Ansuman ha scritto: Hi, I have a content management system that generates the application resources.properties file. Now the value of many keys are found to be of filled with  keys. File .properties MUST have escape codes for special characters (i.e. \u codes). This is the default

Re: query about application resource and charset

2006-03-15 Thread Antonio Petrelli
Roy, Ansuman ha scritto: But the struts application uses bean tags every where so I have to generate the property file How do you generate this file then? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: query about application resource and charset

2006-03-15 Thread Antonio Petrelli
Roy, Ansuman ha scritto: I parse through the xml and using io i write it into a .properties file I think instead of java io i should use java.util's property class is it?? Yes, java.util.Properties. .properties files must be ASCII 7-bit, the Properties class takes all the burden of

Re: query about application resource and charset

2006-03-16 Thread Antonio Petrelli
Roy, Ansuman ha scritto: Thanks Antonio, that solved the problem. I used java.util.Properties so now the special characters are not coming by the way, what if I try to put russian characters or use non ascii characters in my keys?? You'll find a lot of \u, not very readable ;-) What I

Re: obtaining server URL (or ip and port) from plugin

2006-03-16 Thread Antonio Petrelli
Wojciech Ciesielski ha scritto: Hi there, I need to find URL to my application (http://myhost:8080/myAppContext) from within init() method of struts plugin (implementing PlugIn interface). Any ideas how can I do this programatically without specifying it explicitly in one of application

Re: help logic:equals

2006-03-16 Thread Antonio Petrelli
Alberto Marquÿe9s ha scritto: logic:equal name=lista property=tema value=id_tema PRINT MENSAJE /logic:equal You cannot use logic:equal this way, value must be a constant. You can use JSTL c:if http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html Ciao

Re: url after validation

2006-03-16 Thread Antonio Petrelli
Karel Honzl ha scritto: Hi, I'm using validation on action form. I have action for displayng input form named /insert and other action for form submission named /insertsubmit . But when form don't pass validation url in browser is changed to /insertsubmit.do, but I want to have there /insert.do.

Re: obtaining server URL (or ip and port) from plugin

2006-03-16 Thread Antonio Petrelli
Wojciech Ciesielski ha scritto: We are trying to create distributed computing environment based on web-apps with one master server where multiple processing servers register themselves. Communication is done by calling action via HTTP. And therefore I have to let master server know about URL

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-17 Thread Antonio Petrelli
Ted Husted ha scritto: blah blah blah... -Ted. Isn't it too much serious for a [FRIDAY] post? ;-) P.S. I just wanted to be funny, you and Cedric Du Moulin are my myths since I was at the university. Surprisingly I didn't know Mr McClanahan before subscribing to this list...

Re: struts submit tag

2006-03-21 Thread Antonio Petrelli
raghava reddy ha scritto: Hi all I am using a html:form in that i want to keep my own login image if i use html:submit it is keeping ordinary submit button please help me RTFM: http://struts.apache.org/struts-taglib/tagreference-struts-html.html#html:image Ciao Antonio

Re: Problem with character encoding.

2006-03-21 Thread Antonio Petrelli
Anjishnu Bandyopadhyay ha scritto: Hi all, I am generating a MS Word document through a JSP, by setting the JSP's content type as application/msword;. Are you using a particular library to generate the file? Anyway generating an MS Word file through JSP seems odd to me... The .doc that

Re: Multi-channels tiles

2006-03-23 Thread Antonio Petrelli
tonny bruckers ha scritto: Does any one have a working example of the use of tiles multi-channels by implementing the org.apache.struts.tiles.DefinitionsFactory interface? Dimensions uses FactorySet to use the multi-channel facility of Tiles. http://mutidimensions.sf.net/ Ciao Antonio

[OT] Re: Regards ajax

2006-03-23 Thread Antonio Petrelli
gomathi ha scritto: Hi I want to use ajax in my java application.How to use it. Any samples for one jsp page that contains some fields. Kindly Regards gomes http://www.ajaxian.com/resources/ Go to Java based section Ciao Antonio

Re: It's about basic human standards of behavior to some extent

2006-03-23 Thread Antonio Petrelli
Jonathan Revusky ha scritto: James Mitchell wrote: blah blah Will you stop to flood this mailing list and continue this flame war in your private mail boxes, please? I think we all had enough of this. - To unsubscribe,

Re: Get a list of defined Struts actions at runtime

2006-03-23 Thread Antonio Petrelli
Brantley Hobbs ha scritto: All, At runtime I need to get a list of /all/ the actions that are defined in Struts. I'd rather not extract them directly from the conf file(s) unless it's absolutely necessary, but I don't (readily) see an API for doing this so I might be forced into it. It

Re: [java.util.Map] How can I alter a java.util.Map while I am iterating it

2006-03-23 Thread Antonio Petrelli
temp temp ha scritto: I have a HashMap with some data .I must alter the Map by replacing the keys with their upper case. Ok first of all you cannot modify a HashMap while you are iterating it. But your problem has a solution. Iterate the map and store into another map the key-value

Re: [java.util.Map] How can I alter a java.util.Map while I am iterating it

2006-03-23 Thread Antonio Petrelli
temp temp ha scritto: I get this Map from a collection and collection might have 1000 or more Maps so I first iterate over this collection retrieve the map and then iterate over this map so creating a new Map for each iteration is this a good design ? Surely it is not a good

Re: Struts Tutorial

2006-03-24 Thread Antonio Petrelli
Andreas ha scritto: Hi, I'm a newbie in Struts so I'm looking for a struts tutorial on the net. I've revised some books but all of them doesn't fit my needs. Any help would be appreciated. Thanks a lot. Andreas A book I really liked and that I suggest to newbies is Struts Survival Guide:

Re: Order of struts-config.xml

2006-03-27 Thread Antonio Petrelli
Dion Gillard ha scritto: On 3/27/06, Gaurav Jain [EMAIL PROTECTED] wrote: Hi, The struts-config.xml file contains following sections:- 1. Form bean definition section 2. Global forward definition section 3. Action mapping definition section 4. Controller configuration section 5.

Re: Order of struts-config.xml

2006-03-27 Thread Antonio Petrelli
Gaurav Jain ha scritto: Yes. Each and every action is working, but I am experiencing this error in Tomcat console. ... I think it's question of pure luck, i.e. maybe the actions have been constructed before finding the error in the XML. But what are you trying to accomplish writing a

Re: action not work

2006-04-04 Thread Antonio Petrelli
red phoenix ha scritto: I have a submit button in A.jsp,and I want to submit to B.do from A.jsp,but when I click this submit button,it should submit to B.do and show some information on screen,but in fact it doesn't work, What do you mean by it doesn't work? It is a 404, a 500, what? when I

Re: Error while configure struts Datasource

2006-04-04 Thread Antonio Petrelli
red phoenix ha scritto: java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource Google is your friend. Search: org.apache.commons.dbcp.BasicDataSource The first result is a javadoc page, the second if the homepage of Jakarta Commons DBCP:

Re: action not work

2006-04-04 Thread Antonio Petrelli
Dave Newton ha scritto: Antonio Petrelli wrote: red phoenix ha scritto: when I use http://localhost:8080/B.do, it can work. Uh? Are you sure? It should be http://localhost:8080/webappName/B.do Not if you're deploying to the root webapp. Uh right... Too few hours

Re: I get exception : Path http://www.mywebsite.com/ does not start with a / character

2006-04-05 Thread Antonio Petrelli
Legolas Woodland ha scritto: The server return an exception like : java.lang.IllegalArgumentException: Path http://www.mysite.com/ does not start with a / character ... forward=forwarder; return mapping.findForward( forward ); } } Please post your action mapping,

Re: Struts tiles layout performance

2006-04-07 Thread Antonio Petrelli
Raghuveer ha scritto: In our Web application we are using struts,JSP for plumtree web application. Does there will be any performance issue using Tiles if i migrate from present normal layout to struts tiles layout If with normal you mean single JSPs, then yes, obviously there are some

Re: problem in tiles

2006-04-10 Thread Antonio Petrelli
Ahmed Hashim ha scritto: ... but i remember that I can request the page directly... You remember wrong! You cannot request a Tiles definition directly. You have at least to write a simple JSP page with tiles:insert tag. You can invoke a Tiles definition directly only through a forward, if

Re: jsp:include or tile

2006-04-12 Thread Antonio Petrelli
Raghuveer ha scritto: hi Greg, How about performance issue if we go for tiles for application that has 50 jsp's and that works 24 X 7 with minimum 4 users hitting site at same time ? What I can say is try and check it out! ;-) Anyway, through the performance perspective, Tiles is not so

Re: problem in tiles

2006-04-14 Thread Antonio Petrelli
Ahmed Hashim ha scritto: I solved the problem I think you are right, I can not call any tiles definition directly without calling an action I made a generic action definition to view my pages check the solution in my blog http://www.egjug.org/struts_action_foward_to_Tiles Ahmed Hashim

Re: logic:empty and logic:iterate

2006-04-18 Thread Antonio Petrelli
Naveen Sharma ha scritto: Hi ! Can someone Please help me with the logic:empty. I am not able to implement it Be less dumb please... the more you write, the better we can help - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Can we get PageContext from Action? - NO!

2006-04-19 Thread Antonio Petrelli
Bye! :-P - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Another Tiles Question

2006-05-10 Thread Antonio Petrelli
Troy Bull ha scritto: I have another tiles question. I have an application with a header, footer leftmenu and body. My question is should i have 1 form layed out in my layout.jsp that surrounds all these tiles, or should i have a different form on each tile. For example if you edit a form

Re: Struts Plugin Help to Data Drive Tiles

2006-05-18 Thread Antonio Petrelli
Justin Moore ha scritto: I need some help - maybe a personal excerpt or a resource on the web (document or book) that can talk about extending struts to load tiles definitions from a database. I assume that because this is an extensoin point, I will be doing this via a plugin. Not by a plugin

Re: change URL in action?

2006-05-22 Thread Antonio Petrelli
fea jabi ha scritto: c:url value=/DispatchAction.do var=addUrl c:param name=method value=add/ /c:url html:link href=${addUrl} transaction=true fmt:message key=lbl.addlink bundle=${appbundle}/ /html:link A link uses normally the GET HTTP method, therefore all your parameters

Re: Is tile definations Instance is singleton

2006-05-22 Thread Antonio Petrelli
navin mca ha scritto: Hi, I my project at run time when modify the tile definition based on some condition. Wht I want to know that when symultaneous request come for that tile (which will be used in rendering the page for that request.) Unexpected results for diff user.

Re: Is tile definations Instance is singleton

2006-05-23 Thread Antonio Petrelli
navin mca ha scritto: Hi Antonio, Oh boy your English gave me an headache! I am really sorry for my bad english. Following is my tile definition. definition name=forwardDynamicTile path=/WEB-INF/testLayOut.jsp put name=attribute1 value=attribute1Value type=string/

Re: Is tile definations Instance is singleton

2006-05-23 Thread Antonio Petrelli
navin mca ha scritto: Hi Antonio, Oh boy your English gave me an headache! I am really sorry for my bad english. Following is my tile definition. definition name=forwardDynamicTile path=/WEB-INF/testLayOut.jsp put name=attribute1 value=attribute1Value type=string/

Re: Is tile definations Instance is singleton

2006-05-23 Thread Antonio Petrelli
navin mca ha scritto: Hi Antonio , plug-in className=org.apache.struts.tiles.TilesPlugin set-property property=definitions-config value=/WEB-INF/dimensions-config.xml/ WHOOPS!! I am sorry wrong cun'n'paste: plug-in className=org.apache.struts.tiles.TilesPlugin set-property

Re: How to set hidden field in struts

2006-05-23 Thread Antonio Petrelli
Pankaj Gupta ha scritto: Hi, I want to implement a feature in struts wherein nobody can open a page directly by copying the url and pasting it in a new browser window.i.e. any page of the application can only be reached through login page. Only two words: intercepting filters.

Re: Capture JSP Response

2006-05-23 Thread Antonio Petrelli
Dinesh Mehra ha scritto: - Then I tried creating filters, I created a response filter alongwith a response wrapper and then try to capture the response but I am not able to capture the response. Uh are you sure? Remember that you have to implement both getWriter and getOutputStream! Ciao

Re: Struts app on bar code scanner

2006-05-24 Thread Antonio Petrelli
marcus biel (innoWake gmbh) ha scritto: public String getMyValue() { System.out.println(Get MyValue: + myValue); // returns NULL return this.barcode; } public void setMyValue ( String myValue) { System.out.println(My MyValue: + myValue); // Returns myValue

Re: Multi-Channels tiles

2006-05-24 Thread Antonio Petrelli
Vinit Sharma ha scritto: Hi, I'm looking for an example on multi-channels tiles. The url: http://www.lifl.fr/~dumoulin/tiles/ did not help me much. Any clues?? Dimensions is an implementation that leverages multi-channel Tiles: http://mutidimensions.sf.net/ Ciao Antonio

Re: Hi, need of help

2006-05-26 Thread Antonio Petrelli
Medicherla Lakshmi ha scritto: Hi Everyone, Am Lakshmi. Am working on a web application in struts in a company. Am alone over here on java. Everyone is on .Net. Am new to huge development on java and never worked on any project in java till now since i was on vc++. This is my first

Re: .properties file

2006-05-29 Thread Antonio Petrelli
Shervin Asgari ha scritto: Hello, can anyone point me to a tutorial or HowTo on how I can create a .properties file and how I can extract the information from this file within the source code? I don't know if Struts has some automagic stuff that does this. If you mean simple .properties

Re: Global forwards don't support Tiles definitions?

2006-06-01 Thread Antonio Petrelli
Scott Van Wart ha scritto: logic:forward name=main / http://struts.apache.org/struts-action/struts-taglib/tlddoc/logic/forward.html snip *Note*: forwarding to Tiles definitions is not supported from this tag. You should forward to them from an Action subclass. /snip html:link

Re: Problem with encoding

2007-01-03 Thread Antonio Petrelli
Mike Baroukh ha scritto: Do you know if there is a way to tell him to do it automatically ? It's strange that Eclipse default properties editor doesnt handle this automatically, isn't it ? Try this: http://propedit.sourceforge.jp/index_en.html I used it a while ago with Eclipse 3.1. It seems

Re: additional scope of a variable

2007-01-04 Thread Antonio Petrelli
Leon Rosenberg ha scritto: If you want to start a project which performs a better (or more powerful) attribute management than struts does, feel free to do this on java.net or sourceforge (I'd even conribute some code :-)) but don't expect it to become a part of struts anytime. Err... maybe it

Re: additional scope of a variable

2007-01-05 Thread Antonio Petrelli
Leon Rosenberg ha scritto: Hi Antonio, looking at your example app I have a rather side-question: Why do you add serialUid to your servlets? Because Eclipse gives me a warning, and I generated a serialVersionUID. Yes, I know it is not a good point :-) Antonio

Re: ActionRedirect with POST parameters

2007-01-05 Thread Antonio Petrelli
Information Guzzler ha scritto: Hi, Is there a way to use ActionRedirect(Struts 1.2.7 later) with POST parameters and not GET. Errr... no, it is an HTTP limitation. Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Session Object Storage Capacity.

2007-01-07 Thread Antonio Petrelli
Leon Rosenberg ha scritto: it solely depends on how much heap you give your webcontainer divided by the number of users you have/expect minus the memory the remaining application requires. size = (HEAP - APP_MEMORY)/users. Is it really so simple? :-) Anyway beware of the size of session-scoped

Re: Tiles 2 backwards compatibility

2007-01-11 Thread Antonio Petrelli
Fabien COPPENS ha scritto: Hi. Will Tiles 2 be backwards compatible with webapps developed using Tiles 1.x ? No, but it can (pretty) easily converted: http://struts.apache.org/struts-sandbox/tiles/faq.html (sorry with the problems with the characters, and sorry for the missing part of

Re: Tiles 2 woes

2007-04-11 Thread Antonio Petrelli
2007/4/11, [EMAIL PROTECTED] [EMAIL PROTECTED]: After reviewing http://struts.apache.org/2.x/docs/tiles-plugin.html it appears the tiles tag names have been changed so I updated them accordingly. Any clues before I jump? Tiles 2 is a complete rewrite of Struts-Tiles, we tried to clean up API,

Re: Tiles 2 woes

2007-04-12 Thread Antonio Petrelli
2007/4/11, [EMAIL PROTECTED] [EMAIL PROTECTED]: Also what supersedes the controllerClass tag? preparer attribute, and it must implement the ViewPreparer interface. Anyway this kind of question should be asked in the Tiles mailing list: http://tiles.apache.org/mail.html Antonio

Re: Wrong Content Type text/plain

2007-04-12 Thread Antonio Petrelli
2007/4/12, Torsten Römer [EMAIL PROTECTED]: However the documentation states that The latter [StrutsTilesListener] provides tighter integration with Struts features such as freemarker integration. so I wonder if this applies to the Tiles servlet as well and if it would be better to use it

Re: Tiles 2 woes

2007-04-12 Thread Antonio Petrelli
2007/4/12, [EMAIL PROTECTED] [EMAIL PROTECTED]: Thanks Antonio. This is what I decided after searching through the Tiles jar for prepare. Can you tell me if Tiles2 is documented somewhere. Documentation is on the way, since we were busy preparing a release (and having Easter holidays :-) )

Re: Wrong Content Type text/plain

2007-04-12 Thread Antonio Petrelli
2007/4/12, Torsten Römer [EMAIL PROTECTED]: Antonio Petrelli wrote: I'll gladly wait. I'm already happy that it works now, and I am glad I tried Struts2 after making two minor webapps with JSF/MyFaces/Tomahawk/Tiles - maybe a cumbersome combination It seems that you did not try Shale

Re: help me to use struts-layout

2007-04-13 Thread Antonio Petrelli
2007/4/13, OSMAN Mohamed AMINE [EMAIL PROTECTED]: hi, would you like help me to developping with struts-layout in my jdevelopper thank you to give me a stepby step exemple. http://struts.application-servers.com/ Antonio - To

Re: help me to use struts-layout

2007-04-13 Thread Antonio Petrelli
2007/4/13, Lance [EMAIL PROTECTED]: I hadn't heard of this before and it looks quite good. Has anyone had good / bad experiences with it? In particular with layout:collection / is it possible to get a reference to the current object and use it in and onRowClick for example? I think that you

Re: tiles definition in global forward

2007-04-13 Thread Antonio Petrelli
2007/4/13, Suman Maity [EMAIL PROTECTED]: Hi, we know that we can use a tiles definition as path of the forward tag under action tag in struts config file It looks like action path=/ .. forward name=homePage path=welcomePage redirect=true/

Re: Tiles 2 Lifecycycle

2007-04-13 Thread Antonio Petrelli
2007/4/13, stanlick [EMAIL PROTECTED]: Wouldn't it be easier if you could redirect to yourself without involving another action for this purpose? I use tile definitions as the target for all my requests. Once the user successfully does a task related to that page, I'd like to represent the

Re: Struts 2.0.6 != Shale?

2007-04-15 Thread Antonio Petrelli
2007/4/15, Nicolas Lanquetin [EMAIL PROTECTED]: So, question: Are these the same frameworks? Is Shale a codename for Struts 2? Absolutely not! Shale is a component-based framework, based on JSF. Struts 2 is an MVC framework based on WebWork. Antonio

Re: Tiles 2 Lifecycycle

2007-04-15 Thread Antonio Petrelli
2007/4/13, stanlick [EMAIL PROTECTED]: Antonio -- Can you explain this using this example? I am sorry, I did not understand you and gave you a bad answer. But I am wondering what you exactly wanted: do you want to inject beans in Tiles definitions, or JSP pages? Or possibly in the view

Re: tiles-defs.xml and extended attributes...

2007-04-16 Thread Antonio Petrelli
2007/4/13, Rod Bollinger [EMAIL PROTECTED]: Is there a way to define these extended attributes in my TLD file or would this require an extension to the tiles-config_1_3.dtd (not really preferable)? What is the correct procedure for declaring these extra attributes such that they are considered

Re: Take me out of your user group mail list

2007-04-16 Thread Antonio Petrelli
2007/4/16, Jose Cardoso [EMAIL PROTECTED]: Dear Sir, Please take my email out of your mailing list. http://struts.apache.org/mail.html Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: tiles-defs.xml and extended attributes...

2007-04-17 Thread Antonio Petrelli
2007/4/17, Rod Bollinger [EMAIL PROTECTED]: Hi Antonio, I agree that that works. In fact, both approaches function identically. That is not the issue. The only issue I was raising was how to make the SimpleMenuItem extension attributes validate properly in an IDE. Since, they are not declared

Re: FW: Tiles refresh

2007-04-18 Thread Antonio Petrelli
2007/4/17, Hehl, Thomas [EMAIL PROTECTED]: When the user clicks a button, I change the value in C, but sometimes I want to refresh B as well since it needs to re-run code to pick up the current state. I can't figure out how to do this for the specific screens of C that I want. Does anyone have a

Re: Struts2, Tiles, Velocity

2007-04-18 Thread Antonio Petrelli
2007/4/18, Charlie Rehor [EMAIL PROTECTED]: So, the question is, can you use Struts2, Velocity, and Tiles together right now? Struts 2 uses Tiles 2, but currently there is no support for Velocity templates with Tiles 2, I am sorry. Antonio

Re: tiles2 with struts1

2007-04-19 Thread Antonio Petrelli
2007/4/19, André Henke [EMAIL PROTECTED]: hi, is there a way to get struts1 work with tiles2? I'm migrating my application to struts2/tiles2 but there is still struts1 code using tiles forwards which must be supported. The Struts 1 - Tiles 2 integration code is in the trunk of the

Re: tiles2 with struts1

2007-04-19 Thread Antonio Petrelli
2007/4/19, André Henke [EMAIL PROTECTED]: hi antonio, thanks for this info, but maven build fails after: svn checkout http://svn.apache.org/repos/asf/struts/struts1/trunk mvn install You're right, it is a known issue (see the comments): http://issues.apache.org/struts/browse/STR-3017 I hope

[OT] Re: URL parameters separator

2007-04-20 Thread Antonio Petrelli
2007/4/20, Marcello Savino [EMAIL PROTECTED]: The code works good. But the generated url are in this form: http://localhost:8080/myApp/myAction.do?id=161298year=2005 Instead of http://localhost:8080/myApp/myAction.do?id=161298amp;year=2005 As required by the DTD declared (xhtml 1.0 strict)

Re: Regarding tag libraries

2007-04-23 Thread Antonio Petrelli
2007/4/23, Kapil Sharma [EMAIL PROTECTED]: Hello to all, I am very new to struts. I am using struts 1.0. I have developed a small application. Curious, you're new to Struts and you are using the 1.0 version? Therefore i would like to know the libraries present in the best appliation. I

Re: bean scope in ApplicationContext-struts.xml

2007-04-23 Thread Antonio Petrelli
2007/4/23, arunabh [EMAIL PROTECTED]: Hi , In the ApplicationContext-struts.xml what are the different values for the scope attribute of bean tag . And what different values mean over there . I desperately heed help in that . Are you writing about Struts or Spring? In the latter case, write

Re: bean scope in ApplicationContext-struts.xml

2007-04-23 Thread Antonio Petrelli
2007/4/23, arunabh [EMAIL PROTECTED]: 2007/4/23, arunabh [EMAIL PROTECTED]: Hi , In the ApplicationContext-struts.xml what are the different values for the scope attribute of bean tag . And what different values mean over there . I desperately heed help in that . Are you writing about

Re: URL parameters separator

2007-04-23 Thread Antonio Petrelli
2007/4/23, Christopher Schultz [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harring, Harring Figueiredo wrote: I am not sure if the DTD declares that (I did not take a look at it), but basically the way to pass param on a HTML URL is the way it was generated - Every

Re: Tiles 2 Lifecycycle

2007-04-24 Thread Antonio Petrelli
2007/4/23, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi Antonio -- I have been teaching for the past couple weeks and now returning to S2/Tiles. I would like to understand how Tiles affects the S2 lifecycle. AFAIK Tiles affects S2 only in rendering the results. What I mean is if you are using a

Re: Nullpointer Exception in html:link doStartTag()

2007-04-26 Thread Antonio Petrelli
2007/4/26, Hiltenkamp Andreas [EMAIL PROTECTED]: Hi ! We get a NullPointerException when using the Struts 1.3.8 html:rewrite tag in a JSP Page using an Bea Weblogic 8.1 application server. For testing purposes the page currently contains the following two lines html:rewrite page=/meta.css /

Re: [BEER] Re: Books

2007-04-27 Thread Antonio Petrelli
We're all sadistic after all. At Tiles 2 we changed DTDs and tag libraries completely, not to mention the APIs. It's a real sadistic pleasure seeing developers in difficulties when trying to upgrade :-) Antonio 2007/4/27, Harring Figueiredo [EMAIL PROTECTED]: By th eway he describes the whole

Re: dbproblem

2007-05-04 Thread Antonio Petrelli
2007/5/4, jalal udeen [EMAIL PROTECTED]: the problem is when i refresh the testpage .jsp the values registered again inserted into the Database If I understood you well, this is the tipical problem of the double submit. To solve it, you should use the redirect after post pattern:

Re: HDIV 1.1.2 released

2007-05-04 Thread Antonio Petrelli
2007/5/4, [EMAIL PROTECTED] [EMAIL PROTECTED]: - Support for Tiles Which Tiles? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: HDIV 1.1.2 released

2007-05-04 Thread Antonio Petrelli
2007/5/4, Antonio Petrelli [EMAIL PROTECTED]: 2007/5/4, [EMAIL PROTECTED] [EMAIL PROTECTED]: - Support for Tiles Which Tiles? Don't bother, I noticed that you refer to Struts-Tiles :-( Antonio - To unsubscribe, e-mail

Re: Too many open files

2007-05-07 Thread Antonio Petrelli
2007/5/7, Jon Wynacht [EMAIL PROTECTED]: Hi, I've got an app that, when it gets heavy usage, often dies with this message: May 5, 2007 5:38:36 PM org.apache.catalina.core.StandardServer await SEVERE: StandardServer.await: accept: java.net.SocketException: Too many open files Maybe it's a

Re: error on struts 1.1

2007-05-07 Thread Antonio Petrelli
2007/5/7, maya [EMAIL PROTECTED]: hi, on this pg of struts 1.1 documentation, Time to upgrade I suppose :-) 2007/5/7, maya [EMAIL PROTECTED]: it says where to put jar's, tld's, etc.. but not dtd's... what are dtd's I went to Google and typed dtd, this is the first result:

  1   2   3   4   5   6   7   8   9   >