I have this weird behaviour when saving users.
steps to reproduce behaviour
=
1. Login using default admin user and then click Edit Profile
2. Change password
3. Click save
4. Password is saved unencrypted.
I did some debugging and traced the error to this line in
UserManager
for Linux use this in the command prompt before you run jetty:run-war (you
only need to do this once per session)
export MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"
windows:
replace 'export' with 'set'
then go to your favorit
Not too sure what you are trying to accomplish here.
If you just want your URL to be protected by a login page, you merely need
to specify it in the "filterInvocationInterceptor" bean. You can leave it
out from the "channelProcessingFilter".
Make sure that you enter the pattern properly.
e.g
use
String username = this.getRequest().getRemoteUser();
in your action class.
allan
krishgy wrote:
>
> Hi All,
>
> I am just beginning the java for a web based application. After some
> struggle, I found appfuse and moven.
>
> I have basic appfuse-struts-spring-hibernate project.
>
>
s the trick.
allan
Allan Ang wrote:
>
> Hi all,
>
> I'm trying to avoid exposing all methods in my Service Implementation
> class as a web service.
> I have tried removing the service endpoint in the implementation's
> "@WebService" annotation and add
Hi all,
I'm trying to avoid exposing all methods in my Service Implementation class
as a web service.
I have tried removing the service endpoint in the implementation's
"@WebService" annotation and adding an explicit @WebMethod on the method I
want exposed but no luck. All methods still appear i
add a Set of users to your Role object
map using many-to-many
then use role.getUsers() in dao and return the set
--
View this message in context:
http://www.nabble.com/Get-Users-with-a-Rol-tp15123957s2369p15176074.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
-
perhaps you could post org.appfuse.dao.jpa.GenericDaoJpa.java
besides, the naming convention should be org.appfuse.jpa.dao.{classname}
where {org.appfuse.jpa} is your project package name defined in your pom.xml
in the groupId attribute. Failure to do this might result in incorrect
running of te
Perhaps this shouldn't be in this forum but I would really like to know what
the majority of Appfusers think.
I mainly develop on Struts1/2 but lately a client of mine seems to think
that JSF is faster to develop with all that sexy drag/drop stuff. Somehow
the lack of control that I can have over
got a tip from Bob Fleischman in another thread
turns out that appfuse:gen -Damp.genericCore=false did the trick
thanks for the help anyways!
--
View this message in context:
http://www.nabble.com/Generating-DAO%2C-Service-test-class-in-Struts2-modular-tp14523512s2369p14560804.html
Sent from t
Hi there.
This probably does not answer your question but why don't you try converting
your binary data to Base64 strings and putting these strings in the XML and
loading them the conventional way
You will obviously need to reconvert the Base64 String back to the binary
data again when you need
Nope...hence the puzzlement. Do I need to enable anything when running
appfuse:gen
I have tried the following combinations to no effect
appfuse:gen -DgenericCore=false
appfuse:gen -DgenericCore=false -DfullSource=true
appfuse:gen -DfullSource=true
thanks again Matt!
--
View this message in con
Hi Matt,
This is what I see:
Thanks again!
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'appfuse'.
[INFO]
[INFO] Building AppFuse Modular Application - Core
[INFO]task-segmen
Is there any way I can generate test classes for a Struts2 modular project
I have tried appfuse:gen to no avail
or did I miss something?
thanks and happy new year everyone!
allan
--
View this message in context:
http://www.nabble.com/Generating-DAO%2C-Service-test-class-in-Struts2-modular-tp1
0 put this inside the
session-factory.
--
View this message in context:
http://www.nabble.com/How-to-insert-a-large-character-object-into-Oracle-database-from-Appfuse.-tf4833863s2369.html#a13873786
Sent from the AppFuse - User mailing list archive at Nabble.com.
---
try mvn:jetty-run -Dmaven.test.skip=true
--
View this message in context:
http://www.nabble.com/Preopopulating-a-production-database-tf4848327s2369.html#a13873159
Sent from the AppFuse - User mailing list archive at Nabble.com.
---
add to hibernate.cfg.xml
e.g:
...
--
View this message in context:
http://www.nabble.com/How-to-insert-a-large-character-object-into-Oracle-database-from-Appfuse.-tf4833863s2369.html#a13872591
Sent from the AppFuse - User mailing list archive at Nabble.com.
-
Can you go to applicationContext-hibernate.xml and set the
hibernate.jdbc.batch_size to '0'
"..
0
.."
--
View this message in context:
http://www.nabble.com/How-to-insert-a-large-character-object-into-Oracle-database-from-Appfuse.-tf4833863s2369.html#a13863882
Sent from the AppFuse - User
You modified the type in Oracle right? CLOB allows storage of up to 4MB so
I'm pretty sure a CLOB will work. Perhaps you could include your model
class and also the SQL dump of your table and I'll have a look.
--
View this message in context:
http://www.nabble.com/How-to-insert-a-large-charac
well you could set the property in your model object as String and set the
datatype in Oracle as CLOB. That will work.
--
View this message in context:
http://www.nabble.com/How-to-insert-a-large-character-object-into-Oracle-database-from-Appfuse.-tf4833863s2369.html#a13830060
Sent from the A
CLOB
--
View this message in context:
http://www.nabble.com/How-to-insert-a-large-character-object-into-Oracle-database-from-Appfuse.-tf4833863s2369.html#a13829317
Sent from the AppFuse - User mailing list archive at Nabble.com.
--
You'll probably have to add more information if you want someone to help you.
e.g what framework are you using, what were you doing when you got this
error etc..
--
View this message in context:
http://www.nabble.com/No-value-specified-tf4633660s2369.html#a13269614
Sent from the AppFuse - Use
Never had a need to use full-source yet, but here's a link for the M5 release
http://appfuse.org/display/APF/Release+Notes+2.0+M5
"..
mvn appfuse:full-source
This goal will convert your project to use all of AppFuse's source and
remove all dependencies on AppFuse. Known issues with "full-sourc
yep
John Kwon wrote:
>
> So would the first name, last name be as follows?
>
> whateveryoulike.html?lastName=${foo.lastName}&firstName=${
foo.firstName} {foo.lastName}
>
> with only the last name displayed, but first and last name passed in the
> url?
>
> On 10/10/07, Matt Raible <[EMAIL P
true.
but the implementation for a bubblesort is relatively simple and the c++ and
java code match each other very very closely (i.e 2 simple for loops and a
swap). Let me know if you want the codes that i used. Naturally we only
started the timing when after the arrays were initialized.
I was a
ran BEA 1.6, time taken=31 s
ran Sun 1.6, time taken=5 s
both with -server flags.
:)
--
View this message in context:
http://www.nabble.com/Sun-java-JDK-1.6-performance-tf4611665s2369.html#a13186279
Sent from the AppFuse - User mailing list archive at Nabble.com.
Hi all,
Just thought that I would post about a performance benchmark that I made
with some colleagues at work. We wanted to test whether java could beat c++
in performance, so we implemented a bubblesort in both java and c++.
When I used the BEA 1.5 SDK, the c++ code was approximately twice as f
should fix this.
>
> Matt
>
> On 10/8/07, Allan Ang <[EMAIL PROTECTED]> wrote:
>>
>> Im presently giving Appfuse 2 (Struts 2 - modular) a go
>>
>> I want to change some properties in the skins. I copied out the relevant
>> css
>> files from
Im presently giving Appfuse 2 (Struts 2 - modular) a go
I want to change some properties in the skins. I copied out the relevant css
files from the appfuse styles folder into my project,edited the css file and
then run mvn:jetty:run-war but the changes are not reflected when viewed
using the brow
1. have a public static in BaseAction that holds your variable
2. create a servlet filter that checks this value. servlet filter maps to
all urls
3. if variable is set, response.sendRedirect to a url that is mapped to to
the BaseAction method that you want to call
perhaps there is a better way
There's something you could do to make Jetty wait at the breakpoints longer.
(it apparently won't wait forever) Just set the maxIdleTime value to
something large.
org.mortbay.jetty
maven-jetty-plugin
org.apache.geronimo.specs
geronimo-j2ee_1.4_spec
1.1
aven to use a jar, you first install it and
> then put a dependency for the jar in your pom using the appropriate
> group id, artifact id, and version.
>
> On 9/11/07, Allan Ang <[EMAIL PROTECTED]> wrote:
>>
>> Hi there,
>>
>> I followed the quick start g
Hi there,
I followed the quick start guide but am still unable to get the JARs in my
local Maven repo to be referenced in my Eclipse project. Do I have to do
this manually
(i.e Project->properties->variables->then select individual jars from within
my Maven variable (M2_REPO, that I defined earl
Have any of you guys ever had a problem where a menu overlaps another just
below it (this happens when you start increasing top level parent menus till
it reaches a point where there are one just above another).
the following should help for firefox users
1. go to styles/{whatever style you use}
34 matches
Mail list logo