deepak reads

Greenhorn
+ Follow
since Nov 01, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by deepak reads

has anyone tried getting back resultSet back from the xml.we are able to convert the resultset to xml using xstream but getting errors when parsing the xml back to ResultSet
Does anyone have encountered the version conflicts arising out of xerces.jar and xercesImpl.jar?
We have xerces.jar 1.4.2 in the WebSphere/AppServer/lib location from where it is accessed by all the applications. And there is a requirement for one app to use XercesImpl 2.9.1 version for parsing the xml. We are using xercesImpl2.9.1 as we need schema aware parser.I did a search and there are no "free" schema aware parser available except xercesImpl.jar.
I am getting (Ljava/lang/String;)Lorg/w3c/dom/Document;) Incompatible object argument for function call error when both xerces.jar and xercesImpl.jar in classpath.
Do we have a workaround for this?
Thanks naveen. Actually i missed one thing. when i should give

This should give me true. When i try matches() it tries to find the exact match.If the pattern is a part of string, it returns false.

Finding no solutions in regex, i went for string.lastIndexOf. It works fine for my requirement.

Thx,
17 years ago
Hi,
I have a string "menulink.roleId.13.display.1" and also a string "menulink.roleId.1.". When i use the


matcher.find() returns true.But i want to matching should return false as i want the "menulink.roleId.1." string to be taken as one. Are there any options to get whai i want ?
17 years ago
I have to display 7 columns in one row.This columns contain the total values i.e. the summation for the values displayed in datatable.
I have used a < h : panelgrid> . can i format the columns like that of dataTable like setting width attribute. Is there any other component?
Right now it is not formatted in h panelgrid

Please advise !

My code
17 years ago
JSF
Thanks Adeel,do i have to something else also.Bcoz when i do
HtmlCommmandLink command = new HtmlCommandLink();

It does not show up in the screen where as if with the same code i do
UICommand command = new UIcommand();

It shows in the screen as button

Thanks,
Deepak
17 years ago
JSF
How to build the component commandLink.I am using the code
UICommand command = new UICommand();
But when displayed,it gives me a command button.But i want a commandLink to be displayed.
17 years ago
JSF
This is taken from Kitto D. Mann which i bought yesterday

This will appear in two rows..
17 years ago
JSF
Go to know that f:facet takes only one component.Since i had two components one outputText and other selectOneMenu, only one was displayed.The workaround is to use h: panelgroup.

Thanks,
17 years ago
JSF
I have a requirement where i have to show in the header of a dataTable
left has a Label and right side has a SelectOneMenu.
I tried to do this way:
With this code, selectOneMenu box is not displayed though when i take the selectOneMenu and put it outside the dataTable, it is displayed.
How can i display the selectOneMenu in the header of datatable ?

Any suggestion will be helpful !


Thanks,
Deepak Augusty
17 years ago
JSF
kewl It worked thanks Patricio.

Deepak Augusty
17 years ago
JSF
We have a application header which has to be shown in all the pages.It has a image in the left and on the right side we have the links "Home", "Logoff" and "Help".So on these links we are using <h:commandLink> as we need to redirect the user to his home page and clear error messages if any.

But the <h:commandLink> does not work without <h:form> and if we put <h:form>, then the height of the header increases considerably which is not acceptable.
We tried the <hx:commandLinkEx>(no <h:form> needed) which forwards to the jsp.But we need to call action for clearing the messages.

Do you have any suggestion for eliminating the space taken by <h:form> ?

Any suggestion is welcome !.


Thanks,
Deepak
17 years ago
JSF