Struts Tag Question

2007-09-28 Thread Marco Carnevale
I have a java.util.Map in my action (value stack) and I simply want to print it's contents in an HTML table in my JSP showing the key value pairs. However, I am having an issue figuring out the proper syntax. My initial approach is to iterate over the Maps keys and then during each iteration, call

Re: [S2] How to refresh one tab in Tabbedpanel instead of whole page?

2007-05-16 Thread Marco Carnevale
h" a tab with some URL (without the form submitting), or submit a form and refresh the whole page. I haven't got both the form to submit correctly and then only that tab to refresh. It would be great if this is possible! Thanks Jason -Original Message- From: Marco Carnevale [mai

Re: Best practice - Wizard flow

2007-05-24 Thread Marco Carnevale
How about this. Each subsequent page in the wizard contains all the new form elements plus html hidden form elements for the previous save. This way you are hitting the sever between requests and not using the session. Each wizard screen is basically the 'state' for itself plus all previous scr

Re: [S2] issues

2007-06-08 Thread Marco Carnevale
I encountered a similar issue before as well. I ended up always using the toString method. (Don't forget to check for null) What I found was that when the Integers we small (5, 50, 100, ect...) the select box would match it correctly. However when the id was a larger Integer such as 1 the

Re: [S2] issues

2007-06-09 Thread Marco Carnevale
ion as well. But is this the correct behaviour or is it a bug? Thank you Marco. Rafael Dittberner Marco Carnevale escreveu: > I encountered a similar issue before as well. I ended up always using the > toString method. (Don't forget to check for null) > > What I found was th

Struts2 - Tab Panel

2007-07-13 Thread Marco Carnevale
We have an application using the s:tabbedPanel with multiple tabs loading dynamically. We are using struts 2.0.6 with tiles. What we are seeing is that the action that loads the tab content that is currently displayed is always called two times all the other tab actions are only called once. Ha

Re: Struts2 - Tab Panel

2007-07-14 Thread Marco Carnevale
Thank's for the info. I will set up a simple example in 2.0.8 to verify. On 7/13/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: That was fixed on 2.0.8 I think musachy On 7/13/07, Marco Carnevale <[EMAIL PROTECTED]> wrote: > > We have an application using the s:ta

Re: Doubled requests in TabbedPane

2007-08-10 Thread Marco Carnevale
I had the same problem when I was using 2.0.6. Upgrading to 2.0.8 \ 2.0.9resolved the issue. On 8/9/07, Sebastian Kolbe <[EMAIL PROTECTED]> wrote: > > Hello > > Hope someone can help me with this: > I have a TabbedPane with some tabs in it, each calling an url for > their content. > Now I have se

Re: WARNings from OgnlUtil during normal use of redirect-action result

2007-08-10 Thread Marco Carnevale
I am have the same question. Does anyone have any thoughts about this? On 8/9/07, Cameron, David <[EMAIL PROTECTED]> wrote: > > Hi > > I believe I'm using the redirect-action result type in the recommended > way, but I'm seeing warnings from OgnlUtil in my log4j logs. Is there a > way to avoid th

Re: Default tab in tabbedPanel loaded twice

2007-09-11 Thread Marco Carnevale
Back to your original issue. The loading of the default tab twice seems to have been resolved in 2.0.8 and/or 2.0.9. I used to have the same problem using 2.0.6 until I upgraded. Marco On 9/10/07, Alvaro Sanchez-Mariscal <[EMAIL PROTECTED]> wrote: > > Any help on this? > > In a page with 6 tab

Re: Default tab in tabbedPanel loaded twice

2007-09-12 Thread Marco Carnevale
; > Alvaro. > > On 9/11/07, Marco Carnevale <[EMAIL PROTECTED]> wrote: > > Back to your original issue. The loading of the default tab twice seems > to > > have been resolved in 2.0.8 and/or 2.0.9. I used to have the same > problem > > using 2.0.6 until I upg

Re: integrating Tiles in Struts2

2007-04-02 Thread Marco Carnevale
I had a few issues while working with tiles 2 / struts 2. Mainly the problem I found was that the documentation I was reading( http://struts.apache.org/2.x/docs/tiles-plugin.html ) has incorrect information. Correction #1: the taglib uri is NOT <%@ taglib uri="http://struts .apache.org/tags-til

Re: integrating Tiles in Struts2

2007-04-03 Thread Marco Carnevale
4/2/07, Marco Carnevale <[EMAIL PROTECTED]> wrote: > > I had a few issues while working with tiles 2 / struts 2. Mainly the > problem I found was that the documentation I was reading( > http://struts.apache.org/2.x/docs/tiles-plugin.html ) has incorrect > information. Could

Re: [S2] How to refresh one tab in Tabbedpanel instead of whole page?

2007-05-15 Thread Marco Carnevale
I am doing this on my project. The tab refreshes when the user selects a button. 1) You should know the div name for the tab you are interested in. In this example the div name is: myTabDivId 2) You need a URL to submit to when the button is pressed that returns the contents (i.e. tile