Re: datetimepicker tag

2007-12-10 Thread Peng Tuck Kwok
to use FireBug :D > > > Any clue ... > > > > > > > > > -Original Message- > From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED] > Sent: Monday, December 10, 2007 11:13 AM > To: Struts Users Mailing List > Subject: Re: datetimepicker tag > > If yo

Re: datetimepicker tag

2007-12-09 Thread Peng Tuck Kwok
If you have firefox you can actually check out the javascript console for errors, might give you a clue as to what's going on if it is a js problem. HIH On Dec 10, 2007 12:54 PM, Rajagopal_Yendluri <[EMAIL PROTECTED]> wrote: > Hi.. > > I am using 2.0.9, but for the nothing is displaying in jsp

Re: Display Tag Help

2007-07-17 Thread Peng Tuck Kwok
There's a in depth tutorial somewhere on the displaytag home page & some examples that you can play around with. http://displaytag.sourceforge.net/11/ On 7/18/07, naseer mohammed <[EMAIL PROTECTED]> wrote: Can any one explain me step by step method to use display tags

Re: S2 and JFreeChart (showing images)

2007-07-06 Thread Peng Tuck Kwok
- Original Message ----- From: "Peng Tuck Kwok" To: "Struts Users Mailing List" Subject: Re: S2 and JFreeChart (showing images) Date: Fri, 6 Jul 2007 17:30:23 +0800 hmm page not updated in a while. Maybe not worth if that's the case. On 7/6/07, Peng Tu

Re: S2 and JFreeChart (showing images)

2007-07-06 Thread Peng Tuck Kwok
hmm page not updated in a while. Maybe not worth if that's the case. On 7/6/07, Peng Tuck Kwok <[EMAIL PROTECTED]> wrote: You could possibly use Cewolf, which provides a set of tag libraries that you can you to display a chart in your jsp page. Link is here<http://cewolf.sourc

Re: S2 and JFreeChart (showing images)

2007-07-06 Thread Peng Tuck Kwok
You could possibly use Cewolf, which provides a set of tag libraries that you can you to display a chart in your jsp page. Link is here. I've played with it a while back and it did seem easy to get a simple chart up. Worth a look if you ask me. On 7/5

Re: Way of reading this mailing list as a heirachy

2005-05-07 Thread Kwok Peng Tuck
There's a pretty good e-mail client from mozilla.org, look for Thunderbird there. Does everything you ask for bellow. Mark Benussi wrote: I use Outlook and was wondering if there was a way of reading all these messages as a hierarchy. I sometimes miss messages on a thread I was interested in.

Re: Another ODBC OT Question

2005-01-31 Thread Kwok Peng Tuck
Depends on your database. Most db's like MaxDB, Oracle and so on which support sequences can retreive the current value of the sequence after it has been used. Usually something along the lines of .CURRVAL for Oracle. Typically you can only use it if you've used the sequence in the first place

Re: Where is the Struts 1.2.6 API for taglibs?

2005-01-23 Thread Kwok Peng Tuck
Do you really need the api for that? Well if you do you can browse the documentation for that. I'd like to know what you actually used in the tag before you got the error. Dakota Jack wrote: I am getting the following error: java.lang.IllegalArgumentException: No bean specified org.apach

Re: bean not found in any scope

2004-11-21 Thread Peng Tuck
Didn't you ask this yesterday ? Nishant wrote: i am getting strange problem./ Setting target to error 11/20 16:21:27 error Unhandled exception thrown from /editemployee.jsp:22 [1]javax.servlet.jsp.JspException: Cannot find bean employees in scope request at org.apache.struts.util.Request

Re: help to changer a code to Struts

2004-11-19 Thread Peng Tuck
What problems are you facing Luis ? Luis Antonio Martinez Cuevas wrote: hi can some one help me to change this code to Struts pelase :) <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" pr

Re: bean not found problem

2004-11-18 Thread Peng Tuck
e is difference between knowing the Path and walking on the Path" - Original Message ----- From: "Peng Tuck" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, November 19, 2004 10:49 AM Subject: Re: bean not found

Re: bean not found problem

2004-11-18 Thread Peng Tuck
Nishant , Is there such a bean called employees exposed in any scope (since you didn't specify any scope) ? If so will fail. Can you tell us if it's a bean with a collection you want to retrieve or is employees just a plain old collection ? Nishant wrote: hi to all, i am using tomcat apache

Re: how to access oracle database on netwrk

2004-11-18 Thread Peng Tuck
Nishant wrote: now server is throwing an errors as cannot load JDBC driver called com.mysql.jdbc.Driver wht is wrong wiil i hav to import some external JDBC driver (on my pc no oracle is there ) You want to connect to an oracle database and you're loading a jdbc driver for mysql ? Yes

Re: where i can get jdbc driver for oracle

2004-11-17 Thread Peng Tuck
The Oracle Client cd should come with a suitable driver or simply browse oracle's website for one. Nishant wrote: hi, how can i use database in struts where i can get jdbc driver for oracle database Nishant Patil Software Engineer Cybage Software Pvt. Ltd. (A CMM Level 3 Company) West Avenue , Ka

Re: Application Development Procedure Doc (Again)

2004-11-12 Thread Peng Tuck
Dan, I don't really understand the document you posted. Maybe it would be better served in wiki format or you could post in pdf or something like that. As it is, I was pretty confused when I first saw it. Dan Cancro wrote: Hi Group, This is plea #2 for help with a soup-to-nuts How-To doc I'm

Re: contrib/struts-shale-mailreader

2004-11-11 Thread Peng Tuck
Probably because it's in svn ? Well the link from theserverside.com seems to say so. Anyway you can read the proposal here: http://svn.apache.org/viewcvs.cgi/*checkout*/struts/trunk/contrib/struts-shale/README.html Dakota Jack wrote: I got the latest CVS using a command line for jakarta-struts but

Re: vs. onclick result

2004-11-10 Thread Peng Tuck
Lori, If pathParam is a bean you pass in through the request or any scope you could use to output the value of the bean without resorting to scriplets. Ben Anderson wrote: Lori, notice I took this to the struts list. The struts tags don't support runtime expressions. There is a subset of

Re: Bean:define : Newbie Question

2004-11-10 Thread Peng Tuck
lease tell me what how exactly should I do it? Should I define bean user then define bean originatingHost which is an attr of user object? On Wed, 10 Nov 2004 17:52:54 +0800, Peng Tuck <[EMAIL PROTECTED]> wrote: So in you should refer to the bean you defined, using right ? Richard wrote:

Re: Local (server based) search engine?

2004-11-10 Thread Peng Tuck
Lucene does full text searching, but according to the faq doesn't yet do pdf, looks like something you would have to add to it. Joachim Dagerot wrote: Best practice to incorporate a search engine in a struts environment? I'm writing a quotation involving full text searching of attachments and c

Re: Bean:define : Newbie Question

2004-11-10 Thread Peng Tuck
So in you should refer to the bean you defined, using right ? Richard wrote: yes its an arraylist On Wed, 10 Nov 2004 15:50:36 +0800, Peng Tuck <[EMAIL PROTECTED]> wrote: Hi Richard, You use to define a bean with a id of user but yet in you refer to originatingHost ? I th

Re: Bean:define : Newbie Question

2004-11-09 Thread Peng Tuck
Hi Richard, You use to define a bean with a id of user but yet in you refer to originatingHost ? I think it should be refering to user instead for . Also is originatingHost a collection ? Richard wrote: Hello Guys, Please help I have to display the contents of my arraylist object I hav

Re: Connection Pooling With Struts

2004-11-05 Thread Peng Tuck
Tomcat can provide a connection pool, you just have to configure the pool and look up the resource in your application. The details can be found here : http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html Tushar Agrawal wrote: Hi Freinds, I am using struts-config d

Re: Help with connection pool

2004-11-04 Thread Peng Tuck
If you can describe your problem with tomcat's connection pool, maybe the people on the list can better help you out. Do you have problems with configuration or such ? Milson Fredy Cardona Echeverri wrote: hi friends I'm working with the POOL OF TOMCAT, but I have problems with him. I'm trying t

Re: Remotely restart Tomcat.

2004-11-04 Thread Peng Tuck
There's a ant task for this kind of things :P http://jakarta.apache.org/tomcat/tomcat-5.5-doc/deployer-howto.html#Deploying%20on%20a%20running%20Tomcat%20server Should work for you. dumm y wrote: Hi all Is there a way to hit the admin or something so that I can restart Tomcat remotely?

Re: compile jsp with struts taglibs problem

2004-11-02 Thread Peng Tuck Kwok
Ricardo, It would be helpful to see what's on line 22 of inicio.jsp, as in the jsp stuff you have written. On Tue, 2 Nov 2004 09:33:44 -0400, Ricardo Andres Quintero <[EMAIL PROTECTED]> wrote: > Hi Guys: > does anyone know why this error happens with tomcat 5? > im deploying into JBoss

Re: [OT] SQL in XML file

2004-10-28 Thread Peng Tuck Kwok
I don't think hibernate does sql in a xml file . I think it's more of a mapping of objects. Ashish, you are probably looking for a ORM right ? You could look at hibernate, Cayenne and there's one from apache as well. On Thu, 28 Oct 2004 08:41:15 +0100, Marco Mistroni <[EMAIL PROTECTED]

Re: iterate paging

2004-10-08 Thread Peng Tuck Kwok
Or you coud use displaytag. http://displaytag.sf.net It's pretty ok from what I can see. On Fri, 8 Oct 2004 14:32:58 +0530, Viral_Thakkar <[EMAIL PROTECTED]> wrote: > Use ValueListHandler design pattern .. > > -Original Message- > From: Sebastian Ho [mailto:[EMAIL PROTECTED] > Sent:

Re: Is there any free Application for Bug Tracking Software in Java or JSP

2004-09-21 Thread Peng Tuck Kwok
On Wed, 22 Sep 2004 10:52:06 -0700, Amit Gupta <[EMAIL PROTECTED]> wrote: > Hi Ravi, > > I think you will like 'bugzilla'. I must admit I was initially pretty confused by bugzilla, but scarab may suit Rajesh needs. Maybe he wants to have a look at Manits as well (php based though) ? ---

Re: [FRIDAY] GMail invites

2004-09-21 Thread Peng Tuck Kwok
I've three to give, pls send me mail directly. On Tue, 21 Sep 2004 09:21:03 -0400, Shailesh Patel <[EMAIL PROTECTED]> wrote: > I've got several more if anyone needs em. > - Shailesh > > - > To unsubscribe, e-mail: [EMAIL PROTEC

Re: [OT] Gmail invites, 2 available.

2004-09-13 Thread Peng Tuck Kwok
Hi list, The 2 invites have already been given away to ppl on the list. On Tue, 14 Sep 2004 08:34:25 +0800, Peng Tuck Kwok <[EMAIL PROTECTED]> wrote: > Hi list, > I have 2 invites to give away to ppl on the list, so if anybody needs > a Gmail account, just drop me a li

[OT] Gmail invites, 2 available.

2004-09-13 Thread Peng Tuck Kwok
Hi list, I have 2 invites to give away to ppl on the list, so if anybody needs a Gmail account, just drop me a line. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Not happy with approaches.. looking for better/other suggestions

2004-09-12 Thread Peng Tuck Kwok
On Mon, 13 Sep 2004 17:04:18 +1200, struts Dude <[EMAIL PROTECTED]> wrote: > Just a silly question. It isn't silly, don't worry about it :P . > Where did ListUtils come from?? I can't find this > in my JDK1.4.2. ListUtils is part of Commons Collections. Specifically you can find the java docs her

Re: [OT]: ant + eclipse not working .. eclipse bug?

2004-09-10 Thread Peng Tuck Kwok
Never had to switch ants in eclipse. Seems ok for me in Eclipse 3.0. On Fri, 10 Sep 2004 11:14:43 -0300, Lucas Gonzalez Pearson <[EMAIL PROTECTED]> wrote: > I´m using eclipse v3.1.0 and was using built-int ant. > I switched to an external location for ant and the problem seems to have > been fix

Re: [OT] someone using Outlook 2003, please tell me it can't be this LAME...

2004-09-02 Thread Peng Tuck Kwok
I think what he wanted was to sort threads in a group, you see the original thread, then you see all the repiles to the thread, in a hirearchy fashion. It does make it easy to group and distinguish when browsing through the list. On Thu, 2 Sep 2004 15:53:48 +0100, Robert Shields <[EMAIL PROTECTED]

Re: very dynamic forms

2004-08-05 Thread Peng Tuck Kwok
I think I'm uncertain about the question you asked as well, do you wish to have no ActionForm and only create one when a request comes in , based on some configuration in a db ? It sounds like what you actually want to do is change the configuration location from a file to the db . Is that correct

Re: R: How to render html embedded in a text-area?

2004-08-03 Thread Peng Tuck Kwok
Yeah, it looks great. Something to keep in mind when building webapps which need some text editing :D On Wed, 4 Aug 2004 14:24:49 +1200, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I've just shown these rich-text editors to our users and they are ecstatic. > Thanks to everybody who resp

Re: Newbie - DataBase

2004-07-30 Thread Peng Tuck Kwok
On Fri, 30 Jul 2004 09:07:36 -0400, Bussie, Andre D <[EMAIL PROTECTED]> wrote: > Is there a way in the Jakarta Struts framework to perform a database > query in an Action class w/o using a Action Form Class? It sure is. The next question would be: why would you want to do that in the action ? :D

Re: debugging prepared statements...view built SQl...Newbe?

2004-07-25 Thread Peng Tuck Kwok
Nope, don't think so. If you are preparing your own sql statements you can print them out through a logger (tedious I know but still workable). Some database drivers do support jdbc logging, where statements executed against the database will be logged to a text file. You'll probably need to look

Re: About Struts + JBoss preference issue

2004-07-23 Thread Peng Tuck Kwok
I think there should be an Ant task for this. As for actually compiling this, didn't really have to do that since the speed was acceptable. I think pre-compiling jsp was also a way to avoid javac memory leakage if memory serves. Jboss does support clustering, there should be some document somewher

Re: DBCP Connection full

2004-07-22 Thread Peng Tuck Kwok
You are getting that problem possibly due to the fact that maybe you are not freeing them in your application. Also make your you are using a recent version of DBCP. On Fri, 23 Jul 2004 13:25:11 +0800, Ding Lei <[EMAIL PROTECTED]> wrote: > Hi list, > I know that it's little off-topic ... but

Re: About Struts + JBoss preference issue

2004-07-22 Thread Peng Tuck Kwok
Well just a shot in the dark but maybe a slight speed up maybe achieved by pre-compiling jsps possibly. On Fri, 23 Jul 2004 10:05:30 +0800, Koon Yue Lam <[EMAIL PROTECTED]> wrote: > Oh! thanks for all of these help ! > I don't expect over 10 mails in one night to this issue~~ > Maybe becasue the

Re: OT: Problems with classpath under tomcat 5

2004-07-21 Thread Peng Tuck Kwok
; > > Betreff: Re: AW: OT: Problems with classpath under tomcat 5 > > > > > > > > > > .. > > > > > String fileName = target.getConfigurationName() + ".properties"; > > > > > ClassLoader cl = Thread.currentThread().getContextClassLoader(); > > > > > Input

Re: OT: Problems with classpath under tomcat 5

2004-07-21 Thread Peng Tuck Kwok
Are you sure if it is not looking your properties file in the classpath of the webapp ? When you say everything works fine until tomcat 5 is used , does the console print out any error ? Also how do you know it is searching in shared classes ? On Wed, 21 Jul 2004 15:45:01 +0200, Rosenberg, Leon <[

Re: Datasource problem again..

2004-07-20 Thread Peng Tuck Kwok
Great, that's always good to hear. Also consider providing your own context xml for each app with the war file, might save you some time in server restarts. Unless you changed server.xml through the administrative interface. On Wed, 21 Jul 2004 10:24:21 +0800, Koon Yue Lam <[EMAIL PROTECTED]> wrot

Re: Datasource problem again..

2004-07-19 Thread Peng Tuck Kwok
You can still have a context regardless of whether you auto deploy or not. See that snippet that jthopmson sent? You can deploy that with your war file, I think the name of the xml has to match the war file name if I'm not mistaken. Then you will have a context properly setup with the datasource.

Re: Testing for con.close()

2004-07-10 Thread Peng Tuck Kwok
Hi, Usually I call con.close() in the final block. There is a mention of this here : http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html#Common%20Problems On Sat, 10 Jul 2004 10:54:31 +0530, Shailender Jain <[EMAIL PROTECTED]> wrote: > Hi, > > I have implemented

Re: EXTERNALIZE SQL QUERIES

2004-07-07 Thread Peng Tuck Kwok
Or use hibernate :D . On Wed, 07 Jul 2004 09:56:06 +0300, Andrew Stepanenko <[EMAIL PROTECTED]> wrote: > ÐÑÐ, 2004-07-07 Ñ 06:48, Shailender Jain ÑÐÐ: > > Hi, > > > > I am using struts framework for the development of my application. > > I want to externalize the sql queries written in my a

Re: http 405 error

2004-06-18 Thread Peng Tuck Kwok
7;t see > anything happening here. > > Even the jboss's error log shows nothing. However, access log does show > a url was visited and the respose code returned in 405. > > navjot > > Peng Tuck Kwok wrote: > > Hi Navot, > >Is there lots of complaints com

Re: http 405 error

2004-06-18 Thread Peng Tuck Kwok
Hi Navot, Is there lots of complaints comming out of the log file (JBoss console) ? Don't recall having such an error with struts tomcat + jboss combo. On Fri, 18 Jun 2004 18:50:35 +0530, Navjot Singh <[EMAIL PROTECTED]> wrote: > > hi, > > I have deployed my app on Jboss 3.2.3(with Tomcat