[jboss-user] [JBoss Seam] - Re: Need Form to Work Without

2008-02-05 Thread [EMAIL PROTECTED]
Let's see the xhtml.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126802#4126802

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126802
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Need Form to Work Without

2008-02-05 Thread neilac333
Here you go:


  | ui:define name=mainFormContent
  |   h1spanSearch/span/h1
  | 
  |   label for=nameBox jsfc=h:outputLabel value=Name/
  |   input type=text jsfc=h:inputText id=nameBox 
value=#{searchAction.name}/
  |   br/
  |   label for=numberBox jsfc=h:outputLabel value=Number/
  |   input type=text jsfc=h:inputText value=#{searchAction.number} 
id=numberBox/
  |   br/
  |   label for=keyWordsBox jsfc=h:outputLabel value=Key Words/
  |   input type=text jsfc=h:inputText 
value=#{searchAction.keyWords} id=keyWordsBox/
  |   br/
  |   label for=technicalCategoryBox jsfc=h:outputLabel 
value=Technical Category/
  |   input type=text jsfc=h:inputText 
value=#{searchAction.technicalCategory} id=technicalCategoryBox/
  |   br/
  |   label for=descriptionBox jsfc=h:outputLabel value=Description/
  |   input type=text jsfc=h:inputText 
value=#{searchAction.description} id=descriptionBox/
  |   br/
  |   label for=resultsPerPage jsfc=h:outputLabel value=Results Per 
Page:/
  |   select jsfc=h:selectOneMenu id=resultsPerPage 
value=#{searchAction.resultsPerPage}
  |  option jsfc=f:selectItem id=five itemLabel=5 itemValue=5/
  |  option jsfc=f:selectItem id=ten itemLabel=10 
itemValue=10/
  |  option jsfc=f:selectItem id=fifteen itemLabel=15 
itemValue=15/
  |   /select
  |   br/
  |   input type=button jsfc=h:commandButton styleClass=submitButton 
id=submitButton
  |  action=#{searchAction.doAdvancedSearch} value=Search/
  |   br/
  |   a4j:region id=searchResultsRegion
  |  a4j:status for=searchResultsRegion
  | f:facet name=start
  |h:graphicImage value=/images/spinner.gif id=spinner 
styleClass=spinner/
  | /f:facet
  |  /a4j:status
  |  rich:datascroller for=searchResults
  | rendered=#{not empty 
searchAction.searchResults}
  | scrollerListener=#{searchAction.doScroll}
  | fastControls=hide
  |  /rich:datascroller
  |  rich:spacer id=scrollerTableSpacer height=15/
  |  table jsfc=rich:dataTable id=searchResults
  | rows=#{searchAction.resultsPerPage}
  | value=#{searchAction.searchResultsDataModel}
  | var=result
  | rendered=#{not empty searchAction.searchResults}
  | onRowMouseOver=this.style.backgroundColor='#F1F1F1'
  | 
onRowMouseOut=this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'
  | f:facet name=header
  |rich:columnGroup
  |   h:column
  |  th jsfc=h:outputText id=numberColumnHeader 
value=Number/
  |   /h:column
  |   h:column
  |  th jsfc=h:outputText id=nameColumnHeader 
value=Name/
  |   /h:column
  |   h:column
  |  th jsfc=h:outputText id=descriptionColumnHeader 
value=Description/
  |   /h:column
  |/rich:columnGroup
  | /f:facet
  | h:columnh:outputLink 
value=#{result.number}#{result.number}/h:outputLink/h:column
  | h:column#{result.name}/h:column
  | h:column#{result.description}/h:column
  |  /table
  |   /a4j:region
  |   h:message id=noSearchResultsMessage for=searchResults 
styleClass=noSearchResultsMessage/
  |/ui:define
  | 

That is the portion of the Facelet that contains RichFaces components.

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126832#4126832

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126832
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Need Form to Work Without

2008-02-05 Thread [EMAIL PROTECTED]
Ok, so my suggestion is:

* Remove all the a4j/rich stuff
* Remove the table

and so on, until the problem goes away (maybe see if its still there with a 
simple one field form first?) - then you can narrow down whether its a wls bug, 
a bug in your code etc.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126834#4126834

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126834
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Need Form to Work Without

2008-02-04 Thread neilac333
Naturally, the log got cut off, but these lines caught my eye:


  | 04 Feb 2008 14:37:00,377: DEBUG org.ajax4jsf.application.AjaxViewHandler - 
Create instance of Ajax V
  | iewHandler
  | 04 Feb 2008 14:37:00,457: DEBUG org.ajax4jsf.application.AjaxStateManager - 
Can't restore view state
  |  : no saved view states in session
  | 04 Feb 2008 14:37:00,457: DEBUG org.ajax4jsf.application.AjaxViewHandler - 
Detect session expiration
  |  in AJAX request - view don't restored for a viewId /myappSearch.html
  | 04 Feb 2008 14:37:00,457: DEBUG org.ajax4jsf.application.AjaxViewHandler - 
Detect session expiration
  |  in AJAX request - view don't restored for a viewId /myappSearch.html
  | 

Also, please let me know if there is a particular hierarchy you would like to 
see in DEBUG level (like say org.jboss.seam) while keeping others out just to 
keep things less noisy.

Thanks.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126341#4126341

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126341
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Need Form to Work Without

2008-02-04 Thread [EMAIL PROTECTED]
This is a hard one to debug on the forum :(

Sorry to not be able to help - I suggest you try the age old technique of 
ripping bits out til it works and seeing what causes it.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126393#4126393

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126393
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Need Form to Work Without

2008-02-04 Thread neilac333
Well, I am not sure what to rip out.  After all, this is the first and only 
page in the application.  Do you think this might be better on the RichFaces 
forum?

Thanks.

Neil

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126411#4126411

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126411
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Need Form to Work Without

2008-02-04 Thread neilac333
It turns out this whole issue might be a WebLogic thing actually:

http://dev2dev.bea.com/blog/neilsmithline/archive/2006/03/jsessionid_valu_1.html

Hopefully, you JBoss guys won't get in trouble for looking at a BEA link!

Check this out too:


  | Parameter Name: CookieName
  | Default Value: JSESSIONID
  | 
  | Defines the session cookie name. Defaults to JSESSIONID if unset. You may 
set this to a more specific name for your application. When using 
ProxyByExtension, you may use either the ;jsessionid identifier or the 
?jsessionid identifier to pass rewritten URLs.
  | 

As you might recall, the page I mentioned is the first I have developed, so 
there is no login page yet.  Since there is no authentication page, WebLogic 
must append the jsessionid to help manage things from a security perspective.  
When it comes time for me to develop the authentication feature, I imagine I 
will have to get Seam security to work with WebLogic so that things work as 
they should.

I would appreciate if anyone has insight on configuring Seam security within 
WebLogic.

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126433#4126433

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126433
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Need Form to Work Without

2008-02-04 Thread baz
If your page is not to long, please post the code of your page.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126439#4126439

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126439
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Need Form to Work Without

2008-02-04 Thread neilac333
Sorry, but I am not sure I understand your request.  Do you mean my Facelet?  
Or do you mean the debug output page?  Or something else?  Once I know exactly 
what you want, I will be happy to provide it.

Thanks.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126450#4126450

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126450
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Need Form to Work Without

2008-02-03 Thread [EMAIL PROTECTED]
No, you're going to have to do so

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4125869#4125869

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125869
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Need Form to Work Without

2008-02-03 Thread [EMAIL PROTECTED]
Post the log from this period at debug level.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4125870#4125870

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125870
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Need Form to Work Without

2008-02-02 Thread [EMAIL PROTECTED]
Any error messages from JSF in h:messages?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4125757#4125757

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125757
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Need Form to Work Without

2008-02-02 Thread neilac333
No error messages at all.  I just fill out the form, press submit, wait a 
little, and then the form comes back with the fields cleared.  The only 
difference from when I first try the page is, as I mentioned, the appending of 
the jsessionid to the URL.  

I wasn't sure if perhaps I had misused the pages.xml entry.

Any idea what's going on?

Thanks.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4125777#4125777

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125777
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Need Form to Work Without Double Submit

2008-02-01 Thread neilac333
Sorry...the subject was meant to be Need Form to Work Without Double Submit.

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4125730#4125730

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125730
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user