hi please check this war

2010-07-15 Thread Salish S
HI please checjk this war on clicking the edit it will ask for input what all changes has to add ther for add hibernate is this the right formate to do hibernate in the same appliction how can i do the crud appliction by the same please check this war and tell what changes that has to do to work

DOJO Bind-Tag with Checkbox and Onclick-Event

2010-07-15 Thread Peter Borkowski
Hi all! Im trying to bind an Ajax-Call to the onclick-Event of a Checkbox: Here is the code so fare: ... form id=formid input id=id1 type=checkbox name=mycheckbox / sx:bind formId=formid sources=id1 events=onclick targets=otherdiv href=myaction.action / div id=otherdiv /form ...

Help with Skinning

2010-07-15 Thread Greg Akins
I looked at the Struts documentation for skinning and have one question that I'm not sure can be addressed by Struts2 In my case I'd like to skin some of the pages, but not all. So if my directory structure is something like + content - index.jsp + user1 - about.jsp + user2

Struts 2 Tree widget

2010-07-15 Thread john . varghese
Good morning friends...I have a requirement to implement a Tree component on the UI. I am wondering if I should go with the Struts 2 Tree tag or render the tree using some Jquery plugin. Any advice is appreciated. Is the Struts Tree Tag Dojo based? Regards, John[http://www.smartonline.com/]

Struts 2.1.8 and JSF-Plugin different result page

2010-07-15 Thread Stefano Corallo
Hi all, i'm using struts 2 with jsf-plugin on jboss 4.2.3-GA. When I run some dummy examples everything goes well, following the example at: http://struts.apache.org/2.x/docs/jsf-plugin.html my configuration is: struts.xml - package name=jsf extends=jsf-default namespace=/jsf

Struts 2 field validator thread safety

2010-07-15 Thread Marshall Gunter
Do Struts 2 field validators need to be thread safe? -- Marshall Gunter - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Ajax Response - Array Objects

2010-07-15 Thread CRANFORD, CHRIS
I cannot seem to get my Ajax request to return to the Ajax client an array of objects. Instead of simply returning a key/value pair, I've read that it is possible to return the actual domain objects, but I have been unsuccessful. Each time, my combo box is populated with three values, message

Re: Currency Formatting

2010-07-15 Thread Chris Miles
I broke this down into a very simple example tonight. Just two JSP pages. test1.jsp which has s:include value=test2.jsp/ and test2.jsp which has s:text name=format.currencys:param value=price//s:text/span I have TestAction which has a simple getPrice which returns a Double. I have

Re: Currency Formatting

2010-07-15 Thread Chris Pratt
If that's actually a cut-n-paste job from the files, I can see the error, if you retyped it, it's probably just a typo. But, you have a close tag after the s:param and before it's arguments, which is making it invalid, and would definitely cause the JSP processor to puke. Try the below instead:

Struts, Convention plugin and REST plugin

2010-07-15 Thread Kevin Jones
I'm having a problem using Struts/Convention/REST together/ I have a class that looks like this public class PostsController implements Preparable, ModelDrivenListPostViewModel { } with two 'action' methods @Action(result...@result(name=newpost, location=newpost)}) public

Re: Currency Formatting

2010-07-15 Thread Chris Miles
Yeah sorry was just a paste typo. :( Basically if you try the format, but do it in a JSP being included by another JSP as the result of an Action the problem is recreated. Bit much to ask. If it helps yourself or anyone I can make up a dummy project showing the issue to take out the leg work?

Re: Currency Formatting

2010-07-15 Thread Chris Pratt
I just use Tiles to do my page composition, so I don't have places where JSP's include other JSP's. Probably why I haven't run across anything like this. It might take one of the core developers that are familiar with the internals of these tags to give them a look, or you could venture into

Re: Where to find struts.xml documentation

2010-07-15 Thread Ken
On Tue, 2010-07-13 at 15:16 -0600, Ken wrote: I am looking for documentation for the struts.xml configuration file. Are there different tags for different versions of struts.xml? I'm using struts 2.1.8.1 Bump. Where is all the quality struts.xml file documentation?

Re: Currency Formatting

2010-07-15 Thread Chris Miles
Thanks might take a look into tiles or freemarker if I can find the time. Tried debugging the source but it is just too complex a stack with compiled JSPs. Just going to create a less elegant solution and have formatter String getter for any currencies. Just not worth the cost of investigating

Re: Struts 2 field validator thread safety

2010-07-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marshall, On 7/15/2010 9:27 AM, Marshall Gunter wrote: Do Struts 2 field validators need to be thread safe? That depends on what you want to do with them. Are you writing your own, or are you critiquing the existing validator implementations? -

Re: Where to find struts.xml documentation

2010-07-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken, On 7/15/2010 5:54 PM, Ken wrote: On Tue, 2010-07-13 at 15:16 -0600, Ken wrote: I am looking for documentation for the struts.xml configuration file. Are there different tags for different versions of struts.xml? I'm using struts 2.1.8.1

jsp in WEB-INF

2010-07-15 Thread Miguel
Hello, I use struts 2.1.81. and I don't want that my users access directly my .jsp, so I put them inside WEB-INF. But the struts.xml is difficult to mantain, so I have a question: Is there some sort of constant that defines a prefix for the JSP inside struts.xml? Apparently in struts1 there is