Re: S2.1.8.1: Need something similar to struts.el.throwExceptionOnFailure for and

2009-12-01 Thread Robert Graf-Waczenski
Musachy Barroso schrieb: On Tue, Dec 1, 2009 at 3:41 AM, Robert Graf-Waczenski wrote: so setting doesnt fail? musachy - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail:

Re: Upgrade 2.1.6 to 2.1.8.1, cause empty tag?

2009-12-01 Thread Saeed Iqbal
My suggestion, if you are not able to do this then maybe go with s:set and c:out the href. You would attain the same thing back. On Wed, Dec 2, 2009 at 1:25 PM, Henry Jen wrote: > 2009/12/1 Saeed Iqbal : > > It totally depends on your needs. > > > > The only reason we would like to use is that

Re: Upgrade 2.1.6 to 2.1.8.1, cause empty tag?

2009-12-01 Thread Henry Jen
2009/12/1 Saeed Iqbal : > It totally depends on your needs. > The only reason we would like to use is that we want to use OGNL in href. For example, Link If we can use would be cleaner. Any suggestion? Cheers, Henry > On Wed, Dec 2, 2009 at 1:14 PM, Henry Jen wrote: > >> 2009/12/1 Henry Jen

Re: Upgrade 2.1.6 to 2.1.8.1, cause empty tag?

2009-12-01 Thread Saeed Iqbal
It totally depends on your needs. On Wed, Dec 2, 2009 at 1:14 PM, Henry Jen wrote: > 2009/12/1 Henry Jen : > > Thanks for the prompt reply, but document in 2.1.6 and 2.1.8 doesn't > > say that, though It does say it works with simple theme but works best > > for ajax. > > > > 2.1.6 works, so I a

Re: Upgrade 2.1.6 to 2.1.8.1, cause empty tag?

2009-12-01 Thread Henry Jen
2009/12/1 Henry Jen : > Thanks for the prompt reply, but document in 2.1.6 and 2.1.8 doesn't > say that, though It does say it works with simple theme but works best > for ajax. > > 2.1.6 works, so I am wondering if there is a quick way to make it work > for 2.1.8. > Maybe the right approach is si

Re: Upgrade 2.1.6 to 2.1.8.1, cause empty tag?

2009-12-01 Thread Henry Jen
Thanks for the prompt reply, but document in 2.1.6 and 2.1.8 doesn't say that, though It does say it works with simple theme but works best for ajax. 2.1.6 works, so I am wondering if there is a quick way to make it work for 2.1.8. Cheers, Henry 2009/12/1 Saeed Iqbal : > http://struts.apache.org

Re: Upgrade 2.1.6 to 2.1.8.1, cause empty tag?

2009-12-01 Thread Saeed Iqbal
http://struts.apache.org/2.0.8/docs/a.html says *THE FOLLOWING IS ONLY VALID WHEN AJAX IS CONFIGURED* On Wed, Dec 2, 2009 at 12:57 PM, Henry Jen wrote: > 2009/12/1 Saeed Iqbal : > > Is your Ajax configured? > > Sorry for my ignorance, we don't use ajax with struts, not sure what > need to be con

Re: Upgrade 2.1.6 to 2.1.8.1, cause empty tag?

2009-12-01 Thread Henry Jen
2009/12/1 Saeed Iqbal : > Is your Ajax configured? Sorry for my ignorance, we don't use ajax with struts, not sure what need to be configured. Would you shed some light for me? Cheers, Henry > > On Wed, Dec 2, 2009 at 12:45 PM, Henry Jen wrote: > >> Hi, >> >> I updated our project using 2.1.6 t

Re: Upgrade 2.1.6 to 2.1.8.1, cause empty tag?

2009-12-01 Thread Saeed Iqbal
Is your Ajax configured? On Wed, Dec 2, 2009 at 12:45 PM, Henry Jen wrote: > Hi, > > I updated our project using 2.1.6 to 2.1.8.1 and surprised to find > that tag breaks the application. > > An example is > Login > renders to in 2.1.8.1 > > > When I looked into the simple template, seems like

Re: NoClassDefFoundError

2009-12-01 Thread Saeed Iqbal
No no you need the commons io file upload jar on the classpath On Wed, Dec 2, 2009 at 12:45 PM, Nguyen Xuan Son wrote: > Dear Saeed Iqbal > I do have C0003_ChangePasswordAction.class > in WebRoot\WEB-INF\classes\com\baibai\action > is that what you mean? > thank you very much > > 2009/12/2 Saeed

Re: NoClassDefFoundError

2009-12-01 Thread Nguyen Xuan Son
Dear Saeed Iqbal I do have C0003_ChangePasswordAction.class in WebRoot\WEB-INF\classes\com\baibai\action is that what you mean? thank you very much 2009/12/2 Saeed Iqbal > Your jar is not on the classpath. > > On Wed, Dec 2, 2009 at 12:22 PM, Nguyen Xuan Son > wrote: > > > dear all > > I got th

Upgrade 2.1.6 to 2.1.8.1, cause empty tag?

2009-12-01 Thread Henry Jen
Hi, I updated our project using 2.1.6 to 2.1.8.1 and surprised to find that tag breaks the application. An example is Login renders to in 2.1.8.1 When I looked into the simple template, seems like the change in a.ftl and a-close.ftl is causing this. In 2.1.8, the a.ftl basically moved into a-

Re: NoClassDefFoundError

2009-12-01 Thread Saeed Iqbal
Your jar is not on the classpath. On Wed, Dec 2, 2009 at 12:22 PM, Nguyen Xuan Son wrote: > dear all > I got the error > java.lang.NoClassDefFoundError: > org/apache/commons/io/output/DeferredFileOutputStream > at > > org.apache.commons.fileupload.disk.DiskFileItemFactory.createItem(DiskFileItem

NoClassDefFoundError

2009-12-01 Thread Nguyen Xuan Son
dear all I got the error java.lang.NoClassDefFoundError: org/apache/commons/io/output/DeferredFileOutputStream at org.apache.commons.fileupload.disk.DiskFileItemFactory.createItem(DiskFileItemFactory.java:196) at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:358) at

comparing in validation.xml file

2009-12-01 Thread Nguyen Xuan Son
dear all in C0003_ChangePasswordAction-validation.xml i would like to compare the new password and the retype new password in order to identify whether they are the same or not however so far i only know to validate the specified field only, such as true error true error true error

Re: Integration Struts with ZK framework

2009-12-01 Thread Saeed Iqbal
I have integrated struts with spring in which basically spring controls the application but not ZK On Wednesday, December 2, 2009, Colin NG wrote: > > Hi, > > > > I am new in web application development. Does anyone have sample for the > integration of ZK framework and Struts2? And have guides f

Integration Struts with ZK framework

2009-12-01 Thread Colin NG
Hi, I am new in web application development. Does anyone have sample for the integration of ZK framework and Struts2? And have guides for Struts2 integration with other framework such as ZK, Spring? Thanks. Colin

Re: How to use IText with Struts2

2009-12-01 Thread Paweł Wielgus
Hi, create this file just like in stand-alone app in your action, and then return it by stream result, more details here: http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/dispatcher/StreamResult.html Best greetings, Paweł Wielgus. 2009/12/1 hisameer : > > Hello Everyone, > >

Re: Taglib to refence html in Struts 1.3.8

2009-12-01 Thread bladu
Solved. Thanks Mark Mark Shifman wrote: > > <%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html"%> > seems to work for me > > bladu wrote: >> Hi, >> >> I would be very grateful If somebody could say to me what is the Struts >> taglib equivalent in Stru

How to use IText with Struts2

2009-12-01 Thread hisameer
Hello Everyone, I am having an issue when I try to use struts2 and itext. Well this is not really an issue it is just my lack of knowledge.My problem is that I am able to create a pdf using itext in stand-alone java application. But I dont know how to create the same pdf and display it in the bro

Re: Taglib to refence html in Struts 1.3.8

2009-12-01 Thread Mark Shifman
<%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html"%> seems to work for me bladu wrote: > Hi, > > I would be very grateful If somebody could say to me what is the Struts > taglib equivalent in Struts 1.3.8 to the taglib below allocated in Struts > 1.2 > > <%@ taglib uri="http:

Taglib to refence html in Struts 1.3.8

2009-12-01 Thread bladu
Hi, I would be very grateful If somebody could say to me what is the Struts taglib equivalent in Struts 1.3.8 to the taglib below allocated in Struts 1.2 <%@ taglib uri="http://jakarta.apache.org/struts/tags-html"; prefix="html"%> Thanks Regards -- View this message in context: http://ol

Re: S2.1.8.1: Need something similar to struts.el.throwExceptionOnFailure for and

2009-12-01 Thread Musachy Barroso
On Tue, Dec 1, 2009 at 3:41 AM, Robert Graf-Waczenski wrote: > so setting doesnt fail? musachy - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Help me design this struts, please

2009-12-01 Thread Saeed Iqbal
Yes i can send u a project where i did that at this point i dont have time to do all that for you On Tuesday, December 1, 2009, A. Lotfi wrote: > > Hi, > > > > I have a small project and I am new in struts : > > > > DB Tables : > > User (userId, UserName,...,...) > > Roles(userId, Rolename,.) >

Help me design this struts, please

2009-12-01 Thread A. Lotfi
  Hi, I have a small project and I am new in struts : DB Tables : User (userId, UserName,...,...) Roles(userId, Rolename,.) I want to have a jsp page : that has a search form : textfield(userId) and a search button when the user type a userid and press search button :

S2.1.8.1: Need something similar to struts.el.throwExceptionOnFailure for and

2009-12-01 Thread Robert Graf-Waczenski
Hi, we recently upgraded to Struts V2.1.8.1. One of the reasons for the upgrade was the option to have the system throw an exception when OGNL expression evaluation encounters an error or is unable to find the corresponding propertey accessor method. This works just fine, i.e. using results