Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link

Ina Bumstein

Greenhorn
+ Follow
since Nov 10, 2007
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 Ina Bumstein

Hello,
I am using JXL APY to read xls files and write the content to DB.
I need to search for cell according string, but I found only exact
search function sheet.findCell(String). The problem is that it could
be spaces before or after the value of the cell in the excell file and
I couldn't find cell.
Any solutions?
Ina
13 years ago
I solved my problem using hx:dataIterator IBM component. It's good solution if you use IBM.
I agree with you, Darryl, that maybe it will be no problem using tomahawk, but it was last modification in my application and I wanted to do i with minimum changes. Maybe in the second one I'll use tomahawk.
Ina
13 years ago
JSF
Thanks Darryl,
But I'm using RAD(rational application developer) an IBM Websphere. I just don't won't to use other libraries, as I read in IBM forums it's not good practices to use tomahawk. Is it the only way?
Ina
13 years ago
JSF
Hello,
In my jsf page I need following functionality:
Atype: comandlink1, comandlink2, comandlink3
Btype: comandlink1, comandlink2
Ctype: comandlink1, comandlink2, comandlink3

I have an array which contains elements of such structure Type, ArrayOfElements. Now I'm using h:datatable and I could get result like:
Atype: comandlink1
comandlink2
comandlink3
Btype: comandlink1
comandlink2
But this is not really the one i wanted. You need lots of scrolling if there many elements. I tried search internet, but no solution found. Maybe you could suggest me something?
Ina
13 years ago
JSF
After hours of searching I achived that my portlet is catching the event, but the ridirect is not working correctly. I use request.getPortletSession().setAttribute("com.ibm.faces.portlet.page.view", "/FGITB/FGITBSavDetailView.jsp"); as sugested in IBM page, but no redirect. I also tried the PortletRequestDispatcher, but the my page is jsf, and I get lots of errors, like nullpointer exeption.
Any suggestions?
13 years ago
Thanks for reply Jonas, but I'm already using ibm portlet bridge and I only need to add the mentioned functionality to my portlet. I'm developing with IBM Rational application developer 7 for IBM Websphera 6.
Ina
13 years ago

No one knows the answer???
13 years ago
Hello,
I'm developing the jsf portlet for IBM Webspera, and for several day I can't solve the problem with portlet communication.
The first portlet wich is developed by the project partners sends the action with parameter. If a receive that event according parameter passed I should fill it with information from database.
Maybe you could give me any suggestions?

I should recieve
portlet ACTION request with parameters
action="DISPLAY_ITEM"
documentId=<item ID>
keywords=<search keywords>

Thank you in advance,
Ina
13 years ago
Hello Bob,
As I mentioned in the beginning I tried to do exactly the same as you suggested, but using this method I couldn't get the rows selected. The param1 value is empty.
May be you know any other solution?
Thanks. Ina
14 years ago
JSF
Unfortunately I couldn't understand you Bob. This is my sample code.
What I should change here that rowSelect1 would be shown only if varsearchrez.c3=1? Just usage of the rendered tag for hx:inputRowSelect coses that the hx:inputRowSelect is not working properly.

<h:dataTable id="tableSRez" value="#{SearchRezult.searchrez}" var="varsearchrez" styleClass="dataTable" headerClass="headerClass" footerClass="footerClass" rowClasses="rowClass1, rowClass2" columnClasses="columnClass1" border="0" cellpadding="0"cellspacing="2" rows="10" width="100%">
<h:column id="columnRowSelect">
<hx:inputRowSelect id="rowSelect1" styleClass="inputRowSelect"value="#{SearchRezult.selected}">
<f:param name="chsavid" id="param1" value="#{varsearchrez.savid}"></f:param>
</hx:inputRowSelect>
<f:facet name="header"></f:facet>
</h:column>
<h:column id="column0">
<f:facet name="header"><h:outputText value="Column1"></h:outputText>
</f:facet>
<h:outputText value="#{varsearchrez.c1}"></h:outputText>
</h:column>
<h:column id="column1">
<f:facet name="header"><h:outputText value="Column2"></h:outputText>
</f:facet>
<h:outputText value="#{varsearchrez.c2}"></h:outputText>
</h:column>
</h:dataTable>
14 years ago
JSF
Thanks for reply Tim.
I think that you misunderstand the question. I need to show all result, but those that InSelectedList=1 shouldn't have inputRowSelect column active or shown. For example:

inputRowSelect column 1 column2 InSelectedList
active word1 word2 0
not active word1 word2 1

Maybe you know how to do that?
Ina
14 years ago
JSF
Hello.
In my application I am trying to show the search result in dataTable. The difficulty is that the inputRowSelect should be disabled or hidden if InSelectedList column value equals 1. I tried to use render condition, but in this case I couldn't get the rows selected values.
Maybe, you could suggest me any solution?
Thanks in advance.
Ina Bumstein
14 years ago
JSF
Hello.
In my application I am trying to show the search result in dataTable. The difficulty is that the inputRowSelect should be disabled or hidden if InSelectedList column value equals 1. If I tried to use render condition, but in this case I couldn't get the rows selected values.
Maybe, you could suggest me any solution?
Thanks in advance.
Ina Bumstein
14 years ago
Thanks for the help. I tried the solo mode, but as I understand it is no possibility to use it in jsr 168 portlets. Unfortunately I didn't get any you private messages Ben.
The link from the portlet jsp to separate jsp I created using servlet forward. maybe it is the dirty way to do this function, but I didn't find any other one. I was thinking about just using servlet without forward, but it didn't interpret the UTF-8 encoding correctly.
Ina
14 years ago
Hello,
I need to have the link to the new print friendly jsp from my portlet. Maybe someone could suggest any solution? I am using Websphere Portal and jsr 168 portlets with jsf.
Thanks.
Ina
14 years ago