Soumya Saha

Ranch Hand
+ Follow
since Apr 14, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Soumya Saha

Hi,

I got it to work with rowKeyVar. I can pass that value in my JavaScript Function and it returns me the correct row value.

Thanks everybody and long live RichFaces

Thanks
Soumya
16 years ago
JSF
Hi,

I have been really struggling to get the row index from the richFaces Data Table in my java script function.

I tried the this object, rowKeyVar attribute, dataTable.rowIndex but nothing seems to work. I binded the data table to an htmldatatable, but still returns 1 only.

I am attaching the code for the binding attribute:

<h ataTable binding="#{myBean.dataTable}">
<h:column>
<f:facet name="header">
<h utputText value="Row #" />
</f:facet>
<h utputText value="#{myBean.dataTable.rowIndex + 1}" />
</h:column>

...
</h ataTable>

Any help or any direction will be highly appreciated.

Thanks
16 years ago
Hi,

I have been really struggling to get the row index from the richFaces Data Table in my java script function.

I tried the this object, rowKeyVar attribute, dataTable.rowIndex but nothing seems to work. I binded the data table to an htmldatatable, but still returns 1 only.

I am attaching the code for the binding attribute:

<h:dataTable binding="#{myBean.dataTable}">
<h:column>
<f:facet name="header">
<h:outputText value="Row #" />
</f:facet>
<h:outputText value="#{myBean.dataTable.rowIndex + 1}" />
</h:column>

...
</h:dataTable>

Any help or any direction will be highly appreciated.

Thanks
16 years ago
JSF
Dear All,

I am at my wits end trying to configure a Custom Login Module(extending UserNamePasswordLOginModule) in JBOSS AS 4.2.2.

I have made an entry in Login-config.xml, jboss-web.xml, web.xml, auth.conf. Placed the Custom Login Module in an jar in the $JBOSS_HOME/server/default/lib directory. Added the entry in JBOSS_CLASSPATH.(I also feel this might be the problem, as the class is not getting loaded at startup)

Whenever I try to invoke it , I have no luck at all and I get this error and not sure how to debug it.

[CoyoteAdapter] An exception or error occurred in the container during the request processing
java.lang.ArrayIndexOutOfBoundsException: 20
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:603)
at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:537)
at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:491)
at org.jboss.web.tomcat.security.GenericHeaderAuthenticator.authenticate(GenericHeaderAuthenticator.java:88)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:381)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)


Is the location of the class wrong ?

Any Help will be highly appreciated.

Thanks
Soumya
[ August 22, 2008: Message edited by: Soumya Saha ]
16 years ago
Hi,

I am trying to follow the link's ::

http://wiki.jboss.org/wiki/GenericHeaderBasedAuthentication

https://jira.jboss.org/jira/browse/JBAS-4804;jsessionid=9FD37547BB2A3C376339D8DC070057AB?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel

to setup my SSO with Siteminder/Apache Web-Server/JBoss 4.2.2.GA, but it does not seem to work.

As advised, I have added the entry in context.xml. Tried putting it in both places under WEB-INF subdirectory of my app as well as in jboss-web deployer directory. But, it does not seem to work.

I am able to get the SiteMinder User from the Header as SM_USER, but I cannot get the Headers which I defined in Context.xml.

Is their some configuration area where I am going wrong ? Can anybody please advise, how to proceed ?

Any help will be highly appreciated.

Thanks

Soumya
[ August 18, 2008: Message edited by: Soumya Saha ]
16 years ago
Hi Peter,

Thanks for your reply. I had already figured that out and it works well also.

Thanks once again and JBOSS is great !

Soumya
16 years ago
Hi,

Does JBOSS support .ear file only. My project is in Eclipse and JBOSS-SEAM. Whenever I deploy on the server through the IDE it deploys the app in an EXPLODED format.
Does JBOSS support only .ear file like other Application Servers ?
Is there a way to deploy .ear file only ?

Any response is highlu appreciated.

Thanks
Soumya
16 years ago
Hi Jeanne,

I am using RAD 7.0 with Subclipse 1.05 and SVN 1.4. Now the Plugin works but, I am not able to connect to the Repository. It is giving me error: 'RA Request Failed'.
Any Ideas?

Soumya
17 years ago
Dear All,

I am trying to integrate subversion with RAD. It works fine with eclipse. But the RAD installation manager is becoming unresponsive if I try to integrate subversion.
Is there any way out of it

Thanks to All
17 years ago
Hi,

I am using POP3 protocol to access a Mail Client. It is able to retreive new messages and successfully delete them. The Problem arises when I try to read 'already read' mails. It gives me message count as 0. It is able to read new messages but already read messages is a problem. Any idea how to go about it?

Soumya
17 years ago
Dear All,

Whenever I run a jsp in Struts2 FrameWork it creates a table with class ="wwFormTable". This is there in examples too.

Is there a way to eliminate this table creation as it is effecting my jsp.

Thanks & Regards in advance

Soumya
17 years ago
Hi Bear,

I am sorry for the mistake.I have the servlet support.But is there any way to do it in HTML?
Hi Bear,

Thanks for the reply.I put the wrong code in there.
I have put content type as:

<meta http-equiv=Content-Type content="application/vnd.ms-excel">

But it is still not working out.Any Help?

Thanks
Hi Guys,

I am trying to create a html page which will open with a Save As option.
I am using Meta-Tags.It is not working and just loading the page.

Is there any work around for this problem.Any simple solution will be fine.

Code:
<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta http-equiv=Content-Disposition content="attachment; filename=reporteOportunidadesXLS.xls">
<meta http-equiv="refresh" content="2">
</head>
<body>
<table><tr><td>A322</td><td>B3223</td></tr><tr><td>C</td><td>D1234</td></tr></table>
</body>
</html>

Thanks
Hi Bear,
Thanks For the reply.I am already doing it from database only.But the prob is that I have next/prev buttons and the back/forth logic is based on the primary key.So the sort order selection is mixing it all.that's why I want to go for html.

thanks