Problems with custom taglibs

2005-10-23 Thread Eric Plante
Hi, After reading about how to make taglibs, I can't fathom how I can make what I want to do even afer consulting some tutorials. I have a logic:iterate on a Map. let say that the object name obj is taken out of the Map. I use obj inside the logic:iterate to get the key and value of each obj

Re: Message.properties encoding problem

2005-10-23 Thread Martin Gainty
Good Morning Lukasz I would suggest using the native2ascii converter tool available in Ant.. Documentation is available at http://ant.apache.org/manual/OptionalTasks/native2ascii.html You can setup various 'dependencies' such as trigerring when you check in your Message_pl.properties into

Need good tab control for JSP.

2005-10-23 Thread Zsolt
Hi, I need a good tab control for JSP. I have tried struts-layout and http://209.61.157.8:8080/taglibs/?orgDitchnetTabPaneId=overview. Struts-layout doesn't seem to work. Ditchnet seems to be very good however we cannot switch tomcat-5.5 into servlet mode 2.3. Can you provide me some

Re: Problems with custom taglibs

2005-10-23 Thread Wendy Smoak
From: Eric Plante [EMAIL PROTECTED] I have a logic:iterate on a Map. let say that the object name obj is taken out of the Map. I use obj inside the logic:iterate to get the key and value of each obj without a problem. Now, what I need to do is to use the obj's key on another Map in the form

Re: Problems with custom taglibs

2005-10-23 Thread Eric Plante
I don't know what this c: tag is for but I'd rather make it work with bean, html, logic and this custom tag of mine. It's not just a matter of making it work, it's also a matter of learning how to make a taglib and also because the whole page is made of those taglibs. I simplified it to keep

Re: Problems with custom taglibs

2005-10-23 Thread Eric Plante
I don't know what this c: tag is for but I'd rather make it work with bean, I just saw that c was the name of your taglib - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: sharing message resources with jstl

2005-10-23 Thread Martin Gainty
Good Call Here is another location for referencing your JSTL Thanks, Martin- - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Saturday, October 22, 2005 12:17 PM Subject: Re: sharing message resources with jstl

Re: Need good tab control for JSP.

2005-10-23 Thread Wendy Smoak
From: Zsolt [EMAIL PROTECTED] I need a good tab control for JSP. I have tried struts-layout and http://209.61.157.8:8080/taglibs/?orgDitchnetTabPaneId=overview. Struts-layout doesn't seem to work. Ditchnet seems to be very good however we cannot switch tomcat-5.5 into servlet mode 2.3. Have

Re: sharing message resources with jstl

2005-10-23 Thread Martin Gainty
http://www.javaranch.com/newsletter/200311/Nov2003Newsletter-JSTL-Excerpt.html - Original Message - From: Martin Gainty [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Sunday, October 23, 2005 1:36 PM Subject: Re: sharing message resources with jstl Good

Re: Problems with custom taglibs

2005-10-23 Thread Eric Plante
I tried with the c:out tag within the iterate:iterate tag and it simply print out the string, same thing if I just write the variable itself. is the c:foreach the only way to do it? I'd rather not make a drstic change to my site and I want to practice doing my own tag too. From: Eric Plante

Re: Problems with custom taglibs

2005-10-23 Thread Wendy Smoak
From: Eric Plante [EMAIL PROTECTED] I tried with the c:out tag within the iterate:iterate tag and it simply print out the string, same thing if I just write the variable itself. is the c:foreach the only way to do it? I'd rather not make a drstic change to my site and I want to practice

Re: Need good tab control for JSP.

2005-10-23 Thread Christian Bollmeyer
Zsolt schrieb: Hi, Hi, I need a good tab control for JSP. I have tried struts-layout and http://209.61.157.8:8080/taglibs/?orgDitchnetTabPaneId=overview. This component is quite good, but requires JSP 2.0 (SimpleTag) and has issues with Tiles (switch off JavaScript and see for yourself).

Re: Problems with custom taglibs

2005-10-23 Thread Eric Plante
I find those core tags to look too much like a disguised version of % % tag which I prefer to avoid if I could. I'd rather want to know what's wrong with the custom tag I designed. I want to learn how to make them and this one should work but doesn't. I'm using version 2.3 and I'm using tomcat

Re: Problems with custom taglibs

2005-10-23 Thread Martin Gainty
Eric-| Can you post the web.xml, struts-config.xml and the Tag source code so we can run it on our own boxes We would need to see all of these to understand whats going on.. Martin- - Original Message - From: Eric Plante [EMAIL PROTECTED] To: Struts Users Mailing List

Re: Need good tab control for JSP.

2005-10-23 Thread emre akbas
Maybe a pure-javascript solution may work for you: http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm -- Emre Akbas -- Forwarded message -- From: Zsolt [EMAIL PROTECTED] To: Struts Users Mailing List struts-user@jakarta.apache.org Date: Sun, 23 Oct 2005 17:54:10 +0200

Re: Problems with custom tags

2005-10-23 Thread Eric Plante
I've put the files you needed in attachement. I have a question that is not really about struts but maybe someone can answer. I wanted to use .css and .js files but my js file was acting wierd when I added script language=javascript src=Pandora.js/script and not at all when I added LINK

Re: new website look

2005-10-23 Thread Michael Jouravlev
Left column is resizable with some weird width persentage. ApacheCon ad does not resize, and sticks out. Background is not set, too. On 10/22/05, Adam Hardy [EMAIL PROTECTED] wrote: Hi All, nice new fresh looking website. Is that the maven-generated one?

Re: Problems with custom tags

2005-10-23 Thread Martin Gainty
I didnt see your Tag source code and I dodnt see the JSP that uses it also did you state what your TagLib declaration is I found this very helpful http://www.orionserver.com/docs/tutorials/taglibs/1.html Thanks, M - Original Message - From: Eric Plante [EMAIL PROTECTED] To:

Fw: Problems with custom tags

2005-10-23 Thread Eric Plante
- Original Message - From: Eric Plante To: [EMAIL PROTECTED] Sent: Sunday, October 23, 2005 6:43 PM Subject: Re: Problems with custom tags That'S strange, I sent 4 files and only 2 made it. I hope those 3 will make it. Thanks I didnt see your Tag source code and I dodnt see

Re: Problems with custom tags

2005-10-23 Thread Eric Plante
Another attempt at sending files. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problems with custom tags

2005-10-23 Thread Eric Plante
Sorry about this, my files do not seem to reach the list, I will send them directly to you Mr. Gainty. Thanks - Original Message - From: Eric Plante To: user@struts.apache.org Sent: Sunday, October 23, 2005 6:48 PM Subject: Re: Problems with custom tags Another attempt

Re: JSP/design/flow question.

2005-10-23 Thread Dakota Jack
There would not be anything particular wrong, all things being equal, to having all three of these on one page. This is fairly simple and you don't need the strutsdialogs, which is not connected to Struts, Rube Goldberg setup. If you are not aware of the use of tags for logic, take a look at

Re: Need good tab control for JSP.

2005-10-23 Thread Laurie Harper
Christian Bollmeyer wrote: This component is quite good, but requires JSP 2.0 (SimpleTag) and has issues with Tiles (switch off JavaScript and see for yourself). Damn, I was thinking this looked pretty promising 'til I read that... Can you expand at all? I only use Tiles fairly lightly so

Struts TLD problem

2005-10-23 Thread Koon Yue Lam
Hi, Assume I have 2 jsp(s), header.jsp and content.jsp In header.jsp, I have: %@ taglib uri=/WEB-INF/tld/struts-bean.tld prefix=bean % %@ taglib uri=/WEB-INF/tld/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/tld/struts-logic.tld prefix=logic % %@ taglib uri=/WEB-INF/tld/element.tld

need to email from action

2005-10-23 Thread C.F. Scheidecker Antunes
Hello all, I need to email a simple text message from within an action. I've tried creating a class using javax.mail.* and javax.mail.internet.* classes but without success. I wonder if there is any simple recipe for that. Thanks, C.F.

Re: need to email from action

2005-10-23 Thread Xavier Vanderstukken
Jakarta commons-email is your friend http://jakarta.apache.org/commons/email/examples.html C.F. Scheidecker Antunes wrote: Hello all, I need to email a simple text message from within an action. I've tried creating a class using javax.mail.* and javax.mail.internet.* classes but without

Re: need to email from action

2005-10-23 Thread Murray Collingwood
I made this generic static class which I can call from anywhere in my app. Of course you need the JavaMail library. import java.util.Date; import java.util.Properties; import javax.mail.*; import javax.mail.internet.*; public class Send { private static final String smtpServer =