hi,
very sorry, I am not sure where I should post this Domain Model Design
question , pls advise.
I realized that I have a circular dependency in my models
each "User" creates a set of "Service" , each Service has a set of
"Item", each Item also records who is its User.
ie.
User 1--->*
[..] is the CSS attribute selector. I this case the style applies to form
elements that have an "id" attribute declared.
On 12/7/06, kkus <[EMAIL PROTECTED]> wrote:
In forms.css I found following definition,
form li div {
display: inline-block;
}
form[id] li div {
display: inline;
}
A real simple way to do it is to write an object that extends Thread, and
implement its run method to do the 'concurrent' piece work.
Meaning, in a junit test, let's say a method named...
testConcurrentStuff one example could be
1. Look up an object with id = x
2. Modify that object
Yes. I use Apache and Tomcat.
Apache is configured using name virtual hosts
Most domains are configured with a CNAME. Some are A records and have to
have individual VHOST sections in httpd.conf
I use SpringMVC but the framework shouldn't be a factor.
I haven't had any session problems. They typi
You might try asking this question on the Wufoo Forums - I got the
forms.css from their site (with their permission of course).
http://wufoo.com/forums/
Matt
On 12/7/06, kkus <[EMAIL PROTECTED]> wrote:
In forms.css I found following definition,
form li div {
display: inline-block;
}
for
In forms.css I found following definition,
form li div {
display: inline-block;
}
form[id] li div {
display: inline;
}
Can anyone tell me the usage of [id] here? Does it reference to a class type
definition? Thanks!
--
View this message in context:
http://www.nabble.com/a-simple-css-q
On 12/7/06, GaryW <[EMAIL PROTECTED]> wrote:
Thanks for the reply Matt.
I don't know if I worded my question correctly. I don't really want load
testing; I'm just looking for a way to simulate 2 conflicting updates to see
if I get the expected exception/behavior based on the transaction isolat
It sounds like what you want is a "permission filter". Something that
will examine each request and either create a session scoped variable
with that users permissions, or update it if it has changed in the DB.
Then on your pages you just need to make sure users can only see
data/options/etc
Perhaps that could be for you helpful:
PROPAGATION_REQUIRED
PROPAGATION_REQUIRED
PROPAGATION_REQUIRED
PROPAGATION_REQUIRED
PROPAGATION_REQUIRED,readOnly
For example method getUsers -> readOnly
w
Hello
I'm newbie at spring technology and appfuse.
In my application i have a table user, table groups and table permission
that contain id from user, id from groups and value of permission.
When a user logs in, i read all permission to session and I check all
permission in filters.
I don't know w
There was a copy/paste error in my last posting. I used path="" which can let
me use appfuse as default context but caused problem reloading appfuse
twice.
Here is good answer,
http://www.nabble.com/How-to-set-app-as-default-context-in-Tomcat--tf2776569.html
Matt Raible-3 wrote:
>
> If you s
I'm in the process but I've had to put off the integration for a couple
of days. From what I've looked at so far it's as straight forward as
anything is when dealing with acegi. (Meaning the first look is daunting
-- it seems like about a million things to consider -- but so far I've
found thei
Thanks for the reply Matt.
I don't know if I worded my question correctly. I don't really want load
testing; I'm just looking for a way to simulate 2 conflicting updates to see
if I get the expected exception/behavior based on the transaction isolation
settings/code. Is this possible using JUni
If you look at the BaseDaoTestCase class, you should see the context
files that are loaded. I'd recommend using
test/dao/**/applicationContext-resources.xml since it's only loaded
when running DAO tests.
Matt
On 12/7/06, mas <[EMAIL PROTECTED]> wrote:
Hello all, I'm trying to create an ao
If you're looking for how we've integrated Struts 2 into AppFuse, I'd
checkout the web/struts module from SVN.
svn checkout
https://appfuse.dev.java.net/svn/appfuse/trunk/web/struts
appfuse-struts2 --username guest
The password for the guest account is "" (nothing).
Matt
On 12/7/06, Tim Azz
Hi appfusers,Have you ever try to integrate cas3.0 with appfuse ?Thanks,Ben.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You might just try running "ant" instead of running it with those
parameters. It should prompt you for values.
Matt
On 12/7/06, J Lawrence <[EMAIL PROTECTED]> wrote:
I am a newbie to JAVA and have downloaded the Tapestry version of appFuse
1.9.4.
I run "ant new" and create my project. Run th
I'd recommend using something like WAPT or Grinder. These are the two major
load testing tools I'm aware of. I believe TestNG also supports running
concurrent tests on separate machines.
Matt
On 12/7/06, GaryW <[EMAIL PROTECTED]> wrote:
Does anyone have any advice on how to set up tests to si
If you set the path to "/" or "", it should show up as the default context.
Matt
On 12/7/06, kkus <[EMAIL PROTECTED]> wrote:
I am using Tomcat 5.5.20 and 1.94 Spring MVC of appfuse in XP. I need set
appfuse as default context so I will only use url localhost:8080 instead
of
localhost:8080/app
I am using Tomcat 5.5.20 and 1.94 Spring MVC of appfuse in XP. I need set
appfuse as default context so I will only use url localhost:8080 instead of
localhost:8080/appfuse. The way I found from tomcat community is to set a
in of server.xml. But this led to appfuse loaded twice when
it started.
I have an app that does this.
It uses a filter that sets a configuration object as a request attribute
based on the "Host" header.
Currently running with 71 domains.
Rene Lavoie wrote:
Hi,
I have an app based on appfuse.
What I would like to do is have 2 domains setup in apache pointing to
Does anyone have any advice on how to set up tests to simulate concurrent
updates in order to test transaction isolation? I'm using Spring/Hibernate.
Thx,
Gary
--
View this message in context:
http://www.nabble.com/Testing-transaction-isolation--tf2776210s2369.html#a7744788
Sent from the AppFu
I am a newbie to JAVA and have downloaded the Tapestry version of appFuse
1.9.4.
I run "ant new" and create my project. Run the test which all pass. Then go
through the tutotial Part1 and Part 2 OK.
Part 3, I run "ant -Dobject.name=Person -Dappgen.type=pojo" and I get
"BUILD FAILED" ".extr
Hello all, I'm trying to create an aop:aspect for logging inside DAO Unit
Tests.
Is this possible? What existing Spring classes should be used?
Where is the recommended ApplicationContext-*.xml file to place this aspect
in?
I am using Appfuse 1.9.4
Thank you,
Andrew J. Leer
--
Vie
I made the following change to urlrewrite.xml (note the .* in the url
pattern) and it seems to fix the problem
< !-- Override default validation.js from WebWork -->
< rule>
< from>^.*/struts/css_xhtml/validation.js$
< to type="forward">/template/css_xhtml/validation.js
In appfuse 1.9.4, urlrewrite.xml redirects the standard webwork validation.js
to the appfuse specific one.
< !-- Override default validation.js from WebWork -->
< rule>
< from>^/webwork/css_xhtml/validation.js$
< to type="forward">/template/css_xhtml/validation.js
< /ru
DNewfield wrote:
>
>
> In the action, [gs]etFile{,FileName,ContentType} must change to
> [gs]etDocument{,FileName,ContentType}
>
> I also found that there were a number of dtd's that should be updated,
> one of which necessitated a change of the outermost tag in struts.xml
> from to .
>
>
On 12/7/06, Tim Azzopardi <[EMAIL PROTECTED]> wrote:
Michael Horwitz wrote:
>
> Tim,
>
> I have attached the filter source. A few notes:
>
>
Mike, thanks for posting this, I have decided probably not to go with
this,
My pleasure.
because (a) I worry I won't be able to make it work (quickl
Michael Horwitz wrote:
>
> Tim,
>
> I have attached the filter source. A few notes:
>
>
Mike, thanks for posting this, I have decided probably not to go with this,
because (a) I worry I won't be able to make it work (quickly) (b) somebody
else is going to have to maintain it. So I'm going to
Matt Raible-3 wrote:
>
> On 12/5/06, Tim Azzopardi <[EMAIL PROTECTED]> wrote:
>
>> File-Upload
>> ---
>>
>> "ant test-all" works all the way up to the File-Upload cannoo web test
>>
>> When I access the File-Upload page manually I get
>> java.lang.IllegalArgumentException: The default()
30 matches
Mail list logo