Dave Newton skrev:
Morten Andersen wrote:
Now if I can determine whether the user has logged in. How can I use
the request parameters to determine the users role on specific pages?
I know that I can invent my own control, it just seems like something
many others would need. Any tools availabl
Hi All
I am running Tomcat 4.x and have tried to set global error handling
using the following entry in the web.xml file. But there is no
redirection and I always end up with 404 page not found error in the
browser. I am using struts 1.2 as the MVC framework for the application.
One more strange
I am attaching my files here. I am using Tomcat 5.5.12.
my layout page - siteLayout.jsp
<%@ taglib uri="/Web-inf/tlds/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/Web-inf/tlds/struts-html.tld" prefix="html"%>
<%@ taglib uri="/Web-inf/tlds/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/
Hi
can a model interact with another model i.e can an object of one layer use
an object of same layer. Eg: UserModel can it create DepartmentModel object
and access the functionality in it.
Thanks and Regards
Shasi
-
To unsubs
Maybe take the generated one and just fix the bad chars, then compare
the binaries to see what changed. (Word might change all kinds of stuff
when you save it that isn't related to your edit, though.)
-Max
On Tue, 2006-02-28 at 17:51 -0800, Max Cooper wrote:
> Your HTTP response is a binary Word
Your HTTP response is a binary Word file, right? If so, it doesn't seem
like you should specify that the HTTP response has a charset (since it
is binary).
Can you create a Word doc with the char you want (by typing in Word)?
Maybe you can compare the binary content of your hand-edited Word doc
wit
> On 2/28/06, SIRAGHER, JOEL <[EMAIL PROTECTED]> wrote:
By the way, LookupDispatchAction is not the best choice to dispatch
events. I suggest you to use this one:
http://issues.apache.org/bugzilla/attachment.cgi?id=17724 You will
also need ActionDispatcher class from Struts 1.2.7+ distro.
Michae
On 2/28/06, SIRAGHER, JOEL <[EMAIL PROTECTED]> wrote:
> I'm doing multiple submit buttons on my struts/jsp 1.1 page. My
> debugger takes me to the correct action, but the action has no form data
> in it.
...
> RetrieveFormBean dataForm = (RetrieveFormBean) form;
>// form data comes back null.
On 2/26/06, Zoran Avtarovski <[EMAIL PROTECTED]> wrote:
> We are developing an application which has a requirement to present
> information to users using different skins depending on certain parameters
> (information is the same, just the base template file changes). What we'd
> like, is to set a
Greetings:
I've been debugging now for a while, and don't know where to continue
looking.
I'm doing multiple submit buttons on my struts/jsp 1.1 page. My
debugger takes me to the correct action, but the action has no form data
in it. On the jsp side, I am entering data, etc.
Do I have to put
Thanks Antonio,
I'll have a look at dimensions. My needs are simple, which is why I'm
surprised that functionality doesn't exist.
I'd like to use a filter to the determine the request domain and set a
variable {domain} that tiles can use for the base template file.
For example it would be great
On 2/28/06, Dave Newton <[EMAIL PROTECTED]> wrote:
> Morten Andersen wrote:
> > Now if I can determine whether the user has logged in. How can I use
> > the request parameters to determine the users role on specific pages?
> > I know that I can invent my own control, it just seems like something
>
Actually, I think they do. My problem (stupid me) was that I had
mistakeningly put t:fileUpload instead of t:inputFileUpload like how the
tomahawak-view-config has it. So... now my component looks as such
Damn, I wish there was better IDE support. :) In any case, I have a new
issue... but th
Morten Andersen wrote:
> Now if I can determine whether the user has logged in. How can I use
> the request parameters to determine the users role on specific pages?
> I know that I can invent my own control, it just seems like something
> many others would need. Any tools available?
I still don't
Mark Lowe skrev:
On 2/28/06, Emmanouil Batsis <[EMAIL PROTECTED]> wrote:
Dave Newton wrote:
If you want _fine_-grained access control drop Spring on top of Struts
and use Acegi.
For us not wanting to put yet another framework into the table, any
advice and pointers from more
>I've searched high and low, and I figure someone might be able to help
>me configure these to play together. I've gotten Clay to work with the
>standard RI components, but even after adding the following
>tomahawk-view-config.xml snippet:
>
>
>(Taken from Ryan Wynn's example) to my project, I stil
Perhaps I'm a little bit blind. Thanks a lot. Yes, I'm really interested
'cause I have to solve those and other problems with struts every day.
Some people say: Struts is dead, look forward to JSF or to spring MVC.
But there are so many projects, which started now (here in germany)
using the good
On 2/28/06, Dave Newton <[EMAIL PROTECTED]> wrote:
> Manfred Wolff wrote:
> > Fine, but where is the source code? I didn't found it!
> >
> http://www.superinterface.com/easywizard.htm
>
> Sometimes it pays to just look at the home page for a demo and see
> what's there.
Thanks, Dave!
Manfred, I a
I've searched high and low, and I figure someone might be able to help
me configure these to play together. I've gotten Clay to work with the
standard RI components, but even after adding the following
tomahawk-view-config.xml snippet:
...
(Taken from Ryan Wynn's example) to my pr
Manfred Wolff wrote:
> Fine, but where is the source code? I didn't found it!
>
http://www.superinterface.com/easywizard.htm
Sometimes it pays to just look at the home page for a demo and see
what's there.
Dave
-
To unsubsc
Fine, but where is the source code? I didn't found it!
-Manfred
Michael Jouravlev schrieb:
>On 2/28/06, Manfred Wolff <[EMAIL PROTECTED]> wrote:
>
>
>>- You want to go back and forward in a use case like an installation
>>wizzard.
>>
>>
>
>http://www.superinterface.com/wizard/signupWizard
On 2/28/06, Manfred Wolff <[EMAIL PROTECTED]> wrote:
> - You want to go back and forward in a use case like an installation
> wizzard.
http://www.superinterface.com/wizard/signupWizard.do
-
To unsubscribe, e-mail: [EMAIL PROTECTE
Hi everybody.
In 2003 I wrote an article about a possibility to go struts conform back
(http://www.manfred-wolff.de/struts/articles-old/HowTo-Back.html).
Struts conform means, the request must pass the request-processor. I got
so many feedback, that I refactored the solution. It is now downloadab
On 2/28/06, Emmanouil Batsis <[EMAIL PROTECTED]> wrote:
> Dave Newton wrote:
>
> >If you want _fine_-grained access control drop Spring on top of Struts
> >and use Acegi.
> >
> >
>
> For us not wanting to put yet another framework into the table, any
> advice and pointers from more experienced peop
Hi thomas,
which component do you use for generate your tabs?
Do you use specific taglib, like struts-layout tabs or ditchnet tabs, or do
you develop
your own taglib ? Perhaps, your tabs can support EL tags. If so you could do
For information, I'm developping JSPTabControl component project.
Bu
On 2/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a table of data on my JSP and the User may choose one row.
> I want to do this with a Radiobutton and need the value of the choose
> radiobutton on my forwarded page.
> type="business.FormBean" scope="session">
>
>
>
>
On 2/28/06, Babu Subburathinam <[EMAIL PROTECTED]> wrote:
> How do I access the resource bundle (that is configured in
> in struts-config.xml) in the controller code?
http://struts.apache.org/struts-action/apidocs/org/apache/struts/action/Action.html#getResources(javax.servlet.http.HttpServletReq
On 2/28/06, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
> R.Vijayaraghavan ha scritto:
> > Hello,
> >
> > I usually have set and get methods for all properties in my Model class.
> > After submitting a form, I pull out all the property values (form fields) in
> > the Action class from the ActionFor
Hi,
How do I access the resource bundle (that is configured in
in struts-config.xml) in the controller code?
I see the following code examples in the web.
MessageResources message = servlet.getResources(); // PROBLEM here
String message = message.getMessage(
But the servlet.getResources();
I received your blank message.
Peter
-Original Message-
From: Rostislav Palivoda [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 28, 2006 11:39 AM
To: user@struts.apache.org
Subject: test
-
To unsubscribe, e-mail
Dave Newton wrote:
If you want _fine_-grained access control drop Spring on top of Struts
and use Acegi.
For us not wanting to put yet another framework into the table, any
advice and pointers from more experienced people out there?
My usual requirement is operation rights for roles in g
Dave Newton skrev:
Morten Andersen wrote:
This I would implement in RequestProcessor.processActionPerform(...)
where I check the users role for the specific page and based on that get
the respons taylored for that role and check whether they may do what
they intend.
RequestProcessor.pr
Morten Andersen wrote:
> This I would implement in RequestProcessor.processActionPerform(...)
> where I check the users role for the specific page and based on that get
> the respons taylored for that role and check whether they may do what
> they intend.
RequestProcessor.processRoles?
>
> Example
Shiby Maria John wrote:
> Anyone has an answer to my problem ??
>
> I want to use both Tiles and Validator in my application.
> Any tips why it is not working for me??
>
I use Tiles and the validation framework all the time with no problems.
Dave
red phoenix wrote:
> where error is my code?
>
> On 2/28/06, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
>> First things first: did you go through all the migration steps listed on
>> the wiki for 1.0 -> 1.2, 1.1 -> 1.2.4, 1.2.4 -> 1.2.7 and 1.2.7 -> 1.2.8?
>>
No, seriously; did you look at
How do you implement fine-grained access control?
For a project I need to implement a fine-grained access control. My idea
is to let a JDBC-Realm handle the login and to implement the
fine-grained access-control where the role may vary for the specific
users and the pages they look at.
This I wo
Hi,
I tried it with the idName property as described by Gary but it doesn't
work. I get this Error
No getter method available for property formID for bean under name
org.apache.struts.taglib.html.BEAN
It exists a Formbean for this action with the property formID and there are
getter and setter.
Hi,
Seding formbean to model is not a good idea. why cant you use
Beanutils.copyproperties method to copy values from your form to model.
sony
vasumathi wrote:
If you want to submit all the values to database, you can pass form ref.
but in case of submitting one or two values to database, w
sending form reference to the model is not the correct way as it will make
model dependent on the view.
do not send the formbean object till the model.
-Original Message-
From: vasumathi [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 28, 2006 5:19 PM
To: Struts Users Mailing List
Subjec
If you want to submit all the values to database, you can pass form ref.
but in case of submitting one or two values to database, what is the need of
sending form ref, we can pass those values itself.
> Hello,
>
> I usually have set and get methods for all properties in my Model class.
> After s
Hi,
I am using tabs in my JSP. Now when I display tabs I have to check for
some conditions. But the tabs will not allow me to use Scriptlets <% %>
inside the tabs. so is there is any struts tag library tags for
shortcircuit logical operators. I mean for && and || . If anyone has any
idea ple
R.Vijayaraghavan ha scritto:
Hello,
I usually have set and get methods for all properties in my Model class.
After submitting a form, I pull out all the property values (form fields) in
the Action class from the ActionForm object, set the values of all
properties in the model from the action cla
On 2/28/06, R.Vijayaraghavan <[EMAIL PROTECTED]> wrote:
> I do something like:
>
> public class ProductAction extends Action
> {
> execute()
> {
> String name = (String)PropertyUtils.getSimpleProperty(form,
> "name");
> String age = (String)PropertyU
Hi,
Anyone has an answer to my problem ??
I want to use both Tiles and Validator in my application.
Any tips why it is not working for me??
Regards,
Shiby
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
On 2/28/06, R.Vijayaraghavan <[EMAIL PROTECTED]> wrote:
> I am not using EJB. The model is made using simple JDBC that gets the
> database connection from a helper class which uses JNDI to get the JDBC data
> source.
>
> How can I apply Session Facade here. Is there any text or code examples
> whic
If you not using EJB,then i'll find out how u can use Session Facade without
EJBs,i only know how to use Session Facade with EJBs.
tnx
On 2/28/06, R.Vijayaraghavan <[EMAIL PROTECTED]> wrote:
>
> I am not using EJB. The model is made using simple JDBC that gets the
> database connection from a help
I do something like:
public class ProductAction extends Action
{
execute()
{
String name = (String)PropertyUtils.getSimpleProperty(form,
"name");
String age = (String)PropertyUtils.getSimpleProperty(form,
"age");
ProductModel model
where error is my code?
On 2/28/06, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> First things first: did you go through all the migration steps listed on
> the wiki for 1.0 -> 1.2, 1.1 -> 1.2.4, 1.2.4 -> 1.2.7 and 1.2.7 -> 1.2.8?
>
> L.
>
> red phoenix wrote:
> > I have a simple Struts program,it
I am not using EJB. The model is made using simple JDBC that gets the
database connection from a helper class which uses JNDI to get the JDBC data
source.
How can I apply Session Facade here. Is there any text or code examples
which I can read that talks the same with relation to struts.
regards,
With my rudimentary knowledge,I dont think its advisable for your Action
classes to talk directly to your business layer/model classes, Why don't you
have a business delegate/session facade or Service Locator sitting between
your Action Classes and the model classes, this insulates your action
clas
Hello,
I usually have set and get methods for all properties in my Model class.
After submitting a form, I pull out all the property values (form fields) in
the Action class from the ActionForm object, set the values of all
properties in the model from the action class and then call a particular
m
Hi all,
I am trying to generate a MS Word document through WordML. The report contains
some special (accentuated) French characters (e.g. é).
In my java code, I am using "XMLOutputter" to generate the document.
In the action class, I set the "response.setContentType("application/msword;
cha
Christopher Prince ha scritto:
using tiles standalone (latest from the sandbox)
the insert tag looks like
Problem is that the jsp pages in the are placed into the
output as-is. The JSP/JSF markup is not processed.
I tried adding the type="page" to the tag but that didn't help
Zoran Avtarovski ha scritto:
We are developing an application which has a requirement to present
information to users using different skins depending on certain parameters
(information is the same, just the base template file changes). What we'd
like, is to set a flag which is then used to select
55 matches
Mail list logo