seam

Deploying a mavenised seam project, noClassdefFound org.jboss.el.util.ReflectionUtil

Hi, While deploying a mavenized application consisting of a parent project, ejb jar project and a web project I have following stack trace in Jboss As ,5.1.0.GA. I checked that I have the dependency for jboss-el-1.0_02.CR4.jar and the library also contains the class org/jboss/el/util/ReflectionUtil. Any ideas ? If required, I will ...

Integrating Seam app with flash file uploader

Hello! I have a seam app and would like to use the MultiPowUploader (http://www.element-it.com/multiple-file-upload/flash-uploader.aspx). They give some processing script files (.asp, .aspx, .php), including a .jsp. One should define a flashvar parameter with the relative path of the script. When I try to upload, I get the following err...

seam-gen and flex

Hi........ I have integrated seam and flex with FlamingoDS I got html file from mxml file and I stored it in WebContent folder it's fine then I want to create link named as 'Plan' in menu.xhtml My aim is to get that html file when i clicked on this button I don't know what to do for that so, I have created some test.xhtml in that top ...

[Seam] s:fileUpload Not Working With PhaseEvent Exception

Hi all, I'm attempting to use a s:fileUpload to upload a file via a Seam app. I've followed the tutorial here but everytime I attempt to perform an upload I get the following exception thrown: SEVERE: JSF1054: (Phase ID: UPDATE_MODEL_VALUES 4, View ID: /presences.xhtml) Exception thrown during phase execution: javax.faces.event.PhaseE...

Java Concurrency - Web Application

Hi all, I think I found more bugs in my web application. Normally, I do not worry about concurrency issues, but when you get a ConcurrentModificationException, you begin to rethink your design. I am using JBoss Seam in conjuction with Hibernate and EHCache on Jetty. Right now, it is a single application server with multiple cores. I...

Hidden features of Seam framework

After seeing very usefull features of other languages or frameworks, i would like to know hidden features of Seam framework. I'm constantly developing web applications using Seam, and very often, the documentation it's not very clear or profounded so i think would be nice to hear from others problems they struggled with and solution dis...

Facebook check if user is logged in via connect

Hi there. How can we render stuff, like profile picture, only if user has connected on your site via facebook connect? Is there any tag that could resolve this? hi was trying the following XFBML tag, but it didn't worked out so far. <fb:container> thanks ...

rich:column sortBy doesn't sort properly

This was the original code generated by seam-gen (2.2.0) <h:column> <f:facet name="header"> <ui:include src="/layout/sort.xhtml"> <ui:param name="entityList" value="#{userList}"/> <ui:param name="propertyLabel" value="Name"/> <ui:param name="propertyPath" value="use...

rich:effect not working when a rich:panelMenu element is used elsewhere in the page

Hello, We have a Seam application that uses rich:effects in several places. They all worked fine until we decided to replace our old school menus with rich:panelMenu components. At that point all the effects stopped working. It's clear that the inclusion of the rich:panelMenu items is the culprit, as the effects come back to life if we...

Seam out param with application scope

Hi, A question regarding the scopes of Seam out params. Suppose I have @Out(required = false, scope = ScopeType.APPLICATION) private GlobalStuff globalStuff= new GlobalStuff(); in a stateful session bean,and another stateful session bean with @In(required = true) private GlobalStuff globalStuff; Do I get the guarantee that there...

primefaces schedule component not working properly with seam and richfaces

I am using the primefaces schedule p:schedule component to create a outlook like scchedule the jsf tag is as follows <p:schedule value="#{scheduleController.eventModel}" editable="true" widgetVar="myschedule"> I have created the bean ScheduleController as specified here but i am getting an exception when ever this component is render...

Implementing a tree view in seam / JSF using Richfaces or jsTree

I am using seam with EJB3 + JSF and I would like to add a tree view component to the UI. The tree view must allow sorting of the nodes (preferably drag and drop) and must allow selection of leaf nodes. The options I have looked at are: RichFaces Tree jsTree Is there a major benefit to one option over the other? If I use jsTree, wh...

seam and flex integration problem

Hi I am using FlamingoDS to integrate seam with flex I have an entity called ItCargoPosition and one more entity called IcStorageNameDetail In ItCargoPosition entity private IcStorageNameDetail icStorageNameDetailByStorageName; private IcStorageNameDetail icStorageNameDetailByStorageRow; private IcStorageNameDetail icStorageNameDetailBy...

AJAX call clears values in unrelated controls

I'm using RichFaces' a4j:support to toggle the visibility of some controls on the page. However, when the h:selectOneRadio button rdoRequestType is changed, it clears the values of the txtLibraryServerNumber and other controls in the a4j:outputPanel with ID "media". Why would one AJAX call on a page interfere with a different AJAX panel?...

How to clear the password / login id fields on load

When i try to create a new user, the following fields (loginId which is an inputText) and (password which is an inputSecret) come with pre-loaded values. How do we clear these fields when the page is loaded <s:decorate id="loginIdField" template="/layout/edit.xhtml"> <ui:define name="label">Desired Login Name</ui:define> ...

Is tight coupling between the model and the UI avoidable when using RichFaces?

I am using RichFaces with seam and EJB3. Specifically I am using the rich:tree component. The problem I am worried about is the tight coupling between the UI and my EJB3 session bean. In order to make the tree view work, I was forced to include the Richfaces jar files in my EJB3 project. Is this a bad thing? The method below is ca...

Should I start my Seam project from scratch or from a seam-gen generated project?

I have been using Seam-gen with a small sample database to help me learn the Seam framework. Now I am going to build a more complex application. Are there disadvantages or things that I should watch out for if I decide to start from a seam-gen project? ...

Seam unit testing with exception filter and expectedExceptions annotation

I've got a unit test for a Seam component that should fail if a value isn't provided in the context before the backing bean is created. I've been able to test this manually but would like to cover this scenario with a unit test. I'm basically getting a org.jboss.seam.InstantiationException caused by a java.lang.IllegalArgumentException ...

How to read the value of the radio button

I would like to read the selected role information on form submit (a role is selected for a user from a list of roles). How do I read the selected radio button value in my EntityHome interface (Note: I didn't want to use the h:selectOneRadio option here) <tr> <s:div ren...

CSS to define different formats for digits/non-digits

How do I use CSS to define a text input area where digits and non-digits are rendered with different formats (bold/italic/color)? i.e. 345 dollar -> 345 dollar Are there anything equivalent to Regular Expression Library fo regex for CSS? Below are edited I'm using the Seam framework, any alternatives to achieve this is also welco...