-
1. Re: Dropdown Lists in my seam application causing problem
avbentem May 23, 2007 10:17 AM (in response to svntdeepak)..seems it is a bug of seam..
If it is a bug, then it's more likely JavaServer Faces related. You'll need to show some code to explain what you're doing, and especially the difference between what works for you, and what doesn't. The samples from the Seam user guide work fine for me. -
2. Re: Dropdown Lists in my seam application causing problem
svntdeepak May 23, 2007 10:29 AM (in response to svntdeepak)<f:view>
<h:outputLabel value="#{msg.season}" />
<h:selectOneMenu value="#{season}" id="seasonList">
<si:selectItems value="#{seasonValues}" var="seasonList"
label="#{seasonList.name}" />
<si:convertEntity entityClass="com.dss.web.model.SeasonModel" />
</h:selectOneMenu>
<h:commandButton value="#{msg.pdf}" action="#{jasperReports.view}"/>
Now,in this case if ididnt write the code for the dropdownlist ,i was able to enter into View method or even if my dropdownlist values are hard coded.but if i am using that dropdownlist which takes values from database ,i was unable to go into the method itself. -
3. Re: Dropdown Lists in my seam application causing problem
damianharvey May 23, 2007 10:46 AM (in response to svntdeepak)try putting <h:message/> on your page and see if you are getting any validation/conversion problems.
-
4. Re: Dropdown Lists in my seam application causing problem
svntdeepak May 23, 2007 10:59 AM (in response to svntdeepak)I used <h:messages globalOnly="true"/> in my code upon ur advice but with no result ,getting the same problem
-
5. Re: Dropdown Lists in my seam application causing problem
monkeyden May 23, 2007 11:20 AM (in response to svntdeepak)no <h:form> tag?
-
6. Re: Dropdown Lists in my seam application causing problem
damianharvey May 24, 2007 4:21 AM (in response to svntdeepak)Show us all the code for your page. Take out the "globalOnly" so you see messages for your inputs as well.
Also you don't need to use si:selectItems and si:convertEntity anymore. They are now part of the core Seam tags. Eg. s:selectItems (this won't fix your problem though)