se doesn't do by default. If interested, see how here:
http://www.nabble.com/how-to-set-in-web.xml-value-from-maven2-properties--to11026773s2369.html#a18571766
Pedro Burglin
pedro_burglin wrote:
>
> I still couldn't find the optimal solution to this problem but given my
> t
newUrl.replaceFirst(":8080", ":8443");
newUrl = newUrl + "/j_security_check";
request.setAttribute("newUrl",newUrl);
Then I will add similar code to logout.jsp to switch the user back to HTTP.
Pedro Burglin
pedro_burglin wrote:
>
> Yep, using the right package defi
mework.security.* instead of
> org.acegisecurity.*.
>
> HTH,
>
> Matt
>
> On Wed, Jul 23, 2008 at 12:33 PM, pedro_burglin <[EMAIL PROTECTED]>
> wrote:
>
>>
>> Hi All,
>>
>> I am trying to setup http/https switch for certain pages of AppFuse 2
&
Hi,
You may be able to use NetBeans to help you test WSDLs and create web
service clients. Take a look here for some examples in section Tutorials and
Examples here: http://www.netbeans.org/kb/trails/java-ee.html
Hope that helps,
Pedro Burglin
Mauriff wrote:
>
> Yes, I made PersonManager WebS
Hi All,
I am trying to setup http/https switch for certain pages of AppFuse 2 JSF.
I am running Tomcat 6 and I set up the SSL part of it (created the
certificate and uncommented the SSL connector). I am using default ports
(8080 / 8443). I am now able to access the site both on ports 8080 (http)
All,
I am trying to use t:inputCalendar with AppFuse JSF but there is a weird
behavior of this component in IE 6 (not sure about other IE versions) that I
could not find how to correct yet. I also did not find other ppl discussing
about it in this or a JSF/MyFaces forum.
If you use IE to go to t
true
Thanks Matt,
Pedro Burglin
mraible wrote:
>
> You might try running "mvn package -X" and see if the files are being
> processed.
>
> Matt
>
> On Mon, Jul 21, 2008 at 9:42 AM, pedro_burglin <[EMAIL PROTECTED]>
> wrot
Hi,
I also need help figuring out how to use properties defined in pom.xml in
files like web.xml and faces-config.xml.
I found this thread but just looking at the contents in the URL sent by Matt
I could not figure out the steps I need to implement to make it work. Can
someone post the steps req
mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2803)
> at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)
> at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)
> at com.mysql.jdbc.Connection.execSQL(Connection.java:3118)
> at com.mysql.jdbc.Connection.set
Hi Oscar,
That was a helpful idea, thanks! But I still think AppFuse should be able to
handle this scenario with just standard configurations in menu-config.xml. I
think ROLE_ANONYMOUS should work the same way ROLE_USER and ROLE_ADMIN do in
menu-config.xml to prevent hacking in menu.jsp but...
L
Hi All,
I am using AppFuse 2.0.2, JSF archetype, full source.
I am having trouble hiding a menu item from ROLE_ADMIN users.
I have this entry in my menu-config.xml:
Which makes this menu item to appear to all roles, even anonymous users. I
need to hide it only from users with role ROLE_ADMIN
Hi Anshu,
Can you run "mvn hibernate3:hbm2dll" and tell us if it succeeds or throws an
exception?
Also, can you post the full stacktrace of the exception you are getting? I
saw on your first post just part of it in the screenshot you included but I
am wondering if there isnt any other root excep
Okay, I finally made it work. I will explain how I did it here if other
people find the same problem I was facing.
First of all thanks to Matt and Cens for your replies.
I cannot use @PostConstruct since I need the web app to be compatible with
servlet engines like Tomcat and Jetty.
Cens, your
the default.jsp even after following these steps...
I am still looking for a workaround to this issue, any help greatly
appreciated.
Pedro Burglin
pedro_burglin wrote:
>
> Hi All,
>
> Does anyone know how to call a JSF action from AppFuse's non-JSF
> default.jsp?
>
>
Action before presenting the
Checkout screen, regardless of where the user is coming from. I am quite new
to JSF, do you know if and how such setup could be implemented?
Thanks again,
Pedro Burglin
pedro_burglin wrote:
>
> Hi All,
>
> Does anyone know how to call a JSF action from A
Hi All,
Does anyone know how to call a JSF action from AppFuse's non-JSF
default.jsp?
I implemented a shopping cart component UI in default.jsp so it would be
presented in most screens of the application. In this UI component I added a
link (and later replaced with a form and a button with simil
To generate all the JSF CRUD artifacts for a new entity with AppFuse Maven
plugin you need to:
1. create a POJO data entity in your project's model folder (e.g.
$PROJECT_ROOT/src/main/java/com/myproject/model)
2. add annotations to your entity. For example:
package com.myproject.model;
@Entity
Hi Ali,
If you just want to convert the dates in the Data Access Object layer I
think you just need to translate from Jalali date to Gregorian in your
entities' DAO implementation (e.g. CustomerDaoHibernate.java). You may need
to implement the methods save to translate from Jalali to Gregorian, a
Hi Oscar,
On a recent project I faced the same problem but due to some project
limitations I was using AppFuse 1.9.4 with SpringMVC.
To allow parallel development of both generic code (which I called CORE) and
project-specific code (which I called CUSTOM) I modified AppFuse's build
logic and dir
Hi,
I am not completely sure I understand your problem. Can you post a
screenshot of the screen with the issue? And also can you tell what
archetype are you using? JSF, Struts, SpringMVC etc?
Pedro Burglin
Sean_Parsons wrote:
>
> I've been integrating the tool to work with our tools lately...
Hi Stephanus,
I think in your scenario what you need to do is add a button in your item
detail screen passing the item id to an action method in your ItemAction
class that will call CartManager's API to add the selected item.
Sure you may need to declare your new action in struts.xml something l
you may want to try another JDK implementation like BEA's jRockit... it has
tools you can use in development environment for free to look for memory
leaks and if you find that there is no leak in your app its improved garbage
collector may help too.
with Sun's JDK, tomcat etc I always get memory-
Not sure if it is the same root cause of your problem but I just got exactly
the same error and I found that a compilation error in one of my classes
left my ROLE table without any value when I ran mvn install... is your ROLE
table empty or missing the entry for ROLE_USER?
Martin Homik wrote:
>
23 matches
Mail list logo