Re: Render jsp to web browser and char[]

2010-04-08 Thread Dale Newfield
Jason Pyeron wrote: I am scratching my head on this one. Maybe a filter declared in web.xml akin to sitemesh? Hell, if you're already using sitemesh, a decorator that wraps the whole page in a tag, followed by a scriptlet (or custom tag or something) that takes that value and stuffs it where

Render jsp to web browser and char[]

2010-04-08 Thread Jason Pyeron
I am scratching my head on this one. We are generating files in a webapplication using struts 2.1, as part of the process the file contents are presented to the client (jsp include) as a preview. I would like to use the same jsp to render the contents to a byte/char[] or output stream/writer and w

Re: Error creating form bean - struts 1.2 + weblogic 8.1 + myeclipse 5.5

2010-04-08 Thread Nanu Khota
I tried the same code with tomcat 5.5.28 server and surprisingly... it worked absolutely fine. But got no clue of what's wrong with weblogic 8.0. PS: Sandeep, Iam working with struts 1.2, please see the subject line. NanuOn Fri, 02 Apr 2010 00:14:44 +0530 wrote>in struts 2 we don't have form be

Re: Live search with Dojo (Ajax) and Struts 2

2010-04-08 Thread sandeep kotha
step1. google.com step2 search with autocomplete + dojo On 7 April 2010 01:15, Celinio Fernandes wrote: > Hi, > I am using Struts 2.1.8 and the Dojo plugin. > What i am trying to realize is the following : > the user has to fill a field that corresponds to a REFERENCEID. I want to > help that us

Struts2 annotation problem

2010-04-08 Thread Miles, Chris
Within my web apps lib directory I have the convention plugin and also the config browser plugin. My code is as follows: package com.example; import org.apache.struts2.convention.annotation.*; import org.apache.struts2.interceptor.SessionAware; import java.util.Map; import java.ut

JSP local scope / include con object domain visibility control

2010-04-08 Thread Nicola de Saint-Aubert
Hi, We wonder how to control the visibility of object put in the stack when including a jsp in another one. We do know the action/request/page … scope and the include tag specification. But we have a need for another JSP level scope and include tag with the following characteristic: -

Re: Convention Plugin - dynamically setting the result

2010-04-08 Thread Lukasz Lenart
2010/4/8 RogerV : > I'm trying to develop an action mapper type of action. The action analyses > the incoming parameters and based on those I want to dynamically select the > action to handle the next step. So what I'm trying to do is to set a string > field called location with the string name of

Re: Syntax problem: Trying to display label for Select while iterating

2010-04-08 Thread RogerV
Alex Rodriguez Lopez wrote: > > I had similar problems with labels, most times they where related to > themes. > > http://struts.apache.org/2.x/docs/themes-and-templates.html > > For example, if you turn on simple theme you'll have to provide your own > tags for the labels as struts won't ge

Re: Syntax problem: Trying to display label for Select while iterating

2010-04-08 Thread Alex Rodriguez Lopez
I had similar problems with labels, most times they where related to themes. http://struts.apache.org/2.x/docs/themes-and-templates.html For example, if you turn on simple theme you'll have to provide your own tags for the labels as struts won't generate this markup. Em 08-04-2010 08:18, Roge

Convention Plugin - dynamically setting the result

2010-04-08 Thread RogerV
Hi I'm trying to develop an action mapper type of action. The action analyses the incoming parameters and based on those I want to dynamically select the action to handle the next step. So what I'm trying to do is to set a string field called location with the string name of the action and using

old struts 1.3 app not work in GF3

2010-04-08 Thread senderj
I have an app written in 1.3.10 + Netbeans 6.8 + glassfishv2.1. It works fine both when GFv2.1 is run from Netbeans or standalone. I am trying to switch to GFv3. It still works if I start GFv3 in Netbeans. But if I run it in a standalone GFv3, it failed to start with message: [#|2010-04-javax.ente

Syntax problem: Trying to display label for Select while iterating

2010-04-08 Thread RogerV
Hi I'm iterating over a list in my jsp. The relevant code looks like; The select box displays correctly populated, but I cannot get the label to display! I've tried the above code and I've tried label="%{blocks[#blockStatus.index].name}" which doesn't work either. I've stuck a System.out.pr