If you google: 'hibernate open session in view' you should find plenty
of examples. Especially on hibernate.org
On 2/13/09, Lukasz Lenart wrote:
> 2009/2/13 Security Management :
>> Thanks, the invocation.invoke() will execute all the following
>> interceptors, and render the view, then I can c
I am curious to know what structure many of you use to organize and
separate your struts apps. I can't seem to find a "standard" in this
regard. I started with a simple application, and of course, it has
grown to where more separation of logic layers is a must. Right now I
have Presentation Laye
Thank you for the replies. That is very helpful. Sounds like I will
remove all dao into service layer.
(Off topic:)
Why might you switch back to jdbc as opposed to hibernate. What
obstacles are you facing there?
On 2/24/09, Andy wrote:
>
> Right now I am using Struts2, Spring, and Hibernate. A
Exactly. If validation fails, execute will not be called by design.
Since all you want to do is forward, you shouldn't need to run your
execute method. The forwarding will take place in your struts.xml file
as previously suggested.
If you need to execute code regardless of the validation, look int
Has anyone had issues with the scalability of hibernate's recommended
OSiV pattern? I am upgrading my struts app from 5 users to handle
1000+ users and I am curious if I should avoid this pattern for the
upgrade. I have heard some have had performance issues but I am not
sure at what point this be
I didn't see a reply to your question. Did you ever find an answer?
Interested to know what you found out.
On 3/11/09, fr Rouxel wrote:
>
> Hi,
>
> do you know how this filter manage the rollback when a db error occurres?
>
> Is it simple to add an struts 2 error message?
>
> Right now, I'm using
I set up the example for "Struts 2 + Spring 2 + JPA + AJAX" using the
OpenEntityManagerInViewFilter from the Struts website and all works
well. (http://struts.apache.org/2.0.14/docs/struts-2-spring-2-jpa-ajax.html).
It appears this example uses the @PersistenceContext annotation to
inject the Enti
useless. Am I
understanding this correctly?
On Wed, Mar 18, 2009 at 12:39 PM, Musachy Barroso wrote:
> I had no idea it was not thread safe, in that case it is probably a
> good idea to get factory and create an entity manager every time.
>
> musachy
>
> On Wed, Mar 18, 2009 at 1:30
> chance.
>
> -Wes
>
> On Wed, Mar 18, 2009 at 1:39 PM, Musachy Barroso wrote:
>> I had no idea it was not thread safe, in that case it is probably a
>> good idea to get factory and create an entity manager every time.
>>
>> musachy
>>
>> On Wed, Ma
I know this is a simple one, but for some reason just can't crack it.
I have a resource property like so:
titleOptions=Mr.,Mr. & Mrs.,Mrs.,Ms.,Dr.,Dr. & Mrs.,Mr. & Dr.,Dr. & Dr.
And then I have html like this:
I've tried surrounding it by #{...} in several places but get an a
parse error or ca
I had a similiar problem which I solved this way:
"struts.properties"
#This is for the file upload. Set high on purpose, narrowed down
below at the action definition
struts.multipart.parser=org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest
struts.multipart.maxSize=1
struts.c
Pegasus84 -
Please do not take this the wrong way, but may I suggest you get a
book on Struts 2 (or seriously read the wiki) and perhaps a basic web
JSP development book. I am certainly guilty of asking basic questions
myself, but this list IMHO should not be a first go to. You need to at
least *t
Is implemeting Spring in your stuts app an option? If so the Quartz
Spring plugin is incredibly easy.
On 4/20/09, Johnson nickel wrote:
>
> Hi all,
>
> I'm using struts 2.0.6. I have requirement to write an logic in
> action file. Where that
> action should be schedule in (daily or weekly
Can't you just add a parameter to the redirect action in you xml file?
That way you can 'pass' the sampleString to the redirect action and
can display it upon rendering the jsp.
On 4/20/09, Bhaarat Sharma wrote:
> yeah it is a redirectAction :( so now i know why the value for the string is
> not
I use 'cssError' property with the simple theme. Works on text
fields, but still haven't been able to set css properly for the
datetimepicker.
On 4/27/09, Dave Newton wrote:
> Cristian Peraferrer wrote:
>> Is there a way in struts2 to point out that there was validation
>> errors in each input f
I meant 'cssErrorClass'
On Mon, Apr 27, 2009 at 1:25 PM, Burton Rhodes wrote:
> I use 'cssError' property with the simple theme. Works on text
> fields, but still haven't been able to set css properly for the
> datetimepicker.
>
> On 4/27/09, Dave New
I think the File class in the Java API would be a good place to start.
Just a guess though.
On 4/28/09, PEGASUS84 wrote:
>
>
> excuse me
> has some one the code to save the upload file in a specific directory?
> --
> View this message in context:
> http://www.nabble.com/file-upload-tp23282289p232
I believe that question has been asked... and answered... Google is
your friend.
http://www.mail-archive.com/user@struts.apache.org/msg86775.html
On Wed, Apr 29, 2009 at 8:40 AM, PEGASUS84 wrote:
>
> thanks.
> but i've now a new problem: when i upload my file i received this message
> "the req
I solved it this way:
Then in your class path put a file called package.properties with the following:
# used to format dates, numbers in the jsp files (display)
format.time = {0,time}
format.dateShort = {0,date,MM/dd/}
format.number = {0,number,###,##0.0##}
format.percent = {0,number,##0.0
Guess it would help if I read your entire email ;)
How about this:
format.number= {0,number,\u00A4###,##0}
-or-
format.number= {0,number,'USD'###,##0}
On Fri, May 1, 2009 at 1:26 PM, Burton Rhodes wrote:
> I solved it this way:
>
>
>
> Then in your cla
I haven't really used it but would TcpMon do the trick? I don't think
you can specify per webpage or session, but I think it will give you
the data usage. Perhaps you could divide the total bandwidth used from
tcpmon by the number of sessions during that specified period.
On 5/18/09, Ashish Kulka
I wasn't aware that it was required. If you don't specify doesn't it
default to the 'work' directory?
On 6/3/09, Qunhuan Mei wrote:
>
> Hi,
>
> When implementing file upload, it is required to specify an absolute
> directory in struts.xml such as following:
>
> />
>
> But this might be diffi
I think if you change your isTestBool function to getTestBool it
should work. If you use a primative I think the isTestBool will work,
otherwise the 'object' version of a boolean needs to be a 'get'
method.
On 6/17/09, chumbobumbo wrote:
>
> Haven't tried it (had to move on) I just reverted to pr
I had the same problem while using the opensessioninview pattern.
Since this pattern in struts uses an interceptor, in the OSiV
interceptor I checked to see if validation had failed in an Action.
If so, I "rolled back" the transaction to make sure it didn't persist
the data. I eventually removed t
I think you want to investigate an 'actionredirect' on 'success'
instead of just displaying the user jsp file. This will 'handoff'
control to your user action.
On 7/29/09, Dennis Atkinson wrote:
> Hello everyone.
>
> I am new to Struts2, and I like what I see so far. I want to use it for all
> m
Not trying to hijack this thread, but I am from the latter camp Wes
described. I tried removing the logged errors as you suggested, but
it doesn't seem to work. If I move up to the broad
"com.opensymphony.xwork2" package it works, but this will remove too
much I fear. When I drill down to the ".
Good eye (damn you drunk fingers) however, even with correct
spelling the errors are still logged. Could a different package/class
be throwing the error?
On Sat, Aug 1, 2009 at 8:57 PM, Dave Newton wrote:
> Burton Rhodes wrote:
>>
>> Not trying to hijack this thread, but I am
Well... I ended up limiting log level on the object
"com.opensymphony.xwork2.ObjectFactory". This seemed to do the trick.
Not sure if that's the "right" solution though.
On Sun, Aug 2, 2009 at 10:40 AM, Dave Newton wrote:
> Martin Gainty wrote:
>>
>> a genuine bug..the prob is trying to hunt dow
Since you are already using spring, quartz would most likely be the easiest.
On 8/7/09, Manos Batsis wrote:
> Manos Batsis wrote:
>> Tom Holmes Jr. wrote:
>>> Sorry ... this might be off topic. I'm a Struts1/2 and Spring MVC
>>> Java developer myself.
>>> And yes, I am Googling for this informat
If you can validate server-side, adding this functionality to your
validate function is about as basic as it gets. Do you require client
side validation?
On 8/12/09, James Carr wrote:
> Hello,
>
> Is there something out of the box that will let me validate if two
> fields match in struts2? An exa
I have a simple page the has 2 parts...
Part 1) Information at the top about a contact that the user is viewing.
Part 2) A form where a user can edit the information of a transaction
that relates to the contact.
When the user enters a invalid entry for a number field (in this
example xaction.list
After a bit of reading I realized I needed to implement modeldriven
and parameter interceptor interfaces. Works like a charm now and much
cleaner.
Thanks for the reply!
On 10/27/08, Adam Hardy <[EMAIL PROTECTED]> wrote:
> Burton Rhodes on 24/10/08 11:49, wrote:
>> I have a simple
Can't help you there. Sorry.
On 11/9/08, Amrinder Sandhu <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Thank you for your response. It seems like Preparable is for Struts 2. I am
> using Struts 1.3.8. Any ideas for Struts 1.x?
>
> Regards,
> Amrinder Sandhu
>
>
&g
You need to have your action object implement Preparable (and perhaps
ModelDriven depending on your implementation) and set your action
member variables (or bean) in the Prepare method. If there are
validation errors, this method will take care of your issue before
that error is recognized and sin
How do I use validation in an [Action]-validation.xml file to validate
several fields?
I need to implement the following logic for 3 fields on a form:
Company, FirstName, LastName.
Psedo Code:
If Company empty, then FirstName and LastName must be filled
If FirstName and LastName empty, then Comp
Thu, 11/13/08, Burton Rhodes wrote:
>> How do I use validation in an [Action]-validation.xml file
>> to validate several fields?
>>
>> I need to implement the following logic for 3 fields on a
>> form: Company, FirstName, LastName.
>>
>> Psedo Code:
>
I am having trouble getting Struts 2.x to implement validation and
hibernate using the HibernateSessionRequestFilter (the pattern
suggested on Hibernate.org). When the validation fails, Hibernate
will still update the object in the database when the HibernateFilter
closes the transaction. I get w
Many thanks. I will give that a try.
On 11/13/08, Adam Ruggles <[EMAIL PROTECTED]> wrote:
>
> Use a struts interceptor instead of a servlet filter. That way you can
> check
> the return type of the action that gets executed and respond appropriately.
>
>
>
> B
ilter. That way you can check
> the return type of the action that gets executed and respond appropriately.
>
>
>
> Burton Rhodes wrote:
>>
>> I am having trouble getting Struts 2.x to implement validation and
>> hibernate using the HibernateSessionRequestFilter (the
I keep getting this error on startup...
"SEVERE: Unable to find interceptor class referenced by ref-name
cookie - interceptor-ref"
I assume I don't have the correct jar file in my class path. Anyone
know which one contains the cookie interceptor?
Many thanks!
--
I would like to use the tag to choose a contact
name in a database. However, the number of contacts that I will be
searching is 5000+. When I follow the examples on apache.org, the
techniques load the entire list when the page is rendered. The has
serious performance implications. Is there a w
I'm my experience it is much easier to implement Validateable in your
action object. That way you can have very complex validation rules.
Also allows you not keep track of another 'validation' file!
On 11/24/08, EoneZhang <[EMAIL PROTECTED]> wrote:
>
> Now I suffer a problem with s2' validation.
>
Just a thought but why don't put a redirect acrtion in your result
'input' on your update action. That way if it fails it will run
prepareEdit.
On 11/29/08, Adam Ruggles <[EMAIL PROTECTED]> wrote:
>
> I have a problem I'm trying to solve when the validation fails on a crud
> action. This action h
Just read Dave's thought. Much better.
On 11/29/08, Burton Rhodes <[EMAIL PROTECTED]> wrote:
> Just a thought but why don't put a redirect acrtion in your result
> 'input' on your update action. That way if it fails it will run
> prepareEdit.
>
> On
I am trying to figure out how to serve a requested data file to the
user using struts 2. The file repository on my disk drive is
obviously not a public folder, so I retrieve the file in the action
class... but I am confused as to how to send it to the browser since
all I can return from my action
I figured it was an easy solution, just couldn't find the answer for
some reason. Many thanks!
On Thu, Dec 4, 2008 at 9:23 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- On Thu, 12/4/08, Burton Rhodes wrote:
>> I am trying to figure out how to serve a requested data file
I hope this isn't a "basic java" question, but I am having a hard time
figuring out why I can't access a static member variable from a class
in the application scope in my jsp file. Really appreacite any help!
JSP excerpt below ---
rli Hegvik <[EMAIL PROTECTED]>
>> Check the section about accessing static properties at
>> http://struts.apache.org/2.0.14/docs/ognl-basics.html
>>
>> On Wed, Dec 10, 2008 at 6:27 PM, Burton Rhodes wrote:
>> > I hope this isn't a "basic java&qu
I am positive this is an easy answer, but I can't seem to set the
textfield portion of the tag. I have tried
background & background-color css attributes, but those don't do the
trick. Does anyone know how this is done?
My actual tag looks like this:
Many thanks!
---
Yay. :)
On 8/17/09, Musachy Barroso wrote:
> Not in 2.1.6. In 2.1.8 they will be off by default, and you can turn
> it on by setting "struts.ognl.logMissingProperties" to "true".
>
> musachy
>
> On Mon, Aug 17, 2009 at 12:26 PM, Struts Two wrote:
>> Much has been said about this issue both on Str
You could use 'addFieldError' in your action class for the zipcode
field that contains the error. Then use the 'cssErrorClass' attribute
in the s:textfield tag to change the display of the 'error' textfield.
Each of your textfields will have to have a unique name in order to
add the field error.
I have the following line in my jsp:
When no fieldErrors exist, it displays like this:
However, when a fieldError does exist for this field, it omits the
"style" attribute. Is this a bug or a feature?! I would prefer the
style to stay since it makes my textarea too small.
Thanks,
Burton
Yes.
On 10/22/09, Musachy Barroso wrote:
> Are you using the simple theme?
>
> musachy
>
> On Thu, Oct 22, 2009 at 2:39 PM, Burton Rhodes
> wrote:
>> I have the following line in my jsp:
>>
>> > cssErrorClass="ErrorDataField" cssStyle=&quo
The following entry works fine, but when "xaction.contractPrice" is
NULL it prints out "null" on my web page.
This sort of fixes the issue, but I would prefer to not display a "$0".
This does not work as I get an error: "cannot forward object as a number"
="fmt" %>
On Sat, Nov 7, 2009 at 4:02 PM, Samuel Robert
wrote:
> Hi,
>
> I have had same problems when displaying dates.
> The only solution I found was quite similar but maybe a little more flexible
> since you can choose to display nothing:
>
>
> Samuel
&g
I would agree with eclipse as well. However, if you are trying to do
design too, the typical cycle is you create 'dumb HTML' pages in a
wysiwyg editor. Then clean up the code in eclipse and convert to JSP.
A wysiwyg editor will most likely create bloated code. So you will
have to clean up quite a b
do you wants to this?
On 11/13/09, Oscar wrote:
> Brian Thompson escribió:
>> Try this:
>>
>>
>>
>>
>>
>> Calling without specifying a value will default to the top of
>> the value stack which ought to be the current element in the list because
>> you're inside the tag.
>>
>> -Brian
I habe no idea what Martin just wrote means?!
On 11/13/09, Martin Gainty wrote:
>
> //Assuming we have this Action
> //A Simple Action Class which demonstrates placing information in a Map
> public class GetEntryAction extends ActionSupport
> {
> private ArrayList stats_list=new ArrayList(30)
all in good fun :)
On 11/14/09, Martin Gainty wrote:
>
> wes ..i think someone that wants to take your class
>
> viel gluck
> Martin
> __
> Verzicht und Vertraulichkeitanmerkung
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Em
Oh well... always good to have some comic relief.
On Tue, Nov 17, 2009 at 10:20 AM, Musachy Barroso wrote:
> I tried for a last time, but no, he is here to stay.
>
> On Sun, Nov 15, 2009 at 11:15 AM, Musachy Barroso wrote:
>> I tried to. I will try again.
>>
>> musachy
>>
>> On Sun, Nov 15, 2009
Use the 'simple' theme. It just prints the HTML tag.
On 11/19/09, Oscar wrote:
> Hi to all, i have a problem with struts 2 templates. The problem is that
> when i put a s:submit in my jsp for example, it automatically creates a
> div containing the submit and a new column in the table, and i don'
This probably isn't the answer you want, but an tag would
probably do the trick.
On 12/29/09, Rakesh K nair wrote:
>
> Hi
>
> I am Rakesh
>
> In my current project i need to display a different web application in a div
> which is a part of my main web page.I am able to get only the html output
>
For some reason when I try to convert a html textfield value to a
String[], the "MyClass-conversion.properties" file ignores the
conversion. In this specific example, I am trying to convert a
textfield that may have comma seperated values into a String[] of
these values. For testing I changed the
I think you may want to do a 'redirect' to the next action in your xml
file. You pass the request from one action to the other. Not from jsp
to jsp.
On 2/28/10, Frederik Minatchy wrote:
> Hello...
>
> Since a few days I am working with Struts 2. (2.1.6)
> I am facing a big problem with HttpReque
Sounds like a good use for javascript , not a struts tag.
On 3/5/10, lucas owen wrote:
> Hi Struts users:
>
> I'm wondering if it is possible to pass a parameter inside a s:submit tag.
>
> I'm working with the following form (this is just a sketch) on a webpage, in
> which I collect some user dat
Adam is correct. Every item filled out in the form is sent to your
action. You can save these variables in the session or alternaitvely
store them in each subsequent jsp with hidden form variables. You can
use struts to display these properties/variables whereever you want. I
think you are making y
Uh... www.hibernate.org, java.sun.com ?
Thanks you Captain Obvious! ;)
On 4/5/10, reuben swaroop singh wrote:
> Hi,
>
>
> I wanna download and use Hibernate,spring,JEEE,ajax.Kindly suggest the
> webpage where i can download Hibernate latest version?
>
> kindly forward this to appropriate mail
Sounds like a javascript solution to me.
On 4/10/10, Søren Blidorf wrote:
> Hi.
>
>
>
> I have a struts bean containing id, name, phone, email.
>
>
>
> What I want to do is listing id, and onmouseover display the rest of the
> values of the bean in the same page without refer or refresh.
>
>
>
>
Without knowing the specific implementation its hard to say. But one
way would be to preload all the data (and layout) in a div tag
display:none. On mouseover display the div or insert the html of the
div wherever you want on the page using JavaScript. Custom tag
sounds overkill to me. Always mor
Does %{#stat.index} not work?
On 4/12/10, lucas owen wrote:
> Hi Struts users:
>
> I'm wondering if it would be possible to pass status.index attribute of
> s:iterator to a javascript function.
> Something like this:
>
>
>
>
>
>
>
>
> "%{notificationID}"* onclick=*"javascript:markNotification
Are you just trying to "hide" the url parameteres that contain these
attached urls? If so, just put them in the session. That way the
user will never see them in the query string. If you are trying to
mask the entire URL, I'm not sure that is doable or good practice.
On Wed, Apr 14, 2010 at 8:2
I'm sure this answer is trivial, but I can't figure how to do a
server-side forward to a Struts action from my welcome page
(index.jsp). Currently I have index.jsp "redirecting" the user, but I
would like to eliminate the roundtrip that a "redirect" imposes (I've
had complaints from mobile users).
t struts default action?
>> What should we put in web.xml for welcome file?
>>
>> Krunal Dhamelia
>>
>>
>> On Wed, Apr 14, 2010 at 6:00 PM, Brian Thompson wrote:
>>
>>> On Wed, Apr 14, 2010 at 4:22 PM, Burton Rhodes
>>> wrote:
&
Haven't gotten it to work just yet. Just one of those minor
enhancements that you can't justify spending an entire day on. I'll
keep woroking at it though. Thanks all for your input and knowledge.
On Thu, Apr 15, 2010 at 3:59 AM, Upasana Sharma wrote:
> Hi
>
> I put these in my project and its
My struts web app seems to be ignoring my velocity.properties file.
After googling quite a bit I am seeing bits of information that struts
has it own velocity.properties file and it may be ignoring mine since
it finds the struts version (complete guess). Curious if anyone has
had issues with this
I think I figured it out. Not struts related. I am using the
singleton Velocity class which needs an explicit call to the
properties file or properties need to be set in code before init().
In case anyone is interested, the code below did the trick
Velocity.setPropert
I don't use velocity with Struts. Just use it to generate a few
reports and emails. I use JSP for the view. So I don't know :)
On 5/8/10, Martin Gainty wrote:
>
> Burt
>
> you seem to have a great deal of velocity expertise
>
> will velocity work with with Struts2 to render pages?
> http://veloc
I think I saw a message a while back that commented about using Spring
3 (and Spring Security 3) with Struts 2.1.8 framework. Is this
possible? If so, how?
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For addition
g:
>
> http://static.springsource.org/spring-security/site/docs/3.0.x/reference/springsecurity.html
>
> http://java.dzone.com/tips/pathway-acegi-spring-security-
>
> It's much simplier than the old ACEGI configurations.
>
> /robert
>
> ----- Original Message - From: "Burton R
Musachy -
I see your name all over that Struts-Spring plugin! What will it take
to get a Struts-Spring 3.x plug-in out of you? 6-pack of beer? :)
Serously though - any plans Spring 3.0 integration for Struts soon?
On Mon, May 24, 2010 at 2:22 PM, Burton Rhodes wrote:
> Hantsy -
> It a
I think it would best to validate the type in a 'validate' function
and make your action implement Validateable. It will give you greater
control on the action/field errors that you present to the end user as
well.
Thanks,
Burton
On 6/23/10, john.vargh...@smartonline.com wrote:
> Hi,
>
Depending on which method you call in your class you can just append
that method name to the validate() method name. For example:
public void validateEdit() {
// Validate Stuff here
}
public void validateUpdate() {
// Validate Stuff here
}
public void validate() {
// Validate Stuff here
I say we start another thread to discuss more about this ducussion.
On Thu, Jul 8, 2010 at 9:31 AM, Dale Newfield wrote:
> On 7/8/10 10:17 AM, MB wrote:
>>
>> "Using Struts 2.x can we do authorization of client request, if yes
>> what are the best practices"
>
> That answer has been given 3 times
That sounds like a classic 'prepare' problem. Take a look at the
documentation on implementing Preparable in your action. You will want
to initialize your backing beans inside the Prepare method in your
action. That when 'input' is needed, your backing beans will be
loaded.
On 7/10/10, Jake Vang
Absolutely look into PD4ML. I've tried several and its the best one
I've found and most reliable.
On 7/23/10, CRANFORD, CHRIS wrote:
> Is it possible to extend the default ServletDispatcherResult to parse
> the HTML output and pass the result content to the browser as a PDF
> document? Or is the
Hey it's Friday... Are you a geek or a hack?
http://www.nerdtests.com/ft_cg.php
...and if any of you score over 90%, you need to get out more often!
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional co
I have queried this list in the past about using Struts 2-Spring
Plugin with Spring 3. A few commented that you've intergrated with no
issue. While upgrading to 2.2.1, I decided to also try a Spring 3
upgrade as well. It seems to be working correctly. However, taking a
closer look at the source
I don't think Struts is that 'smart'. I would look into creating your
own StrutsTypeConverter. Very easy to do and you can specifically
manipulate input variables from the form easily.
On 9/10/10, adam pinder wrote:
>
> Using Struts 2.0.11
>
>
>
> I have a jsp that creates elements like
>
>
>
>
I am trying to override a struts tag template (specifically
), and I can't figure out how to add a parameter to
the tag. I have successfully overridden the template by copying
"checkboxlist.tld" to my template/simple directory and all works well.
Now I would like to add a parameter. It appears t
x27;t really
>>> work.
>>>
>>> Dave
>>>
>>> On Saturday, October 9, 2010, Maurizio Cucchiara
>>> wrote:
>>>> Do you need to insert a breaking string every 3 items?
>>>> I think this approach is too much expansive in term of ti
I ended up not having to create a new tag. I simply overrode the
current template (template/simple/checkboxlist.tld) to do what I
wanted.
Essentially I just did what it says on this page entitled "Creating
And Applying Your Own Themes For Struts 2 Tags":
http://struts.apache.org/2.2.1/docs/strut
xList.java, then
> it will work, maybe.
> I am not sure about that, I am also got the same problem, when creating
> myself Tag. Good Luck.
>
> Regards,
> Mead
>
>
> On Sun, Oct 10, 2010 at 6:04 AM, Burton Rhodes wrote:
>
>> I ended up not having to create a n
I pinged this same question to the list a while back, and I think the
only thing that will break is if you use the "Class Reloading" feature
in the Spring Plugin. Knowing that this is a experimental debug
feature, and not to be used in production environments, this should
not be an issue for you.
I always just used the following to display my BigDecimal values...
package.properties file:
format.money = {0,number,\u00A4###,##0}
On Mon, Dec 6, 2010 at 9:29 PM, Yanto Bong wrote:
> Hi Mead,
>
> thanks for the suggestion, but we want to keep the minimum changes on the
> code.
> if we conver
You may have a corrupt file in your local repository. Try deleting
the C:\Users\Balwinder\.m2\repository\org\apache\struts directory and
try again
On Tue, Dec 7, 2010 at 10:26 AM, Balwinder Kumar
wrote:
> I am getting below error while executing maven install. Any pointer how to
> fix?
>
>
I am having issues trying to get a Type Converter to run when
converting a field that is a "sub-object" of the main model. For
example, I have a Contact class that contains a ContactLead class. I
have an Action class that saves a new Contact and ContactLead at the
same time. Originally, I set up
not called.
On Saturday, December 11, 2010, wrote:
> Look at the bottom of your message and also the top.
> 'contact.contactLead.income' evaluated
> to '$123' and you do not have a method
> com.afs.entity.ContactLead.setIncome([Ljava.lang.String;)]
>
> Scott
&g
urrencyConverter
contact.contactLead.income=com.afs.web.converter.MyCurrencyConverter
Thanks,
Burton
On Mon, Dec 13, 2010 at 1:09 AM, Lukasz Lenart
wrote:
> 2010/12/12 Burton Rhodes :
>> I know. I don't have a setIncome(String) method. But I do have
>> setIncome(BigDec
Looks like the "Release Notes" link for version 2.2.1.1 is broken on
main page: http://struts.apache.org/download.cgi#struts2211
Currently: http://struts.apache.org/2.2.1.1/version-notes-2211.html
Should be: http://struts.apache.org/2.2.1.1/docs/version-notes-2211.html
On Wed, Dec 22, 2010 at 1:
For some reason when a user uploades a file to my Struts application
that has a size of "0 bytes", the file is not copied to the work
directory of my tomcat server. Is this a bug or a feature? Below is
a stacktrace of when I tried to upload "test2.txt" with no data (0
bytes). Shouldn't Struts co
1 - 100 of 215 matches
Mail list logo