JSP Tomcat and Myfaces (a Taglib question)

2006-08-17 Thread Martin Haimberger
Hy, i am new on this mailinglist and i hope this is the right one for my question. I am taking part on the GSoC Projekt for Apache MyFaces. My task is to implement partial state Saving. For this i have to render the component Tree myself but i also need the "unknown" tags or the text from the J

Re: taglib question

2004-11-09 Thread ::SammyRulez::
if 'util' is the neame of the context calling 'request.getContextPath()' will return 'http://www.domainname.com/util' SammyRulez On Mon, 08 Nov 2004 09:23:44 -0800, Jack Lauman <[EMAIL PROTECTED]> wrote: > The app is likely to be deployed up to 100 times under different domain > names. The

Re: taglib question

2004-11-08 Thread Jack Lauman
The app is likely to be deployed up to 100 times under different domain names. The context 'util' in the example is what determines which app the users sees. All of the static content of the site(s) is served by apache 2.0.52. All of the dynamic content is provided by JBoss 3.2.6/Tomcat 5.0.2

Re: taglib question

2004-11-07 Thread ::SammyRulez::
request.getContextPath().. so you don't need any param to update when you deploy/move an application SammyRulez On Sat, 06 Nov 2004 09:21:55 -0800, Jack Lauman <[EMAIL PROTECTED]> wrote: > I have a custom taglib with a hard coded URL. I've added a > 'context-param' entry to move it the web.xml

Re: taglib question

2004-11-06 Thread Steve Lewis
It might be a good thing to put in the session allowing you to say ${JBossBaseURL} or write a short custom function and say ${myfunc:{JBossBaseURL} ()} Both allow the page to access the data without hard coding in the page where the data comes from At 09:21 AM 11/6/2004, you wrote: I have a cus

taglib question

2004-11-06 Thread Jack Lauman
I have a custom taglib with a hard coded URL. I've added a 'context-param' entry to move it the web.xml file. Is 'getServletConfig().getInitParameter' the corect thing to use here or is there a better alternative? Original line: // out.println("" + i + ""); Modified line: out.println("" + i

[General TagLib question] Custom TagLib storing value in PageContext/session and reference by Standard JSTL?

2004-01-15 Thread Konrad
Hello. In my custom taglib's doStartTag() method, I stored a value in the session, as follows: CustomTag = public void doStartTag() { this.pageContext.getSession().setAttribute("endIdx",new Integer(9)); } I am trying to reference that value in JSTL's tag, as in the following .js

RE: Struts HTML taglib question

2002-10-30 Thread Karr, David
which are reintegrated back into those form bean properties. > -Original Message- > From: Stefan [mailto:nickm@;studioweb.com] > Sent: Wednesday, October 30, 2002 9:41 AM > To: Tag Libraries Users List > Subject: Struts HTML taglib question > > > HI, > > Just

Struts HTML taglib question

2002-10-30 Thread Stefan
HI, Just wondering if the Struts HTML taglib has databindable HTML form like form elements? Thanks, Stef

Re: Input-taglib question

2001-04-30 Thread Peter Alfors
My understanding is that a redirect creates a new request. Whereas, the forward uses the same request. So that would be why you were losing data. HTH, Pete Sam Newman wrote: > It ok, fixed it. I needed to use a RequestDispatcher to forward, rather than > redirecting the user, e.g.: > > Re

Re: Input-taglib question

2001-04-30 Thread Sam Newman
It ok, fixed it. I needed to use a RequestDispatcher to forward, rather than redirecting the user, e.g.: RequestDispatcher rd = req.getRequestDispatcher("myForm.jsp"); rd.forward(); As opposed to: res.sendredirect(); sam

Input-taglib question

2001-04-30 Thread Sam Newman
I'm currently using the input taglib library. When I submit a form and the action on the form is simply to redisplay the page (e.g. same as the example jsp), the fields get populated with the data as expected. When I replace the action of the form with a servlet, which simply redirects back to the