Re: s:iterator get value to specific key

2010-11-03 Thread Emil Dombagolla
Hi all,

Thanks a lot  for the solutions.

Emil


On Wed, Nov 3, 2010 at 9:30 AM, Dale Newfield d...@newfield.org wrote:

 in Java you have two tools to get what you're asking for:

 Map has an entrySet() method returns a SetMap.Entry, each one of which
 has a getKey() and a getValue() method.
 The original map also has a get() method.

 So translating to ognl, you can iterate over map.entrySet(), and use
 top.key, top.value (or just key, value)...or wherever you have a key, you
 can always say map.get(key).

 -Dale


 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org




DOJO Rendering

2010-11-03 Thread Richard Sayre
Due to the deprecation of the DOJO plugin I have been trying to
recreate all of my web site GUI without using Struts 2 tags.

When I create a Tabbed Pane, the web site loads, then the Tabbed Pane
renders in view of the user.  Before the UI renders it looks like a
mess.  When I used the struts 2 tags I did not have this problem.  The
GUI 99% of the time was rendered before I could see it.  Now it seems
that I always see the GUI render.  I dont want the user to see any GUI
until it is rendered properly.  Was there something configured in
Struts 2 that had the pane rendered before the client saw it? Is it
possible to achieve this without the Struts 2 tag library?


Thank you,

Rich

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



struts2 html redering problem

2010-11-03 Thread m.harig

hello , 

   am doing a application in struts2.2.1 , in which am adding some html
values in my setter method , like Home lt;Bgt;Loanlt;/Bgt; Transfer ,
when i print this values in jsp page by 
s:property value=msg / , but i want the words should be highlighted as
Home Loan Transfer , how do i overcome this? please any1 help me
-- 
View this message in context: 
http://old.nabble.com/struts2-html-redering-problem-tp30121960p30121960.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: struts2 html redering problem

2010-11-03 Thread Li Ying
You mean you want to print a message which include HTML Code?

Try s:property value=msg  escapeHtml=false



2010/11/3 m.harig m.ha...@gmail.com:

 hello ,

       am doing a application in struts2.2.1 , in which am adding some html
 values in my setter method , like Home lt;Bgt;Loanlt;/Bgt; Transfer ,
 when i print this values in jsp page by
 s:property value=msg / , but i want the words should be highlighted as
 Home Loan Transfer , how do i overcome this? please any1 help me
 --
 View this message in context: 
 http://old.nabble.com/struts2-html-redering-problem-tp30121960p30121960.html
 Sent from the Struts - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org



-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



JfreeChart plugin and dynamic size of the images

2010-11-03 Thread mccorby

Hi all,
I am using jfreechart plugin to display charts in the application.
Everything was ok until I found out that certain images were clipped. 
This happens to charts having many items in the legend so that only (part
of) the legend is displayed.
Though I can change the height property in the declaration of the action to
be higher, this is not what I'm looking for (there can be other  generated
images larger than the maximum specified in the action).
Is there any way of doing this dynamically?

Cheers,
Jose C.
-- 
View this message in context: 
http://old.nabble.com/JfreeChart-plugin-and-dynamic-size-of-the-images-tp30129303p30129303.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org