Dynamic Tree in JSP

2008-01-18 Thread naveen k
Hi,

   I am developing web application using struts.
   I want to create a dynamic tree in a Jsp page that shows some URL's.
   Is there any tag available in jsp to create it?
   If it there, then how i create it with the tags available in jsp?
   Which tags i have to use for that?
   If possible can u send me any sample code.

Thanks in advance for ur reply


Re: Dynamic Tree in JSP

2008-01-18 Thread naveen k
Thanks friend for ur kind reply.

Naveen

On Jan 19, 2008 4:05 AM, Laurie Harper <[EMAIL PROTECTED]> wrote:

> naveen k wrote:
> > Hi,
> >
> >I am developing web application using struts.
> >I want to create a dynamic tree in a Jsp page that shows some URL's.
> >Is there any tag available in jsp to create it?
> >If it there, then how i create it with the tags available in jsp?
> >Which tags i have to use for that?
> >If possible can u send me any sample code.
> >
> > Thanks in advance for ur reply
>
> If you're using Struts 2, s:tree would be a good place to start:
>
> http://struts.apache.org/2.x/docs/tree.html
>
> If you're using Struts 1, there is nothing built in so you'd have to
> look at a third-party taglib or Javascript control. There are plenty
> floating around, so try a little googling.
>
> L.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Dynamic Tree in JSP

2008-01-19 Thread naveen k
Thanks friend for ur kind reply.
Do you have any idea of any third party taglibs that generate Dynamic tree.
If u have information, u can share with me please.

 Naveen

>
>
> On Jan 19, 2008 4:05 AM, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> > naveen k wrote:
> > > Hi,
> > >
> > >I am developing web application using struts.
> > >I want to create a dynamic tree in a Jsp page that shows some
> > URL's.
> > >Is there any tag available in jsp to create it?
> > >If it there, then how i create it with the tags available in jsp?
> > >Which tags i have to use for that?
> > >If possible can u send me any sample code.
> > >
> > > Thanks in advance for ur reply
> >
> > If you're using Struts 2, s:tree would be a good place to start:
> >
> > http://struts.apache.org/2.x/docs/tree.html
> >
> > If you're using Struts 1, there is nothing built in so you'd have to
> > look at a third-party taglib or Javascript control. There are plenty
> > floating around, so try a little googling.
> >
> > L.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>


Java Script in JSP pages

2008-01-23 Thread naveen k
Hi,

I am in a development of struts web application.
  I need to use java script in a jsp page. but i could not do that.
 cant we use java script in jsp pages?
If possible how would i do that?

Naveen


Re: Java Script in JSP pages

2008-01-23 Thread naveen k
Thanks for ur reply.
I have Jason's Calendar code which run  calendar.js script.
I need to set that in my JSP page i could not da that.

I have done the same thing in html page.

I was trying to do like this

<%@ page language="java" pageEncoding="UTF-8"%>

<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean"; prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html"; prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic"; prefix="logic"
%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles"; prefix="tiles"
%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-template";
prefix="template" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-nested";
prefix="nested" %>



  

 
  

  

  
 
Master

  
  
   
  
Effective from Date
  
  
   DateInput('orderdate', true, 'DD-MON-')

  


  
  

  


Except that calendar every thing is seen in that Jsp page.
I didnot understand where the problem lies.

Naveen.


On Jan 23, 2008 2:19 PM, Antonio Petrelli <[EMAIL PROTECTED]>
wrote:

> 2008/1/23, naveen k <[EMAIL PROTECTED]>:
> > I am in a development of struts web application.
> >   I need to use java script in a jsp page. but i could not do that.
> >  cant we use java script in jsp pages?
> > If possible how would i do that?
>
> You can put Javascript in your JSP page, what's your problem?
>
> Antonio
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Java Script in JSP pages

2008-01-23 Thread naveen k
Right now i was using Mozilla Firefox.
Is there any problem with that?
Any way i am going to install the plugin which u have suggested me.

Naveen

On Jan 23, 2008 2:36 PM, Antonio Petrelli <[EMAIL PROTECTED]>
wrote:

> 2008/1/23, naveen k <[EMAIL PROTECTED]>:
> >
> >   src="/Calendar/calendarDateInput.js">
> >   
>
>
>
> I think that the problem is in the inclusion of the javascript file.
> Anyway, this is not a Struts related problem. I suggest to use Firefox and
> Firebug to track this kind of problems:
> https://addons.mozilla.org/it/firefox/addon/1843
>
> Antonio
>


Re: Java Script in JSP pages

2008-01-23 Thread naveen k
Even after i have installed the plugin, there is no result.
what would be my problem.

Naveen

On Jan 23, 2008 2:43 PM, naveen k <[EMAIL PROTECTED]> wrote:

> Right now i was using Mozilla Firefox.
> Is there any problem with that?
> Any way i am going to install the plugin which u have suggested me.
>
> Naveen
>
>
> On Jan 23, 2008 2:36 PM, Antonio Petrelli < [EMAIL PROTECTED]>
> wrote:
>
> > 2008/1/23, naveen k <[EMAIL PROTECTED]>:
> > >
> > >   > src="/Calendar/calendarDateInput.js">
> > >   
> >
> >
> >
> > I think that the problem is in the inclusion of the javascript file.
> > Anyway, this is not a Struts related problem. I suggest to use Firefox
> > and
> > Firebug to track this kind of problems:
> > https://addons.mozilla.org/it/firefox/addon/1843
> >
> > Antonio
> >
>
>


Re: Java Script in JSP pages

2008-01-23 Thread naveen k
Hello anyone please help me out of this problem.

Naveen

On Jan 23, 2008 2:49 PM, naveen k <[EMAIL PROTECTED]> wrote:

> Even after i have installed the plugin, there is no result.
> what would be my problem.
>
> Naveen
>
>
> On Jan 23, 2008 2:43 PM, naveen k <[EMAIL PROTECTED] > wrote:
>
> > Right now i was using Mozilla Firefox.
> > Is there any problem with that?
> > Any way i am going to install the plugin which u have suggested me.
> >
> > Naveen
> >
> >
> > On Jan 23, 2008 2:36 PM, Antonio Petrelli < [EMAIL PROTECTED]>
> > wrote:
> >
> > >  2008/1/23, naveen k <[EMAIL PROTECTED]>:
> > > >
> > > >   > > src="/Calendar/calendarDateInput.js">
> > > >   
> > >
> > >
> > >
> > > I think that the problem is in the inclusion of the javascript file.
> > > Anyway, this is not a Struts related problem. I suggest to use Firefox
> > > and
> > > Firebug to track this kind of problems:
> > > https://addons.mozilla.org/it/firefox/addon/1843
> > >
> > > Antonio
> > >
> >
> >
>


Re: Java Script in JSP pages

2008-01-23 Thread naveen k
How to use this Firebug for these jsp pages to track my problem?
In what way it can help me?
Please dont think i am boring u my friend.

Naveen

On Jan 23, 2008 3:45 PM, Antonio Petrelli <[EMAIL PROTECTED]>
wrote:

> 2008/1/23, naveen k <[EMAIL PROTECTED]>:
> >
> > Even after i have installed the plugin, there is no result.
> > what would be my problem.
>
>
>
> Probably I've been not clear.
> Your problem is not Struts-related. My suggestion to use Firebug meant
> that
> you need to *use* it to *track* your problem and, after finding it, solve
> it.
> Firebug does not automagically fix your Javascript issues.
>
> Antonio
>


Re: Java Script in JSP pages

2008-01-23 Thread naveen k
thanks for ur reply.
But i need to use calendarDateInput.js in my code.
how can i call it from my Jsp if i remove src attribute from the script tag?

Naveen

On Jan 23, 2008 3:54 PM, Pablo Vázquez Blázquez <[EMAIL PROTECTED]> wrote:

> try
>
> 
> 
>
> in your funcions
>
> and
>
> 
> <!-- DO NOT DELETE -->
> 
>
>
>
> naveen k escribió:
> > Thanks for ur reply.
> > I have Jason's Calendar code which run  calendar.js script.
> > I need to set that in my JSP page i could not da that.
> >
> > I have done the same thing in html page.
> >
> > I was trying to do like this
> >
> > <%@ page language="java" pageEncoding="UTF-8"%>
> >
> > <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean";
> prefix="bean" %>
> > <%@ taglib uri="http://jakarta.apache.org/struts/tags-html";
> prefix="html" %>
> > <%@ taglib uri="http://jakarta.apache.org/struts/tags-logic";
> prefix="logic"
> > %>
> > <%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles";
> prefix="tiles"
> > %>
> > <%@ taglib uri="http://jakarta.apache.org/struts/tags-template";
> > prefix="template" %>
> > <%@ taglib uri="http://jakarta.apache.org/struts/tags-nested";
> > prefix="nested" %>
> >
> > 
> > 
> >   
> > 
> >   src="/Calendar/calendarDateInput.js">
> >   
> >
> >   
> >
> >   
> >  
> > Master
> > 
> >   
> >   
> >
> >   
> > Effective from Date
> >   
> >   
> >DateInput('orderdate', true, 'DD-MON-')
> > 
> >   
> > 
> >
> >   
> >   
> > 
> >   
> > 
> >
> > Except that calendar every thing is seen in that Jsp page.
> > I didnot understand where the problem lies.
> >
> > Naveen.
> >
> >
> > On Jan 23, 2008 2:19 PM, Antonio Petrelli <[EMAIL PROTECTED]>
> > wrote:
> >
> >
> >> 2008/1/23, naveen k <[EMAIL PROTECTED]>:
> >>
> >>> I am in a development of struts web application.
> >>>   I need to use java script in a jsp page. but i could not do that.
> >>>  cant we use java script in jsp pages?
> >>> If possible how would i do that?
> >>>
> >> You can put Javascript in your JSP page, what's your problem?
> >>
> >> Antonio
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Java Script in JSP pages

2008-01-24 Thread naveen k
sorry friend this was also not working.

Naveen

On Jan 24, 2008 3:07 PM, Alexandru BARBAT <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I think it is better to use like this:
>
> 
>
> in the browser will appear (the absolute path):
>
>  src='/yourContextName/Calendar/calendarDateinput.js'>
>
>
>
>
> - Original Message -
> From: "Randy Burgess" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" 
> Sent: Wednesday, January 23, 2008 6:37 PM
> Subject: Re: Java Script in JSP pages
>
>
> > Try this.
> >
> >  
> >  
> >
> > You need to check your file paths and understand relative links in your
> web
> > application. If that isn't it then you will have to figure it out. The
> > syntax is correct.
> >
> > Regards,
> > Randy Burgess
> > Sr. Web Applications Developer
> > Nuvox Communications
> >
> >
> >
> > > From: naveen k <[EMAIL PROTECTED]>
> > > Reply-To: Struts Users Mailing List 
> > > Date: Wed, 23 Jan 2008 14:27:34 +0300
> > > To: Struts Users Mailing List 
> > > Subject: Re: Java Script in JSP pages
> > >
> > > Thanks for ur reply.
> > > I have Jason's Calendar code which run  calendar.js script.
> > > I need to set that in my JSP page i could not da that.
> > >
> > > I have done the same thing in html page.
> > >
> > > I was trying to do like this
> > >
> > > <%@ page language="java" pageEncoding="UTF-8"%>
> > >
> > > <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean";
> prefix="bean" %>
> > > <%@ taglib uri="http://jakarta.apache.org/struts/tags-html";
> prefix="html" %>
> > > <%@ taglib uri="http://jakarta.apache.org/struts/tags-logic";
> prefix="logic"
> > > %>
> > > <%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles";
> prefix="tiles"
> > > %>
> > > <%@ taglib uri="http://jakarta.apache.org/struts/tags-template";
> > > prefix="template" %>
> > > <%@ taglib uri="http://jakarta.apache.org/struts/tags-nested";
> > > prefix="nested" %>
> > >
> > > 
> > > 
> > >   
> > > 
> > >   src="/Calendar/calendarDateInput.js">
> > >   
> > >
> > >   
> > >
> > >   
> > >  
> > > Master
> > > 
> > >   
> > >   
> > >
> > >   
> > > Effective from Date
> > >   
> > >   
> > >DateInput('orderdate', true,
> 'DD-MON-')
> > > 
> > >   
> > > 
> > >
> > >   
> > >   
> > > 
> > >   
> > > 
> > >
> > > Except that calendar every thing is seen in that Jsp page.
> > > I didnot understand where the problem lies.
> > >
> > > Naveen.
> > >
> > >
> > > On Jan 23, 2008 2:19 PM, Antonio Petrelli <[EMAIL PROTECTED]>
> > > wrote:
> > >
> > >> 2008/1/23, naveen k <[EMAIL PROTECTED]>:
> > >>> I am in a development of struts web application.
> > >>>   I need to use java script in a jsp page. but i could not do that.
> > >>>  cant we use java script in jsp pages?
> > >>> If possible how would i do that?
> > >>
> > >> You can put Javascript in your JSP page, what's your problem?
> > >>
> > >> Antonio
> > >>
> > >> -
> > >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >> For additional commands, e-mail: [EMAIL PROTECTED]
> > >>
> > >>
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


JSP Tree

2008-02-15 Thread naveen k
Hi,

I am using struts1.1 for my application.
I want to show some links in tree view on JSP page.
How can i do that in JSP pages?
Is there any predefined tag for that?
If possible can any one send me a sample code.

Naveen


Re: JSP Tree

2008-02-18 Thread naveen k
Thank you friend.
It is very helpful for me.

Naveen

On Feb 18, 2008 6:33 AM, santosh gokak <[EMAIL PROTECTED]> wrote:

> Hi Naveen,
>
> Got this from google.. http://jsptree.sourceforge.net/
>
> ~Santosh
>
> On Feb 16, 2008 8:50 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> > --- naveen k <[EMAIL PROTECTED]> wrote:
> > > I am using struts1.1 for my application.
> > > I want to show some links in tree view on JSP page.
> > > How can i do that in JSP pages?
> > > Is there any predefined tag for that?
> > > If possible can any one send me a sample code.
> >
> > There is no S1 tree tag shipped with S1.
> >
> > Have you tried searching the web?
> >
> > Dave
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Santosh G Gokak
>