Hi,
I am interested in building a e-Learning/Distance learning framework. Was
wondering if there is any framework that exists that I can use as a starting
point.
First preference would be for a struts based application since I need to
integrate it with my existing struts code. But anything in Jav
Hi Ted,
While ideally an announcement like this should bring across "joy",
ironically enough it brings some "concerns" to developers like me!
I am uninitiated in WebWork yet. I have just learnt a bit of struts
some 4 months ago. Just when I thought I learnt a little the "floor
(read framework)" mo
; (If you want to try what I am talking about, just try creating an
> account/user on any website and in the country drop down list try
> choosing India. You may try hotmail. )
>
> Thanks for your suggestion.
>
> Regards,
>
> Shivani
>
>
>
> -Original Message
Shivani,
You may want to take a look at the suggest tag provided by
Struts-layout taglibrary.
http://struts.application-servers.com/suggest/index.html
I have personally used this tag and it is quite easy to get it
working. The best thing is that you do not need to write a single line
of Javascrip
on e) {
e.printStackTrace();
}
tag.release();
}
}
On 1/30/06, Kai Mai <[EMAIL PROTECTED]> wrote:
> Raghu,
> can you be more specific about your solution? how about giving some coding
> examples?
>
> Thanks.
> Kai
>
> On 1/27/06, Raghu
Hi,
Before I introduced Sitemesh into my ecosystem, I used to handle
exceptions in a "declarative" fashion in the struts-config.xml.
For example, an entry in struts-config.xml like:
would handle a good subset of my Database exceptions.
Now comes sitemesh, which is really a "servlet-filter".
On 1/25/06, Raghu Kanchustambham <[EMAIL PROTECTED]> wrote:
> Hi,
> I am trying to generate a *dynamic* menu.
> I have a regular 'java' function which spits out menu tags (struts
> layout taglib related).
> The intention is to use Sitemesh to create the menu dep
Hi,
I am trying to generate a *dynamic* menu.
I have a regular 'java' function which spits out menu tags (struts
layout taglib related).
The intention is to use Sitemesh to create the menu depending on the
access permissions of the logged in user without any "dirty coding" in
JSP's.
<%=Resource.ge
t);
>
> Which should call the base class validate (which will use your validation.xml)
>
> On 1/20/06, Raghu Kanchustambham <[EMAIL PROTECTED]> wrote:
> > Thanks Rick! You spotted it correct...It now executes the validate
> > function of the form :-)
> >
> >
ed.
Do I need to do something else to ensure validation.xml is called and
so is the code in validationform's validate function?
Regards,
Raghu
ps: I have not changed my action mappings from what I have last posted.
On 1/20/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
> On 1/20/06, Ragh
> 4) When using IE on an ASP application, there is a way to click on a word
> document in the browser, it brings up Word to edit the document, and when
> you save the document in Word, it uploads it back to the website.
>
> a. Is there a way to do this in the J2EE world?
> b. And if not,
o you have validate=true set for
> the form?
>
> Mind you, I'm not a fan of using automatic validation:) I prefer to call
> validate manually from my Action class. I explain my reasons here
> http://www.learntechnology.net/validate-manually.do
>
>
>
> On 1/20/06, Rag
But I
need to get the first step correct... that is to make sure my validate
function is being called in addition to validation.xml rules.
Could you help me with that?
Thanks.
Raghu
On 1/20/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
>
> Raghu Kanchustambham wrote the followin
Hi,
When I want to retain validation.xml for validation of most of my fields on
the form. However, the rules for one particular field is too complex to be
done with just the validation.xml. I intend to check for it in the
validation form action. What I see is that the action form's validate
functio
The easiest way for you is to exploit the SET FOREIGN_KEY_CHECKS property. I
know this is supported by MySQL for sure. And something similar if not the
same, should be available with other databases too.
SET FOREIGN_KEY_CHECKS=0;
//script generated
SET FOREIGN_KEY_CHECKS=1;
Remember to set it
While you can do it yourself, I strongly recommend take a look at the Struts
Layout tags.
http://struts.application-servers.com/
To be specific, for the dependent combo, check
http://struts.application-servers.com/faqs/field.html#Interdependent_combo_box
It is very easy to get it up and running w
Assuming you want to do "form-based" validation, can you check if your
forms.ObjectTypeForm extends from one of the valid validationform objects?
If it extends a simple "ActionForm", validation will not work.
HTH,
Raghu
On 1/11/06, Mahadevan Venkataraman <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I
Thats too broad a question - :-) So you will get "broad" answers for that!
:-)
You can take a look at jBPM project - I think jboss has taken up the
"ownership" for the project. While I have not used it, I believe there is
some activity and interest in the project.
If you are looking at providing
And why is that ?
On 1/10/06, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I would suggest you begin with iBATIS.
>
> http://ibatis.apache.org
>
>
>
> Thanks and Regards,
> S.Ramkumar
> Associate Consultant - Investment Banking
> PrimeSourcing(tm) "Add Value Reduce Risk"
> i-flex s
The trick is to point the "input" variable in your struts-config.xml to the
action class that "generated" the JSP page rather than the JSP page itself.
On failure of validation, you should redirect it to the "preparation" action
class for the form that solicits information for you - the action
this makes sense.
What do you think?
~Raghu~
On 1/5/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
>
> On Wed, January 4, 2006 1:03 pm, Raghu Kanchustambham said:
> > I would disagree on your conclusion that pull is *the* way to achieve
> your
> > 'push alert
Or perhaps, as mentioned earlier in this thread, having an applet to which
the server could "push" information should do the trick.
I would disagree on your conclusion that pull is *the* way to achieve your
'push alert' on http.
Some points on which you will base your decision maybe as follows:
The error means that your action form does not have a getter method for the
described property.
If you make sure you have the required property in the actionform and try
it, it should work fine. Post the code of action form and
struts-config.xmlif you still cant solve it.
Just a thought: Why is yo
Try Struts-Layout has some options for doing "related" dropdowns. You may
want to check it and avoid a lot of javascript coding.
HTH,
Raghu
On 12/21/05, Neil Erdwien <[EMAIL PROTECTED]> wrote:
>
> If the amount of data needed for drop down B isn't large, I'd load it
> into Javascript objects wh
Hi,
The suggest tag seems to work fine in Mozilla but not in Internet Explorer.
This code is working fine with Mozilla... It generates 4 suggest boxes in
mozilla but behaves like a simple text box (with no suggestions) on Internet
explorer.
What am I doing wrong?
Best Regards,
Raghu
Have a strDate which is of type string. The setStrDate() needs to be coded
in such a way that it sets the date attribute also which is of type Date.
The getDate() which returns Date object can be used in the "business"
layers. For example, my Hibernate mappings map to getDate and not to
getStrDate
>> I'm not sure it matters much which order they're applied in, though,
since all have to pass
>> anyway.
Order does matter... That will decide which *one* of the error messages to
display to the user when one of these tests fail.
On 12/15/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> Deepa
mention,
> and it knows how to edit web.xml, etc. In my opinion, it is well worth the
> price ($400 for a single license last time I checked).
>
> Erik
>
>
> -Original Message-
> From: Raghu Kanchustambham <[EMAIL PROTECTED]>
> Sent: Dec 9, 2005 4:38 AM
&g
Laurie.. are you sure this will work?
Let us say i have a mapping that maps to a TelephoneAction in my
strus-config.xml... the class name will get 'garbled' after obfuscation.
When a hit is made, the struts runtime will look up the TelephoneAction
class to forward the request and notices there is
Try struts layout tags.
They support tabbed inputs.
On 12/8/05, Sony Thomas <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Is there is any way to use tabs in struts. Is there is any html bean tag
> for this ?
>
>
>
rule to be able to invoke
> other validation rules (or control which of the validations specified by
> the 'depends' value is actually enforced)? I actually think that could
> be quite useful in some cases, but probably not very many. Can you think
> of any concrete examples
7;date' validation otherwise. Not sure if that made sense
> or not...
>
> L.
>
> Raghu Kanchustambham wrote:
> > Just wondering Laurie ... why cant I use other "validation rules" along
> with
> > validwhen? I dont see any fundamental reason why I need to re
Just wondering Laurie ... why cant I use other "validation rules" along with
validwhen? I dont see any fundamental reason why I need to resort to regular
expressions when I use validwhen tag. For example, it would be great if I
could say .. validwhen (some test) .. use the date validation!
Is ther
You could still do them "declaritively" ... read them off an "external"
file.. and *process* it in your setup actions...
a little more work than you would have liked though! :-)
On 12/5/05, Shivani Sawhney <[EMAIL PROTECTED]> wrote:
>
> Hi,
> Thanks for the reply. There's absolutely no reason t
I started off "learning" struts with the combination of struts 1.1 and
jdk1.5. I dint have any issues.
However, I quickly moved to 1.2.x soon when I realized that since I am
starting off fresh, why not just take the latest stable version from struts.
I still dont have problems making it work with j
While the "if" loops in the validate function of the form will work... i
somehow think you are coupling the workflow with the validation rules. Why
dont you look at the validation framework so that you "externalize" your
validation logic into xml files?
You can perform validation on a per form bas
there any way that I could get the form value to be evaluated rather
> than just outputting it as is?
>
> Regards,
>
> Shivani
>
>
>
>
> -Original Message-
> From: Raghu Kanchustambham [mailto:[EMAIL PROTECTED]
> Sent: 03 December, 2005 1:35 PM
> To: St
> Query 1:
There are two approaches I can think of right now. You will need to "burn"
this querystring information into (a) the form object or (b) the session.
(a) If you are using dynaction form, then just adding another variable to
hold the id0 in the config.xml definition should be less pain
ate seems to be a decent approach if you have LOTS of memory,
> and a new database that you can structure specifically for it. For a
> legacy database that is expensive to change, it is worthless IMO.
>
> Saying that "you should use it unless you have a strong reason not to"
&
These are two different caching scenarios we are talking about.
Tomcat connection pooling caches "Connection" objects.. not your domain
objects. However, Hibernate caches business objects (POJOs). You could use
Tomcat's connection pool along with Hibernate's pooling of business objects.
I do beli
> Taglib?
>
> http://struts.apache.org/struts-doc-1.2.7/userGuide/struts-logic.html#lessEqual
> HTH,
> M-
> - Original Message -
> From: "Raghu Kanchustambham" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List"
> Sent: Sunday, November 27, 2005 3:
be able to say "validwhen" through some
expression followed by "floatRange" validation etc... currently I am
using regular expressions to mimic the floatRange when used on a conditional
basis. If it doesnt exist already, is it very difficult to build it?
Thanks.
Regards,
Raghu
-
On 11/25/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> Raghu Kanchustambham wrote:
> > Hi,
> > I have the following situation:
> > 1. educationDetails[0].degree.id is not chosen. (drop down return value
&
Hi,
I have the following situation:
1. educationDetails[0].degree.id is not chosen. (drop down return value =
-1).
OR
2. educationDetails[0].degree.id > 0 (the user chose one of the options from
the drop down) which implies the marks should be atleast 35% and not more
than 100%
I tried the atta
Thanks Max and Craig for your responses.
I agree with the overheads of pooling a stateful "entity" probably doesn't
justify its inclusion.
I was not looking for an api which gives me a session object after taking
the request object as an input parameter which as Craig points out is too
simplistic.
Hi,
I believe supporting a getSession() call is useful in the Action class.
let me walk you through a situation:
public class MyAppBaseAction extends DispatchAction
{
//some helper functions
isAuthorized( arguments )
{
}
}
public class MyAction1 extends MyAppBaseAction
{
Hi,
what is the best way to access authentication/authorization related
information in my action class?
I configured the BASIC JAAS authentication with my tomcat. The
authentication goes fine.. but in case I want to know some information about
the roles... how can I get the "LoginContext" in my ac
Hi,
Shouldnt session.invalidate() log me out?
request.getSession().invalidate();
try {
response.sendRedirect("home.jsp");
} catch (IOException e) {
e.printStackTrace();
}
I am using JAAS Basic authentication on tomcat. When the above code is
executed and the redirection happens back, i expected
o see. It might be exactly what you're looking for.
>
> L.
>
> Raghu Kanchustambham wrote:
> > Hi,
> > I could successfully place my authentication scheme in place using the
> > article at
> > http://www.jroller.com/comments/tomdz?anchor=using_jaas_with_stru
Hi,
I was hoping that the following should work ... but I guess I am missing
something somewhere.. validation with other properties is working fine.. but
not with the indexed properties.
Struts-config.xml:
validation.xml: I am trying to validate the indexed property
You can try Jasper reports...
Havent used it a lot myself .. but looks like a decent open source tool for
generating reports with support for PDF, excel etc...
~raghu
On 11/20/05, Rivka Shisman <[EMAIL PROTECTED]> wrote:
>
> Hi friends
>
>
>
> Can you recommend me a reporting tool that works nic
Hi,
I could successfully place my authentication scheme in place using the
article at
http://www.jroller.com/comments/tomdz?anchor=using_jaas_with_struts_a
I also could place "resource" level authorization in place. However the
definition of resource is the "traditional" action mapping. However I
If I need to find the version of jdk .. i would use something like java
--version.
How would I know which version of struts jar are there on my machine? Any
suggestions of easily & reliably finding it ?
Thanks.
Raghu
ve never used nested business objects in dyna forms like you are.
>
> L.
>
> Raghu Kanchustambham wrote:
> > Thanks Laurie for the detailed explanation.
> > I am still not able to get the validation working .. after spending
> almost
> > a frustrating one week on i
g! :( I will post that also if you think it
will help debug the issue.
Thanks again Laurie for the suggestions you have given so far. Even though
this problem persists, it still made me learn quite a bit about the
validator framework. Hopefully you can spot the mistake in this too ! :)
Best Regards,
R
Hi,
I have the following code:
http://enquiry.id/>}" sortable="true"/>
http://enquiry.id/>}">enroll
http://enquiry.id/>}">View /
http://enquiry.id/>}">
Update
When I code this way, I see "sort" icons in the header of the table that is
generated. When I click on them, sorting happe
dn't. Set validate="false" on the
> mapping for the setup operations, and make it the input for the other
> mapping which will have validate="true".
>
> L.
>
> Raghu Kanchustambham wrote:
> > Thanks Laurie for the suggestion.
> > >>>>
ctly to the JSP).
>
> You don't need to use session scope for anything if you don't want to,
> you just have to make sure that you always display your JSP via your
> preCreate action.
>
> If that doesn't make sense, post your action mappings from
> struts-config
raghu
On 11/12/05, Paul Benedict <[EMAIL PROTECTED]> wrote:
>
> There's nothing wrong with ussing session scoped forms. You can attached
> these lists right to the
> form, if you want - just make sure you remove the form from memory when
> you're finished.
>
>
idator.
> 4) You're using the correct version of validator for your version of
> Struts.
>
> --- Raghu Kanchustambham <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> > The minute I introduced Validator framework in my application .
> > it started giving me the follo
?
Thanks much.
Regards,
Raghu
On 11/12/05, Martin Gainty <[EMAIL PROTECTED]> wrote:
>
> I didnt see the contents E.G. for your c.tld ??
> Martin-
> - Original Message -----
> From: "Raghu Kanchustambham" <[EMAIL PROTECTED]>
> To: "Struts Users
y
<%= request.getParameter("nextOperation")%>
false
true
"
/>
<[EMAIL PROTECTED] file="StudentDemographics.jsp"%>
${operationVar}
cancel
On 11/12/05, Martin Gainty <[EMAIL PROTECTED]> wrote:
>
> I did
Hi,
The minute I introduced Validator framework in my application .
it started giving me the following error when I accessed the JSP
centreList is used as a parameter for the dropdown. The minute I remove the
validation.xml from the path... the application runs fine again! :(
very strang
Try the indexed="true" property. I think that should do the trick.
On 11/3/05, Bijay Sahoo <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> I am new to struts,and have a problem and want some suggestion,my problem
> is
> :
> I get some questions from database (Dont know how many) may be 10,11,20...
> an
Hello,
I am evaluating using Struts-Layout tags (
http://struts.application-servers.com/ ) instead of .
A few questions:
1. Can they co-exist? That is can I have 5 fields of my form of type
and another 5 of the types?
2. More importantly, how to index them in case of multiple entries?
for e
Sader <[EMAIL PROTECTED]> wrote:
>
> You need to tell your loop to use the key or the value from your set.
>
>
>
>
>
> ...
>
> that should fix it up.
>
>
>
> On 11/1/05, Raghu Kanchustambham <[EMAIL PROTECTED]> wrote:
> > Hi,
> > Pl
Hi,
Please look at the following code:
studentEnrollment is a bean that I have attached to the DynaActionForm that
is configured. That bean has a Set called paymentDetails.
I intend to iterate over this HashSet and its just not working. Its not even
entering the loop.
A little hack that makes t
Hi,
I am using the to iterate over a list and create some dynamic
drop boxes on consecutive rows.
For example: On first row, I want to solicit "Batchelors" related
information from the student. In the second row, I want to solicit "Masters"
related information. So the value XXX should be somethin
I have a hidden html varibale called operation.
Now I want to conditionally display some buttons based on the value of
this hidden field. I am trying something like this...
# display update related buttons
This doesnt seem to work. What am I doing wrong? I know that if
'operation' was a
Hi,
When I use the following line...it prints a 4 on the screen. {
selectbox.size has been defined as 4 in application.properties file }
However, the following code doesnt seem to work. Can somebody explain what
is wrong with this? I want a select box of size 4 here. The intent is to
'externali
70 matches
Mail list logo