Problems with 2 rows on TabSet
I want to divide tabs from tabSet in 2 or more rows. I can't put one tabSet like a child from another tab. I need all the tab in the same level divided on 2 or more rows.
Thanks for attention.
Unfortunately, the current functionality is a direct result of the tabset design: tabs at subordinate levels are always children of another tab. I'll pass your comments along to the component author.
// Gregory
Similar Messages
-
Weird Problem with Add Row Button in Master Detail Page
I have a page that was created with a Master Detail Wizard. When I click the Add Row button on our Production Environment, the row counter increments BUT no blank row shows on the screen.
In our Development Environment, when I click the Add Row button, a blank row appears as expected. Thinking there was some problem with the production app, I exported the Dev version and imported into Production. Still no blank row.
Thinking perhaps it had something to do with the data, I copied our production application data back into the development application tables. Still, the development app creates the blank row where the production version does not.
I even used the same browser window for both environments and still get the same results. This was working fine in production then just stopped one day.
The only clue I have is that the Add Row WILL work if the Master Record has no details or less than a page worth. It seems to happen when the detail records are more than one page worth. Also, when I click the Add Row button, it goes to the last page of the list (say three pages of 10, 10, 6) but no blank row shows up. Again, works fine in the development environment no matter how many pages.
Any ideas or suggestions why this is happening? Could there be some environment setting that is causing this to happen?I have a page that was created with a Master Detail Wizard. When I click the Add Row button on our Production Environment, the row counter increments BUT no blank row shows on the screen.
In our Development Environment, when I click the Add Row button, a blank row appears as expected. Thinking there was some problem with the production app, I exported the Dev version and imported into Production. Still no blank row.
Thinking perhaps it had something to do with the data, I copied our production application data back into the development application tables. Still, the development app creates the blank row where the production version does not.
I even used the same browser window for both environments and still get the same results. This was working fine in production then just stopped one day.
The only clue I have is that the Add Row WILL work if the Master Record has no details or less than a page worth. It seems to happen when the detail records are more than one page worth. Also, when I click the Add Row button, it goes to the last page of the list (say three pages of 10, 10, 6) but no blank row shows up. Again, works fine in the development environment no matter how many pages.
Any ideas or suggestions why this is happening? Could there be some environment setting that is causing this to happen? -
Hello.
I have all my music on my iMac and I am streaming it to my Mac Mini connected to my TV and stereo. What I have noticed is that the cover art on my music tracks don't show when I play any of the shared tracks or playlists, just the default picture with the two notes. Is there something I can do that will display it? I have tried to start iTunes and connect the shared library there before starting Front Row but that didn't help.
I also have a problem with listing my pictures in Front Row. I have an external drive connected to my Mini that has all my pictures and movies. I have no trouble playing the movies (I created an alias in the Movies catalog to the Movies catalog on the external drive), but if I create an alias in the Pictures catalog to the Pictures catalog on the external drive the catalog isn't shown in Front Row. Do I have to import all the pictures into iPhoto? I don't use iPhoto at all because I always use the program that came with my Nikon camera that shows all the picture information, such as focal length, what lens I used, white balance setting, etc. (or Adobe Photoshop Elements it I want to make some changes). Is there something I can do to fix this too?
Thanks,
Erik Aleksander MoeBernd, since your comp is still under warranty you may wish to give the online tech support a try -->HERE<--</a>. Click on the "Chat with a support agent" link.
If you don't want to go that route, then I suggest that you call them over the phone. Hopefully, you have the AppleCare Protection Plan if your 90 day warranty ran out.
Good Luck.
G5 20' iMac w/iSight/Remote, 2.5GB RAM, 250GB HD Mac OS X (10.4) OS 10.4.3 -
Hi, I'm new in apex and I tried to build master detail report on some view. Everything is cool but "delete checked" doesn't work.
"ORA-20001: Error in multi row delete operation: row= , ORA-06502: PL/SQL: numeric or value error: NULL index table key value,"
the problem is that I don't know what is wrong :), I have a special trigger "instead of delete on MY_VIEW", but in this error problem is not explained.
Anybody knows what can be wrong? It is probably a problem with trigger or multi row doesn't work with views? I couldn't find how MRD knows what kind of statement use to delete rows so I don't know if the statement that program used is correct. In debug it lokks that:
0.32: ...Do not run process "ApplyMRU", process point=AFTER_SUBMIT, condition type=REQUEST_IN_CONDITION, when button pressed=
0.32: ...Process "ApplyMRD": MULTI_ROW_DELETE (AFTER_SUBMIT) #OWNER#:MY_VIEW:ITEM1:ITEM2
0.33: Show ERROR page...
0.33: Performing rollback...
thanks for any help
//sorry for english mistakes
edit: it doesn't matter if I use in trigger delete from ... where item1=:OLD.item1 ; or if I use item1=:P4_item1 (which actually saves correct values)
Edited by: user5931224 on 2009-06-13 08:55I realised that this is not a problem with trigger, I changed trigger to "NULL;" and problem is the same. Maybe sb used master detail on view not only on tables and know what can be wrong in this situation?
-
Having problems with front row (and the opticle drive)
I bought my macbook three days ago, and I'm already having problems. First off, I transfered music from my user profile on my old iMac G5 to the macbook via data DVD. My music collection had some purchaces from the itunes store, so I had to go through the authorization thing, and I can now play them just fine in the iTunes library, but the problem is, if I try to use the front row program to play my purchaced music, I get the message saying that I have to authorize it first. What the ****? Does anybody else have this problem? Also, like many other macbook users, I'm having problems with the opticle drive, such as getting cds to be recognized and other things of that nature.
I noticed that this problem started after I tried to use a software to unlock my drive's region...
I believe this is the problem. The VLC Media Player will usually play DVDs from other regions without changing the settings on your optical drive. You may need to reset your optical drive's firmware back to the original setting, make sure you have the region set for the one you'd prefer to use the most and then use VLC to play the other DVDs.
-Doug
P.S. After two years in the Front Row forum, I'm not sure I've ever heard of anyone playing HDDVD_TS folders with Front Row. I'm not saying it won't work, but I'm not sure it's really supported either. I do have DVD Studio Pro myself, but I'll have friends or family staying with me for nearly the next month, so my evenings and weekends will be a bit full to try making one up for testing... -
Still problem with single-row subquery returns more than one row
//i did join each table but query runs forever and fail. looks Cartesian join so comes up the following SQL
the following query has a problem. would you please help me, please
Select pe.expense_id
,PE.CODE
,PE.PROJECT_ID
,PE.LDATE
,PE.INAMOUNT pe_amount
,(SELECT TRX.INV_AMOUNT FROM TRXEXPENSES TRX
WHERE PE.EXPENSE_ID=TRX.EXPENSE_ID) AS invamount
,(SELECT RE.AMOUNT FROM REEXPENSES RE WHERE
PE.EXPENSE_ID=RE.EXPENSE_ID) AS recogamount
,(SELECT MLE.M_AMOUNT FROM MATEXPENSES MLE
WHERE PE.EXPENSE_ID=MLE.EXPENSE_ID) AS matamount
from EXPENSES PE
where pe.expense_id=5600
group by expense_id,CODE,PROJECT_ID,LDATE,inamount
//get error message
ora-01427:single-row subquery returns more than one row
//check database
select expense_id,count(*) from TRXEXPENSES
where expense_id in(select expense_id from
expenses)
group by expense_id
having count(*)>1
//here is duplicate record a lot
EXPENSE_ID COUNT(*)
4176 2
5600 3
9572 2
9573 2
9574 2Yes, Expense_id has so many returning rows for trx.inv_amount from trxexpenses in subquery.
I want to show Expense_id with retruning rows using the above query.
ex)The result of the query is like that;
Expense_ Id project_id Ldate InvAmount RecogAmount MatAmount
5600 123 3/2/02 $100(InvAmount)
5600 432 3/12/02 $200(recogAmount)
5600 432 4/12/02 $250(MatAmount)
Thank you so much
Message was edited by:
user524064
Message was edited by:
user524064 -
Problems with multiple row operations in a dataTable
Dear fellows,
I have a strange problem, i want to do multiple row deletion in a dataTable. Can any one tell me a better way to do it. Because the way i am doing it, it is causing me strange problems. In some places it start working and in some it dont.
The way i am doing it, it has the following code:
<h:form>
<h:dataTable id="list" value="#{availableRoomsList}" var="RoomTypes" >
<h:column>
<f:facet name="header">
<h:outputText value="Select"/>
</f:facet>
<h:selectBooleanCheckbox value="#{roomSelection[RoomTypes]}" >
</h:selectBooleanCheckbox>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Available Date"/>
</f:facet>
<h:outputText value="#{RoomTypes.availableDate}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Available Rooms"/>
</f:facet>
<h:outputText value="#{RoomTypes.noOfRooms}"/>
</h:column>
</h:dataTable>
<h:commandButton value="delete Selected Rooms" action="#{RoomResvAction.deleteRooms}" />
</h:form>Now the back end code that i am using is as follows:
private List<HotelRoomTypes> availableRoomsList;
Map<HotelRoomTypes, Boolean> roomSelection = new HashMap<HotelRoomTypes, Boolean>();
public String deleteRoom(){
System.out.println("In the delete selection method aad.");
try{
for (HotelRoomTypes item: availableRoomsList) {
Boolean selected = roomSelection.get(item);
if (selected!=null && selected) {
roomSelection.put(item, false);
//deleteRoom(item);
}catch(Exception e){
//e.printStackTrace();
return null;
}The problem with the JSF code is when i click the command button it do not calls the associated action method with it. i dont know what is the problem with the code.
And as far as the backend code is concern it should work fine.
can anybody help me on this matter.thanks BalusC ,
I will see this example and let you know, thanx for the help.
but also please try and see my code and tell me what is wrong in it. because at some places it works and at some it simply dont . dont know why?
well once again thanx for the help -
Problem with Current row of a VO???
I have a Advanced table region in which i add many rows..and i get the data in to it from the lov page (lov mappings).
for each row i add... i have to set a item in main page table region doing some validations the data i get from lov region.
with examples..more detailed..
i have paymentAmount and AllocAmount...i get the payment Amount from LOV...after doing some validation on paymnetAmount i have to set the same value to the AllocAmount.
ARTransactionLine is the VO which contains the above mentioned attributes....and advanced table i mentioned above is based on this VO.
for this purpose im using the following code..
ARTransactionLineVOImpl
vo=(ARTransactionLineVOImpl)findViewObject("ARTransactionLineVO1");
ARTransactionLineVORowImpl TransDetailsVORow = (ARTransactionLineVORowImpl)vo.getCurrentRow();
payment_amount = TransDetailsVORow.getPaymentAmount();/*for this paymentAmount i made a lov mapping..so that currentrow contains the value of paymnetAmount from lov page*/
if(/* some validation*/){
TransDetailsVORow.setAllocAmount(payment_amount);
now when i do this ..for the first row it is working fine...but for the second row it is failing...getCurrentRow() is giving the values of previous row..not the current row...
first of all what does this getCurrentRow return???
help me ...n tell me where i was wrong...I m sure you have not gone through the tutorials completely.
ARTransactionLineVOImpl vo =(ARTransactionLineVOImpl)findViewObject("ARTransactionLineVO1");
ARTransactionLineVORowImpl TransDetailsVORow = (ARTransactionLineVORowImpl)vo.getCurrentRow();
with this row i am doing the below opeations..
Number x=TransDetailsVORow.getPaymentAmount();
/* some validations*/
TransDetailsVORow.setAllocAmount(x);
Change to
ARTransactionLineVOImpl vo =(ARTransactionLineVOImpl)findViewObject("ARTransactionLineVO1");
ARTransactionLineVORowImpl TransDetailsVORow = (ARTransactionLineVORowImpl)vo.first();
while (TransDetailsVORow!=null)
Number x=TransDetailsVORow.getPaymentAmount();
/* some validations*/
TransDetailsVORow.setAllocAmount(x);
TransDetailsVORow = (ARTransactionLineVORowImpl)vo.next();
Tapash -
Master/detail and problem with selected row when errors on detail row
I'm using JDeveloper 10.1.3.3
I have a very simple master/detail screen (JSF JSP) where master is departments and detail is employees in the selected department. Some of the attributes in employees are required.
To department A
I take away the value of one of the required attributes of one of the detail employee rows.
Select one of the other departments ie department B
Get Error message Value required.
So far so good, but the selected department is B and the detail rows shown is for department A.
I expected that department A to still be selected or that department B with its row to be shown.
Edited by: user628847 on 26.feb.2009 04:55Hi,
if (row != null)
Row masterRow = row;
vo.setCurrentRow(masterRow);
// not needed : getMesReponsesPourTiersVO1().executeQuery();
You shouldnot execute the child VO after setting current row in master VO.
When the current row is set in master VO, then the child rows will get refreshed automatically.
Cheers,
Prasanna -
New iMac install problem with Front Row
Hi I just got my imac yesterday, the desktop intel core duo with mac os x tiger. It comes with front row but when I clicked on it to open, it said I needed to install, so I followed the instructions to the letter, and when it starts to install front row, it says: "there were errors installing the software. Please try installing again." Which I did repeatedly, plus restarting. No go. Can anyone give me a tip on what I should try next? Thanks. you can email me [email protected]
Normally to activate Front Row you press the Menu button on the Apple Remote that came with your Mac or you can use the keyboard shortcut of Command(Apple) + Escape.
-
PROBLEM WITH NEW ROW --- PLEASE HELP
Hello,
I've had it with the framework. It's been 20 hours and counting that I am trying to insert/validate a new record.
Things just don't work as advertised.
Here's the situation:
I have an entity object with various validation rules in the validate() method.
Then I have a simple JSP page to insert new records.
At submit of button, I follow the framework's default
create new row and fill it up, with the difference
that i need to validate the row as soon as I fill it up
with data from the http request:
<jbo:OnEvent name="Create">
<jbo:Row id="newrow" datasource="ds" action="CreateInRange" >
<% try { %>
<jbo:SetAttribute dataitem="*" />
<%
newrow.validate(); //******* NOTICE HERE THAT I VALIDATE
} catch (JboException ex) {
newrow.remove();
throw ex;
} %>
</jbo:Row>
</jbo:OnEvent>
Unexpected behavior 1: If the validation fails,
newrow DOES NOT GET REMOVED!!!! I know this
since when I view data thru a data table component,
the row is there WITH THE ERROR INFORMATION set!!.
If I do a commit transaction, then the erroneous information ENDS UP IN THE DATABASE!!!!!
Unexpected behavior 2: If I do a rollback, every
call to subsequent pages results in a jsp error:
java.lang.ClassCastException: oracle.jbo.html.jsp.datatags.OnEventTag
PLEASE HELP.
Chris LambrouI have (hopefully) found a solution to my part of this problem. I was getting the ClassCastExceptions on any page with a <jbo:row> tag after doing a failed DML action. I have tested this with the delete event. (btw, I am using jdev9.0.3.3 w/ BC4J/JSP) Before what I was doing was this:
<% try { %>
<jbo:Row id="delrow" datasource="ds" rowkeyparam="jboRowKey" action="Delete" />
<% } catch (JboException jboEx) { %>
do something
<% } catch (Exception ex) { %>
uh-oh, this is bad
<% } %>
If I removed the try/catch block everything worked fine. Unfortunatlely, I need to try/catch block here. To work around the problem I changed the code to this:
<% Row rowDelete = ds.getRowFromKey(params.getParameter("jboRowKey")); %>
<% try { %>
<%
rowDelete.remove();
%>
<% } catch (JboException jboEx) { %>
do something
<% } catch (Exception ex) { %>
uh-oh, this is bad
<% } %>
The second bit of code does the same thing (but it doesn't use a bean like I think <jbo:Row> does) and it doesn't cause the ClassCastError on subsequent errors.
I really hope this helps someone else because it took me forever to get a workaround!
~Rob Lundeen -
Problems with Front Row, listening to Music and view Photos
My new imac is experiencing problems while in frontrow. If I am listening to music through itunes and then go to view photos at the same time the computer freezes for minutes on end before coming up with an error message about not being able to access the photos. When I finally manage to get out of front row, iphoto is opened up on my desktop. Is anyone else having problems like this?
Yeah, I think, unfortunately thats the best solution to this. Disappointing though, this is the 2nd imac that I've had major issues with straight out of the box.
-
Problem with front row, please help!
I got a year old MBP 15" which I updated to leopard, and it works generally fine, except for the fact that when using front row and leaving it playing music for about 5 minutes idle, it freezes, goes to blank screen, but still plays the playlist it was set on, but when I use the remote control, or press keys, it keeps frozen, the only way to quit is to force power off.
Please help me, as I really like Front Row and my MBP is my hub for playing music in reunions.
Thanks in advanceI have (hopefully) found a solution to my part of this problem. I was getting the ClassCastExceptions on any page with a <jbo:row> tag after doing a failed DML action. I have tested this with the delete event. (btw, I am using jdev9.0.3.3 w/ BC4J/JSP) Before what I was doing was this:
<% try { %>
<jbo:Row id="delrow" datasource="ds" rowkeyparam="jboRowKey" action="Delete" />
<% } catch (JboException jboEx) { %>
do something
<% } catch (Exception ex) { %>
uh-oh, this is bad
<% } %>
If I removed the try/catch block everything worked fine. Unfortunatlely, I need to try/catch block here. To work around the problem I changed the code to this:
<% Row rowDelete = ds.getRowFromKey(params.getParameter("jboRowKey")); %>
<% try { %>
<%
rowDelete.remove();
%>
<% } catch (JboException jboEx) { %>
do something
<% } catch (Exception ex) { %>
uh-oh, this is bad
<% } %>
The second bit of code does the same thing (but it doesn't use a bean like I think <jbo:Row> does) and it doesn't cause the ClassCastError on subsequent errors.
I really hope this helps someone else because it took me forever to get a workaround!
~Rob Lundeen -
Word VBA Macro problem with adding rows to table for BAPI call
Hello all,
I have code in Word macro which is reading file from the disk and converting it to binary. This binary should be inserted in the internal table (Dim As object) for further posting. Code is modified from the note 945682.
Here is the code:
Sub Read_File(FileNameFull As String)
Dim oBinaryDataTab As Object
Dim oBinaryDataRow As Object
Dim lBytesToRead As Long
Dim iNumChars, i As Integer
Dim s1022, s2044, sX As String
Dim fs, f, ts As Object
Dim ReadFile As String
' Actually does the work of uploading the document in 1022 byte pieces.
ReadFile = 0
Set fs = CreateObject("Scripting.FileSystemObject")
Set f = fs.GetFile(FileNameFull)
Set ts = f.OpenAsTextStream(1, -2)
lBytesToRead = f.Size
ReadFile = f.Size
Do While ts.AtEndOfStream <> True
If lBytesToRead < 1022 Then
iNumChars = lBytesToRead
Else
iNumChars = 1022
End If
s1022 = ts.Read(iNumChars)
s2044 = ""
For i = 1 To Len(s1022)
sX = Hex$(CByte(Asc(Mid(s1022, i, 1))))
If Len(sX) = 1 Then
sX = "0" + sX
End If
s2044 = s2044 + sX
Next i
Set oBinaryDataRow = oBinaryDataTab.Rows.Add
oBinaryDataRow("LINE") = s2044
lBytesToRead = lBytesToRead - iNumChars
Loop
End Sub
But on the row "Set oBinaryDataRow = oBinaryDataTab.Rows.Add" code just stopped to work.
Can somebody give me a hint how to proceed?
I also tried to Dim oBinaryDataTable As Table and oBinaryDataRow as Row with the same result.
oBinaryDataTable will be used as to post file to SAP system without GUI FTP connection. Because of that it must be converted to binary form.
TIA
Gordan
P.S. Message to Moderator: Please, be so kind, and put the message in the proper forum if this is not this one.Self Resloved
-
hi there,
how can i get a single row in my jtable colored? i tried out some solutions that were postet here, but they do not work for me. my problem is, that all rows get the new color although i defined it only for one row. i post some code for better understanding and maybe debugging. my jtable consists of 28 rows and 32 colums and i ONLY want row number 18 getting colored pink. any advice are welcome.
public Tabelle() {
super("Stundenplan");
datenmodell = new DatenModell();
tabelle = new JTable(datenmodell);
TableColumn column = new TableColumn();
column = null;
for (int i = 0; i < 32; i++) {
column = tabelle.getColumnModel().getColumn(i);
if (i == 0) {
column.setPreferredWidth(100);
column.setCellRenderer(new CenterRenderer());
else {
column.setPreferredWidth(50);
column.setCellRenderer(new CenterRenderer());
kopf.setBorder(BorderFactory.createEtchedBorder());
tabellenBox.add(kopf);
tabellenBox.add(tabelle.getTableHeader());
tabellenBox.add(tabelle);
tabellenPanel.add(tabellenBox);
scrollpane = new JScrollPane(tabellenPanel);
scrollpane.setPreferredSize(new Dimension(1100, 520));
getContentPane().add(scrollpane);
that is the constructor of the jframe. the following code is my custom cell renderer:
class CenterRenderer extends DefaultTableCellRenderer {
public Component getTableCellRendererComponent(JTable tab, Object val, boolean sel, boolean foc, int z4, int s4) {
Component component = super.getTableCellRendererComponent(tab,val,sel,foc,z4,s4);
((JLabel)component).setHorizontalAlignment(SwingConstants.CENTER);
if (z4 == 18) {
setBackground(Color.pink);
return component;
}yeah, i tried it, but then there is some strange behavior. first all rows are white, but if you select row number 18 (the pink one) it becomes pink. then if you select a cell in another column, all becomes white again until you select row number 18 again.
thats not satisfying for me, so if you have a solution for that, please post it.
thanks in advance.
Maybe you are looking for
-
Avaialability control is checked only if the assigned value is increased in PO
We are using former budgeting. We have have made the following setting. Warning message for AVC at Purchase requisition level and error message for AVC at PO and all other transaction groups. System is not issuing error message when the budget is exc
-
Upgrading to 10.5 with a new Macbook Pro installation disk
My friend just bought a new Macbook Pro with 10.5 Leopard. Can I use the installation disk that came with that computer to upgrade my mac from 10.3? Thanks. Message was edited by: Andrew Pastalaniec
-
Trouble opening "best quality" slideshow file ...
I'm very confused. Most of my slideshows have been created with best performance selected in the prefs. I just made a show on my 12" Powerbook using best quality. When I tried to open its file again, I got a spinning beach and had to force quit. I th
-
Hi! I have following situation: I should check our source code for all places where exists INSERTs, UPDATEs,... etc. on one view and implement certain modifications. View name is AG. So to do that my query is: SELECT owner "Owner", NAME "PL/SQL Obj
-
Any one else not able to log into on the preferences for Facebook in photoshop touch for iPad or upload to Facebook. I am just seeing a white box with success written very small in the top right of the screen, which is ironic because success hasn't h