ou use so cannot give
> specifics here) you need to do something like the following:
>
> String[] foosToArchive = request.getParameterValues("archived");
>
> for (String fooId : foosToArchive)
> {
>fooManager.archiveFoo(fooId);
> }
>
>
> And that should do it.
It's working :)
I created new instance of EngagementformDaoHibernate in testcase instead of
creating
setEngagementformDaoHibernate () method.
mraible wrote:
>
> What class does EngagementformDaoHibernate extend?
>
> Matt
>
> On 7/19/07, Msarda <[EMAIL PROTECTED]>
I tried it adding manually also,but .. :(
mraible wrote:
>
> If Eclipse is not resolving the JAR, I'd suggest you add it manually
> by navigating to the JAR. Maybe that will help you figure out if
> you're overlooking something.
>
> Matt
>
> On 7/20/07
hen i am using one class of it in controller,then it is not resolving
it. :(
Am i doing in right way?
Thanks.
mraible wrote:
>
> Based on this error, your groupId should be
> au.com.suncorp.PeoplePicker - is that what it is?
>
> Matt
>
> On 7/19/07, Msarda <[EMAIL
and archive each foo with a an id that matches the value.
>
> Mike.
>
> On 7/19/07, Msarda <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi all,
>>
>> I want to implement archive functionality.
>> On the jsp page where all engagement forms are getting display
ct too. It may take some time before
> it generates an error/warning, but after that the build will proceed as
> normal.
>
> Mike.
>
> On 7/19/07, Msarda <[EMAIL PROTECTED]> wrote:
>>
>>
>> Yes,when i was puting
>>
>>
Hi all,
I have created EngagementformDaoHibernate and also made entry in
application-context.xml for it.
as
But i am getting null pointer exception at..
List engagementform = getHibernateTemplate().find("from Engagementform where
archived=?", archived);
For getHibernateTem
Hi all,
I want to implement archive functionality.
On the jsp page where all engagement forms are getting displayed i want to
create checkbox under the column "archive".
That jsp page is using and tags for
displaying all data from engagementform table.
I tried something like..
It is
taking that jar from local repository,if that jar exists
there..
fadhlirahim wrote:
>
> Hi, have you define dependency in your pom.xml file?
>
> On 7/19/07, Msarda <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi,
>> Thanks for ur reply.
>> I am using appf
gt; checking, then you will have to add it manually add it. You can find
> tons of examples with searches, but here is a quick decent one..
> http://www.ensode.net/maven_intro_pg2.html
> Hope that helps.
> -Fitz
>
> Msarda wrote:
>
>>Hi all,
>>
>>I want to a
Hi all,
I want to add one jar in application.
I copied that jar in WEB-INF/lib folder manuallly and put it in java build
path,but it was not getting recognized.
I copied that jar in c:/work/repository and added in java build path but
still it was not getting recognized.
Is there any other way i
Hi all,
i have to implement functionality where when user logs in,he should be able
to access the open and closed requests he submitted before.
For this i want to attach username field with request in the database when
storing new request.
Is there any way to get username of user currently logge
Thanks Matt. :)
Got it working.
mraible wrote:
>
> You may have to write your own Comparable class for your Webappssystem
> object.
>
> Matt
>
> On 7/17/07, Msarda <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>> Thanks for the reply.
>> I tried thi
t()).
>
> http://static.appfuse.org/appfuse-data-common/xref/org/appfuse/model/LabelValue.html
>
> This is what's done in LookupManagerImpl.java:
>
> http://static.appfuse.org/appfuse-service/xref/org/appfuse/service/impl/LookupManagerImpl.html
>
> Matt
>
> On 7
acted",webSystemImpacted);
model.put("areas",areasimpactedManager.getAll());
return model;
}
But still "webSystemImpacted" in not sorted.:(
mraible wrote:
>
> You should sort your list with your HQL query, or use
> Collections.sort() to sort the list.
&g
aible wrote:
>
> On 7/17/07, Msarda <[EMAIL PROTECTED]> wrote:
>>
>> Hi all,
>> I want to add one more model object in my application.
>> I have created Lineofbusiness.java in src/java/model folder.
>> I executed mvn appfuse:gen successfully.But when executing
Hi all,
I want to add one more model object in my application.
I have created Lineofbusiness.java in src/java/model folder.
I executed mvn appfuse:gen successfully.But when executing mvn
appfuse:install for that model object i ma getting following error.
Unable to load file: java.io.FileNotFoundE
Hi all,
I want to sort the drop down before displaying it on jsp.
I am using following in jsp to populate drop dowm list.
"
SELECTED
>
--
View this message in context:
http://www.nabble.
Hi all,
I am using appfuse and spring framework.
I want to customize the error message for login.jsp if user authentication
fails.
For each and every account setting the error message is invalid
username/password.
Depending on whether the account is locked or expired or password expired,i
want to
I am using appfuse 2.0-m5 and spring framework 2.0.5.
mraible wrote:
>
> What version of AppFuse and web framework are you using?
>
>
> On 7/16/07, Msarda <[EMAIL PROTECTED]> wrote:
>>
>> Hi all,
>>
>> I am not getting active users f
Hi all,
I am not getting active users full name displayed on activeUsers.jsp
page.(Administration -> Current Users)
When i was going through the demo of appfuse,there also only username was
getting displayed,but fullname column was empty.
--
View this message in context:
http://www.nabble.co
regular expression but,not able to resolve the problem.
Msarda wrote:
>
> Thanks a lot Matt.
> It's working now,but the thing is it will take 42/42/ also.
>
> I have more problem,i have a jsp engagementforms.jsp which displays all
> the request submitted by user.
&g
Hi all,
I have a jsp taking values from user.
When ever i enter a verylong value in any textbox/textarea field,while
saving thar value it saves this properly.
But when i execute command jetty:run-war for next time on that
application,it gives error as value to long.
[ERROR] SchemaExport - sche
t archives, there's some
> information on doing this.
> Matt
>
> On 7/11/07, Msarda <[EMAIL PROTECTED]> wrote:
>>
>>
>> Yes i am.
>>
>> mraible wrote:
>> >
>> > Are you behind a proxy server?
>> >
>> > On 7
Yes i am.
mraible wrote:
>
> Are you behind a proxy server?
>
> On 7/11/07, Msarda <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi all,
>>
>> I am getting following error when running appfuse:full-source.
>>
>>
>> [ERROR] 175002 : sv
Hi all,
I have a textarea field in my jsp.
When i am inserting text around 1000 characters,it saves this properly.
When i go back to jsp which shows all the rows in table.it shows all data
entered in textarea field properly there,but when i click in PDF
link(generated by appfuse),i am getting jas
Hi all,
I am getting following error when running appfuse:full-source.
[ERROR] 175002 : svn: PROPFIND request failed on
'/svn/appfuse/tags/APPFUSE_2.0_M5/data/common/src'
[ERROR] 175002 : svn: appfuse.dev.java.net: appfuse.dev.java.net
[INFO]
tomised instance of the
> CustomDateEditor to convert to/from your chosen format. If you are
> displaying the dates in a simple list, then the tag
> should be used.
>
> Mike.
>
>
> On 7/11/07, Msarda <[EMAIL PROTECTED]> wrote:
>>
>>
>> Thanks a lot M
the
> moment
> in the support. However, some codes are provides in JIRA. For more
> informations, see the issues
> MOD-38<http://opensource2.atlassian.com/projects/spring/browse/MOD-38>
> and MOD-49
> <http://opensource2.atlassian.com/proj
't work, you can change your Controller's "validator"
> property to a "validators" property and pass in a list of properties
> (one for beanValidator and one for your custom Spring Validator that
> performs additional logic).
>
> Matt
>
> On 7/
don't have any in validation-rules.xml for validwhen.
Msarda wrote:
>
> Thank you very much :)
>
>
> mraible wrote:
>>
>> You may be able to use Commons Validator's ValidWhen:
>>
>> http://struts.apache.org/1.3.8/faqs/validator.html
&g
lidators" property and pass in a list of properties
> (one for beanValidator and one for your custom Spring Validator that
> performs additional logic).
>
> Matt
>
> On 7/10/07, Msarda <[EMAIL PROTECTED]> wrote:
>>
>> I am using spring framework (basic) wi
I am using spring framework (basic) with appfuse 2.0-m5 and maven 2.0.6
mraible wrote:
>
> Which web framework (and version of AppFuse) are you using?
>
> On 7/10/07, Msarda <[EMAIL PROTECTED]> wrote:
>>
>> Hi all,
>>
>> I want to do validation f
Hi all,
I want to do validation for a field depending on the value of other field in
validation.xml.
I have two radio buttons,each one having a text box in front of them to fill
value if that particular radio button is selected.
I just want to check that if the radio button is selected,there sho
ws in MM/dd/.
I tried aading custom validator in it's controller but was getting same
output.
Thanks in advance.
mraible wrote:
>
> This may help:
>
> http://jroller.com/page/raible?anchor=validating_dates_with_commons_validator
>
> Matt
>
> On 7/10/07
Hi All,
I am trying to validate date field in validation.xml file but getting error
message that the date entered is not a date.
I have priorityDate field in model object with type java.util.Date.
I have used customDateBinder in my controller as..
public void initBinder(HttpServletRequest requ
resaon while test case is getting failed,because i
have type of priorityDate in model object as java.util.date.
But i not getting why it is Timestamp and not Date. :(
Msarda wrote:
>
> Hello Mike,
>
> Right now i am not in the office so can't get more details about that
>
27;t understand why like this. :(
Thanks for your kind help.
Michael Horwitz wrote:
>
> Do you have some detail on the binding error being thrown?
>
> Mike
>
> On 7/9/07, Msarda <[EMAIL PROTECTED]> wrote:
>>
>>
>> Thanks for reply.
>>
>> Tried
date values, date values should looks like this...
>
>
> On 7/9/07, Msarda <[EMAIL PROTECTED]> wrote:
>>
>>
>> Thanks Mike for your reply.
>>
>> My application in running now.
>>
>> But still i have one problem regarding validation.
>>
rted out.
>
> Mike.
>
>
>
> On 7/6/07, Michael Horwitz <[EMAIL PROTECTED]> wrote:
>>
>> Which version of AppFuse are you using?
>>
>>
>> On 7/6/07, Msarda <[EMAIL PROTECTED]> wrote:
>> >
>> >
>> > I tri
bSystemImpacted",webappssystemManager.getAll());
model.put("areas",areasimpactedManager.getAll());
return model;
}
Msarda wrote:
>
> Thanks Mike.
> It's working now after using property editor class.
> But still there is one problem.I am not able to popula
.
>
> 2) You then register this custom editor using one of the appropriate
> methods
> on your controller: initBinder() see api on http://tinyurl.com/2sutrm
>
> And it should all work like magic
>
> Mike.
>
>
> On 7/3/07, Msarda <[EMAIL PROTECTED]> wrote:
&
Thanks Sanjiv.
Sanjiv Jivan wrote:
>
> So that means you don't have an SMTP server running on your machine. Talk
> to
> you sys admin on setting it up or google on how to do it. Its a bad idea
> to
> silently swallow exceptions.
>
> Sanjiv
>
> On 7/3/0
line where
> you're swallowing the exception you'll have a better idea of what the
> problem is.
>
> } catch (MailException ex) {
> //log.error(ex.getMessage());
> }
>
>
> Sanjiv
>
> On 7/2/07, Msarda <[EMAIL PROTECTED]> wrote:
>>
&
Hi all,
I am implementing send email functionality in my spring application.I have
created a class that implements this functionality.Following is the code of
that method..
public Long sendEmailNotification(String name,String title,String emailID)
throws NamingException, SQLException
{
r form controller so that
> Spring can convert your model object to/from text. Please see this thread
> for further details:
>
> http://www.nabble.com/Add-ManyToOne-relationship-between-user-and-a-new-pojo-tf3993393s2369.html
>
> Mike.
>
>
> On 7/2/07, Msarda <[
with a fresh and blank model object. I would
> focus on the order that the model object gets created. This would seem
> like where the problem would lie if I could save updates but not new item
> values.
>
> The inner workings of the Spring MVC is a mystery to me so I am not sure
>
Hi,
I have three model objects Engagementform,Areasimpacted,Webappssystem.
I have many to many mapping in Engagementform & Areasimpacted and
Engagementform & Webappssystem.
I have used following in Engagementform.java
Set systems;
Set areasImpacted;
I want to take the data for this t
request.getSession().setAttribute("requsetId",
requestdao.get_id());
// }
}
return new ModelAndView(success);
}
}
dusty wrote:
>
> OK, tell me about your JSP page or show the code.. that should help get to
> the bottom of it.
>
> Al
ngs. I can be a field naming issue in the web form, it can be an
> interceptor problem on the web framework applying your field values to the
> model object. I am not sure about what effect a leading _ in your field
> name would do. I will have to run a test to see if that breaks an
;
}
}
mraible wrote:
>
> I don't understand your problem very well. Maybe you can post some
> code that will make things easier to understand? You also might
> consider writing a unit test for your issue to see what tier it's
> happening in.
>
> Matt
I have one model objectwhen i am trying to save new entry in table...i am
getting everything null in the command object...
But when i am trying to edit automatically generated values by maveni am
getting those values in command object
I don't know whats wrong happening when trying to a
52 matches
Mail list logo