You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Yadav, Ganesh" <ga...@Intrado.com> on 2004/06/23 18:22:28 UTC

Treeview - Frameless Layout in struts

Folks,
I am developing a J2EE based data oriented application using Struts. 
I want to develop a UI using Frameless Layout For Tree view, something like left side of the page will have a Tree View and depending on selected node right side of the page will be filled up with different forms for inputting/submitting/viewing the data in html.
Can some one please point out me to some examples of Tree View Implementation used in JSP for left pane navigation ?
I know Echo framework has this inbuilt functionality, But I want to develop this using struts.
Any suggestions using JavaScript or ready to use tags are welcome.
Thanks !
G

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Treeview - Frameless Layout in struts

Posted by Bill Siggelkow <bi...@bellsouth.net>.
I think struts-menu (http://struts-menu.sourceforge.net) might suit your 
needs.

Yadav, Ganesh wrote:
> Folks,
> I am developing a J2EE based data oriented application using Struts. 
> I want to develop a UI using Frameless Layout For Tree view, something like left side of the page will have a Tree View and depending on selected node right side of the page will be filled up with different forms for inputting/submitting/viewing the data in html.
> Can some one please point out me to some examples of Tree View Implementation used in JSP for left pane navigation ?
> I know Echo framework has this inbuilt functionality, But I want to develop this using struts.
> Any suggestions using JavaScript or ready to use tags are welcome.
> Thanks !
> G


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts and PL/SQL

Posted by Vic Cekvenich <ce...@portalvu.com>.
You can/should do both: use PL SQL and make it light and make it 
seperate DAO. Look at the DAO implementation and sample PetStore on 
iBatis.com.
.V

Lucas Gonzalez wrote:
> Joe,
> calling PL/SQL stored procedures is certainly a way to do it, but as you
> said.. the db layer should abstracted as much as possible...
> I have some ideas of how to do it, but was looking around to see if somebody
> knew something about that... or had other ideas...
> 
> Regards,
> Lucas
> 
> ----- Original Message ----- 
> From: "Joe Germuska" <Jo...@Germuska.com>
> To: "Struts Users Mailing List" <us...@struts.apache.org>
> Sent: Wednesday, June 23, 2004 3:33 PM
> Subject: Re: Struts and PL/SQL
> 
> 
> At 3:06 PM -0300 6/23/04, Lucas Gonzalez wrote:
> 
>>Hi all!
>>
>>I´ve been using Struts a lot with EJB and Hibernate with no problems.
>>
>>But I always wondered if it´s possible to use an architecture that uses
>>STRUTS and goes directly to PL/SQL for the database layer. I know it is
>>possible in many way, but I would like to know if there is any special
>>product or package that integrates with PL ( the only one I found is
>>http://portalstudio.oracle.com/servlet/page?_pageid=473&_dad=ops&_schema=OP
> 
> STUDIO
> 
>>) ... any pointers?
> 
> 
> In common usage, your Struts development
> shouldn't need to know anything about your
> database layer; after that, you might get better
> answers from a PL/SQL user forum.
> 
> I have certainly used Java to call PL/SQL stored
> procedures before, but not in a way that is
> specific to either Struts or PL/SQL; I simply
> used java.sql.CallableStatement.
> 
> Joe
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts and PL/SQL

Posted by Lucas Gonzalez <lu...@convergia.com.ar>.
Joe,
calling PL/SQL stored procedures is certainly a way to do it, but as you
said.. the db layer should abstracted as much as possible...
I have some ideas of how to do it, but was looking around to see if somebody
knew something about that... or had other ideas...

Regards,
Lucas

----- Original Message ----- 
From: "Joe Germuska" <Jo...@Germuska.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Wednesday, June 23, 2004 3:33 PM
Subject: Re: Struts and PL/SQL


At 3:06 PM -0300 6/23/04, Lucas Gonzalez wrote:
>Hi all!
>
>I´ve been using Struts a lot with EJB and Hibernate with no problems.
>
>But I always wondered if it´s possible to use an architecture that uses
>STRUTS and goes directly to PL/SQL for the database layer. I know it is
>possible in many way, but I would like to know if there is any special
>product or package that integrates with PL ( the only one I found is
>http://portalstudio.oracle.com/servlet/page?_pageid=473&_dad=ops&_schema=OP
STUDIO
>) ... any pointers?

In common usage, your Struts development
shouldn't need to know anything about your
database layer; after that, you might get better
answers from a PL/SQL user forum.

I have certainly used Java to call PL/SQL stored
procedures before, but not in a way that is
specific to either Struts or PL/SQL; I simply
used java.sql.CallableStatement.

Joe

-- 
Joe Germuska
Joe@Germuska.com
http://blog.germuska.com
"In fact, when I die, if I don't hear 'A Love
Supreme,' I'll turn back; I'll know I'm in the
wrong place."
    - Carlos Santana

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts and PL/SQL

Posted by Joe Germuska <Jo...@Germuska.com>.
At 3:06 PM -0300 6/23/04, Lucas Gonzalez wrote:
>Hi all!
>
>I´ve been using Struts a lot with EJB and Hibernate with no problems.
>
>But I always wondered if it´s possible to use an architecture that uses
>STRUTS and goes directly to PL/SQL for the database layer. I know it is
>possible in many way, but I would like to know if there is any special
>product or package that integrates with PL ( the only one I found is
>http://portalstudio.oracle.com/servlet/page?_pageid=473&_dad=ops&_schema=OPSTUDIO 
>) ... any pointers?

In common usage, your Struts development 
shouldn't need to know anything about your 
database layer; after that, you might get better 
answers from a PL/SQL user forum.

I have certainly used Java to call PL/SQL stored 
procedures before, but not in a way that is 
specific to either Struts or PL/SQL; I simply 
used java.sql.CallableStatement.

Joe

-- 
Joe Germuska            
Joe@Germuska.com  
http://blog.germuska.com    
"In fact, when I die, if I don't hear 'A Love 
Supreme,' I'll turn back; I'll know I'm in the 
wrong place."
    - Carlos Santana

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Struts and PL/SQL

Posted by Robert Taylor <rt...@mulework.com>.
If your trying to avoid the overhead of EJB, then you may want
to look into the Spring framework. I've been wanting to find a
flexible architecture/framework which allows me to start with a
non-EJB type of approach and easily scale to using an EJB container
while minimizing the impact on the application.

This article may provide some insight:
http://www.theserverside.com/articles/printfriendly.tss?l=SpringFramework

I would still advise wrapping your dataccess code in a business delegate or
application service instead of binding your Struts Action to the business
logic implementation.

robert

> -----Original Message-----
> From: Lucas Gonzalez [mailto:lucas.gonzalez@convergia.com.ar]
> Sent: Wednesday, June 23, 2004 2:07 PM
> To: Struts Users Mailing List
> Subject: Struts and PL/SQL
>
>
> Hi all!
>
> I´ve been using Struts a lot with EJB and Hibernate with no problems.
>
> But I always wondered if it´s possible to use an architecture that uses
> STRUTS and goes directly to PL/SQL for the database layer. I know it is
> possible in many way, but I would like to know if there is any special
> product or package that integrates with PL ( the only one I found is
> http://portalstudio.oracle.com/servlet/page?_pageid=473&_dad=ops&_schema=OPSTUDIO ) ... any pointers?
>
> Thanks a lot
> Lucas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts and PL/SQL

Posted by "Daniel H. F. e Silva" <dh...@yahoo.com>.
Lucas,

 Are you talking about PL/SQL stored procedures? Considering that, i recommend setting a DAO layer
up. And i do recommend using iBATIS DAO and SQL Maps for that. Resources about iBATIS can be found
at www.ibatis.com and www.reumann.net (Struttin' with Struts).

Cheers,
 Daniel Silva.
--- Lucas Gonzalez <lu...@convergia.com.ar> wrote:
> Hi all!
> 
> I�ve been using Struts a lot with EJB and Hibernate with no problems.
> 
> But I always wondered if it�s possible to use an architecture that uses
> STRUTS and goes directly to PL/SQL for the database layer. I know it is
> possible in many way, but I would like to know if there is any special
> product or package that integrates with PL ( the only one I found is
> http://portalstudio.oracle.com/servlet/page?_pageid=473&_dad=ops&_schema=OPSTUDIO ) ... any
> pointers?
> 
> Thanks a lot
> Lucas
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 



	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Struts and PL/SQL

Posted by Lucas Gonzalez <lu...@convergia.com.ar>.
Hi all!

I´ve been using Struts a lot with EJB and Hibernate with no problems.

But I always wondered if it´s possible to use an architecture that uses
STRUTS and goes directly to PL/SQL for the database layer. I know it is
possible in many way, but I would like to know if there is any special
product or package that integrates with PL ( the only one I found is
http://portalstudio.oracle.com/servlet/page?_pageid=473&_dad=ops&_schema=OPSTUDIO ) ... any pointers?

Thanks a lot
Lucas


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Setting html:hidden property using JSTL

Posted by Robert Taylor <rt...@mulework.com>.
I believe the reason it's not populated in the 
action form is because its in the request as an attribute
and not a parameter.

<snip-from-original-post>
I just started experimenting with jstl and i'd like to
set a hidden field on MyActionForm using a value 
(contentId) available as an attribute on the request.
</snip-from-original-post>

robert

> -----Original Message-----
> From: Rick Reumann [mailto:struttin@reumann.net]
> Sent: Wednesday, June 23, 2004 3:23 PM
> To: Struts Users Mailing List
> Subject: Re: Setting html:hidden property using JSTL
> 
> 
> klute wrote:
> 
> > Yes, the struts-el.jar is in WEB-INF/lib
> > 
> > --- Rick Reumann <st...@reumann.net> wrote:
> > 
> >>klute wrote:
> >>
> >>
> >>><input type="hidden" name="contentId"
> >>>value="${contentId}">
> >>>
> >>>This are the tagligs i am importing on this page:
> >>><%@ taglib uri="/WEB-INF/struts-bean.tld"
> >>>prefix="bean" %>
> >>><%@ taglib uri="/WEB-INF/struts-html.tld"
> >>>prefix="html" %>
> >>><%@ taglib uri="/WEB-INF/struts-html-el.tld"
> >>>prefix="html-el" %>
> >>><%@ taglib uri="http://java.sun.com/jstl/core"
> >>>prefix="c" %>
> >>>
> >>>
> >>>What am i doing wrong?
> 
> Not sure. If you have
> - struts-el jar included
> - proper definition of the tld in web.xml
> - proper declaration for the tld on top of the page
> 
> then using it as:
> <html-el:hidden property="contentId" value="${contentId}"/>
> should be fine.
> 
> The only thing I'm still concerned about and maybe somehow it's related 
> is that contentId has to be a property of your ActionForm or else Struts 
> would complain that it couldn't find the property 'contentId' Are you 
> maybe creating the "contentId" var dynamically first in the JSP page and 
> then trying to set as above? "Usually" you don't need to do like you are 
> doing (setting the value) since that value can be set before you get to 
> the page and thus just doing <html:hidden property="contentId" would be 
> fine.
> 
> What does <c:out value="${contentId}"/> produce on the page (or in 
> source) when placed right before the html-el hidden tag?
> 
> -- 
> Rick
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Setting html:hidden property using JSTL

Posted by Robert Taylor <rt...@mulework.com>.
Right. Thanks for the clarification, Kris. 

robert

> -----Original Message-----
> From: Kris Schneider [mailto:kris@dotech.com]
> Sent: Thursday, June 24, 2004 10:39 AM
> To: Struts Users Mailing List
> Subject: RE: Setting html:hidden property using JSTL
> 
> 
> Small clarification that the Servlet 2.4/JSP 2.0 specs don't include/require
> JSTL. Although a given container may include a JSTL implementation (like Resin,
> I believe), it's not a requirement. For example, Tomcat 5.0 does not include a
> JSTL implementation. For JSP 1.2, use JSTL 1.0. For JSP 2.0, use JSTL 1.1. As
> Robert illustrated, the taglib URIs are not the same for the two JSTL
> versions.
> 
> Quoting Robert Taylor <rt...@mulework.com>:
> 
> > I'm sorry, I've missed parts of this thread, but this
> > last message caught my eye when you said it's printing
> > ${contentId} to the screen instead of the value of contentId.
> > 
> > Which servlet spec. does your container support? I've seen this
> > type of behavior when the container supports Servlet Spec. 2.4 but
> > the web.xml file is referring to the 2.3 dtd.
> > 
> > If your container does support the 2.4 spec, then make sure your
> > web.xml file has
> > 
> > <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
> > 
> > in its root element.
> > 
> > Again, if your container does support the 2.4 spec, then you
> > shouldn't need any .tld files or even jar files for JSTL.
> > All you should have to do is add (or include) something like this to the
> > top of your .jsp page.
> > 
> > <%-- JSTL Standard Tags --%>
> > <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
> > <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
> > 
> > If your container does not support the 2.4 spec, then you will need
> > to include the appropriate .tld and .jar files and update your web.xml
> > file to reference the appropriate .tld file(s).
> > 
> > robert
> > 
> > 
> > 
> > 
> > 
> > > -----Original Message-----
> > > From: klute [mailto:soundres9@yahoo.com]
> > > Sent: Thursday, June 24, 2004 10:01 AM
> > > To: Struts Users Mailing List
> > > Subject: Re: Setting html:hidden property using JSTL
> > >
> > >
> > > Hello All,
> > >
> > > I *really* appreciate your help.  Because of a
> > > hard-pressing work deadline, i actually gave up on
> > > getting that to work using JSTL and ended up using the
> > >  ugly <input type="hidden" name="contentId"
> > > value="<%=request.getAttribute("contentId")%>"/>
> > > instead.
> > >
> > > I'll definitely come back to JSTL at a later time
> > > since i consider that to be a proper way of doing this
> > > sort of things.
> > >
> > > Robert, if ${contentId} is available as an attribute
> > > (which it was) and not as a parameter, i would expect
> > > it to produce null or something instead of literally
> > > printing out ${contentId} string...
> > >
> > > Rick, i tried creating a var in the jsp and the result
> > > would still be the same: the value of the hidden
> > > property was printed out as {$myVar}. And, if i do
> > > c:out in the begging of the jsp, i do get an actual
> > > int value printed. weird... i definitely need to spend
> > > more time doing my homework to understand how it
> > > works...
> > >
> > > All the best,
> > > James
> > >
> > > --- Rick Reumann <st...@reumann.net> wrote:
> > > > klute wrote:
> > > >
> > > > > Yes, the struts-el.jar is in WEB-INF/lib
> > > > >
> > > > > --- Rick Reumann <st...@reumann.net> wrote:
> > > > >
> > > > >>klute wrote:
> > > > >>
> > > > >>
> > > > >>><input type="hidden" name="contentId"
> > > > >>>value="${contentId}">
> > > > >>>
> > > > >>>This are the tagligs i am importing on this page:
> > > > >>><%@ taglib uri="/WEB-INF/struts-bean.tld"
> > > > >>>prefix="bean" %>
> > > > >>><%@ taglib uri="/WEB-INF/struts-html.tld"
> > > > >>>prefix="html" %>
> > > > >>><%@ taglib uri="/WEB-INF/struts-html-el.tld"
> > > > >>>prefix="html-el" %>
> > > > >>><%@ taglib uri="http://java.sun.com/jstl/core"
> > > > >>>prefix="c" %>
> > > > >>>
> > > > >>>
> > > > >>>What am i doing wrong?
> > > >
> > > > Not sure. If you have
> > > > - struts-el jar included
> > > > - proper definition of the tld in web.xml
> > > > - proper declaration for the tld on top of the page
> > > >
> > > > then using it as:
> > > > <html-el:hidden property="contentId"
> > > > value="${contentId}"/>
> > > > should be fine.
> > > >
> > > > The only thing I'm still concerned about and maybe
> > > > somehow it's related
> > > > is that contentId has to be a property of your
> > > > ActionForm or else Struts
> > > > would complain that it couldn't find the property
> > > > 'contentId' Are you
> > > > maybe creating the "contentId" var dynamically first
> > > > in the JSP page and
> > > > then trying to set as above? "Usually" you don't
> > > > need to do like you are
> > > > doing (setting the value) since that value can be
> > > > set before you get to
> > > > the page and thus just doing <html:hidden
> > > > property="contentId" would be
> > > > fine.
> > > >
> > > > What does <c:out value="${contentId}"/> produce on
> > > > the page (or in
> > > > source) when placed right before the html-el hidden
> > > > tag?
> > > >
> > > > --
> > > > Rick
> 
> -- 
> Kris Schneider <ma...@dotech.com>
> D.O.Tech       <http://www.dotech.com/>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Setting html:hidden property using JSTL

Posted by Kris Schneider <kr...@dotech.com>.
Small clarification that the Servlet 2.4/JSP 2.0 specs don't include/require
JSTL. Although a given container may include a JSTL implementation (like Resin,
I believe), it's not a requirement. For example, Tomcat 5.0 does not include a
JSTL implementation. For JSP 1.2, use JSTL 1.0. For JSP 2.0, use JSTL 1.1. As
Robert illustrated, the taglib URIs are not the same for the two JSTL
versions.

Quoting Robert Taylor <rt...@mulework.com>:

> I'm sorry, I've missed parts of this thread, but this
> last message caught my eye when you said it's printing
> ${contentId} to the screen instead of the value of contentId.
> 
> Which servlet spec. does your container support? I've seen this
> type of behavior when the container supports Servlet Spec. 2.4 but
> the web.xml file is referring to the 2.3 dtd.
> 
> If your container does support the 2.4 spec, then make sure your
> web.xml file has
> 
> <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
> 
> in its root element.
> 
> Again, if your container does support the 2.4 spec, then you
> shouldn't need any .tld files or even jar files for JSTL.
> All you should have to do is add (or include) something like this to the
> top of your .jsp page.
> 
> <%-- JSTL Standard Tags --%>
> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
> 
> If your container does not support the 2.4 spec, then you will need
> to include the appropriate .tld and .jar files and update your web.xml
> file to reference the appropriate .tld file(s).
> 
> robert
> 
> 
> 
> 
> 
> > -----Original Message-----
> > From: klute [mailto:soundres9@yahoo.com]
> > Sent: Thursday, June 24, 2004 10:01 AM
> > To: Struts Users Mailing List
> > Subject: Re: Setting html:hidden property using JSTL
> >
> >
> > Hello All,
> >
> > I *really* appreciate your help.  Because of a
> > hard-pressing work deadline, i actually gave up on
> > getting that to work using JSTL and ended up using the
> >  ugly <input type="hidden" name="contentId"
> > value="<%=request.getAttribute("contentId")%>"/>
> > instead.
> >
> > I'll definitely come back to JSTL at a later time
> > since i consider that to be a proper way of doing this
> > sort of things.
> >
> > Robert, if ${contentId} is available as an attribute
> > (which it was) and not as a parameter, i would expect
> > it to produce null or something instead of literally
> > printing out ${contentId} string...
> >
> > Rick, i tried creating a var in the jsp and the result
> > would still be the same: the value of the hidden
> > property was printed out as {$myVar}. And, if i do
> > c:out in the begging of the jsp, i do get an actual
> > int value printed. weird... i definitely need to spend
> > more time doing my homework to understand how it
> > works...
> >
> > All the best,
> > James
> >
> > --- Rick Reumann <st...@reumann.net> wrote:
> > > klute wrote:
> > >
> > > > Yes, the struts-el.jar is in WEB-INF/lib
> > > >
> > > > --- Rick Reumann <st...@reumann.net> wrote:
> > > >
> > > >>klute wrote:
> > > >>
> > > >>
> > > >>><input type="hidden" name="contentId"
> > > >>>value="${contentId}">
> > > >>>
> > > >>>This are the tagligs i am importing on this page:
> > > >>><%@ taglib uri="/WEB-INF/struts-bean.tld"
> > > >>>prefix="bean" %>
> > > >>><%@ taglib uri="/WEB-INF/struts-html.tld"
> > > >>>prefix="html" %>
> > > >>><%@ taglib uri="/WEB-INF/struts-html-el.tld"
> > > >>>prefix="html-el" %>
> > > >>><%@ taglib uri="http://java.sun.com/jstl/core"
> > > >>>prefix="c" %>
> > > >>>
> > > >>>
> > > >>>What am i doing wrong?
> > >
> > > Not sure. If you have
> > > - struts-el jar included
> > > - proper definition of the tld in web.xml
> > > - proper declaration for the tld on top of the page
> > >
> > > then using it as:
> > > <html-el:hidden property="contentId"
> > > value="${contentId}"/>
> > > should be fine.
> > >
> > > The only thing I'm still concerned about and maybe
> > > somehow it's related
> > > is that contentId has to be a property of your
> > > ActionForm or else Struts
> > > would complain that it couldn't find the property
> > > 'contentId' Are you
> > > maybe creating the "contentId" var dynamically first
> > > in the JSP page and
> > > then trying to set as above? "Usually" you don't
> > > need to do like you are
> > > doing (setting the value) since that value can be
> > > set before you get to
> > > the page and thus just doing <html:hidden
> > > property="contentId" would be
> > > fine.
> > >
> > > What does <c:out value="${contentId}"/> produce on
> > > the page (or in
> > > source) when placed right before the html-el hidden
> > > tag?
> > >
> > > --
> > > Rick

-- 
Kris Schneider <ma...@dotech.com>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Setting html:hidden property using JSTL

Posted by klute <so...@yahoo.com>.
Robert,

I am using servlet spec 2.3 and i did all the steps
you mentioned. 

Thanks,
James

--- Robert Taylor <rt...@mulework.com> wrote:
> I'm sorry, I've missed parts of this thread, but
> this
> last message caught my eye when you said it's
> printing
> ${contentId} to the screen instead of the value of
> contentId.
> 
> Which servlet spec. does your container support?
> I've seen this
> type of behavior when the container supports Servlet
> Spec. 2.4 but
> the web.xml file is referring to the 2.3 dtd.
> 
> If your container does support the 2.4 spec, then
> make sure your
> web.xml file has
> 
> <web-app version="2.4"
> xmlns="http://java.sun.com/xml/ns/j2ee"
>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
> 
> in its root element.
> 
> Again, if your container does support the 2.4 spec,
> then you
> shouldn't need any .tld files or even jar files for
> JSTL.
> All you should have to do is add (or include)
> something like this to the
> top of your .jsp page.
> 
> <%-- JSTL Standard Tags --%>
> <%@ taglib uri="http://java.sun.com/jsp/jstl/core"
> prefix="c" %>
> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"
> prefix="fmt" %>
> 
> If your container does not support the 2.4 spec,
> then you will need
> to include the appropriate .tld and .jar files and
> update your web.xml
> file to reference the appropriate .tld file(s).
> 
> robert
> 
> 
> 
> 
> 
> > -----Original Message-----
> > From: klute [mailto:soundres9@yahoo.com]
> > Sent: Thursday, June 24, 2004 10:01 AM
> > To: Struts Users Mailing List
> > Subject: Re: Setting html:hidden property using
> JSTL
> >
> >
> > Hello All,
> >
> > I *really* appreciate your help.  Because of a
> > hard-pressing work deadline, i actually gave up on
> > getting that to work using JSTL and ended up using
> the
> >  ugly <input type="hidden" name="contentId"
> > value="<%=request.getAttribute("contentId")%>"/>
> > instead.
> >
> > I'll definitely come back to JSTL at a later time
> > since i consider that to be a proper way of doing
> this
> > sort of things.
> >
> > Robert, if ${contentId} is available as an
> attribute
> > (which it was) and not as a parameter, i would
> expect
> > it to produce null or something instead of
> literally
> > printing out ${contentId} string...
> >
> > Rick, i tried creating a var in the jsp and the
> result
> > would still be the same: the value of the hidden
> > property was printed out as {$myVar}. And, if i do
> > c:out in the begging of the jsp, i do get an
> actual
> > int value printed. weird... i definitely need to
> spend
> > more time doing my homework to understand how it
> > works...
> >
> > All the best,
> > James
> >
> > --- Rick Reumann <st...@reumann.net> wrote:
> > > klute wrote:
> > >
> > > > Yes, the struts-el.jar is in WEB-INF/lib
> > > >
> > > > --- Rick Reumann <st...@reumann.net> wrote:
> > > >
> > > >>klute wrote:
> > > >>
> > > >>
> > > >>><input type="hidden" name="contentId"
> > > >>>value="${contentId}">
> > > >>>
> > > >>>This are the tagligs i am importing on this
> page:
> > > >>><%@ taglib uri="/WEB-INF/struts-bean.tld"
> > > >>>prefix="bean" %>
> > > >>><%@ taglib uri="/WEB-INF/struts-html.tld"
> > > >>>prefix="html" %>
> > > >>><%@ taglib uri="/WEB-INF/struts-html-el.tld"
> > > >>>prefix="html-el" %>
> > > >>><%@ taglib
> uri="http://java.sun.com/jstl/core"
> > > >>>prefix="c" %>
> > > >>>
> > > >>>
> > > >>>What am i doing wrong?
> > >
> > > Not sure. If you have
> > > - struts-el jar included
> > > - proper definition of the tld in web.xml
> > > - proper declaration for the tld on top of the
> page
> > >
> > > then using it as:
> > > <html-el:hidden property="contentId"
> > > value="${contentId}"/>
> > > should be fine.
> > >
> > > The only thing I'm still concerned about and
> maybe
> > > somehow it's related
> > > is that contentId has to be a property of your
> > > ActionForm or else Struts
> > > would complain that it couldn't find the
> property
> > > 'contentId' Are you
> > > maybe creating the "contentId" var dynamically
> first
> > > in the JSP page and
> > > then trying to set as above? "Usually" you don't
> > > need to do like you are
> > > doing (setting the value) since that value can
> be
> > > set before you get to
> > > the page and thus just doing <html:hidden
> > > property="contentId" would be
> > > fine.
> > >
> > > What does <c:out value="${contentId}"/> produce
> on
> > > the page (or in
> > > source) when placed right before the html-el
> hidden
> > > tag?
> > >
> > > --
> > > Rick
> > >
> > >
> >
>
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail:
> > > user-help@struts.apache.org
> > >
> > >
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Address AutoComplete - You start. We
> finish.
> > http://promotions.yahoo.com/new_mail
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> > For additional commands, e-mail:
> user-help@struts.apache.org
> >
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
> 
> 



		
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Setting html:hidden property using JSTL

Posted by Robert Taylor <rt...@mulework.com>.
I'm sorry, I've missed parts of this thread, but this
last message caught my eye when you said it's printing
${contentId} to the screen instead of the value of contentId.

Which servlet spec. does your container support? I've seen this
type of behavior when the container supports Servlet Spec. 2.4 but
the web.xml file is referring to the 2.3 dtd.

If your container does support the 2.4 spec, then make sure your
web.xml file has

<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

in its root element.

Again, if your container does support the 2.4 spec, then you
shouldn't need any .tld files or even jar files for JSTL.
All you should have to do is add (or include) something like this to the
top of your .jsp page.

<%-- JSTL Standard Tags --%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

If your container does not support the 2.4 spec, then you will need
to include the appropriate .tld and .jar files and update your web.xml
file to reference the appropriate .tld file(s).

robert





> -----Original Message-----
> From: klute [mailto:soundres9@yahoo.com]
> Sent: Thursday, June 24, 2004 10:01 AM
> To: Struts Users Mailing List
> Subject: Re: Setting html:hidden property using JSTL
>
>
> Hello All,
>
> I *really* appreciate your help.  Because of a
> hard-pressing work deadline, i actually gave up on
> getting that to work using JSTL and ended up using the
>  ugly <input type="hidden" name="contentId"
> value="<%=request.getAttribute("contentId")%>"/>
> instead.
>
> I'll definitely come back to JSTL at a later time
> since i consider that to be a proper way of doing this
> sort of things.
>
> Robert, if ${contentId} is available as an attribute
> (which it was) and not as a parameter, i would expect
> it to produce null or something instead of literally
> printing out ${contentId} string...
>
> Rick, i tried creating a var in the jsp and the result
> would still be the same: the value of the hidden
> property was printed out as {$myVar}. And, if i do
> c:out in the begging of the jsp, i do get an actual
> int value printed. weird... i definitely need to spend
> more time doing my homework to understand how it
> works...
>
> All the best,
> James
>
> --- Rick Reumann <st...@reumann.net> wrote:
> > klute wrote:
> >
> > > Yes, the struts-el.jar is in WEB-INF/lib
> > >
> > > --- Rick Reumann <st...@reumann.net> wrote:
> > >
> > >>klute wrote:
> > >>
> > >>
> > >>><input type="hidden" name="contentId"
> > >>>value="${contentId}">
> > >>>
> > >>>This are the tagligs i am importing on this page:
> > >>><%@ taglib uri="/WEB-INF/struts-bean.tld"
> > >>>prefix="bean" %>
> > >>><%@ taglib uri="/WEB-INF/struts-html.tld"
> > >>>prefix="html" %>
> > >>><%@ taglib uri="/WEB-INF/struts-html-el.tld"
> > >>>prefix="html-el" %>
> > >>><%@ taglib uri="http://java.sun.com/jstl/core"
> > >>>prefix="c" %>
> > >>>
> > >>>
> > >>>What am i doing wrong?
> >
> > Not sure. If you have
> > - struts-el jar included
> > - proper definition of the tld in web.xml
> > - proper declaration for the tld on top of the page
> >
> > then using it as:
> > <html-el:hidden property="contentId"
> > value="${contentId}"/>
> > should be fine.
> >
> > The only thing I'm still concerned about and maybe
> > somehow it's related
> > is that contentId has to be a property of your
> > ActionForm or else Struts
> > would complain that it couldn't find the property
> > 'contentId' Are you
> > maybe creating the "contentId" var dynamically first
> > in the JSP page and
> > then trying to set as above? "Usually" you don't
> > need to do like you are
> > doing (setting the value) since that value can be
> > set before you get to
> > the page and thus just doing <html:hidden
> > property="contentId" would be
> > fine.
> >
> > What does <c:out value="${contentId}"/> produce on
> > the page (or in
> > source) when placed right before the html-el hidden
> > tag?
> >
> > --
> > Rick
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > user-unsubscribe@struts.apache.org
> > For additional commands, e-mail:
> > user-help@struts.apache.org
> >
> >
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We finish.
> http://promotions.yahoo.com/new_mail
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Setting html:hidden property using JSTL

Posted by klute <so...@yahoo.com>.
Hello All,

I *really* appreciate your help.  Because of a
hard-pressing work deadline, i actually gave up on
getting that to work using JSTL and ended up using the
 ugly <input type="hidden" name="contentId"
value="<%=request.getAttribute("contentId")%>"/>
instead.

I'll definitely come back to JSTL at a later time
since i consider that to be a proper way of doing this
sort of things.

Robert, if ${contentId} is available as an attribute
(which it was) and not as a parameter, i would expect
it to produce null or something instead of literally
printing out ${contentId} string... 

Rick, i tried creating a var in the jsp and the result
would still be the same: the value of the hidden
property was printed out as {$myVar}. And, if i do
c:out in the begging of the jsp, i do get an actual
int value printed. weird... i definitely need to spend
more time doing my homework to understand how it
works...

All the best,
James

--- Rick Reumann <st...@reumann.net> wrote:
> klute wrote:
> 
> > Yes, the struts-el.jar is in WEB-INF/lib
> > 
> > --- Rick Reumann <st...@reumann.net> wrote:
> > 
> >>klute wrote:
> >>
> >>
> >>><input type="hidden" name="contentId"
> >>>value="${contentId}">
> >>>
> >>>This are the tagligs i am importing on this page:
> >>><%@ taglib uri="/WEB-INF/struts-bean.tld"
> >>>prefix="bean" %>
> >>><%@ taglib uri="/WEB-INF/struts-html.tld"
> >>>prefix="html" %>
> >>><%@ taglib uri="/WEB-INF/struts-html-el.tld"
> >>>prefix="html-el" %>
> >>><%@ taglib uri="http://java.sun.com/jstl/core"
> >>>prefix="c" %>
> >>>
> >>>
> >>>What am i doing wrong?
> 
> Not sure. If you have
> - struts-el jar included
> - proper definition of the tld in web.xml
> - proper declaration for the tld on top of the page
> 
> then using it as:
> <html-el:hidden property="contentId"
> value="${contentId}"/>
> should be fine.
> 
> The only thing I'm still concerned about and maybe
> somehow it's related 
> is that contentId has to be a property of your
> ActionForm or else Struts 
> would complain that it couldn't find the property
> 'contentId' Are you 
> maybe creating the "contentId" var dynamically first
> in the JSP page and 
> then trying to set as above? "Usually" you don't
> need to do like you are 
> doing (setting the value) since that value can be
> set before you get to 
> the page and thus just doing <html:hidden
> property="contentId" would be 
> fine.
> 
> What does <c:out value="${contentId}"/> produce on
> the page (or in 
> source) when placed right before the html-el hidden
> tag?
> 
> -- 
> Rick
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
> 
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Setting html:hidden property using JSTL

Posted by Rick Reumann <st...@reumann.net>.
klute wrote:

> Yes, the struts-el.jar is in WEB-INF/lib
> 
> --- Rick Reumann <st...@reumann.net> wrote:
> 
>>klute wrote:
>>
>>
>>><input type="hidden" name="contentId"
>>>value="${contentId}">
>>>
>>>This are the tagligs i am importing on this page:
>>><%@ taglib uri="/WEB-INF/struts-bean.tld"
>>>prefix="bean" %>
>>><%@ taglib uri="/WEB-INF/struts-html.tld"
>>>prefix="html" %>
>>><%@ taglib uri="/WEB-INF/struts-html-el.tld"
>>>prefix="html-el" %>
>>><%@ taglib uri="http://java.sun.com/jstl/core"
>>>prefix="c" %>
>>>
>>>
>>>What am i doing wrong?

Not sure. If you have
- struts-el jar included
- proper definition of the tld in web.xml
- proper declaration for the tld on top of the page

then using it as:
<html-el:hidden property="contentId" value="${contentId}"/>
should be fine.

The only thing I'm still concerned about and maybe somehow it's related 
is that contentId has to be a property of your ActionForm or else Struts 
would complain that it couldn't find the property 'contentId' Are you 
maybe creating the "contentId" var dynamically first in the JSP page and 
then trying to set as above? "Usually" you don't need to do like you are 
doing (setting the value) since that value can be set before you get to 
the page and thus just doing <html:hidden property="contentId" would be 
fine.

What does <c:out value="${contentId}"/> produce on the page (or in 
source) when placed right before the html-el hidden tag?

-- 
Rick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Setting html:hidden property using JSTL

Posted by klute <so...@yahoo.com>.
Yes, the struts-el.jar is in WEB-INF/lib

--- Rick Reumann <st...@reumann.net> wrote:
> klute wrote:
> 
> > <input type="hidden" name="contentId"
> > value="${contentId}">
> > 
> > This are the tagligs i am importing on this page:
> > <%@ taglib uri="/WEB-INF/struts-bean.tld"
> > prefix="bean" %>
> > <%@ taglib uri="/WEB-INF/struts-html.tld"
> > prefix="html" %>
> > <%@ taglib uri="/WEB-INF/struts-html-el.tld"
> > prefix="html-el" %>
> > <%@ taglib uri="http://java.sun.com/jstl/core"
> > prefix="c" %>
> > 
> > 
> > What am i doing wrong?
> 
> 
> Are you sure you added the struts-el jar to your
> webapp lib?
> 
> -- 
> Rick
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
> 
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Setting html:hidden property using JSTL

Posted by Rick Reumann <st...@reumann.net>.
klute wrote:

> <input type="hidden" name="contentId"
> value="${contentId}">
> 
> This are the tagligs i am importing on this page:
> <%@ taglib uri="/WEB-INF/struts-bean.tld"
> prefix="bean" %>
> <%@ taglib uri="/WEB-INF/struts-html.tld"
> prefix="html" %>
> <%@ taglib uri="/WEB-INF/struts-html-el.tld"
> prefix="html-el" %>
> <%@ taglib uri="http://java.sun.com/jstl/core"
> prefix="c" %>
> 
> 
> What am i doing wrong?


Are you sure you added the struts-el jar to your webapp lib?

-- 
Rick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Setting html:hidden property using JSTL

Posted by klute <so...@yahoo.com>.
Thanks a lot to all who responded!

So i tried using html-el using the syntax Rick
suggested:

<html-el:hidden property="contentId"
value="${contentId}"/>

The resulting html contains:

<input type="hidden" name="contentId"
value="${contentId}">

This are the tagligs i am importing on this page:
<%@ taglib uri="/WEB-INF/struts-bean.tld"
prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld"
prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-html-el.tld"
prefix="html-el" %>
<%@ taglib uri="http://java.sun.com/jstl/core"
prefix="c" %>


What am i doing wrong?

Thanks a lot,
James


--- Rick Reumann <st...@reumann.net> wrote:
> klute wrote:
> 
> > Hi All,
> > 
> > I just started experimenting with jstl and i'd
> like to
> > set a hidden field on MyActionForm using a value  
> > (contentId) available as an attribute on the
> request.
> > Basically, i'd like to do something like this:
> > 
> > <html:hidden property="contentId" value="<c:out
> > value="${contentId}"/>"/>
> >  
> > Which does not work. Should i be using EL syntax
> > instead? And what would the correct syntax be?
> 
> Use the html-el tag instead of the html tag. Then
> you can do:
> 
> <html-el:hidden property="contentId"
> value="${contentId}"/>
> 
> Much cleaner.
> 
> Although remember it might even be easier/cleaner to
> simply make sure 
> contentId is in your ActionForm .. then you can just
> do...
> 
> <html:hidden property="contentId"/> and it'll set
> the value for you.
> 
> -- 
> Rick
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
> 
> 



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Setting html:hidden property using JSTL

Posted by Rick Reumann <st...@reumann.net>.
klute wrote:

> Hi All,
> 
> I just started experimenting with jstl and i'd like to
> set a hidden field on MyActionForm using a value  
> (contentId) available as an attribute on the request.
> Basically, i'd like to do something like this:
> 
> <html:hidden property="contentId" value="<c:out
> value="${contentId}"/>"/>
>  
> Which does not work. Should i be using EL syntax
> instead? And what would the correct syntax be?

Use the html-el tag instead of the html tag. Then you can do:

<html-el:hidden property="contentId" value="${contentId}"/>

Much cleaner.

Although remember it might even be easier/cleaner to simply make sure 
contentId is in your ActionForm .. then you can just do...

<html:hidden property="contentId"/> and it'll set the value for you.

-- 
Rick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


R: Setting html:hidden property using JSTL

Posted by Amleto Di Salle <di...@di.univaq.it>.
Hi,
yes you can use the EL but depends on the Web Container you are using. 
If you have a Web container JSP2.0 (and 2.4 servlet) compliant (for
example Tomcat5.0.x), you can use JSTL 1.1 (if you want to use them you
have to set your application)and html Struts standard. 
In order to use, this version you have to do the following in the jsp
page:


<%@ taglib uri="http://jakarta.apache.org/struts/tags-html"
prefix="html"%>


<html:hidden property="contentId" value="${contentId}"/>


But if you have a WebContainer JSP1.2 compliant (e.g. Tomcat 4.x) you
have to use the html-el version + JSTL1.0. They are in the "contrib"
directory inside the struts directory. But in this case the procedure in
order to use them is just to complicate.

BR
/Amleto



-----Messaggio originale-----
Da: klute [mailto:soundres9@yahoo.com] 
Inviato: mercoledì 23 giugno 2004 19.25
A: Struts Users Mailing List
Oggetto: Setting html:hidden property using JSTL 


Hi All,

I just started experimenting with jstl and i'd like to
set a hidden field on MyActionForm using a value  
(contentId) available as an attribute on the request. Basically, i'd
like to do something like this:

<html:hidden property="contentId" value="<c:out
value="${contentId}"/>"/>
 
Which does not work. Should i be using EL syntax
instead? And what would the correct syntax be?

I did check that <c:out value="${contentId}"/> returns
a valid value so my confusion is just passing it as a
value to the html:hidden property.

Any help is greatly appreciated.
James


		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Setting html:hidden property using JSTL

Posted by klute <so...@yahoo.com>.
Hi All,

I just started experimenting with jstl and i'd like to
set a hidden field on MyActionForm using a value  
(contentId) available as an attribute on the request.
Basically, i'd like to do something like this:

<html:hidden property="contentId" value="<c:out
value="${contentId}"/>"/>
 
Which does not work. Should i be using EL syntax
instead? And what would the correct syntax be?

I did check that <c:out value="${contentId}"/> returns
a valid value so my confusion is just passing it as a
value to the html:hidden property.

Any help is greatly appreciated.
James


		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Treeview - Frameless Layout in struts

Posted by James Mitchell <jm...@apache.org>.
Why are you sending this to everyone?  All you need to to is send it to the
struts user list and we will all get it.



--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx

----- Original Message -----
From: "Yadav, Ganesh" <ga...@Intrado.com>
To: "Charles Cordingley " <Ch...@rbs.co.uk>; "Christopher
Marsh-Bourdon " <ch...@pyplia.com>; <d....@netcase.co.uk>; "David
Friedman " <hu...@ix.netcom.com>; <DG...@EvergreenInvestments.com>;
"Duncan Mills (E-mail)" <du...@oracle.com>; "Fernando Loygorri "
<FL...@inovant.com>; "Frank Zammetti " <fz...@hotmail.com>; "Hookom,
Jacob " <Ja...@redline.mckhboc.com>; "James Mitchell"
<jm...@apache.org>; "Joe Hertz" <jh...@speakeasy.net>; "Kathy Zhou "
<kz...@cmdservices.com>; "Marco Mistroni" <mm...@waersystems.com>; "Mark
Lowe " <ma...@boxstuff.com>; "McCormack, Chris "
<Ch...@littlewoods.co.uk>; <Mi...@wellsfargo.com>; "mike"
<mi...@michaelmcgrady.com>; "Navjot Singh" <na...@net4india.net>; "Niall
Pemberton" <ni...@blueyonder.co.uk>; "Pilgrim, Peter "
<pe...@csfb.com>; "Rajat Pandit, Gurgaon "
<rp...@ggn.hcltech.com>; "Ram Venkataswamy " <ra...@m7.com>; "Rick Reumann
" <st...@reumann.net>; "Riyad Kalla " <rs...@email.arizona.edu>; "Ron
Grabowski " <ro...@yahoo.com>; "Shailender Jain "
<sh...@teleatlas.com>; "Shilpa Vaidya"
<sh...@icici-infotech.com>; "Siri Narasimham "
<si...@esynergy-solutions.co.uk>; "Struts Users Mailing List"
<us...@struts.apache.org>; <su...@yahoo.com>; "Tim Penhey"
<ti...@penhey.net>; "Wendy Smoak" <We...@asu.edu>; "Zhang, Larry "
<lz...@ford.com>
Sent: Wednesday, June 23, 2004 12:22 PM
Subject: Treeview - Frameless Layout in struts


Folks,
I am developing a J2EE based data oriented application using Struts.
I want to develop a UI using Frameless Layout For Tree view, something like
left side of the page will have a Tree View and depending on selected node
right side of the page will be filled up with different forms for
inputting/submitting/viewing the data in html.
Can some one please point out me to some examples of Tree View
Implementation used in JSP for left pane navigation ?
I know Echo framework has this inbuilt functionality, But I want to develop
this using struts.
Any suggestions using JavaScript or ready to use tags are welcome.
Thanks !
G

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Treeview - Frameless Layout in struts

Posted by Matthias Wessendorf <ma...@matthias-wessendorf.de>.
perhaps you might look at this

http://www.guydavis.ca/projects/oss/tags/

cheers,

> -----Original Message-----
> From: Yadav, Ganesh [mailto:ganesh.yadav@Intrado.com] 
> Sent: Wednesday, June 23, 2004 6:22 PM
> To: Charles Cordingley ; Christopher Marsh-Bourdon ; 
> d.perry@netcase.co.uk; David Friedman ; 
> DGraham@EvergreenInvestments.com; Duncan Mills (E-mail); 
> Fernando Loygorri ; Frank Zammetti ; Hookom, Jacob ; James 
> Mitchell; Joe Hertz; Kathy Zhou ; Marco Mistroni; Mark Lowe ; 
> McCormack, Chris ; Mick.Knutson@wellsfargo.com; mike; Navjot 
> Singh; Niall Pemberton; Pilgrim, Peter ; Rajat Pandit, 
> Gurgaon ; Ram Venkataswamy ; Rick Reumann ; Riyad Kalla ; Ron 
> Grabowski ; Shailender Jain ; Shilpa Vaidya; Siri Narasimham 
> ; Struts Users Mailing List; suman291857@yahoo.com; Tim 
> Penhey; Wendy Smoak; Zhang, Larry 
> Subject: Treeview - Frameless Layout in struts
> 
> 
> Folks,
> I am developing a J2EE based data oriented application using Struts. 
> I want to develop a UI using Frameless Layout For Tree view, 
> something like left side of the page will have a Tree View 
> and depending on selected node right side of the page will be 
> filled up with different forms for 
> inputting/submitting/viewing the data in html. Can some one 
> please point out me to some examples of Tree View 
> Implementation used in JSP for left pane navigation ? I know 
> Echo framework has this inbuilt functionality, But I want to 
> develop this using struts. Any suggestions using JavaScript 
> or ready to use tags are welcome. Thanks ! G
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org