Jasper Report Plugin

2008-07-04 Thread Felipe Rodrigues
Hi Guys, I'm having a problem when trying to use JasperReport plugin in a linux machine. I'm getting root cause java.lang.InternalError: Can't connect to X11 window server using 'localhost:0.0' as the value of the DISPLAY variable. sun.awt.X11GraphicsEnvironment.initDisplay(Native

AutoCompleter doesn't keeps value.

2007-06-25 Thread Felipe Rodrigues
Hi Guys, This time I'm trying to make a autocompleter component keep its value when its property comes populated from action. input dojoType=struts:ComboBox name=autoCompleterKey keyName=autoCompleter

Re: AutoCompleter doesn't keeps value.

2007-06-25 Thread Felipe Rodrigues
No, Using keyName. I'll confirm, but I think I've already tried use value. Musachy Barroso wrote: Are you setting the value with the value attribute? musachy On 6/25/07, Felipe Rodrigues [EMAIL PROTECTED] wrote: Hi Guys, This time I'm trying to make a autocompleter component

Re: AutoCompleter doesn't keeps value.

2007-06-25 Thread Felipe Rodrigues
Doesn't work even if I set value with value or key attribute. So weird. Any other suggestion? []'s Felipe Felipe Rodrigues wrote: No, Using keyName. I'll confirm, but I think I've already tried use value. Musachy Barroso wrote: Are you setting the value with the value

Re: AutoCompleter doesn't keeps value.

2007-06-25 Thread Felipe Rodrigues
Found it... Looking at Dojo attributes I found initialValue attribute. My bad guys, Thanks anyway. Felipe Felipe Rodrigues wrote: Doesn't work even if I set value with value or key attribute. So weird. Any other suggestion? []'s Felipe Felipe Rodrigues wrote

Re: AutoCompleter doesn't keeps value.

2007-06-25 Thread Felipe Rodrigues
style=width: 149px;/ dataURL = href and initialValue = nameValue Regards, Felipe Musachy Barroso wrote: Are you using the href attribute to load the values using AJAX? musachy On 6/25/07, Felipe Rodrigues [EMAIL PROTECTED] wrote: Doesn't work even if I set value

Re: [S2] OptionTransferSelect in 2.0.8

2007-06-25 Thread Felipe Rodrigues
HI, I'm having a similar problem. My action only get's the really selected(Highlighted) values of doubleSelect. If I don't click in at least one, I get an null object in the list inside my action. did anything changed? Tahnks, Felipe Julien Leonard wrote: Hi all, In 2.0.6, I used

AutoCompleter doesn't work good in IE7

2007-06-22 Thread Felipe Rodrigues
Hi Guys, I have an autocompleter tag in my app, but it isn't working good in IE7. In FF it is doing good. The problem is when I keep typing, there are some options that it doesn't retrieve. I little strange and hard to explain. I'm generating the JSON using a freemarker template, like this: [

Re: AutoCompleter doesn't work good in IE7

2007-06-22 Thread Felipe Rodrigues
I do that without use this att? Thanks, Felipe Felipe Rodrigues wrote: Hi Guys, I have an autocompleter tag in my app, but it isn't working good in IE7. In FF it is doing good. The problem is when I keep typing, there are some options that it doesn't retrieve. I little strange

Re: AutoCompleter doesn't work good in IE7

2007-06-22 Thread Felipe Rodrigues
on IE 7. musachy On 6/22/07, Felipe Rodrigues [EMAIL PROTECTED] wrote: Well, Regarding that ShowCase is working on IE7, I suppose the issue is on loadOnTextChange. I'm using that because the list is really big, and I can't bring it in one time. About 35000 records comming from

Re: AutoCompleter doesn't work good in IE7

2007-06-22 Thread Felipe Rodrigues
have to install IE 7 and test it, but I've been pushing that :) On 6/22/07, Felipe Rodrigues [EMAIL PROTECTED] wrote: debug-true worked. But the message is not a big thing., at least for me. Doesn't say much. FATAL exception raised: [object Error] FATAL exception raised: [object Error

Re: AutoCompleter doesn't work good in IE7

2007-06-22 Thread Felipe Rodrigues
I found it. :-)) the problem was in my template. The comma in the end of jSon return was crasshing my list. So I fixed only changin to that: [ #list vars as var [${var}], /#list [] ] Thanks for your help. Felipe Felipe Rodrigues wrote: A strange thing is that ShowCase is working

Re: Action tag with lots of params???

2007-05-14 Thread Felipe Rodrigues
Nobody have any idea? []'s Felipe Felipe Rodrigues wrote: Hi Guys, Is it possible? When I try that, my action only set the varId and don't even call the others set methods. How do something like that? s:action name=MyAction!addNewValue s:param name=newValue value=${value

Re: Action tag with lots of params???

2007-05-14 Thread Felipe Rodrigues
? Thanks, Felipe Dave Newton-4 wrote: --- Felipe Rodrigues [EMAIL PROTECTED] wrote: Nobody have any idea? Is there any particular reason you're not using OGNL EL in the value attributes? I don't know that that's the problem, but it makes me nervous. d. s:action name=MyAction

Re: Action tag with lots of params???

2007-05-14 Thread Felipe Rodrigues
question. You said ParameterAware. So why exactly should I use that to get simple parameters? I wonder if there isn't a way to do that by using JavaScript (dojo.io.bind) without redirect to a JSP and use a s:action Some Idea? Thanks, Felipe Dave Newton-4 wrote: --- Felipe Rodrigues [EMAIL

Action tag with lots of params???

2007-05-11 Thread Felipe Rodrigues
Hi Guys, Is it possible? When I try that, my action only set the varId and don't even call the others set methods. How do something like that? s:action name=MyAction!addNewValue s:param name=newValue value=${value} / s:param name=varId value=${varId} / s:param name=outConsiderValue

Re: OGNL question

2007-05-09 Thread Felipe Rodrigues
through to the rendered HTML. If you're still having trouble, try describing what exactly you are trying to achieve, and posting a more complete code sample of how you're trying to achieve it. L. Felipe Rodrigues wrote: I'm sorry, but I didn't got it. When I pass in a parameter, I'll send

Re: OGNL question

2007-05-09 Thread Felipe Rodrigues
Sure, you can find it at http://struts.apache.org/2.x/docs/home.html bigtdps2004 wrote: Dopes anyone know where there is a good beginners tutorial on developing their first struts application even if I am using Eclipse, Ant and MySql ? Thank you

Re: OGNL question

2007-05-09 Thread Felipe Rodrigues
I got it using c:forEach again. I didn't realize that I can use EL to get values from some Action as well. But I keep wondering if I can't do that by using s:iterator and OGNL. Thanks, Felipe Felipe Rodrigues wrote: I'm sorry about don't provide all the informations. I'll try to explain

OGNL question

2007-05-08 Thread Felipe Rodrigues
Hi, How could i do that s:url id=setUsina${id} action=UpdateHome!selectPlant /s:url s:a id=any name=any href=%{setUsina${id}} theme=ajaxLink/s:a changing EL by OGNL? The especific part href=%{setUsina${id}} . I tried href=%{setUsina(#id)} but didn't work.

Re: OGNL question

2007-05-08 Thread Felipe Rodrigues
is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: Felipe Rodrigues [EMAIL PROTECTED] To: user@struts.apache.org Sent

Re: Problem with s:param tag

2007-05-04 Thread Felipe Rodrigues
. Felipe Rodrigues wrote: I'm sorry, but I'm away from my code, so I'll try to reproduce here. The code is pretty simple. -- END OF CODE The JSP: c:foreach items=somMap var=mapItem

Re: change doubleselected appreance?

2007-05-04 Thread Felipe Rodrigues
you can also take the templates folder out of the jar, and by this way change the respective .ftl to change the layout and behavior of your component. It is quite simple, if you have this out of your .jar. But if your change is really big, then you should extend the theme instead! Good luck!

TabbedPannel: So many problems.

2007-05-03 Thread Felipe Rodrigues
Hi Guys, I'm really trying to use TabbedPannel, but it seems to have lots of problems when you try to use in a real world WebApp. For example, I have a TabbedPannel with 6 tabs. Each one is a remote one. The problem here is, when the user change the tab, I need to update a session attribute.

Re: TabbedPannel: So many problems.

2007-05-03 Thread Felipe Rodrigues
theme :) regards musachy On 5/3/07, Felipe Rodrigues [EMAIL PROTECTED] wrote: Hi Guys, I'm really trying to use TabbedPannel, but it seems to have lots of problems when you try to use in a real world WebApp. For example, I have a TabbedPannel with 6 tabs. Each one is a remote one

Problem with s:param tag

2007-05-03 Thread Felipe Rodrigues
Hi guys, Sometimes when I use s:param tag, the value that I got in my action has a appended to it. I can treat that by replacing this, but it is not a good solution. Does anybody heard anything about that? I've looked at the source code of param tag in the Struts source code, and there is a

Re: [S2] s:form tag problems

2007-05-03 Thread Felipe Rodrigues
Hi, there is issue for that. It is fixed for 2.0.8 version You can look at it in the link https://issues.apache.org/struts/browse/WW-1758 https://issues.apache.org/struts/browse/WW-1758 regards, Felipe Roger Varley wrote: I'm sorry to keep harping on about this but some of the

Re: CSS styles for Table Tags

2007-05-03 Thread Felipe Rodrigues
Isn't it deprecated? Just to make sure. Regards, Felipe Olivier THIERRY wrote: Hi, I use the Table Tags plugin, but I can't find a way to apply CSS classes to table or thead tags generated by the plugin since there is no cssClass or similar attribute. Does anyone have an idea about

Re: Problem with s:param tag

2007-05-03 Thread Felipe Rodrigues
the as its last charracter. So weird, but I'm wondering if no one else have seen this behavior. If this code is not enougth, let me know and tomorrow I can send you the real piece of code. Thanks, Felipe Laurie Harper wrote: Felipe Rodrigues wrote: Hi guys, Sometimes when I use s:param tag

How to capture an event when changing the selectedTab in a TabbedPannel?

2007-05-02 Thread Felipe Rodrigues
Hi guys, I've got a question. How to trigger somerhing when change from one tab to another one? Thanks, Felipe -- View this message in context: http://www.nabble.com/How-to-capture-an-event-when-changing-the-selectedTab-in-a-TabbedPannel--tf3680726.html#a10286356 Sent from the Struts - User

Re: How to capture an event when changing the selectedTab in a TabbedPannel?

2007-05-02 Thread Felipe Rodrigues
Yeah, I remembered. I reported it. But the hope is just like mother-in-law. The last to be dead. Thanks Anyway. Felipe Musachy Barroso wrote: There is an open issue for this, but I haven't got to it yet musachy On 5/2/07, Felipe Rodrigues [EMAIL PROTECTED] wrote: Hi guys, I've

Re: TabbedPanel layout mess in Firefox

2007-04-30 Thread Felipe Rodrigues
(showLoadingText=false). Or am I missing something here :)? regards musachy On 4/27/07, Dave Newton [EMAIL PROTECTED] wrote: --- Felipe Rodrigues [EMAIL PROTECTED] wrote: And about the content that tabbedPanel shows when loading. Do you see that? Yes; while the content is loading

Re: [s2] use remoteUser with struts tags

2007-04-30 Thread Felipe Rodrigues
to don't use EL. Regards, Felipe Marcin Orlinski wrote: Hello I have problem only in JSP. I have disabled EL and I tried use OGNL. Can you give me example how to get this information ? Best regards. Marcin Orliński Felipe Rodrigues wrote: Well, If you're in a JSP, you can get

Re: Dynamic back button

2007-04-30 Thread Felipe Rodrigues
Send the url to get back as a parameter. So you can just use EL in your link or javascript. Regards, Felipe David Harland wrote: Hi, I have a page that can be reached from various other pages. On this page is a button that will send them back to the page they came from via the action

Re: action forward to servlet

2007-04-30 Thread Felipe Rodrigues
Preserver de session? Session is already preserved. Did you try that? To get values from session in your servlet you must use Session ses = request.getSession(). Than you have your session object. Parameters from request? You should use request.getParameters(). To get Action fields, well I'm not

Re: resetting form when refreshed

2007-04-30 Thread Felipe Rodrigues
You can find it at http://struts.apache.org/2.x/docs/home.html Look for notifytopics and listentopics. You'll have to use an ajax behavior, so would be nice to read all the ajax stuff there. There are lots of examples there. Regards, Felipe sudeepj2ee wrote: Hi could you send me a way out

Dojo.io.bind vs IE7

2007-04-27 Thread Felipe Rodrigues
Hi guys, I'm having problems to make a Dojo.io.bind in IE7. I've trying to find something in Dojo's foruns, but have nothing that I can use. Does anyone knows something about that? I'll appreciate any help. Thanks, Felipe -- View this message in context:

Re: [S2] Problem with Form Tag

2007-04-27 Thread Felipe Rodrigues
Put disabled in the fields instead of in the form. regards, Felipe Roger Varley wrote: Hi I've got this snippet in my .jsp file s:iterator value=order.details status=status s:set name=indexValue value=#status.index/ s:form id=form%{#indexValue}

Re: s:textfield question

2007-04-27 Thread Felipe Rodrigues
Is the method you're calling binded in some action that result in this form? I mean, to call some method by OGNL this method should be on the stack. Make sure it is on the stack, if it is and keeps not working, post the code of your action and your form here. Regards, Felipe meeboo wrote:

Re: [S2] Problem with Form Tag

2007-04-27 Thread Felipe Rodrigues
Did you tried set readOnly? Are you using ajax theme? If yes, maybe this is the problem. Try the others theme. In the most of cases, this won't affect the ajax behavior of application, once submit has its theme setted to ajax. Regards, Felipe Roger Varley wrote: On 27/04/07, Felipe

Re: s:textfield question

2007-04-27 Thread Felipe Rodrigues
Well, when you're calling a method you should use %{} or #, otherwise it would print as a literal. I'm not sure about what of % or # will work. Dave Newton-4 wrote: --- meeboo [EMAIL PROTECTED] wrote: But when I write s:textfield value=getMovieCategory(category)/ it only prints out

Re: [S2] Newbie Passing S2 variables to javascript functions

2007-04-27 Thread Felipe Rodrigues
Once you've setted this var, you can use Plain Old EL to get it. ${indexValue} should work . A good pratice in this case is define the scope you're setting this var. Regards, Felipe Roger Varley wrote: Hi Within a s:iterator tag I have the following statement s:set name=indexValue

TabbedPanel layout mess in Firefox

2007-04-27 Thread Felipe Rodrigues
I have a TabbedPanel that works so weel in IE, but is a mess in Firefox. At each tab content (which is remote) I saw a line right up this div. This line seems to be the border of TabbedPanel, but the content is outside this line. AnyIdea? Thanks Felipe -- View this message in context:

Re: TabbedPanel layout mess in Firefox

2007-04-27 Thread Felipe Rodrigues
in Firefox. When loading the TabbedPanel, It shows the content of all of my tabs. In IE it doesn't happen. Is there some hack to that? Thanks, Felipe Musachy Barroso wrote: Make sure the returned html (for each div) is well formed. musachy On 4/27/07, Felipe Rodrigues [EMAIL PROTECTED

Re: [s2] use remoteUser with struts tags

2007-04-27 Thread Felipe Rodrigues
Well, If you're in a JSP, you can get it direct from the request, even using EL or using expressions. If you're in a action you may want take a look at the documentation. Specific in the part of FAQ - How To. You'll find that you can get the request object by implementing the interface

Re: S2: How to get namespace of currently executed action from interceptor?

2007-04-27 Thread Felipe Rodrigues
Did you tried use ActionContext? Regards, Felipe Dmitriy Kuznetsov wrote: Hi. I have interceptor that logs requests to actions. In it's intercept(ActionInvocation) method i easily find the name of currently executed action using following code: public String

Re: TabbedPanel layout mess in Firefox

2007-04-27 Thread Felipe Rodrigues
understand a lots of remotes div and DB process. Thanks, Felipe Dave Newton-4 wrote: FWIW I am using the tabbed panel w/ S2.0.6 under FF and it's rendering okay (well, I haven't worked on it since I installed FF2, so I suppose all bets are off). d. --- Felipe Rodrigues [EMAIL PROTECTED

Re: How to realize ajax in struts2

2007-04-24 Thread Felipe Rodrigues
I guess you're looking for custom validation. You can find it surfing at http://struts.apache.org/2.x/docs/home.html By the way, in your code, aren't you missing the s:form tag? Struts forms are similar to HTML forms. You must wrap the ui components in a s:form, except in special cases.

Optiontransferselect button customization.

2007-04-24 Thread Felipe Rodrigues
Hi guys, Can I somehow change the button (e.g. addAllToLeft) of a Optiontransferselect to some image? I imagine it can be done by changing the ftl, but I'd like some clues to do that. Would be great to define some id for these buttons, then we could change it by css. How about that? Thanks,

Re: ActionContext not working properly with IE

2007-04-23 Thread Felipe Rodrigues
Hi, After a weekend, we are back to reality... Some other clue to help me fix this issue? Thanks, Felipe Felipe Rodrigues wrote: yes. But this is not the div I'm trying to update. Musachy Barroso wrote: Is the submit button inside the div? something like: div id=div1

Re: ActionContext not working properly with IE

2007-04-23 Thread Felipe Rodrigues
issue there? Thanks, Felipe Musachy Barroso wrote: Try setting formId=formVariaveis in the submit button. musachy On 4/23/07, Felipe Rodrigues [EMAIL PROTECTED] wrote: Hi, After a weekend, we are back to reality... Some other clue to help me fix this issue? Thanks, Felipe

Re: ActionContext not working properly with IE

2007-04-23 Thread Felipe Rodrigues
div only listen the after topic without use javascript? Or even using javaScript? Thanks once again, Felipe Felipe Rodrigues wrote: I've tried it. An interesting thing is: With anchor it works fine. using s:a. I can do my system using anchor, but I would suggest someone else try do

Re: ActionContext not working properly with IE

2007-04-23 Thread Felipe Rodrigues
/07, Felipe Rodrigues [EMAIL PROTECTED] wrote: Ok. I found out one more thing. I think we are getting close to the real bug. Button (or even anchor) doesn't works when I use targets. If I remove target, then all the thing works fine. But I need to refresh my screen after submit this form. I

Re: ActionContext not working properly with IE

2007-04-23 Thread Felipe Rodrigues
Yes, So good. I've setted the showLoading text to subimmit button, but I've forgot to remove in the div. We must take it out from both. Thanks a lot man, You've saved my job. :-) Regards, Felipe Rodrigues Musachy Barroso wrote: it is the bug I've been talking about all time long

Re: Iterating through a map

2007-04-23 Thread Felipe Rodrigues
I'm not so sure if you can iterate over a Map. Even in Plain Old Java Code you can't do that. A good solution is create a keySet or a list from Map's keys and iterate over that, using each object to get the Map values. Good look, Felipe meeboo wrote: Hey all How do I iterate through

ActionContext not working properly with IE

2007-04-20 Thread Felipe Rodrigues
Hi guys, I'm using ActionContext to get get some fields from a form that is dinamically generated. So, I use, ActionContext.getContext( ).getParameters( ) that returns me a Map. It works fine in Firefox, but don't work in IE. When using IE it returns a empty Map. I tried get the request object,

Re: ActionContext not working properly with IE

2007-04-20 Thread Felipe Rodrigues
Sure, Pls, excuse the names in portuguese. It is not a simple form, and it is in this way because it is dinamicaly generated. - BEGIN OF CODE --- s:form id=formVariaveis action=Variaveis!updateMovs

Re: ActionContext not working properly with IE

2007-04-20 Thread Felipe Rodrigues
I don't want to screw up, but doesn't it sound like a bug? I have nowhere more to look for a solution. {} Felipe Felipe Rodrigues wrote: Sure, Pls, excuse the names in portuguese. It is not a simple form, and it is in this way because it is dinamicaly generated

Re: ActionContext not working properly with IE

2007-04-20 Thread Felipe Rodrigues
. But it does sound weird. Try to narrow it down to a simple form, with a simple action, with no extra-interceptors, etc. musachy On 4/20/07, Felipe Rodrigues [EMAIL PROTECTED] wrote: I don't want to screw up, but doesn't it sound like a bug? I have nowhere more to look for a solution

Re: ActionContext not working properly with IE

2007-04-20 Thread Felipe Rodrigues
Hi again, I tried without the theme=ajax in the submit button. It worked even at IE, but then, I lost the ajax behavior. I need update a div. So I think it is a bug of ajax theme vs IE. What do you think? Thanks, Felipe Felipe Rodrigues wrote: Thanks for the help, Now I'm trying

Re: ActionContext not working properly with IE

2007-04-20 Thread Felipe Rodrigues
musachy On 4/20/07, Felipe Rodrigues [EMAIL PROTECTED] wrote: Hi again, I tried without the theme=ajax in the submit button. It worked even at IE, but then, I lost the ajax behavior. I need update a div. So I think it is a bug of ajax theme vs IE. What do you think? Thanks, Felipe

Re: ActionContext not working properly with IE

2007-04-20 Thread Felipe Rodrigues
I puzzled my last email. Sending again in the right order. The message was: DEBUG: widget ID collision on ID: btGravar. But I already changed the Id. The problem keeps up. Thanks Felipe Rodrigues wrote: DEBUG: widget ID collision on ID: btGravar. I've changed this ID and I don't get

Re: ActionContext not working properly with IE

2007-04-20 Thread Felipe Rodrigues
yes. But this is not the div I'm trying to update. Musachy Barroso wrote: Is the submit button inside the div? something like: div id=div1 s:submit targets=div1 .../ /div musachy On 4/20/07, Felipe Rodrigues [EMAIL PROTECTED] wrote: DEBUG: widget ID collision on ID

Re: AJAX validation

2007-04-20 Thread Felipe Rodrigues
Try take the theme=ajax of your form. Put theme=ajax in your submit button. Then, you can remove any DWR reference of your project if you're not using to anything else. Should work, at least until we got fixed the ajax validation. Regards, Felipe Musachy Barroso wrote: Ajax is experimental

Re: Flex front end

2007-04-20 Thread Felipe Rodrigues
I don't think there is why to use struts and flex together. Flex by itself is the hole View and controler part. When using with Java, through Flex Data Service or Remote Function Call, Java becomes responsible for the Model layer, and nothing more. The other things are inside ActionScript scope.

Targets vs ActionContext weird

2007-04-18 Thread Felipe Rodrigues
Hy Guys, I made a form that must be submited and refreshed to get the new values from DB. The problem is, when I use notifyTopics, I got 2 requests, and form refresh 2 times. when I use the targets attribute of submit button, when I submit again, my ActionContext.getContext( ).getParameters( )

Re: RE [S2] How to have validation message using localization ?

2007-04-18 Thread Felipe Rodrigues
Just to make sure, did you tried %{getText('login.login')} ? because fieldName you give you the fieldName, that is loginInput. Best, Felipe MLENEVEUT wrote: Anyone ? :( Michaël Hi all, With Struts 2.0.6, I try to have validation message with localization. For example, I

Re: Targets vs ActionContext weird

2007-04-18 Thread Felipe Rodrigues
yeah, I imagined the 2 submits. So, I'll have to use javascript to workaround that until don't get the 2.1 ready. Best Regards, Felipe Dave Newton-4 wrote: --- Musachy Barroso [EMAIL PROTECTED] wrote: The topics are submitted twice, once before and one after the request. Check:

Re: shopping cart advise

2007-04-18 Thread Felipe Rodrigues
I think it is better to use session. You can do that by using ActionForm, but it is not recommended. Best, Felipe john lee-15 wrote: Hi everyone, In regular jsp, just use session + vector to build shopping cart, how about for the struts 1.3.* ? use same concept or use

Re: ajax and struts 2

2007-04-12 Thread Felipe Rodrigues
Did you realize about use struts tags? Inside an Action you can use ActionContext.getContext().getSession() to get a Map that represents the session. If you can't use Struts tags, then you can use DWR, but I don't know how to get session using DWR. Good Look. Felipe David Harland wrote:

java.lang.SecurityException: No class by name: validator

2007-04-12 Thread Felipe Rodrigues
Hi guys, Have somebody ever seen this message when trying to validate a form with ajax theme? java.lang.SecurityException: No class by name: validator and of course, knows how to fix that? I think it can be a classpath problem or something I'm missing, but can't figure out what is that. I've

Re: java.lang.SecurityException: No class by name: validator

2007-04-12 Thread Felipe Rodrigues
Seems to me it is the same issue from the Showcase App. Does Anyone knows how to fix that? Thanks, Felipe Felipe Rodrigues wrote: Hi guys, Have somebody ever seen this message when trying to validate a form with ajax theme? java.lang.SecurityException: No class by name: validator

s:checkbox returns an String[] when is checked!

2007-04-11 Thread Felipe Rodrigues
Hi guys, I'm using ActionContext.getContext().getParameters().get(checkboxName); to get a value from a checkbox in my jsp. The problem here is, when its value is false, works fine, I got an String. But when my checkbox is checked and I call this same method, I got a String[] and as you know, if

Re: Type-Conversion error - NPE

2007-04-11 Thread Felipe Rodrigues
Did you really think I made it because I want to? Tim Williams wrote: On 4/9/07, Felipe Rodrigues [EMAIL PROTECTED] wrote: Hi Guys, I'm trying to use the Type Conversion at Struts2, but I'm getting a NPE. Here is my MyAction-conversion.properties file: KeyProperty_insertList=id

Re: s:submit key=label.save/ Trying to update bean?

2007-04-09 Thread Felipe Rodrigues
Is label.save an attribute of your action? Could you post your action code here, pls? Thanks, Felipe stanlick wrote: I have a form that contains this submit button. When I submit the form, I get the following error: 09:31:38,360 ERROR ParametersInterceptor:198 - ParametersInterceptor

Type-Conversion at Struts2 - NPE

2007-04-09 Thread Felipe Rodrigues
Hi Guys, I'm trying to use the Type Conversion at Struts2, but I'm getting a NPE. Here is my MyAction-conversion.properties file: KeyProperty_insertList=id Element_insertList=my.package.MyBean CreateIfNull_insertList=true MyAction has the attribute ListMyBean insertList as well as its setters

Type-Conversion at Struts2 - NPE

2007-04-09 Thread Felipe Rodrigues
Hi Guys, I'm trying to use the Type Conversion at Struts2, but I'm getting a NPE. Here is my MyAction-conversion.properties file: KeyProperty_insertList=id Element_insertList=my.package.MyBean CreateIfNull_insertList=true MyAction has the attribute ListMyBean insertList as well as its setters

Type-Conversion at Struts2 - NPE

2007-04-09 Thread Felipe Rodrigues
Hi Guys, I'm trying to use the Type Conversion at Struts2, but I'm getting a NPE. Here is my MyAction-conversion.properties file: KeyProperty_insertList=id Element_insertList=my.package.MyBean CreateIfNull_insertList=true MyAction has the attribute ListMyBean insertList as well as its setters

Type-Conversion error - NPE

2007-04-09 Thread Felipe Rodrigues
Hi Guys, I'm trying to use the Type Conversion at Struts2, but I'm getting a NPE. Here is my MyAction-conversion.properties file: KeyProperty_insertList=id Element_insertList=my.package.MyBean CreateIfNull_insertList=true MyAction has the attribute ListMyBean insertList as well as its setters

Type-Conversion error - NPE

2007-04-09 Thread Felipe Rodrigues
Hi Guys, I'm trying to use the Type Conversion at Struts2, but I'm getting a NPE. Here is my MyAction-conversion.properties file: KeyProperty_insertList=id Element_insertList=my.package.MyBean CreateIfNull_insertList=true MyAction has the attribute ListMyBean insertList as well as its setters

Type-Conversion error - NPE

2007-04-09 Thread Felipe Rodrigues
Hi Guys, I'm trying to use the Type Conversion at Struts2, but I'm getting a NPE. Here is my MyAction-conversion.properties file: KeyProperty_insertList=id Element_insertList=my.package.MyBean CreateIfNull_insertList=true MyAction has the attribute ListMyBean insertList as well as its setters

How to get a attribute value of map value?

2007-04-05 Thread Felipe Rodrigues
Hi guys, I have this case now, and I'm not getting take the value of a map value attribute. Let me explain better. I have a class: class Mov{ private String att; public String getAtt(){ return att; } } and I put it inside a java.util.Map, like Map test = new HashMap();

Re: How to get a attribute value of map value?

2007-04-05 Thread Felipe Rodrigues
it :-) -a Felipe Rodrigues wrote: Hi guys, I have this case now, and I'm not getting take the value of a map value attribute. Let me explain better. I have a class: class Mov{ private String att; public String getAtt(){ return att; } } and I put it inside a java.util.Map, like

Re: How to get a attribute value of map value?

2007-04-05 Thread Felipe Rodrigues
hum... I thought it could be the right way, because print nothing is better than print it as a literal. I'll debug a little more to find the error. Thanks anyway. Mark Menard wrote: On 4/5/07 1:34 PM, Felipe Rodrigues [EMAIL PROTECTED] wrote: %{test['AnyString'].att} prints nothing

Re: How to get a attribute value of map value?

2007-04-05 Thread Felipe Rodrigues
/5/07 1:34 PM, Felipe Rodrigues [EMAIL PROTECTED] wrote: %{test['AnyString'].att} prints nothing and finally I've used this technique to access the properties of entities stored in a Map. (http://www.vitarara.org/cms/node/81) Are you sure that the att attribute has something in it? Mark

RE: Using ActionForm in struts2

2007-03-30 Thread Felipe Rodrigues
You could want take a look at struts1-plugin for struts2, if you need more behavior of struts1 in your app. Felipe __Billa__ wrote: Thanks a Lot! -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Friday, March 30, 2007 2:36 PM To: Struts Users Mailing

Param tag inside a URL does not work properly.

2007-03-29 Thread Felipe Rodrigues
Hi, I'm sending a param using a s:param inside a s:url. It is working, but the problem is, when the action gets the value, it has a after the value. I've debbuged and the parameter is being setted in the right value, so I think it is a bug when the action gets the value. the value send it 1200

Re: Help: Need of Structs aplication

2007-03-29 Thread Felipe Rodrigues
Ray, I think they already have the struts-showcase and struts-blank to figure out what a struts app looks like, don't you think? Regards Felipe Ray Clough wrote: Is there a place where small demo apps like this can be posted for others to use/evaluate? I have such a program, but with

Re: Help: Need of Structs aplication

2007-03-29 Thread Felipe Rodrigues
Did you tried a look at struts-blank application? Once you have more specifics doubts, when looking at struts-blank, you can post it here. Regards, Felipe Sreedhar Murthy wrote: HI friends iam new member to the struts.apache.org list. I need a small application using structs which

Re: datetimepicker does not work

2007-03-29 Thread Felipe Rodrigues
Did you setted the s:head theme=ajax/ in your jsp? If you did and it is still not working, post your code here, so we can figure out the problem. Regards, Felipe David Harland wrote: I am trying to use the datetimepicker but I am getting the following error 22:03:16,676 INFO [STDOUT]

Re: Param tag inside a URL does not work properly.

2007-03-29 Thread Felipe Rodrigues
Sounds like a bug? Did anybody lived this problem? Thanks, Felipe Felipe Rodrigues wrote: Hi, I'm sending a param using a s:param inside a s:url. It is working, but the problem is, when the action gets the value, it has a after the value. I've debbuged and the parameter is being

Struts ui components inside table in a single line.

2007-03-29 Thread Felipe Rodrigues
Hi guys, Does somebody have an example about how make a form using the struts tags, with all of components in a single line? I tried this, but did not worked: table tr tdsome text/td tdother text/td tds:textfield name=any size=30 required=true//td tds:checkbox name=check

Re: Struts ui components inside table in a single line.

2007-03-29 Thread Felipe Rodrigues
/ /s:form /td /tr /table /div p s:div id=usersList href=user!listAll.action theme=ajax listenTopics=listUsersTopic / Anyway, thanks for the answer... Regards, Felipe Dave Newton-4 wrote: --- Felipe Rodrigues [EMAIL PROTECTED] wrote: Does somebody have

Re: Struts ui components inside table in a single line.

2007-03-29 Thread Felipe Rodrigues
, Felipe Rodrigues [EMAIL PROTECTED] wrote: Hi guys, Does somebody have an example about how make a form using the struts tags, with all of components in a single line? I tried this, but did not worked: table tr tdsome text/td tdother text/td tds:textfield name=any size=30

Re: Struts ui components inside table in a single line.

2007-03-29 Thread Felipe Rodrigues
, Felipe (The boring table vs form guy) Dave Newton-4 wrote: --- Felipe Rodrigues [EMAIL PROTECTED] wrote: Did you take a look at my code, in the this thread? His suggestion to consider modifying/creating a theme was probably a good idea. d

Re: Struts ui components inside table in a single line.

2007-03-29 Thread Felipe Rodrigues
. Something like ( automatciLayout=true/false ). It would be beautifull! :-) Thanks Dave. Felipe Dave Newton-4 wrote: --- Felipe Rodrigues [EMAIL PROTECTED] wrote: Are you sure the only way to do that is by extending a theme? I'm sure there's all sorts of ways to do what you want. Frankly

Re: Struts ui components inside table in a single line.

2007-03-29 Thread Felipe Rodrigues
it, I will create a Jira issue and if I can, implement it. I know the ajax theme is migrating to outside struts at version 2.1.x, so maybe it is an oportunity to that. Regards and thanks to not block me... ;-) Felipe Felipe Rodrigues wrote: Hi guys, Does somebody have an example about how

Re: Struts ui components inside table in a single line.

2007-03-29 Thread Felipe Rodrigues
it would be a good time for it :) regards musachy On 3/29/07, Dave Newton [EMAIL PROTECTED] wrote: --- Felipe Rodrigues [EMAIL PROTECTED] wrote: It worked. I only needed some clue like that. Sometimes the answer is right in front of you and you just can't see it... happens to me

Re: Param tag inside a URL does not work properly.

2007-03-29 Thread Felipe Rodrigues
there was 1200 . Weird, hum? I'd go deep in my debugg, but I couldn't find the place where Struts send the value to the action. Any idea? Regards, Felipe Dave Newton-4 wrote: --- Felipe Rodrigues [EMAIL PROTECTED] wrote: Sounds like a bug? Did anybody lived this problem? I use the s:url

Re: Jasper result tag

2007-03-29 Thread Felipe Rodrigues
Hi Manoel, Didn't you forgot to put all the required libs for jasper work? How about the DataSource you are passing to the result param? Could you post the code that you're using to set the DataSource? Regards, Felipe Manoel Pimentel wrote: Hi Please, Can somebody explain to

  1   2   >