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 Method

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 optio

Re: AutoCompleter doesn't keeps value.

2007-06-25 Thread Felipe Rodrigues
g 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 with "value" or "key" attribute. >> So weird. >> >> Any

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? > >

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. > > >

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: >> &

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. If I type some value and choose that, this value is getting into the action, but if I have this value from the action, when loading the jsp page, then autocompleter doe

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}"], [""] ] Thanks for your help. Felipe Felipe Rodrigues wrote: > > A s

Re: AutoCompleter doesn't work good in IE7

2007-06-22 Thread Felipe Rodrigues
> > > musachy > //I 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 sa

Re: AutoCompleter doesn't work good in IE7

2007-06-22 Thread Felipe Rodrigues
? The ajax > tags still need to be tested 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. >>

Re: AutoCompleter doesn't work good in IE7

2007-06-22 Thread Felipe Rodrigues
How could 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

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: Action tag with lots of params???

2007-05-14 Thread Felipe Rodrigues
. 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 Some Idea? Thanks, Felipe Dave Newton-4 wrote: > > --- Felipe Rodrigues <[EMAIL PROTECTED]

Re: Action tag with lots of params???

2007-05-14 Thread Felipe Rodrigues
ith OGNL. Any other idea? 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'

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? > > > > > >

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? Thanks, Felipe -- View this message in context: http://www.nabble.com/Action-tag-with-lots-of-paramstf3728936.html#a10437214 S

Re: OGNL question

2007-05-09 Thread Felipe Rodrigues
I got it using 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 and OGNL. Thanks, Felipe Felipe Rodrigues wrote: > > I'm sorry about don't provide all the informations. I'll

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
'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

Re: OGNL question

2007-05-08 Thread Felipe Rodrigues
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]>

OGNL question

2007-05-08 Thread Felipe Rodrigues
Hi, How could i do that Link changing EL by OGNL? The especific part href="%{setUsina${id}}" . I tried href="%{setUsina(#id)}" but didn't work. Thanks, Felipe -- View this message in context: http://www.nabble.com/OGNL-question-tf3711762.html#a10382481 Sent from the Stru

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! Fel

Re: Problem with tag

2007-05-04 Thread Felipe Rodrigues
at others could use to test the behaviour. If this is a bug somewhere > in Struts, a test case will greatly improve the chances of it being > tracked down and fixed quickly. > > L. > > Felipe Rodrigues wrote: >> >> I'm sorry, but I'm away from my code, s

Re: Problem with tag

2007-05-03 Thread Felipe Rodrigues
tomorrow I can send you the real piece of code. Thanks, Felipe Laurie Harper wrote: > > Felipe Rodrigues wrote: >> Hi guys, >> >> Sometimes when I use > a " >> appended to it. I can treat that by replacing this, but it is not a good >> solution

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

Re: [S2] 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 attribut

Problem with tag

2007-05-03 Thread Felipe Rodrigues
Hi guys, Sometimes when I use http://www.nabble.com/Problem-with-%3Cs%3Aparam%3E-tag-tf3687887.html#a10309679 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: TabbedPannel: So many problems.

2007-05-03 Thread Felipe Rodrigues
for 2.1 (big > ajax > overhaul). Thanks for flying with struts ajax 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

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. But

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 PROT

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: 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 ou

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 s

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 > a

Re: [s2] use remoteUser with struts tags

2007-04-30 Thread Felipe Rodrigues
reason 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 Rod

Re: TabbedPanel layout mess in Firefox

2007-04-30 Thread Felipe Rodrigues
last minute > (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 conte

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. >

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 intercept(Action

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 ServletRe

Re: TabbedPanel layout mess in Firefox

2007-04-27 Thread Felipe Rodrigues
r issue 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

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: http://

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 tag I have the following statement name="indexValue" value="#status

Re: 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 > value="getMovieCategory(category)"/> it >> only prints out "getMov

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

Re: 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
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 > > > > > action="setLineItemAction" disabled="true"> > > name="order.details[%{#status.index}].p

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: http://www.nabble.com/Dojo.io.bind-v

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, Fel

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 tag? Struts forms are similar to HTML forms. You must wrap the ui components in a , except in special cases. Regards, Felipe r

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 throu

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'

Re: ActionContext not working properly with IE

2007-04-23 Thread Felipe Rodrigues
t; feeling you will find it soon :) > > musachy > > On 4/23/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

Re: ActionContext not working properly with IE

2007-04-23 Thread Felipe Rodrigues
some 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 . I can do > my system using anchor, but I would suggest someo

Re: ActionContext not working properly with IE

2007-04-23 Thread Felipe Rodrigues
same 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 a

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 butto

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.

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 experim

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: > > > > > > > musachy > On 4/20/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote: >> >> >> DEB

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

Re: ActionContext not working properly with IE

2007-04-20 Thread Felipe Rodrigues
"false" in the submit button or the the anchor)? > > regards > 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 a

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,

Re: ActionContext not working properly with IE

2007-04-20 Thread Felipe Rodrigues
hanks, Felipe Musachy Barroso wrote: > > You could compare what is getting submitted to the server by both FF and > IE. > 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

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 i

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 --- Variável Unid Valor Valor

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: 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: 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: 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. > > F

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( ) r

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.SecurityExcept

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 fo

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: > >

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. >> >

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

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 List insertList as well as its setters and get

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 List insertList as well as its setters and get

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 List insertList as well as its setters and get

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 List insertList as well as its setters and get

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 List insertList as well as its setters and get

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 List insertList as well as its setters and get

Re: 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 - ParametersIntercep

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

2007-04-05 Thread Felipe Rodrigues
e: > > On 4/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/c

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: > >

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

2007-04-05 Thread Felipe Rodrigues
gt; class as an example, there's no way to set 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

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(); test.put("AnyString

Re: templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Felipe Rodrigues
gt; regards > musachy > > On 4/3/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: >> >> That would be news for me, do you have a link? >> >> thanks >> musachy >> >> On 4/3/07, Felipe Rodrigues <[EMAIL PROTECTED] > wrote: >> > >

Re: templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Felipe Rodrigues
The link: http://www.dojotoolkit.org/node/65 http://www.dojotoolkit.org/node/65 It is in the last line of this page. Musachy Barroso wrote: > > That would be news for me, do you have a link? > > thanks > musachy > > On 4/3/07, Felipe Rodrigues <[EMAIL PROTECTED]&

Re: templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Felipe Rodrigues
Reading the dojo documentation, I found a note telling that templateCssPath is deprecated. Is that right? If yes, could it be the problem? Felipe Rodrigues wrote: > > I've trying to use my own css file and My own images in a TabbedPanel, > but it is quite hard and so confuse. >

templateCssPath does not work for images in a TabbedPanel

2007-04-03 Thread Felipe Rodrigues
I've trying to use my own css file and My own images in a TabbedPanel, but it is quite hard and so confuse. The first thing I did was use the templateCssPath pointing to my own css file. It just works for color and fonts, but didn't changed the images. So, I put the images inside the jar, but with

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 Mail

Re: Jasper result tag

2007-03-29 Thread Felipe Rodrigues
your/location/file.jasper dataSource Regards, Felipe Manoel Pimentel wrote: > > Hi > > Please, Can somebody explain to me how configure the file strust.xml for > to use the jasper result tag? and > if possible, send to me any little sample, ok? > >

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 t

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

2007-03-29 Thread Felipe Rodrigues
tion. 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 pattern > fairly extensively and have never seen it. > > Perhaps if you posted

Re: Struts ui components inside in a single line.

2007-03-29 Thread Felipe Rodrigues
s could change based on feedback, and now 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 onl

Re: Struts ui components inside in a single line.

2007-03-29 Thread Felipe Rodrigues
dy say anything against 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, > > Do

Re: Struts ui components inside in a single line.

2007-03-29 Thread Felipe Rodrigues
theme. 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

Re: Struts ui components inside 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 the

Re: Struts ui components inside in a single line.

2007-03-29 Thread Felipe Rodrigues
heme" attribute > in page, request, session, or appication scope (whew!). It's also > possible to override the layout of a specific tag and load your own > template instead. > > * http://struts.apache.org/2.x/docs/template-loading.html > > HTH, Ted > <htt

Re: Struts ui components inside in a single line.

2007-03-29 Thread Felipe Rodrigues
! Anyway, thanks for the answer... Regards, Felipe Dave Newton-4 wrote: > > --- Felipe Rodrigues <[EMAIL

Struts ui components inside 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: some text other text Thanks, Felipe -- View this message in context: http://www.nabble.com/Struts-u

  1   2   >