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
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
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
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
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
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
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
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
HI,
Just wondering if the Struts HTML taglib has databindable HTML form like form
elements?
Thanks,
Stef
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
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
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
12 matches
Mail list logo