Oups sorry i replied too quickly i missed that you were working on a JSF portlet.
On a JSF portlet you don't need to extend GenericPortlet and render() won't be called.
You need to pass a JSF page as parameter in portlet.xml in getSupprimer() you should access the preferences like this:
| public String getSupprimer() {
| PortletPreferences prefs = request.getPreferences();
| String parameter = prefs.getValue("suppression_pref",init);
| if (parameter.equals("true))
| {
| return "ok";
| }
| else
| {
| return "pas ok";
| }
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978547#3978547
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978547
"trebiani" wrote : this seems to be an unresolved problem. i ran into the same problem with my application and could not find a "clean" (or perfect) solution for it.
well, i found a lot of postings: i searched for postings from agentblueuk ;-)
it is definitely not so easy to solve and should be addressed while designing the application. it's quite hard to change the application design afterwards.
i will try it with xDoclet and ANT Properties substitution and will post the results here.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978540#3978540
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978540
I had the same problem. I had originally installed JBoss 4.0.4GA using the "Run Installer" option, and chose to secure the admin console.
I removed JBoss, downloaded the zip and did a simple unzip to reinstall. (Did not set up any security) I was able to start the server and deploy EAR files by right-clicking the EAR file and choosing RunAs->Run On Server.
Although I have been able to start the server in debug mode, I have not been able to deploy using DebugAs->Debug On Server
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978539#3978539
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978539
"max.andersen(a)jboss.com" wrote : what does "not working anymore" mean ?
It means that no Server Navigator View is available and no JBoss IDE elements could be found in Window --> Preferences
Now i'm using JBoss IDE 2.0 Beta2 which is quite usable. Some Dialogs are "strange" (e.g. adding a new jboss server shows the same dialog twice) but it seems to work ok. maybe it's because i tried a lot of other plugins ....
btw: JBossIDE is a great tool - many thanx to all developers!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978534#3978534
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978534