Re: using CompositeActionMapper

2008-09-28 Thread Jeromy Evans
Allen Lee wrote: Hey there, Has anyone successfully gotten CompositeActionMapper to work and how? name="addressMapper" class="com.mycompany.actionmapper.CustomActionMapper" /> name="compositeMapper" class="org.apache.struts2.dispatcher.mapper.CompositeActionMapper" />

Re: Struts2 OGNL Problem

2008-11-18 Thread Jeromy Evans
e iterated over. Then will definitely iterate over it. Within your sample code you referenced #item but that doesn't exist. When inside the iteration, the top of the stack is the item being iterated over, so will get the property name "link" of the current item, and so on.

Re: Tabbed panel performance

2008-11-18 Thread Jeromy Evans
Pablo Vázquez Blázquez wrote: Any idea about why am I getting increasing response times each time I access to the page? I have already a great response time the first time I access to the page (which is also a problem), but my main problem is that after 6 or 7 accesses it in unmanageable...

Re: Tabbed panel performance

2008-11-18 Thread Jeromy Evans
ure to use compared to the Struts2 tags so I think you'll find conversion a positive experience without regret. Good luck! regards, Jeromy Evans Pablo Vázquez Blázquez wrote: Just a bit more information. I have profiled (using firebug) the action (always the same action with the same con

Re: Problem customizing dojo

2008-11-19 Thread Jeromy Evans
Pablo Vázquez Blázquez wrote: Hi all! I have followed the instructions in http://cwiki.apache.org/S2WIKI/creating-a-custom-dojo-profile-for-struts-20x.html, with a dojo-0.4.3 release. Now, my "s:datetime" tags don´t work, neither the images of a tabbedpannel are loaded. Any idea? Thanks.

Re: Use Same JSP Page For Several Modes (View, Edit, Approve, Create)

2008-11-19 Thread Jeromy Evans
Alberto Flores wrote: The way I did was to override the backing components of the struts tags. I added logic there to simple control which template is used (depending on the role). I felt that I could use the Components (and Tag objects) as controllers for this purpose. I've taken a similar

Re: Form submitted twice (no AJAX!)

2008-11-19 Thread Jeromy Evans
Milan Milanovic wrote: Hi, I have a simple jsp form: And when user click submit button, this form get submitted twice, i.e. showReport form action method is called twice! I'm NOT USING AJAX here, I DON'T HAVE ANY Javascript functions in this page. You D

Re: Struts 2: What do i need to do to be able to upload files

2008-11-19 Thread Jeromy Evans
ryan webb wrote: Hello, first I would like to thank you for reading my email. I am trying out some examples for uploading a file. And I always get HTTP 500 error from tomcat. I can't see why, I followed and copied the example. For sure I missed something but I don't know what? I tried debuggin

Re: Struts 2: What do i need to do to be able to upload files

2008-11-20 Thread Jeromy Evans
tters: void setUpload(File file); void setUploadFileName(String fileName); void setUploadContentType(String contentType); That's slightly different than your quoted configuration (as calling the File "file" implies there should be a setFileFileName method). That shouldn't cause a

Re: URL question

2007-05-18 Thread Jeromy Evans - Blue Sky Minds
If you mean you want a request to http://www.myapp.com/ to execute input.action, you can: - create an index.html with an http redirect header to index.action; or - setup your webserver or container so that index.action is the default welcome "file" (rather than index.html, index.jsp etc); or

<    3   4   5   6   7   8